/linux-master/drivers/base/ |
H A D | auxiliary.c | 5 * Please see Documentation/driver-api/auxiliary_bus.rst for more information. 24 * too complex for a single device to be managed by a monolithic driver (e.g. 26 * of functionality (e.g. NICs + RDMA), or a driver may want to export an 31 * device-driver model. 55 * The auxiliary bus is to be used when a driver and one or more kernel 56 * modules, who share a common header file with the driver, need a mechanism to 58 * auxiliary_device's registering driver. The registering driver for the 67 * driver allocates and registers an auxiliary_device for each physical 68 * function on the NIC. The RDMA driver register [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | gbphy.c | 3 * Greybus Bridged-Phy Bus driver 135 struct gbphy_driver *gbphy_drv = to_gbphy_driver(dev->driver); 174 struct gbphy_driver *gbphy_drv = to_gbphy_driver(dev->driver); 193 int gb_gbphy_register_driver(struct gbphy_driver *driver, argument 201 driver->driver.bus = &gbphy_bus_type; 202 driver->driver.name = driver->name; 203 driver 215 gb_gbphy_deregister_driver(struct gbphy_driver *driver) argument [all...] |
/linux-master/drivers/pci/ |
H A D | pci-driver.c | 33 * pci_add_dynid - add a new PCI device ID to this driver and re-probe devices 34 * @drv: target pci driver 41 * @driver_data: private driver data 43 * Adds a new dynamic pci device ID to this driver and causes the 44 * driver to probe for all devices again. @drv must have been 77 return driver_attach(&drv->driver); 98 * Used by a driver to check whether a PCI device is in its list of 103 * that a driver might want to check for. 127 * pci_match_device - See if a device matches a driver's list of IDs 128 * @drv: the PCI driver t 188 new_id_store(struct device_driver *driver, const char *buf, size_t count) argument 256 remove_id_store(struct device_driver *driver, const char *buf, size_t count) argument 1639 struct pci_driver *driver = to_pci_driver(dev->driver); local 1667 struct pci_driver *driver = to_pci_driver(dev->driver); local 1694 struct pcie_port_service_driver *driver; local [all...] |
/linux-master/drivers/ssb/ |
H A D | pcihost_wrapper.c | 120 int ssb_pcihost_register(struct pci_driver *driver) argument 122 driver->probe = ssb_pcihost_probe; 123 driver->remove = ssb_pcihost_remove; 125 driver->driver.pm = &ssb_pcihost_pm_ops; 128 return pci_register_driver(driver);
|
/linux-master/include/linux/ |
H A D | mcb.h | 53 * @driver: associated mcb_driver 66 struct mcb_driver *driver; member in struct:mcb_device 81 * struct mcb_driver - MEN Chameleon Bus device driver 83 * @driver: device_driver 90 struct device_driver driver; member in struct:mcb_driver 99 return container_of(drv, struct mcb_driver, driver); 115 #define mcb_register_driver(driver) \ 116 __mcb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME) 117 extern void mcb_unregister_driver(struct mcb_driver *driver);
|
/linux-master/drivers/nubus/ |
H A D | bus.c | 15 #define to_nubus_driver(d) container_of(d, struct nubus_driver, driver) 19 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); 29 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); 43 ndrv->driver.bus = &nubus_bus_type; 44 return driver_register(&ndrv->driver); 50 driver_unregister(&ndrv->driver);
|
/linux-master/drivers/zorro/ |
H A D | zorro-driver.c | 6 * Loosely based on drivers/pci/pci-driver.c 26 * Used by a driver to check whether a Zorro device present in the 47 struct zorro_driver *drv = to_zorro_driver(dev->driver); 66 struct zorro_driver *drv = to_zorro_driver(dev->driver); 74 * zorro_register_driver - register a new Zorro driver 75 * @drv: the driver structure to register 77 * Adds the driver structure to the list of registered drivers 83 /* initialize common driver fields */ 84 drv->driver.name = drv->name; 85 drv->driver [all...] |
/linux-master/drivers/misc/ |
H A D | tifm_core.c | 3 * tifm_core.c - TI FlashMedia driver 45 driver); 71 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, 72 driver); 76 if (dev->driver && drv->probe) { 93 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, 94 driver); 96 if (dev->driver && drv->remove) { 100 sock->dev.driver = NULL; 111 struct tifm_driver *drv = container_of(dev->driver, struc [all...] |
/linux-master/drivers/greybus/ |
H A D | hd.c | 27 if (!hd || !hd->driver || !hd->driver->output) 29 return hd->driver->output(hd, req, size, cmd, async); 78 if (hd->driver->cport_allocate) 79 return hd->driver->cport_allocate(hd, cport_id, flags); 98 if (hd->driver->cport_release) { 99 hd->driver->cport_release(hd, cport_id); 124 struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver, argument 133 * Validate that the driver implements all of the callbacks 136 if ((!driver [all...] |
/linux-master/tools/leds/ |
H A D | get_led_device_info.sh | 52 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"
|
/linux-master/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-vf-unaware.sh | 22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
|
/linux-master/arch/s390/include/asm/ |
H A D | ccwgroup.h | 32 * struct ccwgroup_driver - driver for ccw group devices 38 * @driver: embedded driver structure 48 struct device_driver driver; member in struct:ccwgroup_driver 64 #define to_ccwgroupdrv(x) container_of((x), struct ccwgroup_driver, driver)
|
/linux-master/include/linux/dma/ |
H A D | imx-dma.h | 66 return !strcmp(chan->device->dev->driver->name, "imx-sdma") || 67 !strcmp(chan->device->dev->driver->name, "imx-dma");
|
/linux-master/include/sound/ |
H A D | seq_device.h | 18 const char *id; /* driver id */ 21 void *driver_data; /* private data for driver */ 30 /* sequencer driver */ 32 /* driver operators 46 struct device_driver driver; member in struct:snd_seq_driver 52 container_of(_drv, struct snd_seq_driver, driver)
|
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ethtool.c | 5 * Based on the r8180 driver, which is: 21 strscpy(info->driver, DRV_NAME, sizeof(info->driver));
|
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_bus.h | 24 struct device_driver driver; member in struct:vchiq_driver 34 return container_of(d, struct vchiq_driver, driver); 47 * module_vchiq_driver() - Helper macro for registering a vchiq driver 48 * @__vchiq_driver: vchiq driver struct
|
/linux-master/drivers/tty/serial/ |
H A D | serial_base.h | 37 int serial_base_driver_register(struct device_driver *driver); 38 void serial_base_driver_unregister(struct device_driver *driver);
|
/linux-master/drivers/s390/char/ |
H A D | sclp_tty.c | 3 * SCLP line mode terminal driver. 81 * This routine returns the numbers of characters the tty driver 245 * routine (if defined) when it is done stuffing characters into the driver. 247 * Characters provided to sclp_tty_put_char() are buffered by the SCLP driver. 278 * SCLP driver. The provided number includes all characters that are stored 301 * removes all content from buffers of low level driver 322 * If this tty driver is currently closed 415 /* transfer input to high level driver */ 496 struct tty_driver *driver; local 506 driver [all...] |
/linux-master/drivers/media/pci/cobalt/ |
H A D | Makefile | 2 cobalt-objs := cobalt-driver.o cobalt-irq.o cobalt-v4l2.o \
|
/linux-master/drivers/rapidio/ |
H A D | Makefile | 6 rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
|
/linux-master/drivers/pnp/ |
H A D | Makefile | 8 pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_unbind.c | 42 const char *driver; local 54 /* Check whether the device is using usbip-host driver. */ 55 driver = udev_device_get_driver(dev); 56 if (!driver || strcmp(driver, "usbip-host")) { 57 err("device is not bound to usbip-host driver"); 61 /* Unbind device from driver. */ 68 err("error unbinding device %s from driver", busid); 72 /* Notify driver of unbind. */
|
/linux-master/sound/soc/codecs/ |
H A D | es8328-spi.c | 3 * es8328.c -- ES8328 ALSA SoC SPI Audio driver 29 .driver = { 37 MODULE_DESCRIPTION("ASoC ES8328 audio CODEC SPI driver");
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | hv.h | 10 #include <linux/mlx5/driver.h>
|
/linux-master/include/linux/spi/ |
H A D | max7301.h | 5 #include <linux/gpio/driver.h>
|