Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 2511) sorted by relevance

12345678910>>...101

/openbsd-src/lib/libfido2/src/
H A Ddev.c17 set_random_report_len(fido_dev_t *dev) in set_random_report_len() argument
19 dev->rx_len = CTAP_MIN_REPORT_LEN + in set_random_report_len()
21 dev->tx_len = CTAP_MIN_REPORT_LEN + in set_random_report_len()
27 fido_dev_set_extension_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_extension_flags() argument
34 dev->flags |= FIDO_DEV_CRED_PROT; in fido_dev_set_extension_flags()
38 fido_dev_set_option_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_option_flags() argument
46 dev->flags |= val[i] ? in fido_dev_set_option_flags()
51 dev->flags |= FIDO_DEV_CREDMAN; in fido_dev_set_option_flags()
53 dev->flags |= val[i] ? in fido_dev_set_option_flags()
57 dev->flags |= FIDO_DEV_TOKEN_PERMS; in fido_dev_set_option_flags()
[all …]
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_vblank.c157 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe,
169 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() argument
173 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank()
175 assert_spin_locked(&dev->vblank_time_lock); in store_vblank()
185 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_max_vblank_count() argument
187 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in drm_max_vblank_count()
189 return vblank->max_vblank_count ?: dev->max_vblank_count; in drm_max_vblank_count()
196 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() argument
198 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pipe) != 0); in drm_vblank_no_hw_counter()
202 static u32 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) in __get_vblank_counter() argument
[all …]
H A Ddrm_irq.c69 static int drm_legacy_irq_install(struct drm_device *dev, int irq) in drm_legacy_irq_install() argument
77 if (dev->irq_enabled) in drm_legacy_irq_install()
79 dev->irq_enabled = true; in drm_legacy_irq_install()
84 if (dev->driver->irq_preinstall) in drm_legacy_irq_install()
85 dev->driver->irq_preinstall(dev); in drm_legacy_irq_install()
88 if (dev_is_pci(dev->dev)) in drm_legacy_irq_install()
91 ret = request_irq(irq, dev->driver->irq_handler, in drm_legacy_irq_install()
92 sh_flags, dev->driver->name, dev); in drm_legacy_irq_install()
95 dev->irq_enabled = false; in drm_legacy_irq_install()
100 if (dev->driver->irq_postinstall) in drm_legacy_irq_install()
[all …]
H A Ddrm_drv.c37 #include <dev/acpi/acpidev.h>
38 #include <dev/acpi/acpivar.h>
39 #include <dev/acpi/dsdt.h>
136 * A DRM device can provide several char-dev interfaces on the DRM-Major. Each
140 * Minors can be accessed via dev->$minor_name. This pointer is either
159 static struct drm_minor **drm_minor_get_slot(struct drm_device *dev, in drm_minor_get_slot()
164 return &dev->primary; in drm_minor_alloc_release()
166 return &dev->render; in drm_minor_alloc_release()
168 return &dev->accel; in drm_minor_alloc_release()
174 static void drm_minor_alloc_release(struct drm_device *dev, voi in drm_minor_alloc_release()
147 drm_minor_get_slot(struct drm_device * dev,enum drm_minor_type type) drm_minor_get_slot() argument
162 drm_minor_alloc_release(struct drm_device * dev,void * data) drm_minor_alloc_release() argument
182 drm_minor_alloc(struct drm_device * dev,enum drm_minor_type type) drm_minor_alloc() argument
228 drm_minor_register(struct drm_device * dev,enum drm_minor_type type) drm_minor_register() argument
279 drm_minor_unregister(struct drm_device * dev,enum drm_minor_type type) drm_minor_unregister() argument
502 drm_put_dev(struct drm_device * dev) drm_put_dev() argument
528 drm_dev_enter(struct drm_device * dev,int * idx) drm_dev_enter() argument
568 drm_dev_unplug(struct drm_device * dev) drm_dev_unplug() argument
676 drm_dev_init_release(struct drm_device * dev,void * res) drm_dev_init_release() argument
698 drm_dev_init(struct drm_device * dev,const struct drm_driver * driver,struct device * parent) drm_dev_init() argument
807 devm_drm_dev_init(struct device * parent,struct drm_device * dev,const struct drm_driver * driver) devm_drm_dev_init() argument
867 struct drm_device *dev; drm_dev_alloc() local
890 struct drm_device *dev = container_of(ref, struct drm_device, ref); drm_dev_release() local
912 drm_dev_get(struct drm_device * dev) drm_dev_get() argument
926 drm_dev_put(struct drm_device * dev) drm_dev_put() argument
933 create_compat_control_link(struct drm_device * dev) create_compat_control_link() argument
968 remove_compat_control_link(struct drm_device * dev) remove_compat_control_link() argument
1009 drm_dev_register(struct drm_device * dev,unsigned long flags) drm_dev_register() argument
1091 drm_dev_unregister(struct drm_device * dev) drm_dev_unregister() argument
1235 drm_attach_platform(struct drm_driver * driver,bus_space_tag_t iot,bus_dma_tag_t dmat,struct device * dev,struct drm_device * drm) drm_attach_platform() argument
1252 drm_attach_pci(const struct drm_driver * driver,struct pci_attach_args * pa,int is_agp,int primary,struct device * dev,struct drm_device * drm) drm_attach_pci() argument
1343 struct drm_device *dev = da->drm; drm_attach() local
1487 struct drm_device *dev = sc->sc_drm; drm_detach() local
1524 drm_quiesce(struct drm_device * dev) drm_quiesce() argument
1536 drm_wakeup(struct drm_device * dev) drm_wakeup() argument
1548 struct drm_device *dev = sc->sc_drm; drm_activate() local
1605 drm_find_file_by_minor(struct drm_device * dev,int minor) drm_find_file_by_minor() argument
1634 struct drm_device *dev = kn->kn_hook; filt_drmdetach() local
1692 struct drm_device *dev = NULL; drmkqfilter() local
1733 struct drm_device *dev = NULL; drmopen() local
1816 struct drm_device *dev = drm_get_device_from_kdev(kdev); drmclose() local
1853 struct drm_device *dev = drm_get_device_from_kdev(kdev); drmread() local
1911 drm_dequeue_event(struct drm_device * dev,struct drm_file * file_priv,size_t resid,struct drm_pending_event ** out) drm_dequeue_event() argument
2005 drm_pci_alloc(struct drm_device * dev,size_t size,size_t align) drm_pci_alloc() argument
2023 drm_pci_free(struct drm_device * dev,struct drm_dma_handle * dmah) drm_pci_free() argument
2051 drm_getpciinfo(struct drm_device * dev,void * data,struct drm_file * file_priv) drm_getpciinfo() argument
[all...]
H A Ddrm_mode_config.c37 int drm_modeset_register_all(struct drm_device *dev) in drm_modeset_register_all() argument
41 ret = drm_plane_register_all(dev); in drm_modeset_register_all()
45 ret = drm_crtc_register_all(dev); in drm_modeset_register_all()
49 ret = drm_encoder_register_all(dev); in drm_modeset_register_all()
53 ret = drm_connector_register_all(dev); in drm_modeset_register_all()
57 drm_debugfs_late_register(dev); in drm_modeset_register_all()
62 drm_encoder_unregister_all(dev); in drm_modeset_register_all()
64 drm_crtc_unregister_all(dev); in drm_modeset_register_all()
66 drm_plane_unregister_all(dev); in drm_modeset_register_all()
71 void drm_modeset_unregister_all(struct drm_device *dev) in drm_modeset_unregister_all() argument
[all …]
H A Dfiles.drm3 #file dev/pci/drm/aperture.c drm
4 file dev/pci/drm/dma-resv.c drm
5 file dev/pci/drm/drm_agpsupport.c drm & agp
6 file dev/pci/drm/drm_aperture.c drm
7 file dev/pci/drm/drm_atomic.c drm
8 file dev/pci/drm/drm_atomic_helper.c drm
9 file dev/pci/drm/drm_atomic_state_helper.c drm
10 file dev/pci/drm/drm_atomic_uapi.c drm
11 file dev/pci/drm/drm_auth.c drm
12 file dev/pci/drm/drm_blend.c drm
[all …]
H A Ddrm_context.c60 void drm_legacy_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_legacy_ctxbitmap_free() argument
62 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_ctxbitmap_free()
65 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
66 idr_remove(&dev->ctx_idr, ctx_handle); in drm_legacy_ctxbitmap_free()
67 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_free()
79 static int drm_legacy_ctxbitmap_next(struct drm_device * dev) in drm_legacy_ctxbitmap_next() argument
83 mutex_lock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
84 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next()
86 mutex_unlock(&dev->struct_mutex); in drm_legacy_ctxbitmap_next()
97 void drm_legacy_ctxbitmap_init(struct drm_device * dev) in drm_legacy_ctxbitmap_init() argument
[all …]
H A Ddrm_file.c55 bool drm_dev_needs_global_mutex(struct drm_device *dev) in drm_dev_needs_global_mutex() argument
62 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_dev_needs_global_mutex()
71 if (dev->driver->load || dev->driver->unload) in drm_dev_needs_global_mutex()
80 if (dev->driver->lastclose) in drm_dev_needs_global_mutex()
153 struct drm_device *dev = minor->dev; in drm_file_alloc() local
183 if (drm_core_check_feature(dev, DRIVER_GEM)) in drm_file_alloc()
184 drm_gem_open(dev, file); in drm_file_alloc()
186 if (drm_core_check_feature(dev, DRIVER_SYNCOB in drm_file_alloc()
213 struct drm_device *dev = file_priv->minor->dev; drm_events_release() local
247 struct drm_device *dev; drm_file_free() local
311 struct drm_device *dev = file_priv->minor->dev; drm_close_helper() local
345 struct drm_device *dev = minor->dev; drm_open_helper() local
424 struct drm_device *dev; drm_open() local
469 drm_lastclose(struct drm_device * dev) drm_lastclose() argument
504 struct drm_device *dev = minor->dev; drm_release() local
529 struct drm_device *dev; drm_file_update_pid() local
585 struct drm_device *dev = minor->dev; drm_release_noglobal() local
633 struct drm_device *dev = file_priv->minor->dev; drm_read() local
755 drm_event_reserve_init_locked(struct drm_device * dev,struct drm_file * file_priv,struct drm_pending_event * p,struct drm_event * e) drm_event_reserve_init_locked() argument
797 drm_event_reserve_init(struct drm_device * dev,struct drm_file * file_priv,struct drm_pending_event * p,struct drm_event * e) drm_event_reserve_init() argument
822 drm_event_cancel_free(struct drm_device * dev,struct drm_pending_event * p) drm_event_cancel_free() argument
841 drm_send_event_helper(struct drm_device * dev,struct drm_pending_event * e,ktime_t timestamp) drm_send_event_helper() argument
891 drm_send_event_timestamp_locked(struct drm_device * dev,struct drm_pending_event * e,ktime_t timestamp) drm_send_event_timestamp_locked() argument
912 drm_send_event_locked(struct drm_device * dev,struct drm_pending_event * e) drm_send_event_locked() argument
933 drm_send_event(struct drm_device * dev,struct drm_pending_event * e) drm_send_event() argument
1054 struct drm_device *dev = file->minor->dev; drm_show_fdinfo() local
1093 struct drm_device *dev = minor->dev; mock_drm_getfile() local
[all...]
H A Ddrm_pci.c45 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain() argument
52 if (dev->if_version < 0x10004) in drm_get_pci_domain()
57 return pci_domain_nr(to_pci_dev(dev->dev)->bus); in drm_get_pci_domain()
59 return pci_domain_nr(dev->pdev->bus); in drm_get_pci_domain()
63 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid() argument
66 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_pci_set_busid()
68 struct pci_dev *pdev = dev->pdev; in drm_pci_set_busid()
72 drm_get_pci_domain(dev), in drm_pci_set_busid()
85 static int drm_legacy_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_legacy_pci_irq_by_busid() argument
87 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_legacy_pci_irq_by_busid()
[all …]
H A Ddrm_auth.c67 lockdep_is_held(&fpriv->minor->dev->master_mutex)); in drm_is_current_master_locked()
70 return fpriv->is_master && drm_lease_owner(fpriv->master) == fpriv->minor->dev->master; in drm_is_current_master_locked()
98 int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getmagic() argument
103 mutex_lock(&dev->master_mutex); in drm_getmagic()
111 mutex_unlock(&dev->master_mutex); in drm_getmagic()
113 drm_dbg_core(dev, "%u\n", auth->magic); in drm_getmagic()
118 int drm_authmagic(struct drm_device *dev, void *data, in drm_authmagic() argument
124 drm_dbg_core(dev, "%u\n", auth->magic); in drm_authmagic()
126 mutex_lock(&dev->master_mutex); in drm_authmagic()
132 mutex_unlock(&dev->master_mutex); in drm_authmagic()
[all …]
H A Ddrm_legacy_misc.c43 void drm_legacy_init_members(struct drm_device *dev) in drm_legacy_init_members() argument
45 INIT_LIST_HEAD(&dev->ctxlist); in drm_legacy_init_members()
46 INIT_LIST_HEAD(&dev->vmalist); in drm_legacy_init_members()
47 INIT_LIST_HEAD(&dev->maplist); in drm_legacy_init_members()
48 mtx_init(&dev->buf_lock, IPL_NONE); in drm_legacy_init_members()
49 rw_init(&dev->ctxlist_mutex, "drmoctx"); in drm_legacy_init_members()
52 void drm_legacy_destroy_members(struct drm_device *dev) in drm_legacy_destroy_members() argument
54 mutex_destroy(&dev->ctxlist_mutex); in drm_legacy_destroy_members()
57 int drm_legacy_setup(struct drm_device * dev) in drm_legacy_setup() argument
61 if (dev->driver->firstopen && in drm_legacy_setup()
[all …]
H A Ddrm_legacy.h88 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
89 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
90 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
92 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init() argument
93 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup() argument
94 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush() argument
97 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
118 static inline int drm_legacy_create_map_hash(struct drm_device *dev) in drm_legacy_create_map_hash() argument
120 return drm_ht_create(&dev->map_hash, 12); in drm_legacy_create_map_hash()
123 static inline void drm_legacy_remove_map_hash(struct drm_device *dev) in drm_legacy_remove_map_hash() argument
[all …]
H A Ddrm_bufs.c51 static struct drm_map_list *drm_find_matching_map(struct drm_device *dev, in drm_find_matching_map() argument
56 list_for_each_entry(entry, &dev->maplist, head) { in drm_find_matching_map()
67 entry->master != dev->master) in drm_find_matching_map()
90 static int drm_map_handle(struct drm_device *dev, struct drm_hash_item *hash, in drm_map_handle() argument
108 ret = drm_ht_insert_item(&dev->map_hash, hash); in drm_map_handle()
134 return drm_ht_just_insert_please(&dev->map_hash, hash, in drm_map_handle()
147 static int drm_addmap_core(struct drm_device *dev, resource_size_t offset, in drm_addmap_core() argument
205 list = drm_find_matching_map(dev, map); in drm_addmap_core()
239 list = drm_find_matching_map(dev, map); in drm_addmap_core()
262 if (dev->master->lock.hw_lock != NULL) { in drm_addmap_core()
[all …]
H A Ddrm_connector.c197 struct drm_device *dev = connector->dev; in drm_connector_free() local
199 drm_mode_object_unregister(dev, &connector->base); in drm_connector_free()
206 struct drm_device *dev = in drm_connector_free_work_fn() local
208 struct drm_mode_config *config = &dev->mode_config; in drm_connector_free_work_fn()
217 drm_mode_object_unregister(dev, &connector->base); in drm_connector_free_work_fn()
222 static int __drm_connector_init(struct drm_device *dev, in __drm_connector_init() argument
228 struct drm_mode_config *config = &dev->mode_config; in __drm_connector_init()
233 WARN_ON(drm_drv_uses_atomic_modeset(dev) && in __drm_connector_init()
237 ret = __drm_mode_object_add(dev, &connector->base, in __drm_connector_init()
244 connector->dev = dev; in __drm_connector_init()
[all …]
H A Ddrm_crtc_internal.h72 int drm_crtc_register_all(struct drm_device *dev);
73 void drm_crtc_unregister_all(struct drm_device *dev);
79 drm_create_scaling_filter_prop(struct drm_device *dev,
82 int drm_mode_getcrtc(struct drm_device *dev,
84 int drm_mode_setcrtc(struct drm_device *dev,
89 int drm_modeset_register_all(struct drm_device *dev);
90 void drm_modeset_unregister_all(struct drm_device *dev);
91 void drm_mode_config_validate(struct drm_device *dev);
97 int drm_mode_getresources(struct drm_device *dev,
102 int drm_mode_create_dumb(struct drm_device *dev,
[all …]
H A Ddrm_probe_helper.c94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() local
127 drm_for_each_crtc(crtc, dev) { in drm_mode_validate_pipeline()
170 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode()
225 static void drm_kms_helper_disable_hpd(struct drm_device *dev) in drm_kms_helper_disable_hpd() argument
230 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_disable_hpd()
241 static bool drm_kms_helper_enable_hpd(struct drm_device *dev) in drm_kms_helper_enable_hpd() argument
247 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_enable_hpd()
265 static void reschedule_output_poll_work(struct drm_device *dev) in reschedule_output_poll_work() argument
269 if (dev->mode_config.delayed_event) in reschedule_output_poll_work()
282 schedule_delayed_work(&dev->mode_config.output_poll_work, delay); in reschedule_output_poll_work()
[all …]
H A Ddrm_modeset_helper.c50 void drm_helper_move_panel_connectors_to_head(struct drm_device *dev) in drm_helper_move_panel_connectors_to_head() argument
57 spin_lock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head()
59 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head()
66 list_splice(&panel_list, &dev->mode_config.connector_list); in drm_helper_move_panel_connectors_to_head()
67 spin_unlock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head()
80 void drm_helper_mode_fill_fb_struct(struct drm_device *dev, in drm_helper_mode_fill_fb_struct() argument
86 fb->dev = dev; in drm_helper_mode_fill_fb_struct()
87 fb->format = drm_get_format_info(dev, mode_cmd); in drm_helper_mode_fill_fb_struct()
141 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init() argument
148 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0, in drm_crtc_init()
[all …]
H A Ddrm_internal.h49 bool drm_dev_needs_global_mutex(struct drm_device *dev);
52 void drm_lastclose(struct drm_device *dev);
57 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
61 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid() argument
70 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
72 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data,
81 void drm_managed_release(struct drm_device *dev);
82 void drmm_add_final_kfree(struct drm_device *dev, void *container);
90 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe); in drm_vblank_passed()
91 int drm_vblank_get(struct drm_device *dev, unsigne in drm_vblank_passed()
222 drm_debugfs_late_register(struct drm_device * dev) drm_debugfs_late_register() argument
[all...]
/openbsd-src/etc/mail/
H A Daliases23 _bgpd: /dev/null
24 _bgplgd: /dev/null
25 _dhcp: /dev/null
26 _dpb: /dev/null
27 _dvmrpd: /dev/null
28 _eigrpd: /dev/null
29 _file: /dev/null
30 _fingerd: /dev/null
31 _ftp: /dev/null
32 _hostapd: /dev/null
[all …]
/openbsd-src/sys/dev/usb/
H A Dusb_subr.c115 usbd_get_string_desc(struct usbd_device *dev, int sindex, int langid, in usbd_get_string_desc() argument
127 err = usbd_do_request_flags(dev, &req, sdesc, USBD_SHORT_XFER_OK, in usbd_get_string_desc()
136 err = usbd_do_request_flags(dev, &req, sdesc, USBD_SHORT_XFER_OK, in usbd_get_string_desc()
151 usbd_get_string(struct usbd_device *dev, int si, char *buf, size_t buflen) in usbd_get_string() argument
153 int swap = dev->quirks->uq_flags & UQ_SWAP_UNICODE; in usbd_get_string()
163 if (dev->quirks->uq_flags & UQ_NO_STRINGS) in usbd_get_string()
165 if (dev->langid == USBD_NOLANG) { in usbd_get_string()
167 err = usbd_get_string_desc(dev, USB_LANGUAGE_TABLE, 0, &us, in usbd_get_string()
170 dev->langid = 0; /* Well, just pick English then */ in usbd_get_string()
173 dev->langid = UGETW(us.bString[0]); in usbd_get_string()
[all …]
/openbsd-src/etc/etc.luna88k/
H A Dfbtab1 /dev/console 0600 /dev/ttyC0:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttya:/dev/ttyCc…
2 /dev/ttya 0600 /dev/ttyC0:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/console:/dev/ttyCc…
3 /dev/ttyC0 0600 /dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/console:/dev/ttya:/dev/ttyCc…
/openbsd-src/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_topology.c129 static void kfd_release_topology_device(struct kfd_topology_device *dev) in kfd_release_topology_device() argument
137 list_del(&dev->list); in kfd_release_topology_device()
139 while (dev->mem_props.next != &dev->mem_props) { in kfd_release_topology_device()
140 mem = container_of(dev->mem_props.next, in kfd_release_topology_device()
146 while (dev->cache_props.next != &dev->cache_props) { in kfd_release_topology_device()
147 cache = container_of(dev->cache_props.next, in kfd_release_topology_device()
153 while (dev->io_link_props.next != &dev in kfd_release_topology_device()
179 struct kfd_topology_device *dev; kfd_release_topology_device_list() local
197 struct kfd_topology_device *dev; kfd_create_topology_device() local
423 struct kfd_topology_device *dev; node_show() local
567 kfd_remove_sysfs_node_entry(struct kfd_topology_device * dev) kfd_remove_sysfs_node_entry() argument
642 kfd_build_sysfs_node_entry(struct kfd_topology_device * dev,uint32_t id) kfd_build_sysfs_node_entry() argument
829 struct kfd_topology_device *dev; kfd_build_sysfs_node_tree() local
846 struct kfd_topology_device *dev; kfd_remove_sysfs_node_tree() local
928 struct kfd_topology_device *dev; kfd_debug_print_topology() local
955 struct kfd_topology_device *dev; kfd_update_system_properties() local
1127 struct kfd_topology_device *dev; kfd_assign_gpu() local
1170 kfd_fill_mem_clk_max_info(struct kfd_topology_device * dev) kfd_fill_mem_clk_max_info() argument
1191 kfd_set_iolink_no_atomics(struct kfd_topology_device * dev,struct kfd_topology_device * target_gpu_dev,struct kfd_iolink_properties * link) kfd_set_iolink_no_atomics() argument
1241 kfd_fill_iolink_non_crat_info(struct kfd_topology_device * dev) kfd_fill_iolink_non_crat_info() argument
1304 kfd_build_p2p_node_entry(struct kfd_topology_device * dev,struct kfd_iolink_properties * p2plink) kfd_build_p2p_node_entry() argument
1485 struct kfd_topology_device *dev; kfd_dev_create_p2p_links() local
1675 kfd_fill_cache_non_crat_info(struct kfd_topology_device * dev,struct kfd_node * kdev) kfd_fill_cache_non_crat_info() argument
1763 kfd_topology_add_device_locked(struct kfd_node * gpu,uint32_t gpu_id,struct kfd_topology_device ** dev) kfd_topology_add_device_locked() argument
1822 kfd_topology_set_dbg_firmware_support(struct kfd_topology_device * dev) kfd_topology_set_dbg_firmware_support() argument
1884 kfd_topology_set_capabilities(struct kfd_topology_device * dev) kfd_topology_set_capabilities() argument
1925 struct kfd_topology_device *dev; kfd_topology_add_device() local
2110 struct kfd_topology_device *dev; kfd_topology_update_io_links() local
2153 struct kfd_topology_device *dev, *tmp; kfd_topology_remove_device() local
2249 struct kfd_topology_device *dev; kfd_debugfs_hqds_by_device() local
2274 struct kfd_topology_device *dev; kfd_debugfs_rls_by_device() local
[all...]
/openbsd-src/sys/dev/fdt/
H A Dfiles.fdt11 file dev/fdt/iicmux.c iicmux
15 file dev/fdt/pinctrl.c pinctrl
19 file dev/fdt/graphaudio.c graphaudio
23 file dev/fdt/simpleamp.c simpleamp
27 file dev/fdt/simpleaudio.c simpleaudio
31 file dev/fdt/simplefb.c simplefb
35 file dev/fdt/simplepanel.c simplepanel
39 file dev/fdt/sxiccmu.c sxiccmu
43 file dev/fdt/sxidog.c sxidog
47 file dev/fd
[all...]
/openbsd-src/usr.bin/sndiod/
H A Ddev.h1 /* $OpenBSD: dev.h,v 1.47 2024/12/20 07:35:56 ratchov Exp $ */
90 ((s)->appbufsz + (s)->opt->dev->bufsz / (s)->opt->dev->round * (s)->round)
138 struct dev *dev; member
142 struct dev *dev; member
153 struct dev *dev; member
196 struct dev *de member
216 struct dev { global() struct
217 nextdev global() argument
228 alt_nextdev global() argument
233 siodev global() argument
234 sioctldev global() argument
242 encdev global() argument
243 decdev global() argument
261 holddev global() argument
265 numdev global() argument
284 master_enableddev global() argument
[all...]
/openbsd-src/sys/dev/pci/drm/amd/pm/
H A Damdgpu_pm.c96 static ssize_t amdgpu_get_power_dpm_state(struct device *dev, in amdgpu_get_power_dpm_state() argument
100 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_get_power_dpm_state()
110 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
112 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
118 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
119 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
126 static ssize_t amdgpu_set_power_dpm_state(struct device *dev, in amdgpu_set_power_dpm_state() argument
131 struct drm_device *ddev = dev_get_drvdata(dev); in amdgpu_set_power_dpm_state()
150 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_set_power_dpm_state()
152 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_set_power_dpm_state()
224 amdgpu_get_power_dpm_force_performance_level(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_power_dpm_force_performance_level() argument
262 amdgpu_set_power_dpm_force_performance_level(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_power_dpm_force_performance_level() argument
324 amdgpu_get_pp_num_states(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_num_states() argument
362 amdgpu_get_pp_cur_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_cur_state() argument
404 amdgpu_get_pp_force_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_force_state() argument
422 amdgpu_set_pp_force_state(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_force_state() argument
495 amdgpu_get_pp_table(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_table() argument
531 amdgpu_set_pp_table(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_table() argument
718 amdgpu_set_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_od_clk_voltage() argument
818 amdgpu_get_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_od_clk_voltage() argument
886 amdgpu_set_pp_features(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_features() argument
922 amdgpu_get_pp_features(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_features() argument
982 amdgpu_get_pp_dpm_clock(struct device * dev,enum pp_clock_type type,char * buf) amdgpu_get_pp_dpm_clock() argument
1050 amdgpu_set_pp_dpm_clock(struct device * dev,enum pp_clock_type type,const char * buf,size_t count) amdgpu_set_pp_dpm_clock() argument
1086 amdgpu_get_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_sclk() argument
1093 amdgpu_set_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_sclk() argument
1101 amdgpu_get_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_mclk() argument
1108 amdgpu_set_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_mclk() argument
1116 amdgpu_get_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_socclk() argument
1123 amdgpu_set_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_socclk() argument
1131 amdgpu_get_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_fclk() argument
1138 amdgpu_set_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_fclk() argument
1146 amdgpu_get_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk() argument
1153 amdgpu_set_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk() argument
1161 amdgpu_get_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk1() argument
1168 amdgpu_set_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk1() argument
1176 amdgpu_get_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk() argument
1183 amdgpu_set_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk() argument
1191 amdgpu_get_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk1() argument
1198 amdgpu_set_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk1() argument
1206 amdgpu_get_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dcefclk() argument
1213 amdgpu_set_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dcefclk() argument
1221 amdgpu_get_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_pcie() argument
1228 amdgpu_set_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_pcie() argument
1236 amdgpu_get_pp_sclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_sclk_od() argument
1264 amdgpu_set_pp_sclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_sclk_od() argument
1298 amdgpu_get_pp_mclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_mclk_od() argument
1326 amdgpu_set_pp_mclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_mclk_od() argument
1380 amdgpu_get_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_power_profile_mode() argument
1411 amdgpu_set_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_power_profile_mode() argument
1510 amdgpu_get_gpu_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_busy_percent() argument
1534 amdgpu_get_mem_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_mem_busy_percent() argument
1562 amdgpu_get_pcie_bw(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pcie_bw() argument
1607 amdgpu_get_unique_id(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_unique_id() argument
1640 amdgpu_get_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_thermal_throttling_logging() argument
1653 amdgpu_set_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_thermal_throttling_logging() argument
1704 amdgpu_get_apu_thermal_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_apu_thermal_cap() argument
1731 amdgpu_set_apu_thermal_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_apu_thermal_cap() argument
1780 amdgpu_get_gpu_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_metrics() argument
1817 amdgpu_show_powershift_percent(struct device * dev,char * buf,enum amd_pp_sensors sensor) amdgpu_show_powershift_percent() argument
1857 amdgpu_get_smartshift_apu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_apu_power() argument
1873 amdgpu_get_smartshift_dgpu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_dgpu_power() argument
1888 amdgpu_get_smartshift_bias(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_bias() argument
1899 amdgpu_set_smartshift_bias(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_smartshift_bias() argument
2239 amdgpu_hwmon_show_temp(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp() argument
2277 amdgpu_hwmon_show_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_thresh() argument
2293 amdgpu_hwmon_show_hotspot_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_hotspot_temp_thresh() argument
2309 amdgpu_hwmon_show_mem_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mem_temp_thresh() argument
2325 amdgpu_hwmon_show_temp_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_label() argument
2337 amdgpu_hwmon_show_temp_emergency(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_emergency() argument
2363 amdgpu_hwmon_get_pwm1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_enable() argument
2393 amdgpu_hwmon_set_pwm1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1_enable() argument
2438 amdgpu_hwmon_get_pwm1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_min() argument
2445 amdgpu_hwmon_get_pwm1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_max() argument
2452 amdgpu_hwmon_set_pwm1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1() argument
2498 amdgpu_hwmon_get_pwm1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1() argument
2528 amdgpu_hwmon_get_fan1_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_input() argument
2558 amdgpu_hwmon_get_fan1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_min() argument
2575 amdgpu_hwmon_get_fan1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_max() argument
2592 amdgpu_hwmon_get_fan1_target(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_target() argument
2622 amdgpu_hwmon_set_fan1_target(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_target() argument
2667 amdgpu_hwmon_get_fan1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_enable() argument
2697 amdgpu_hwmon_set_fan1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_enable() argument
2740 amdgpu_hwmon_show_vddgfx(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx() argument
2757 amdgpu_hwmon_show_vddgfx_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx_label() argument
2764 amdgpu_hwmon_show_vddnb(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb() argument
2785 amdgpu_hwmon_show_vddnb_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb_label() argument
2792 amdgpu_hwmon_get_power(struct device * dev,enum amd_pp_sensors sensor) amdgpu_hwmon_get_power() argument
2810 amdgpu_hwmon_show_power_avg(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_avg() argument
2823 amdgpu_hwmon_show_power_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_input() argument
2836 amdgpu_hwmon_show_power_cap_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_min() argument
2844 amdgpu_hwmon_show_power_cap_generic(struct device * dev,struct device_attribute * attr,char * buf,enum pp_power_limit_level pp_limit_level) amdgpu_hwmon_show_power_cap_generic() argument
2881 amdgpu_hwmon_show_power_cap_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_max() argument
2889 amdgpu_hwmon_show_power_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap() argument
2897 amdgpu_hwmon_show_power_cap_default(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_default() argument
2905 amdgpu_hwmon_show_power_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_label() argument
2920 amdgpu_hwmon_set_power_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_power_cap() argument
2962 amdgpu_hwmon_show_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk() argument
2979 amdgpu_hwmon_show_sclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk_label() argument
2986 amdgpu_hwmon_show_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk() argument
3003 amdgpu_hwmon_show_mclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk_label() argument
3195 struct device *dev = kobj_to_dev(kobj); hwmon_attributes_visible() local
3616 struct drm_device *dev = adev_to_drm(adev); amdgpu_debugfs_pm_info_show() local
[all...]

12345678910>>...101