Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/cpuidle/
Ddriver.c46 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
66 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
106 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
123 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
152 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
181 struct cpuidle_driver *drv, int index) in poll_idle()
193 static void poll_idle_init(struct cpuidle_driver *drv) in poll_idle_init()
206 static void poll_idle_init(struct cpuidle_driver *drv) {} in poll_idle_init()
222 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
260 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
[all …]
Dcpuidle.c47 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
61 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
75 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
106 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
112 static void enter_freeze_proper(struct cpuidle_driver *drv, in enter_freeze_proper()
146 int cpuidle_enter_freeze(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_freeze()
169 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
249 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_select()
264 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
363 struct cpuidle_driver *drv; in cpuidle_enable_device() local
[all …]
Dcpuidle-powernv.c36 struct cpuidle_driver *drv, in get_snooze_timeout()
58 struct cpuidle_driver *drv, in snooze_loop()
83 struct cpuidle_driver *drv, in nap_loop()
95 struct cpuidle_driver *drv, in fastsleep_loop()
170 struct cpuidle_driver *drv = &powernv_idle_driver; in powernv_cpuidle_driver_init() local
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c67 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
79 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
97 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
107 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
118 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
126 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
134 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames() local
142 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
153 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode() local
162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_tx_loop_pkt_dis() 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()
117 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
145 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
170 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
181 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
196 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
220 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
236 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
246 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr() local
[all …]
/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.c244 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
280 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
413 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
436 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
486 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
621 struct device_driver *drv = data; in __driver_attach() local
657 int driver_attach(struct device_driver *drv) in driver_attach()
669 struct device_driver *drv; in __device_release_driver() local
731 void driver_detach(struct device_driver *drv) in driver_detach()
Dplatform.c507 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local
542 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local
555 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local
568 int __platform_driver_register(struct platform_driver *drv, in __platform_driver_register()
585 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister()
611 int __init_or_module __platform_driver_probe(struct platform_driver *drv, in __platform_driver_probe()
908 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
965 struct device_driver *drv = dev->driver; in platform_pm_suspend() local
983 struct device_driver *drv = dev->driver; in platform_pm_resume() local
1005 struct device_driver *drv = dev->driver; in platform_pm_freeze() 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
233 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_remove() local
247 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
/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
323 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe()
373 static int __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe()
403 struct pci_driver *drv = to_pci_driver(dev->driver); in pci_device_probe() local
422 struct pci_driver *drv = pci_dev->driver; in pci_device_remove() local
460 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local
552 struct pci_driver *drv = pci_dev->driver; in pci_legacy_suspend() local
[all …]
/drivers/net/wireless/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()
171 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode()
185 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc()
213 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware()
427 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib()
445 static int iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags()
467 static int iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities()
489 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware()
[all …]
/drivers/zorro/
Dzorro-driver.c46 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local
67 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local
86 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver()
108 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver()
126 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/drivers/net/irda/
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/pnp/
Dcard.c18 static const struct pnp_card_device_id *match_card(struct pnp_card_driver *drv, in match_card()
59 struct pnp_card_driver *drv = to_pnp_card_driver(dev->driver); in card_remove_first() local
70 static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv) in card_probe()
263 struct pnp_card_driver *drv = in pnp_add_card() local
332 struct pnp_card_driver *drv; in pnp_request_card_device() local
378 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local
413 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver()
446 void pnp_unregister_card_driver(struct pnp_card_driver *drv) in pnp_unregister_card_driver()
Ddriver.c43 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
141 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local
147 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
262 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver()
270 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
/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/nfc/
Dnfcwilink.c124 static void nfcwilink_fw_download_receive(struct nfcwilink *drv, in nfcwilink_fw_download_receive()
141 static int nfcwilink_get_bts_file_name(struct nfcwilink *drv, char *file_name) in nfcwilink_get_bts_file_name()
198 static int nfcwilink_send_bts_cmd(struct nfcwilink *drv, __u8 *data, int len) in nfcwilink_send_bts_cmd()
245 static int nfcwilink_download_fw(struct nfcwilink *drv) in nfcwilink_download_fw()
325 struct nfcwilink *drv = priv_data; in nfcwilink_register_complete() local
337 struct nfcwilink *drv = priv_data; in nfcwilink_receive() local
384 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_open() local
446 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_close() local
463 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_send() local
500 struct nfcwilink *drv; in nfcwilink_probe() local
[all …]
/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
684 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
700 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local
709 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local
715 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver()
725 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver()
761 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver()
786 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match()
802 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv()
[all …]
/drivers/mmc/core/
Dbus.c62 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match()
112 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local
120 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove() local
130 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_shutdown() local
228 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver()
240 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
/drivers/phy/
Dphy-samsung-usb2.c25 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local
67 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_off() local
96 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/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 …]
/drivers/usb/common/
Dulpi.c38 struct ulpi_driver *drv = to_ulpi_driver(driver); in ulpi_match() local
62 struct ulpi_driver *drv = to_ulpi_driver(dev->driver); in ulpi_probe() local
69 struct ulpi_driver *drv = to_ulpi_driver(dev->driver); in ulpi_remove() local
130 int ulpi_register_driver(struct ulpi_driver *drv) in ulpi_register_driver()
147 void ulpi_unregister_driver(struct ulpi_driver *drv) in ulpi_unregister_driver()
/drivers/soc/qcom/
Dspm.c122 static inline void spm_register_write(struct spm_driver_data *drv, in spm_register_write()
131 static inline void spm_register_write_sync(struct spm_driver_data *drv, in spm_register_write_sync()
150 static inline u32 spm_register_read(struct spm_driver_data *drv, in spm_register_read()
156 static void spm_set_low_power_mode(struct spm_driver_data *drv, in spm_set_low_power_mode()
185 struct spm_driver_data *drv = per_cpu(cpu_spm_drv, cpu); in qcom_cpu_spc() local
288 struct spm_driver_data *drv = NULL; in spm_get_drv() local
326 struct spm_driver_data *drv; in spm_dev_probe() local

12345678910>>...13