Home
last modified time | relevance | path

Searched defs:drv (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c67 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
82 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
102 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
112 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
123 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
131 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
139 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames() local
147 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
159 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc() local
169 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode() local
[all …]
Dhns_dsaf_xgmac.c95 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()
105 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()
142 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
166 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
186 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
197 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
212 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
237 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
253 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
263 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr() local
[all …]
/drivers/cpuidle/
Ddriver.c48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
68 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
108 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
125 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
154 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
194 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
230 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
254 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver()
274 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
289 struct cpuidle_driver *drv; in cpuidle_get_driver() local
[all …]
Dcpuidle.c48 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
62 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
76 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
124 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
131 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
165 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
188 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
274 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
290 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
389 struct cpuidle_driver *drv; in cpuidle_enable_device() local
[all …]
/drivers/staging/media/atomisp/pci/atomisp2/
Datomisp_drvfs.c40 struct pci_driver *drv; member
98 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show()
104 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store()
117 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show()
123 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store()
142 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show()
147 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store()
171 static int iunit_drvfs_create_files(struct pci_driver *drv) in iunit_drvfs_create_files()
182 static void iunit_drvfs_remove_files(struct pci_driver *drv) in iunit_drvfs_remove_files()
190 int atomisp_drvfs_init(struct pci_driver *drv, struct atomisp_device *isp) in atomisp_drvfs_init()
/drivers/base/
Ddriver.c43 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
77 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
102 int driver_create_file(struct device_driver *drv, in driver_create_file()
120 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
128 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
134 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
148 int driver_register(struct device_driver *drv) in driver_register()
188 void driver_unregister(struct device_driver *drv) in driver_unregister()
Ddd.c314 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
353 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
536 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
561 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
611 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
756 struct device_driver *drv = data; in __driver_attach() local
802 int driver_attach(struct device_driver *drv) in driver_attach()
814 struct device_driver *drv; in __device_release_driver() local
876 struct device_driver *drv, in device_release_driver_internal()
917 void driver_detach(struct device_driver *drv) in driver_detach()
Dplatform.c572 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local
607 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local
620 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local
632 int __platform_driver_register(struct platform_driver *drv, in __platform_driver_register()
649 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister()
675 int __init_or_module __platform_driver_probe(struct platform_driver *drv, in __platform_driver_probe()
970 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
1027 struct device_driver *drv = dev->driver; in platform_pm_suspend() local
1045 struct device_driver *drv = dev->driver; in platform_pm_resume() local
1067 struct device_driver *drv = dev->driver; in platform_pm_freeze() local
[all …]
/drivers/pci/
Dpci-driver.c51 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid()
79 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids()
252 static const struct pci_device_id *pci_match_device(struct pci_driver *drv, in pci_match_device()
283 struct pci_driver *drv; member
332 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe()
376 static int __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe()
417 struct pci_driver *drv = to_pci_driver(dev->driver); in pci_device_probe() local
441 struct pci_driver *drv = pci_dev->driver; in pci_device_remove() local
479 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local
569 struct pci_driver *drv = pci_dev->driver; in pci_legacy_suspend() local
[all …]
/drivers/watchdog/
Dmena21_wdt.c45 static unsigned int a21_wdt_get_bootstatus(struct a21_wdt_drv *drv) in a21_wdt_get_bootstatus()
58 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_start() local
71 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_stop() local
84 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_ping() local
100 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_set_timeout() local
150 struct a21_wdt_drv *drv; in a21_wdt_probe() local
228 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c139 struct list_head drv; /* list of devices using this op_mode */ member
157 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc()
164 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img()
172 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode()
187 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc()
212 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware()
464 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib()
482 static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags()
503 static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities()
524 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware()
[all …]
/drivers/zorro/
Dzorro-driver.c48 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local
69 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local
88 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver()
110 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver()
128 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/drivers/pnp/
Dcard.c19 static const struct pnp_card_device_id *match_card(struct pnp_card_driver *drv, in match_card()
60 struct pnp_card_driver *drv = to_pnp_card_driver(dev->driver); in card_remove_first() local
71 static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv) in card_probe()
264 struct pnp_card_driver *drv = in pnp_add_card() local
333 struct pnp_card_driver *drv; in pnp_request_card_device() local
379 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local
414 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver()
447 void pnp_unregister_card_driver(struct pnp_card_driver *drv) in pnp_unregister_card_driver()
Ddriver.c44 static const struct pnp_device_id *match_device(struct pnp_driver *drv, in match_device()
127 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_remove() local
146 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local
152 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
267 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver()
275 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
/drivers/staging/irda/drivers/
Dsir_dongle.c35 struct dongle_driver *drv; in irda_register_dongle() local
54 int irda_unregister_dongle(struct dongle_driver *drv) in irda_unregister_dongle()
66 const struct dongle_driver *drv = NULL; in sirdev_get_dongle() local
122 const struct dongle_driver *drv = dev->dongle_drv; in sirdev_put_dongle() local
/drivers/video/fbdev/via/
Dvia_aux_edid.c33 static void query_edid(struct via_aux_drv *drv) in query_edid()
62 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode()
79 static void cleanup(struct via_aux_drv *drv) in cleanup()
89 struct via_aux_drv drv = { in via_aux_edid_probe() local
/drivers/net/phy/
Dmdio_device.c37 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
127 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
140 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
153 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register()
176 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
/drivers/dio/
Ddio-driver.c50 struct dio_driver *drv = to_dio_driver(dev->driver); in dio_device_probe() local
76 int dio_register_driver(struct dio_driver *drv) in dio_register_driver()
97 void dio_unregister_driver(struct dio_driver *drv) in dio_unregister_driver()
113 static int dio_bus_match(struct device *dev, struct device_driver *drv) in dio_bus_match()
/drivers/input/gameport/
Dgameport.c218 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
473 struct device_driver *drv; in drvctl_store() local
683 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
699 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local
708 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local
714 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver()
724 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver()
760 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver()
785 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match()
801 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv()
[all …]
/drivers/vfio/mdev/
Dmdev_driver.c45 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_probe() local
64 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_remove() local
89 int mdev_register_driver(struct mdev_driver *drv, struct module *owner) in mdev_register_driver()
105 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
/drivers/mmc/core/
Dbus.c64 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match()
114 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local
122 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove() local
132 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_shutdown() local
230 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver()
242 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
/drivers/phy/samsung/
Dphy-samsung-usb2.c26 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local
68 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_off() local
97 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_xlate() local
150 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_probe() local
/drivers/soc/qcom/
Dspm.c123 static inline void spm_register_write(struct spm_driver_data *drv, in spm_register_write()
132 static inline void spm_register_write_sync(struct spm_driver_data *drv, in spm_register_write_sync()
151 static inline u32 spm_register_read(struct spm_driver_data *drv, in spm_register_read()
157 static void spm_set_low_power_mode(struct spm_driver_data *drv, in spm_set_low_power_mode()
186 struct spm_driver_data *drv = __this_cpu_read(cpu_spm_drv); in qcom_cpu_spc() local
289 struct spm_driver_data *drv = NULL; in spm_get_drv() local
327 struct spm_driver_data *drv; in spm_dev_probe() local
/drivers/misc/
Dtifm_core.c45 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match()
75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() local
97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() local
116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() local
127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume() local
318 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver()
326 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
/drivers/input/serio/
Dserio.c58 static int serio_connect_driver(struct serio *serio, struct serio_driver *drv) in serio_connect_driver()
106 static int serio_bind_driver(struct serio *serio, struct serio_driver *drv) in serio_bind_driver()
401 struct device_driver *drv; in drvctl_store() local
751 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
758 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show()
764 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store()
792 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local
820 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver()
830 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver()
869 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver()
[all …]

12345678910>>...14