Home
last modified time | relevance | path

Searched refs:driver (Results 426 - 450 of 16868) sorted by relevance

1...<<11121314151617181920>>...675

/kernel/linux/linux-5.10/drivers/char/agp/
H A Duninorth-agp.c41 A_SIZE_32(agp_bridge->driver->aperture_sizes); in uninorth_fetch_size()
49 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size()
53 if (i == agp_bridge->driver->num_aperture_sizes) { in uninorth_fetch_size()
62 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size()
159 mask_type = agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type); in uninorth_insert_memory()
208 mask_type = agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type); in uninorth_remove_memory()
286 * but directly by the video driver through function pointers in the device
380 if (bridge->driver->size_type == LVL2_APER_SIZE) in uninorth_create_gatt_table()
401 } while (!table && (i < bridge->driver->num_aperture_sizes)); in uninorth_create_gatt_table()
651 /* Allocate & setup our driver */ in agp_uninorth_probe()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dibmebus.c220 /* If the driver uses devices that ibmebus doesn't know, add them */ in ibmebus_register_driver()
221 ibmebus_create_devices(drv->driver.of_match_table); in ibmebus_register_driver()
223 drv->driver.bus = &ibmebus_bus_type; in ibmebus_register_driver()
224 return driver_register(&drv->driver); in ibmebus_register_driver()
230 driver_unregister(&drv->driver); in ibmebus_unregister_driver()
358 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()
366 if (of_driver_match_device(dev, dev->driver)) in ibmebus_bus_device_probe()
377 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_remove()
379 if (dev->driver && drv->remove) in ibmebus_bus_device_remove()
386 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_shutdown()
[all...]
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dapr.c153 if (svc && svc->dev->driver) { in apr_do_rx_callback()
155 adrv = to_apr_driver(adev->dev.driver); in apr_do_rx_callback()
229 struct apr_driver *adrv = to_apr_driver(dev->driver); in apr_device_probe()
240 if (dev->driver) { in apr_device_remove()
241 adrv = to_apr_driver(dev->driver); in apr_device_remove()
312 adev->dev.driver = NULL; in apr_add_device()
520 * __apr_driver_register() - Client driver registration with aprbus
522 * @drv:Client driver to be associated with client-device.
523 * @owner: owning module/driver
525 * This API will register the client driver wit
[all...]
/kernel/linux/linux-6.6/drivers/char/agp/
H A Duninorth-agp.c42 A_SIZE_32(agp_bridge->driver->aperture_sizes); in uninorth_fetch_size()
50 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size()
54 if (i == agp_bridge->driver->num_aperture_sizes) { in uninorth_fetch_size()
63 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size()
160 mask_type = agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type); in uninorth_insert_memory()
209 mask_type = agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type); in uninorth_remove_memory()
287 * but directly by the video driver through function pointers in the device
381 if (bridge->driver->size_type == LVL2_APER_SIZE) in uninorth_create_gatt_table()
402 } while (!table && (i < bridge->driver->num_aperture_sizes)); in uninorth_create_gatt_table()
652 /* Allocate & setup our driver */ in agp_uninorth_probe()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dvio.h91 * @desired: set from return of driver's get_desired_dma() function
117 /* A driver must have a get_desired_dma() function to
122 struct device_driver driver; member
130 #define vio_register_driver(driver) \
131 __vio_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
160 return container_of(drv, struct vio_driver, driver); in to_vio_driver()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dline.h18 /* There's only two modifiable fields in this - .mc.list and .driver */
31 struct tty_driver *driver; member
56 const struct line_driver *driver; member
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
82 const struct tty_operations *driver,
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.c126 const char *driver; in is_my_device() local
128 driver = udev_device_get_property_value(dev, "USB_UDC_NAME"); in is_my_device()
129 return driver != NULL && !strcmp(driver, USBIP_DEVICE_DRV_NAME); in is_my_device()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dvio.h91 * @desired: set from return of driver's get_desired_dma() function
118 /* A driver must have a get_desired_dma() function to
123 struct device_driver driver; member
131 #define vio_register_driver(driver) \
132 __vio_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
161 return container_of(drv, struct vio_driver, driver); in to_vio_driver()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dline.h18 /* There's only two modifiable fields in this - .mc.list and .driver */
29 struct tty_driver *driver; member
56 const struct line_driver *driver; member
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
80 const struct tty_operations *driver,
/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-spi.c3 * Samsung LSI S5C73M3 8M pixel camera driver
115 struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3, in s5c73m3_spi_probe()
116 spidrv.driver); in s5c73m3_spi_probe()
144 spidrv->driver.name = S5C73M3_SPI_DRV_NAME; in s5c73m3_register_spi_driver()
145 spidrv->driver.of_match_table = s5c73m3_spi_ids; in s5c73m3_register_spi_driver()
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A Drmi_bus.h22 * function for a particular device (basically, a driver for that RMI4 function)
56 * struct rmi_function_handler - driver routines for a particular RMI function.
76 struct device_driver driver; member
90 container_of(d, struct rmi_function_handler, driver)
100 container_of(d, struct rmi_driver, driver)
121 return d->driver->reset_handler(d); in rmi_reset()
/kernel/linux/linux-5.10/include/linux/
H A Dnd.h64 * @dev: namespace device created by the nd region driver
158 * to media is handled internal to the @ndns driver, if at all.
179 #define nd_driver_register(driver) \
180 __nd_driver_register(driver, THIS_MODULE, KBUILD_MODNAME)
181 #define module_nd_driver(driver) \
182 module_driver(driver, nd_driver_register, nd_driver_unregister)
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-i2c.c25 * re-created by just probing the V4L2 driver. in v4l2_i2c_subdev_unregister()
36 devname = client->dev.driver->name; in v4l2_i2c_subdev_set_name()
50 /* the owner is the same as the i2c_client's driver owner */ in v4l2_i2c_subdev_init()
51 sd->owner = client->dev.driver->owner; in v4l2_i2c_subdev_init()
83 * Note: by loading the module first we are certain that c->driver in v4l2_i2c_new_subdev_board()
84 * will be set if the driver was found. If the module was not loaded in v4l2_i2c_new_subdev_board()
86 * and then c->driver is still NULL until the module is finally in v4l2_i2c_new_subdev_board()
95 if (!try_module_get(client->dev.driver->owner)) in v4l2_i2c_new_subdev_board()
106 module_put(client->dev.driver->owner); in v4l2_i2c_new_subdev_board()
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-aztech.c3 * radio-aztech.c - Aztech radio card driver
33 MODULE_DESCRIPTION("A driver for the Aztech radio card.");
131 .driver = {
135 .driver = {
152 return isa_register_driver(&aztech_driver.driver, AZTECH_MAX); in aztech_init()
157 isa_unregister_driver(&aztech_driver.driver); in aztech_exit()
H A Dradio-rtrack2.c3 * RadioTrack II driver
29 MODULE_DESCRIPTION("A driver for the RadioTrack II radio card.");
113 .driver = {
117 .driver = {
133 return isa_register_driver(&rtrack2_driver.driver, RTRACK2_MAX); in rtrack2_init()
138 isa_unregister_driver(&rtrack2_driver.driver); in rtrack2_exit()
H A Dradio-terratec.c2 /* Terratec ActiveRadio ISA Standalone card driver for Linux radio support
4 * based on the aimslab radio driver from M. Kirkwood
36 MODULE_DESCRIPTION("A driver for the TerraTec ActiveRadio Standalone radio card.");
79 /* this is the worst part in this driver */
140 .driver = {
144 .driver = {
161 return isa_register_driver(&terratec_driver.driver, 1); in terratec_init()
166 isa_unregister_driver(&terratec_driver.driver); in terratec_exit()
/kernel/linux/linux-5.10/drivers/gpu/drm/sis/
H A Dsis_drv.c1 /* sis.c -- sis driver -*- linux-c -*-
102 static struct drm_driver driver = { variable
128 driver.num_ioctls = sis_max_ioctl; in sis_init()
129 return drm_legacy_pci_init(&driver, &sis_pci_driver); in sis_init()
134 drm_legacy_pci_exit(&driver, &sis_pci_driver); in sis_exit()
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_encoder_slave.h34 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
89 * GPU-agnostic lower layer: It's the GPU driver responsibility to
113 * Describes a device driver for an encoder connected to the GPU
116 * give the driver an opportunity to allocate any per-encoder data
141 * drm_i2c_encoder_register - Register an I2C encoder driver
142 * @owner: Module containing the driver.
143 * @driver: Driver to be registered.
146 struct drm_i2c_encoder_driver *driver) in drm_i2c_encoder_register()
148 return i2c_register_driver(owner, &driver->i2c_driver); in drm_i2c_encoder_register()
152 * drm_i2c_encoder_unregister - Unregister an I2C encoder driver
145 drm_i2c_encoder_register(struct module *owner, struct drm_i2c_encoder_driver *driver) drm_i2c_encoder_register() argument
155 drm_i2c_encoder_unregister(struct drm_i2c_encoder_driver *driver) drm_i2c_encoder_unregister() argument
[all...]
H A Ddrm_legacy.h4 * Legacy driver interfaces for the Direct Rendering Manager
48 * If you add a new driver and it uses any of these functions or structures,
201 int drm_legacy_pci_init(struct drm_driver *driver, struct pci_driver *pdriver);
202 void drm_legacy_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver);
217 static inline int drm_legacy_pci_init(struct drm_driver *driver, in drm_legacy_pci_init() argument
223 static inline void drm_legacy_pci_exit(struct drm_driver *driver, in drm_legacy_pci_exit() argument
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-terratec.c2 /* Terratec ActiveRadio ISA Standalone card driver for Linux radio support
4 * based on the aimslab radio driver from M. Kirkwood
36 MODULE_DESCRIPTION("A driver for the TerraTec ActiveRadio Standalone radio card.");
79 /* this is the worst part in this driver */
137 .driver = {
141 .driver = {
158 return isa_register_driver(&terratec_driver.driver, 1); in terratec_init()
163 isa_unregister_driver(&terratec_driver.driver); in terratec_exit()
H A Dradio-aztech.c3 * radio-aztech.c - Aztech radio card driver
33 MODULE_DESCRIPTION("A driver for the Aztech radio card.");
131 .driver = {
135 .driver = {
152 return isa_register_driver(&aztech_driver.driver, AZTECH_MAX); in aztech_init()
157 isa_unregister_driver(&aztech_driver.driver); in aztech_exit()
H A Dradio-rtrack2.c3 * RadioTrack II driver
29 MODULE_DESCRIPTION("A driver for the RadioTrack II radio card.");
113 .driver = {
117 .driver = {
133 return isa_register_driver(&rtrack2_driver.driver, RTRACK2_MAX); in rtrack2_init()
138 isa_unregister_driver(&rtrack2_driver.driver); in rtrack2_exit()
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-i2c.c25 * re-created by just probing the V4L2 driver. in v4l2_i2c_subdev_unregister()
36 devname = client->dev.driver->name; in v4l2_i2c_subdev_set_name()
50 /* the owner is the same as the i2c_client's driver owner */ in v4l2_i2c_subdev_init()
51 sd->owner = client->dev.driver->owner; in v4l2_i2c_subdev_init()
83 * Note: by loading the module first we are certain that c->driver in v4l2_i2c_new_subdev_board()
84 * will be set if the driver was found. If the module was not loaded in v4l2_i2c_new_subdev_board()
86 * and then c->driver is still NULL until the module is finally in v4l2_i2c_new_subdev_board()
95 if (!try_module_get(client->dev.driver->owner)) in v4l2_i2c_new_subdev_board()
106 module_put(client->dev.driver->owner); in v4l2_i2c_new_subdev_board()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_encoder_slave.h36 * struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver
91 * GPU-agnostic lower layer: It's the GPU driver responsibility to
115 * Describes a device driver for an encoder connected to the GPU
118 * give the driver an opportunity to allocate any per-encoder data
143 * drm_i2c_encoder_register - Register an I2C encoder driver
144 * @owner: Module containing the driver.
145 * @driver: Driver to be registered.
148 struct drm_i2c_encoder_driver *driver) in drm_i2c_encoder_register()
150 return i2c_register_driver(owner, &driver->i2c_driver); in drm_i2c_encoder_register()
154 * drm_i2c_encoder_unregister - Unregister an I2C encoder driver
147 drm_i2c_encoder_register(struct module *owner, struct drm_i2c_encoder_driver *driver) drm_i2c_encoder_register() argument
157 drm_i2c_encoder_unregister(struct drm_i2c_encoder_driver *driver) drm_i2c_encoder_unregister() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dnd.h41 * struct nvdimm_pmu - data structure for nvdimm perf driver
117 * @dev: namespace device created by the nd region driver
185 * to media is handled internal to the @ndns driver, if at all.
206 #define nd_driver_register(driver) \
207 __nd_driver_register(driver, THIS_MODULE, KBUILD_MODNAME)
208 #define module_nd_driver(driver) \
209 module_driver(driver, nd_driver_register, nd_driver_unregister)

Completed in 12 milliseconds

1...<<11121314151617181920>>...675