Home
last modified time | relevance | path

Searched refs:driver (Results 176 - 200 of 16543) sorted by relevance

12345678910>>...662

/third_party/vulkan-loader/tests/
H A Dloader_version_tests.cpp32 auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST() local
36 driver.set_min_icd_interface_version(i).set_max_icd_interface_version(j); in TEST()
45 auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device("physical_device_0"); in TEST() local
47 driver.set_min_icd_interface_version(2).set_enable_icd_wsi(true); in TEST()
51 ASSERT_FALSE(driver.is_using_icd_wsi); in TEST()
54 driver.set_min_icd_interface_version(3).set_enable_icd_wsi(false); in TEST()
58 ASSERT_FALSE(driver.is_using_icd_wsi); in TEST()
61 driver.set_min_icd_interface_version(3).set_enable_icd_wsi(true); in TEST()
65 ASSERT_TRUE(driver.is_using_icd_wsi); in TEST()
103 auto& driver in TEST() local
134 auto& driver = env.get_test_icd(0); TEST() local
183 auto& driver = TEST() local
208 auto& driver = TEST() local
252 auto& driver = TEST() local
309 auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_7_WITH_ADDITIONAL_EXPORTS)).add_physical_device({}); TEST() local
319 auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_7)).add_physical_device({}); TEST() local
592 auto& driver = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); TEST() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_dumb_buffers.c38 * to driver-specific ioctls. Furthermore actually creating a buffer object even
39 * for GEM-based drivers is done through a driver-specific ioctl - GEM only has
66 if (!dev->driver->dumb_create) in drm_mode_create_dumb()
96 return dev->driver->dumb_create(file_priv, dev, args); in drm_mode_create_dumb()
124 if (!dev->driver->dumb_create) in drm_mode_mmap_dumb_ioctl()
127 if (dev->driver->dumb_map_offset) in drm_mode_mmap_dumb_ioctl()
128 return dev->driver->dumb_map_offset(file_priv, dev, in drm_mode_mmap_dumb_ioctl()
139 if (!dev->driver->dumb_create) in drm_mode_destroy_dumb()
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
H A Dcore.c3 * Intel(R) Trace Hub driver core
29 static int intel_th_match(struct device *dev, struct device_driver *driver) in intel_th_match() argument
31 struct intel_th_driver *thdrv = to_intel_th_driver(driver); in intel_th_match()
38 return !strcmp(thdev->name, driver->name); in intel_th_match()
50 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_probe()
61 if (!hub || !hub->dev.driver) in intel_th_probe()
64 hubdrv = to_intel_th_driver(hub->dev.driver); in intel_th_probe()
100 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_remove()
155 to_intel_th_driver(dev->parent->driver); in intel_th_remove()
157 if (hub->dev.driver) in intel_th_remove()
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/intel_th/
H A Dcore.c3 * Intel(R) Trace Hub driver core
29 static int intel_th_match(struct device *dev, struct device_driver *driver) in intel_th_match() argument
31 struct intel_th_driver *thdrv = to_intel_th_driver(driver); in intel_th_match()
38 return !strcmp(thdev->name, driver->name); in intel_th_match()
50 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_probe()
61 if (!hub || !hub->dev.driver) in intel_th_probe()
64 hubdrv = to_intel_th_driver(hub->dev.driver); in intel_th_probe()
100 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_remove()
157 to_intel_th_driver(dev->parent->driver); in intel_th_remove()
159 if (hub->dev.driver) in intel_th_remove()
[all...]
/kernel/linux/linux-5.10/drivers/memstick/core/
H A Dmemstick.c8 * that made this driver possible.
47 driver); in memstick_bus_match()
81 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe()
83 driver); in memstick_device_probe()
86 if (dev->driver && drv->probe) { in memstick_device_probe()
98 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove()
100 driver); in memstick_device_remove()
102 if (dev->driver && drv->remove) { in memstick_device_remove()
104 card->dev.driver = NULL; in memstick_device_remove()
117 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend()
[all...]
/kernel/linux/linux-6.6/drivers/memstick/core/
H A Dmemstick.c8 * that made this driver possible.
47 driver); in memstick_bus_match()
81 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe()
83 driver); in memstick_device_probe()
86 if (dev->driver && drv->probe) { in memstick_device_probe()
98 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove()
100 driver); in memstick_device_remove()
102 if (dev->driver && drv->remove) { in memstick_device_remove()
104 card->dev.driver = NULL; in memstick_device_remove()
116 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend()
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_vt220.c3 * SCLP VT220 terminal driver.
59 /* Structures and data needed to register tty driver */
87 /* Counter controlling core driver initialization. */
579 * done stuffing characters into the driver.
601 * This routine returns the numbers of characters the tty driver
725 * Register driver with SCLP and Linux and initialize internal tty structures.
729 struct tty_driver *driver; in sclp_vt220_tty_init() local
734 driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW); in sclp_vt220_tty_init()
735 if (IS_ERR(driver)) in sclp_vt220_tty_init()
736 return PTR_ERR(driver); in sclp_vt220_tty_init()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpci-epf.h71 * struct pci_epf_driver - represents the PCI EPF driver
72 * @probe: ops to perform when a new EPF device has been bound to the EPF driver
74 * driver is broken
75 * @driver: PCI EPF driver
77 * @owner: the owner of the module that registers the PCI EPF driver
78 * @epf_group: list of configfs group corresponding to the PCI EPF driver
85 struct device_driver driver; member
93 driver))
118 * @driver
133 struct pci_epf_driver *driver; global() member
[all...]
H A Dwmi.h36 struct device_driver driver; member
46 extern int __must_check __wmi_driver_register(struct wmi_driver *driver,
48 extern void wmi_driver_unregister(struct wmi_driver *driver);
49 #define wmi_driver_register(driver) __wmi_driver_register((driver), THIS_MODULE)
/kernel/linux/linux-5.10/sound/hda/ext/
H A Dhdac_ext_bus.c139 struct hdac_driver *hdrv = drv_to_hdac_driver(dev->driver); in get_hdrv()
165 * snd_hda_ext_driver_register - register a driver for ext hda devices
167 * @drv: ext hda driver structure
172 drv->driver.bus = &snd_hda_bus_type; in snd_hda_ext_driver_register()
176 drv->driver.probe = hda_ext_drv_probe; in snd_hda_ext_driver_register()
178 drv->driver.remove = hdac_ext_drv_remove; in snd_hda_ext_driver_register()
180 drv->driver.shutdown = hdac_ext_drv_shutdown; in snd_hda_ext_driver_register()
182 return driver_register(&drv->driver); in snd_hda_ext_driver_register()
187 * snd_hda_ext_driver_unregister - unregister a driver for ext hda devices
189 * @drv: ext hda driver structur
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpci-epf.h85 * struct pci_epf_driver - represents the PCI EPF driver
86 * @probe: ops to perform when a new EPF device has been bound to the EPF driver
88 * driver is broken
89 * @driver: PCI EPF driver
91 * @owner: the owner of the module that registers the PCI EPF driver
92 * @epf_group: list of configfs group corresponding to the PCI EPF driver
100 struct device_driver driver; member
108 driver))
138 * @driver
166 struct pci_epf_driver *driver; global() member
[all...]
H A Dwmi.h21 * This represents WMI devices discovered by the WMI driver core.
26 /* private: used by the WMI driver core */
43 * struct wmi_driver - WMI driver structure
44 * @driver: Driver model structure
45 * @id_table: List of WMI GUIDs supported by this driver
57 struct device_driver driver; member
68 extern int __must_check __wmi_driver_register(struct wmi_driver *driver,
70 extern void wmi_driver_unregister(struct wmi_driver *driver);
73 * wmi_driver_register() - Helper macro to register a WMI driver
74 * @driver
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_QUERYCAP.c71 dprintf("\tcap = { .driver = \"%s\", .card = \"%s\", " in test_VIDIOC_QUERYCAP()
76 cap.driver, in test_VIDIOC_QUERYCAP()
90 CU_ASSERT(0 < strlen((char *)cap.driver)); in test_VIDIOC_QUERYCAP()
91 CU_ASSERT(valid_string((char *)cap.driver, sizeof(cap.driver))); in test_VIDIOC_QUERYCAP()
110 /* Check if the unused bytes of the driver, card and bus_info in test_VIDIOC_QUERYCAP()
116 strncpy((char *)cap2.driver, (char *)cap.driver, in test_VIDIOC_QUERYCAP()
117 sizeof(cap2.driver)); in test_VIDIOC_QUERYCAP()
/kernel/linux/linux-5.10/tools/leds/
H A Dget_led_device_info.sh52 driver=`readlink $usb_interface/driver | sed s'/.*\///'`
63 driver=`cat device/device/driver/description`
68 driver="leds-gpio"
70 driver="leds-pwm"
102 if [ ! -z "$driver" ]; then
103 printf "driver:\t\t\t$driver\n"
/kernel/linux/linux-5.10/drivers/pci/pcie/
H A Dportdrv_pci.c183 struct pcie_port_service_driver *driver; in resume_iter() local
185 if (device->bus == &pcie_port_bus_type && device->driver) { in resume_iter()
186 driver = to_service_driver(device->driver); in resume_iter()
187 if (driver && driver->error_resume) { in resume_iter()
191 driver->error_resume(pcie_device->port); in resume_iter()
233 .driver.pm = PCIE_PORTDRV_PM_OPS,
/kernel/linux/linux-6.6/tools/leds/
H A Dget_led_device_info.sh52 driver=`readlink $usb_interface/driver | sed s'/.*\///'`
63 driver=`cat device/device/driver/description`
68 driver="leds-gpio"
70 driver="leds-pwm"
102 if [ ! -z "$driver" ]; then
103 printf "driver:\t\t\t$driver\n"
/kernel/linux/linux-5.10/drivers/tty/
H A Dpty.c50 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
70 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close()
73 if (tty->driver == ptm_driver) { in pty_close()
240 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
361 * @driver: the pty driver
370 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install() argument
379 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
386 if (!try_module_get(driver->other->owner)) { in pty_common_install()
390 o_tty = alloc_tty_struct(driver in pty_common_install()
450 pty_install(struct tty_driver *driver, struct tty_struct *tty) pty_install() argument
455 pty_remove(struct tty_driver *driver, struct tty_struct *tty) pty_remove() argument
699 ptm_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) ptm_unix98_lookup() argument
715 pts_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) pts_unix98_lookup() argument
729 pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_install() argument
735 pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dpty.c49 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
69 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close()
72 if (tty->driver == ptm_driver) { in pty_close()
229 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
350 * @driver: the pty driver
359 static int pty_common_install(struct tty_driver *driver, struct tty_struct *tty, in pty_common_install() argument
368 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
375 if (!try_module_get(driver->other->owner)) { in pty_common_install()
379 o_tty = alloc_tty_struct(driver in pty_common_install()
439 pty_install(struct tty_driver *driver, struct tty_struct *tty) pty_install() argument
444 pty_remove(struct tty_driver *driver, struct tty_struct *tty) pty_remove() argument
688 ptm_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) ptm_unix98_lookup() argument
705 pts_unix98_lookup(struct tty_driver *driver, struct file *file, int idx) pts_unix98_lookup() argument
719 pty_unix98_install(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_install() argument
725 pty_unix98_remove(struct tty_driver *driver, struct tty_struct *tty) pty_unix98_remove() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-gio.c47 * Used by a driver to check whether an of_device present in the
129 drv = to_gio_driver(dev->driver); in gio_device_probe()
149 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_remove()
151 if (dev->driver && drv->remove) in gio_device_remove()
159 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_shutdown()
161 if (dev->driver && drv->shutdown) in gio_device_shutdown()
213 /* initialize common driver fields */ in gio_register_driver()
214 if (!drv->driver.name) in gio_register_driver()
215 drv->driver.name = drv->name; in gio_register_driver()
216 if (!drv->driver in gio_register_driver()
[all...]
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A Drmi_bus.c114 * @xport: the transport driver to unregister
206 to_rmi_function_handler(dev->driver); in rmi_function_probe()
230 to_rmi_function_handler(dev->driver); in rmi_function_remove()
300 struct device_driver *driver = &handler->driver; in __rmi_register_function_handler() local
303 driver->bus = &rmi_bus_type; in __rmi_register_function_handler()
304 driver->owner = owner; in __rmi_register_function_handler()
305 driver->mod_name = mod_name; in __rmi_register_function_handler()
306 driver->probe = rmi_function_probe; in __rmi_register_function_handler()
307 driver in __rmi_register_function_handler()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Ddevlink.h26 __string(driver_name, devlink->dev->driver->name)
36 __assign_str(driver_name, devlink->dev->driver->name);
60 __string(driver_name, devlink->dev->driver->name)
68 __assign_str(driver_name, devlink->dev->driver->name);
90 __string(driver_name, devlink->dev->driver->name)
98 __assign_str(driver_name, devlink->dev->driver->name);
121 __string(driver_name, devlink->dev->driver->name)
130 __assign_str(driver_name, devlink->dev->driver->name);
155 __string(driver_name, devlink->dev->driver->name)
163 __assign_str(driver_name, devlink->dev->driver
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Ddevlink.h26 __string(driver_name, devlink_to_dev(devlink)->driver->name)
36 __assign_str(driver_name, devlink_to_dev(devlink)->driver->name);
60 __string(driver_name, devlink_to_dev(devlink)->driver->name)
68 __assign_str(driver_name, devlink_to_dev(devlink)->driver->name);
90 __string(driver_name, devlink_to_dev(devlink)->driver->name)
98 __assign_str(driver_name, devlink_to_dev(devlink)->driver->name);
121 __string(driver_name, devlink_to_dev(devlink)->driver->name)
130 __assign_str(driver_name, devlink_to_dev(devlink)->driver->name);
155 __string(driver_name, devlink_to_dev(devlink)->driver->name)
163 __assign_str(driver_name, devlink_to_dev(devlink)->driver
[all...]
/kernel/linux/linux-6.6/drivers/input/rmi4/
H A Drmi_bus.c115 * @xport: the transport driver to unregister
207 to_rmi_function_handler(dev->driver); in rmi_function_probe()
231 to_rmi_function_handler(dev->driver); in rmi_function_remove()
301 struct device_driver *driver = &handler->driver; in __rmi_register_function_handler() local
304 driver->bus = &rmi_bus_type; in __rmi_register_function_handler()
305 driver->owner = owner; in __rmi_register_function_handler()
306 driver->mod_name = mod_name; in __rmi_register_function_handler()
307 driver->probe = rmi_function_probe; in __rmi_register_function_handler()
308 driver in __rmi_register_function_handler()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
H A Ddev.c218 /* No driver, we shouldn't be enabled ... */ in ast_vhub_std_dev_request()
219 if (!d->driver || !d->enabled) { in ast_vhub_std_dev_request()
221 "Device is wrong state driver=%p enabled=%d\n", in ast_vhub_std_dev_request()
222 d->driver, d->enabled); in ast_vhub_std_dev_request()
235 if (d->gadget.speed > d->driver->max_speed) in ast_vhub_std_dev_request()
236 d->gadget.speed = d->driver->max_speed; in ast_vhub_std_dev_request()
336 struct usb_gadget_driver *driver) in ast_vhub_udc_start()
346 d->driver = driver; in ast_vhub_udc_start()
448 d->driver in ast_vhub_udc_stop()
335 ast_vhub_udc_start(struct usb_gadget *gadget, struct usb_gadget_driver *driver) ast_vhub_udc_start() argument
[all...]
/kernel/linux/linux-5.10/drivers/virtio/
H A Dvirtio.c81 /* This looks through all the IDs a driver claims to support. If any of them
108 struct virtio_driver *drv = drv_to_virtio(vdev->dev.driver); in virtio_check_driver_offered_feature()
126 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in __virtio_config_changed()
210 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_probe()
215 /* We have a driver! */ in virtio_dev_probe()
221 /* Figure out what features the driver supports. */ in virtio_dev_probe()
297 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_remove()
320 int register_virtio_driver(struct virtio_driver *driver) in register_virtio_driver() argument
323 BUG_ON(driver->feature_table_size && !driver in register_virtio_driver()
329 unregister_virtio_driver(struct virtio_driver *driver) unregister_virtio_driver() argument
[all...]

Completed in 14 milliseconds

12345678910>>...662