Lines Matching defs:drv

1425 static ssize_t interface_version_show(struct device_driver *drv, char *buf)
1432 static ssize_t debug_level_show(struct device_driver *drv, char *buf)
1437 static ssize_t debug_level_store(struct device_driver *drv, const char *buf,
1452 static ssize_t version_show(struct device_driver *drv, char *buf)
1464 static ssize_t wlsw_emulstate_show(struct device_driver *drv, char *buf)
1469 static ssize_t wlsw_emulstate_store(struct device_driver *drv, const char *buf,
1487 static ssize_t bluetooth_emulstate_show(struct device_driver *drv, char *buf)
1492 static ssize_t bluetooth_emulstate_store(struct device_driver *drv,
1507 static ssize_t wwan_emulstate_show(struct device_driver *drv, char *buf)
1512 static ssize_t wwan_emulstate_store(struct device_driver *drv, const char *buf,
1527 static ssize_t uwb_emulstate_show(struct device_driver *drv, char *buf)
1532 static ssize_t uwb_emulstate_store(struct device_driver *drv, const char *buf,
1554 static int __init tpacpi_create_driver_attributes(struct device_driver *drv)
1561 res = driver_create_file(drv, tpacpi_driver_attributes[i]);
1567 res = driver_create_file(drv, &driver_attr_wlsw_emulstate);
1569 res = driver_create_file(drv, &driver_attr_bluetooth_emulstate);
1571 res = driver_create_file(drv, &driver_attr_wwan_emulstate);
1573 res = driver_create_file(drv, &driver_attr_uwb_emulstate);
1579 static void tpacpi_remove_driver_attributes(struct device_driver *drv)
1584 driver_remove_file(drv, tpacpi_driver_attributes[i]);
1587 driver_remove_file(drv, &driver_attr_wlsw_emulstate);
1588 driver_remove_file(drv, &driver_attr_bluetooth_emulstate);
1589 driver_remove_file(drv, &driver_attr_wwan_emulstate);
1590 driver_remove_file(drv, &driver_attr_uwb_emulstate);
8739 static ssize_t fan_watchdog_show(struct device_driver *drv, char *buf)
8744 static ssize_t fan_watchdog_store(struct device_driver *drv, const char *buf,