/linux-master/include/linux/ |
H A D | zpool.h | 60 * struct zpool_driver - driver implementation for zpool 61 * @type: name of the driver. 67 * @sleep_mapped: whether zpool driver can sleep during map. 97 void zpool_register_driver(struct zpool_driver *driver); 99 int zpool_unregister_driver(struct zpool_driver *driver);
|
H A D | arm_ffa.h | 148 struct device_driver driver; member in struct:ffa_driver 151 #define to_ffa_driver(d) container_of(d, struct ffa_driver, driver) 167 int ffa_driver_register(struct ffa_driver *driver, struct module *owner, 169 void ffa_driver_unregister(struct ffa_driver *driver); 183 ffa_driver_register(struct ffa_driver *driver, struct module *owner, argument 189 static inline void ffa_driver_unregister(struct ffa_driver *driver) {} argument 196 #define ffa_register(driver) \ 197 ffa_driver_register(driver, THIS_MODULE, KBUILD_MODNAME) 198 #define ffa_unregister(driver) \ 199 ffa_driver_unregister(driver) [all...] |
/linux-master/include/linux/ulpi/ |
H A D | driver.h | 36 * struct ulpi_driver - describes a ULPI PHY driver 37 * @id_table: array of device identifiers supported by this driver 38 * @probe: binds this driver to ULPI device 39 * @remove: unbinds this driver from ULPI device 40 * @driver: the name and owner members must be initialized by the drivers 46 struct device_driver driver; member in struct:ulpi_driver 49 #define to_ulpi_driver(d) container_of(d, struct ulpi_driver, driver)
|
/linux-master/drivers/gpio/ |
H A D | gpio-ts4800.c | 3 * GPIO driver for the TS-4800 board 8 #include <linux/gpio/driver.h> 66 .driver = { 76 MODULE_DESCRIPTION("TS4800 FPGA GPIO driver");
|
H A D | gpio-ds4520.c | 8 #include <linux/gpio/driver.h> 69 .driver = {
|
H A D | gpio-clps711x.c | 3 * CLPS711X GPIO driver 10 #include <linux/gpio/driver.h> 77 .driver = { 87 MODULE_DESCRIPTION("CLPS711X GPIO driver");
|
/linux-master/drivers/peci/ |
H A D | core.c | 110 * In final stage of its probe(), peci_controller driver calls 190 struct peci_driver *driver = to_peci_driver(dev->driver); local 192 return driver->probe(device, peci_bus_match_device_id(driver->id_table, device)); 198 struct peci_driver *driver = to_peci_driver(dev->driver); local 200 if (driver->remove) 201 driver->remove(device);
|
/linux-master/drivers/base/ |
H A D | platform.c | 8 * Please see Documentation/driver-api/driver-model/platform.rst for more 857 * __platform_driver_register - register a driver for platform-level devices 858 * @drv: platform driver structure 859 * @owner: owning module/driver 864 drv->driver.owner = owner; 865 drv->driver.bus = &platform_bus_type; 867 return driver_register(&drv->driver); 872 * platform_driver_unregister - unregister a driver for platform-level devices 873 * @drv: platform driver structur 886 is_bound_to_driver(struct device *dev, void *driver) argument 976 __platform_create_bundle( struct platform_driver *driver, int (*probe)(struct platform_device *), struct resource *res, unsigned int n_res, const void *data, size_t size, struct module *module) argument [all...] |
/linux-master/drivers/dax/ |
H A D | bus.h | 46 #define dax_driver_register(driver) \ 47 __dax_driver_register(driver, THIS_MODULE, KBUILD_MODNAME)
|
/linux-master/include/drm/ |
H A D | drm_mipi_dsi.h | 100 * @dev: driver model device node for this DSI host 170 * @dev: driver model device node for this peripheral 342 * struct mipi_dsi_driver - DSI driver 343 * @driver: device driver model driver 349 struct device_driver driver; member in struct:mipi_dsi_driver 356 to_mipi_dsi_driver(struct device_driver *driver) argument 358 return container_of(driver, struct mipi_dsi_driver, driver); [all...] |
H A D | drm_drv.h | 135 * Denote a legacy driver using shadow attach. Do not use. 170 * struct drm_driver - DRM driver structure 182 * Backward-compatible driver callback to complete initialization steps 183 * after the driver is registered. For this reason, may suffer from 201 * setting up driver-private data structures like buffer allocators, 202 * execution contexts or similar things. Such driver-private resources 208 * in this callback. Doing so would be a driver design bug. 220 * One of the driver callbacks when a new &struct drm_file is closed. 221 * Useful for tearing down driver-private data structures allocated in 227 * resources in this callback. Doing so would be a driver desig [all...] |
/linux-master/drivers/hwmon/pmbus/ |
H A D | ir38064.c | 3 * Hardware monitoring driver for Infineon IR38064 7 * VOUT_MODE is not supported by the device. The driver fakes VOUT linear16 11 * this driver does not currently support them. 20 #include <linux/regulator/driver.h> 75 /* This is the driver that will be inserted */ 77 .driver = { 88 MODULE_DESCRIPTION("PMBus driver for Infineon IR38064 and compatible chips");
|
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_aux_bus.c | 11 * platform devices, putting them under the DP AUX bus allows the panel driver 33 * @drv: The driver to try to match against. 37 * Return: True if this driver matches this device; false otherwise. 48 * Calls through to the endpoint driver probe. 54 struct dp_aux_ep_driver *aux_ep_drv = to_dp_aux_ep_drv(dev->driver); 100 * Calls through to the endpoint driver remove. 104 struct dp_aux_ep_driver *aux_ep_drv = to_dp_aux_ep_drv(dev->driver); 116 * Calls through to the endpoint driver shutdown. 122 if (!dev->driver) 125 aux_ep_drv = to_dp_aux_ep_drv(dev->driver); [all...] |
/linux-master/drivers/firmware/google/ |
H A D | coreboot_table.h | 92 /* A driver for handling devices described in coreboot tables. */ 100 /* Register a driver that uses the data from a coreboot table. */ 101 int coreboot_driver_register(struct coreboot_driver *driver); 103 /* Unregister a driver that uses the data from a coreboot table. */ 104 void coreboot_driver_unregister(struct coreboot_driver *driver);
|
/linux-master/drivers/tc/ |
H A D | tc-driver.c | 2 * TURBOchannel driver services. 7 * Loosely based on drivers/dio/dio-driver.c and 8 * drivers/pci/pci-driver.c. 20 * tc_register_driver - register a new TC driver 21 * @drv: the driver structure to register 23 * Adds the driver structure to the list of registered drivers 25 * If no error occurred, the driver remains registered even if 30 return driver_register(&tdrv->driver); 35 * tc_unregister_driver - unregister a TC driver 36 * @drv: the driver structur [all...] |
/linux-master/sound/ppc/ |
H A D | powermac.c | 58 strcpy(card->driver, "PMac Burgundy"); 67 strcpy(card->driver, "PMac DACA"); 78 sprintf(card->driver, "PMac %s", name_ext); 92 sprintf(card->driver, "PMac %s", name_ext); 164 .driver = {
|
/linux-master/sound/soc/ |
H A D | soc-utils.c | 126 if (component->driver == &dummy_platform) 216 if (dai->driver == &dummy_dai) 224 return ((component->driver == &dummy_platform) || 225 (component->driver == &dummy_codec)); 251 .driver = {
|
/linux-master/drivers/gpu/drm/vboxvideo/ |
H A D | vbox_drv.c | 31 static const struct drm_driver driver; variable in typeref:struct:drm_driver 47 ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &driver); 51 vbox = devm_drm_dev_alloc(&pdev->dev, &driver, 178 .driver.pm = pm_sleep_ptr(&vbox_pm_ops), 183 static const struct drm_driver driver = { variable in typeref:struct:drm_driver
|
/linux-master/net/nfc/nci/ |
H A D | uart.c | 105 static int nci_uart_set_driver(struct tty_struct *tty, unsigned int driver) argument 110 if (driver >= NCI_UART_DRIVER_MAX) 113 if (!nci_uart_drivers[driver]) 120 memcpy(nu, nci_uart_drivers[driver], sizeof(struct nci_uart)); 162 /* Flush any pending characters in the driver */ 200 * device driver can accept more send data. 224 * bytes are received it passes it to nci_uart driver for processing. 275 /* Pass RX packet to driver */ 288 * Called by tty low level driver when receive data is 380 /* Add this driver i [all...] |
/linux-master/drivers/usb/common/ |
H A D | ulpi.c | 11 #include <linux/ulpi/driver.h> 37 static int ulpi_match(struct device *dev, struct device_driver *driver) argument 39 struct ulpi_driver *drv = to_ulpi_driver(driver); 48 return of_driver_match_device(dev, driver); 75 struct ulpi_driver *drv = to_ulpi_driver(dev->driver); 87 struct ulpi_driver *drv = to_ulpi_driver(dev->driver); 147 * __ulpi_register_driver - register a driver with the ULPI bus 148 * @drv: driver being registered 151 * Registers a driver with the ULPI bus. 158 drv->driver [all...] |
/linux-master/crypto/ |
H A D | testmgr.c | 63 int alg_test(const char *driver, const char *alg, u32 type, u32 mask) argument 142 int (*test)(const struct alg_test_desc *desc, const char *driver, 1207 pr_err("alg: generic driver name for \"%s\" would be too long\n", 1241 const char *driver, 1246 type, driver, vec_name, cfg->name); 1251 type, driver, vec_name, cfg->name); 1258 const char *driver, const char *vec_name, 1263 driver, op, err, vec_name, cfg->name); 1278 const char *driver = crypto_shash_driver_name(tfm); local 1292 driver, vec_nam 1237 check_hash_result(const char *type, const u8 *result, unsigned int digestsize, const struct hash_testvec *vec, const char *vec_name, const char *driver, const struct testvec_config *cfg) argument 1257 check_shash_op(const char *op, int err, const char *driver, const char *vec_name, const struct testvec_config *cfg) argument 1432 check_nonfinal_ahash_op(const char *op, int err, u8 *result, unsigned int digestsize, const char *driver, const char *vec_name, const struct testvec_config *cfg) argument 1461 const char *driver = crypto_ahash_driver_name(tfm); local 1741 const char *driver = crypto_ahash_driver_name(tfm); local 1860 alloc_shash(const char *driver, u32 type, u32 mask, struct crypto_shash **tfm_ret, struct shash_desc **desc_ret) argument 1893 __alg_test_hash(const struct hash_testvec *vecs, unsigned int num_vecs, const char *driver, u32 type, u32 mask, const char *generic_driver, unsigned int maxkeysize) argument 1982 alg_test_hash(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 2035 const char *driver = crypto_aead_driver_name(tfm); local 2488 const char *driver = crypto_aead_driver_name(tfm); local 2663 alg_test_aead(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 2813 const char *driver = crypto_skcipher_driver_name(tfm); local 3083 const char *driver = crypto_skcipher_driver_name(tfm); local 3240 alg_test_skcipher(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 3660 alg_test_cipher(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 3682 alg_test_comp(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 3720 alg_test_crc32c(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 3773 alg_test_cprng(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 3794 drbg_cavs_test(const struct drbg_testvec *test, int pr, const char *driver, u32 type, u32 mask) argument 3862 alg_test_drbg(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 4045 alg_test_kpp(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 4273 alg_test_akcipher(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 4293 alg_test_null(const struct alg_test_desc *desc, const char *driver, u32 type, u32 mask) argument 5811 alg_fips_disabled(const char *driver, const char *alg) argument 5818 alg_test(const char *driver, const char *alg, u32 type, u32 mask) argument [all...] |
/linux-master/drivers/char/agp/ |
H A D | intel-gtt.c | 4 * Caveat: This driver implements the linux agp interface, but this is far from 5 * a agp driver! GTT support ended up here for purely historical reasons: The 64 const struct intel_gtt_driver *driver; member in struct:_intel_private 92 #define INTEL_GTT_GEN intel_private.driver->gen 93 #define IS_G33 intel_private.driver->is_g33 94 #define IS_PINEVIEW intel_private.driver->is_pineview 95 #define IS_IRONLAKE intel_private.driver->is_ironlake 96 #define HAS_PGTBL_EN intel_private.driver->has_pgtbl_enable 227 intel_private.driver->write_entry(addr, 246 case 1: page = agp_bridge->driver [all...] |
/linux-master/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 3 * TTY driver for MIPS EJTAG Fast Debug Channels. 89 * @driver: TTY driver. 106 struct mips_ejtag_fdc_tty *driver; member in struct:mips_ejtag_fdc_tty_port 119 * @driver: TTY driver. 122 * @driver_name: Base of driver name. 143 struct tty_driver *driver; member in struct:mips_ejtag_fdc_tty 286 * @tty_drv: TTY driver associated with this console. 407 * @priv: Pointer to driver privat 761 mips_ejtag_fdc_tty_install(struct tty_driver *driver, struct tty_struct *tty) argument 890 struct tty_driver *driver; local [all...] |
H A D | tty_port.c | 109 * @driver: tty_driver for this device 114 * tty_port_install() is used in the driver. If used, this has to be called 118 struct tty_driver *driver, unsigned index) 120 if (WARN_ON(index >= driver->num)) 122 driver->ports[index] = port; 129 * @driver: tty_driver for this device 138 struct tty_driver *driver, unsigned index, 141 return tty_port_register_device_attr(port, driver, index, device, NULL, NULL); 148 * @driver: tty_driver for this device 159 struct tty_driver *driver, unsigne 117 tty_port_link_device(struct tty_port *port, struct tty_driver *driver, unsigned index) argument 137 tty_port_register_device(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device) argument 158 tty_port_register_device_attr(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) argument 182 tty_port_register_device_attr_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *host, struct device *parent, void *drvdata, const struct attribute_group **attr_grp) argument 213 tty_port_register_device_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *host, struct device *parent) argument 232 tty_port_unregister_device(struct tty_port *port, struct tty_driver *driver, unsigned index) argument 738 tty_port_install(struct tty_port *port, struct tty_driver *driver, struct tty_struct *tty) argument [all...] |
/linux-master/drivers/input/gameport/ |
H A D | gameport.c | 35 * every time gameport port or driver registrered or unregistered. 210 * Basic gameport -> driver core mappings 217 gameport->dev.driver = &drv->driver; 219 gameport->dev.driver = NULL; 230 gameport->dev.driver = NULL; 404 * be it a gameport port or a driver. 428 * are registered by driver's connect() handler so there can't be a grandchild 576 * Driver core will attempt to find appropriate driver for the port. 650 * gameport_disconnect_port() unbinds a port from its driver 710 struct gameport_driver *driver = to_gameport_driver(drv); local [all...] |