/drivers/video/via/ |
H A D | via_aux_vt1621.c | 33 struct via_aux_drv drv = { local 39 if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x02) 43 via_aux_add(&drv);
|
H A D | via_aux_ch7301.c | 33 struct via_aux_drv drv = { local 39 if (!via_aux_read(&drv, 0x4B, &tmp, 1) || tmp != 0x17) 43 via_aux_add(&drv);
|
H A D | via_aux_vt1622.c | 33 struct via_aux_drv drv = { local 39 if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x03) 43 via_aux_add(&drv);
|
H A D | via_aux_vt1625.c | 33 struct via_aux_drv drv = { local 39 if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x50) 43 via_aux_add(&drv);
|
H A D | via_aux_vt1631.c | 33 struct via_aux_drv drv = { local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) 45 via_aux_add(&drv);
|
H A D | via_aux_vt1636.c | 33 struct via_aux_drv drv = { local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) 45 via_aux_add(&drv);
|
H A D | via_aux_sii164.c | 33 struct via_aux_drv drv = { local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) 45 via_aux_add(&drv);
|
H A D | via_aux_vt1632.c | 33 struct via_aux_drv drv = { local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) 45 via_aux_add(&drv);
|
H A D | via_aux_edid.c | 33 static void query_edid(struct via_aux_drv *drv) argument 35 struct fb_monspecs *spec = drv->data; 48 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) { 59 drv->data = spec; 62 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) argument 64 struct fb_monspecs *spec = drv->data; 79 static void cleanup(struct via_aux_drv *drv) argument 81 struct fb_monspecs *spec = drv->data; 89 struct via_aux_drv drv = { local 96 query_edid(&drv); [all...] |
/drivers/base/ |
H A D | module.c | 14 static char *make_driver_name(struct device_driver *drv) argument 18 driver_name = kasprintf(GFP_KERNEL, "%s:%s", drv->bus->name, drv->name); 33 void module_add_driver(struct module *mod, struct device_driver *drv) argument 39 if (!drv) 44 else if (drv->mod_name) { 48 mkobj = kset_find_obj(module_kset, drv->mod_name); 52 drv->p->mkobj = mk; 62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); 63 driver_name = make_driver_name(drv); 72 module_remove_driver(struct device_driver *drv) argument [all...] |
/drivers/cpuidle/ |
H A D | cpuidle.h | 18 struct cpuidle_driver *drv, int next_state); 37 struct cpuidle_driver *drv, int state); 39 struct cpuidle_driver *drv, int next_state); 44 struct cpuidle_driver *drv, int state) 50 struct cpuidle_driver *drv, int next_state) 43 cpuidle_state_is_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int state) argument 49 cpuidle_enter_state_coupled(struct cpuidle_device *dev, struct cpuidle_driver *drv, int next_state) argument
|
H A D | driver.c | 20 static void __cpuidle_register_driver(struct cpuidle_driver *drv) argument 24 * cpuidle driver should set the drv->power_specified bit 37 if (!drv->power_specified) { 38 for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) 39 drv->states[i].power_usage = -1 - i; 46 * @drv: the driver 48 int cpuidle_register_driver(struct cpuidle_driver *drv) argument 50 if (!drv || !drv->state_count) 61 __cpuidle_register_driver(drv); 83 cpuidle_unregister_driver(struct cpuidle_driver *drv) argument [all...] |
/drivers/net/irda/ |
H A D | sir_dongle.c | 36 struct dongle_driver *drv; local 43 drv = list_entry(entry, struct dongle_driver, dongle_list); 44 if (new->type == drv->type) { 55 int irda_unregister_dongle(struct dongle_driver *drv) argument 58 list_del(&drv->dongle_list); 67 const struct dongle_driver *drv = NULL; local 79 drv = list_entry(entry, struct dongle_driver, dongle_list); 80 if (drv->type == type) 83 drv = NULL; 86 if (!drv) { 123 const struct dongle_driver *drv = dev->dongle_drv; local [all...] |
/drivers/pci/pcie/ |
H A D | portdrv_bus.c | 18 static int pcie_port_bus_match(struct device *dev, struct device_driver *drv); 26 static int pcie_port_bus_match(struct device *dev, struct device_driver *drv) argument 31 if (drv->bus != &pcie_port_bus_type || dev->bus != &pcie_port_bus_type) 35 driver = to_service_driver(drv);
|
/drivers/dio/ |
H A D | dio-driver.c | 50 struct dio_driver *drv = to_dio_driver(dev->driver); local 53 if (!d->driver && drv->probe) { 56 id = dio_match_device(drv->id_table, d); 58 error = drv->probe(d, id); 60 d->driver = drv; 70 * @drv: the driver structure to register 76 int dio_register_driver(struct dio_driver *drv) argument 79 drv->driver.name = drv->name; 80 drv 97 dio_unregister_driver(struct dio_driver *drv) argument 113 dio_bus_match(struct device *dev, struct device_driver *drv) argument [all...] |
/drivers/input/joystick/iforce/ |
H A D | iforce-serio.c | 127 static int iforce_serio_connect(struct serio *serio, struct serio_driver *drv) argument 141 err = serio_open(serio, drv);
|
/drivers/mtd/chips/ |
H A D | chipreg.c | 17 void register_mtd_chip_driver(struct mtd_chip_driver *drv) argument 20 list_add(&drv->list, &chip_drvs_list); 24 void unregister_mtd_chip_driver(struct mtd_chip_driver *drv) argument 27 list_del(&drv->list); 59 struct mtd_chip_driver *drv; local 62 drv = get_mtd_chip_driver(name); 64 if (!drv && !request_module("%s", name)) 65 drv = get_mtd_chip_driver(name); 67 if (!drv) 70 ret = drv [all...] |
/drivers/tc/ |
H A D | tc-driver.c | 21 * @drv: the driver structure to register 36 * @drv: the driver structure to unregister 80 * @drv: the device driver to search for matching TC device ID strings 86 static int tc_bus_match(struct device *dev, struct device_driver *drv) argument 89 struct tc_driver *tdrv = to_tc_driver(drv);
|
/drivers/usb/core/ |
H A D | usb.h | 130 static inline int is_usb_device_driver(struct device_driver *drv) argument 132 return container_of(drv, struct usbdrv_wrap, driver)->
|
/drivers/input/joystick/ |
H A D | stinger.c | 135 static int stinger_connect(struct serio *serio, struct serio_driver *drv) argument 167 err = serio_open(serio, drv);
|
/drivers/input/touchscreen/ |
H A D | fujitsu_ts.c | 101 static int fujitsu_connect(struct serio *serio, struct serio_driver *drv) argument 132 err = serio_open(serio, drv);
|
H A D | gunze.c | 114 static int gunze_connect(struct serio *serio, struct serio_driver *drv) argument 145 err = serio_open(serio, drv);
|
/drivers/pps/clients/ |
H A D | pps-ldisc.c | 51 struct tty_driver *drv = tty->driver; local 52 int index = tty->index + drv->name_base; 58 snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index); 59 snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index);
|
/drivers/rapidio/ |
H A D | rio-driver.c | 84 * return 0 and set rio_dev->driver when drv claims rio_dev, else error 170 * @drv: the standard driver structure containing the ids to match against 177 static int rio_match_bus(struct device *dev, struct device_driver *drv) argument 180 struct rio_driver *rdrv = to_rio_driver(drv);
|
/drivers/usb/host/ |
H A D | ohci-ps3.c | 227 static int __init ps3_ohci_driver_register(struct ps3_system_bus_driver *drv) argument 230 ? ps3_system_bus_driver_register(drv) 234 static void ps3_ohci_driver_unregister(struct ps3_system_bus_driver *drv) argument 237 ps3_system_bus_driver_unregister(drv);
|