Home
last modified time | relevance | path

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

12345678910>>...17

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c63 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
78 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
98 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
108 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
119 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
127 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
135 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
147 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc() local
157 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode() local
166 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_tx_loop_pkt_dis() local
[all …]
Dhns_dsaf_xgmac.c91 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()
101 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
182 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
193 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
208 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
233 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
250 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
260 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()
207 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
243 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
264 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver()
297 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
324 struct cpuidle_driver *drv; in cpuidle_get_driver() local
[all …]
Dcpuidle.c52 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
66 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
80 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
132 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
140 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
179 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
203 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
337 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
353 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
410 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time()
[all …]
Dcpuidle-psci.c59 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state()
108 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state()
114 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state()
204 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state()
234 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology()
258 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle()
300 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle()
334 struct cpuidle_driver *drv; in psci_idle_init_cpu() local
416 struct cpuidle_driver *drv; in psci_cpuidle_probe() local
/drivers/soc/qcom/
Drpmh-rsc.c143 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr()
149 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr()
154 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd()
160 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg()
165 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd()
171 static void write_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg()
177 static void write_tcs_reg_sync(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
209 static void tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
232 void rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
248 static struct tcs_group *get_tcs_for_msg(struct rsc_drv *drv, in get_tcs_for_msg()
[all …]
Dcpr.c252 static bool cpr_is_allowed(struct cpr_drv *drv) in cpr_is_allowed()
257 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write()
262 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read()
268 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write()
278 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr()
283 static void cpr_irq_clr_nack(struct cpr_drv *drv) in cpr_irq_clr_nack()
289 static void cpr_irq_clr_ack(struct cpr_drv *drv) in cpr_irq_clr_ack()
295 static void cpr_irq_set(struct cpr_drv *drv, u32 int_bits) in cpr_irq_set()
300 static void cpr_ctl_modify(struct cpr_drv *drv, u32 mask, u32 value) in cpr_ctl_modify()
305 static void cpr_ctl_enable(struct cpr_drv *drv, struct corner *corner) in cpr_ctl_enable()
[all …]
/drivers/staging/media/atomisp/pci/
Datomisp_drvfs.c39 struct device_driver *drv; member
91 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show()
97 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store()
110 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show()
116 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store()
135 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show()
140 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store()
164 static int iunit_drvfs_create_files(struct device_driver *drv) in iunit_drvfs_create_files()
174 static void iunit_drvfs_remove_files(struct device_driver *drv) in iunit_drvfs_remove_files()
184 struct device_driver *drv = isp->dev->driver; in atomisp_drvfs_init() local
/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c84 struct list_head drv; /* list of devices using this op_mode */ member
102 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc()
109 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img()
117 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode()
138 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc()
163 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware()
363 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib()
381 static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags()
402 static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities()
423 static const char *iwl_reduced_fw_name(struct iwl_drv *drv) in iwl_reduced_fw_name()
[all …]
/drivers/base/
Ddd.c229 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local
471 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
553 static int call_driver_probe(struct device *dev, struct device_driver *drv) in call_driver_probe()
584 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
715 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
787 static int __driver_probe_device(struct device_driver *drv, struct device *dev) in __driver_probe_device()
832 static int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
876 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
929 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1130 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach()
[all …]
Ddriver.c117 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
151 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
176 int driver_create_file(struct device_driver *drv, in driver_create_file()
194 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
202 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
208 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
222 int driver_register(struct device_driver *drv) in driver_register()
267 void driver_unregister(struct device_driver *drv) in driver_unregister()
Dplatform.c861 int __platform_driver_register(struct platform_driver *drv, in __platform_driver_register()
875 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister()
906 int __init_or_module __platform_driver_probe(struct platform_driver *drv, in __platform_driver_probe()
1121 struct device_driver *drv = dev->driver; in platform_pm_suspend() local
1139 struct device_driver *drv = dev->driver; in platform_pm_resume() local
1161 struct device_driver *drv = dev->driver; in platform_pm_freeze() local
1179 struct device_driver *drv = dev->driver; in platform_pm_thaw() local
1197 struct device_driver *drv = dev->driver; in platform_pm_poweroff() local
1215 struct device_driver *drv = dev->driver; in platform_pm_restore() local
1331 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
[all …]
/drivers/soundwire/
Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
40 struct sdw_driver *drv; in sdw_bus_match() local
83 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_probe() local
165 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_remove() local
183 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_shutdown() local
196 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver()
224 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
/drivers/watchdog/
Dmena21_wdt.c42 static unsigned int a21_wdt_get_bootstatus(struct a21_wdt_drv *drv) in a21_wdt_get_bootstatus()
55 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_start() local
64 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_stop() local
73 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_ping() local
85 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_set_timeout() local
131 struct a21_wdt_drv *drv; in a21_wdt_probe() local
203 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
Dmenz69_wdt.c36 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_start() local
48 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_stop() local
60 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_ping() local
74 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_set_timeout() local
104 struct men_z069_drv *drv; in men_z069_probe() local
141 struct men_z069_drv *drv = mcb_get_drvdata(dev); in men_z069_remove() local
/drivers/vfio/mdev/
Dmdev_driver.c17 struct mdev_driver *drv = in mdev_probe() local
27 struct mdev_driver *drv = in mdev_remove() local
34 static int mdev_match(struct device *dev, struct device_driver *drv) in mdev_match()
56 int mdev_register_driver(struct mdev_driver *drv) in mdev_register_driver()
71 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
/drivers/net/phy/
Dmdio_device.c38 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
151 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
172 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
187 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local
198 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register()
222 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
/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
380 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local
416 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver()
450 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()
129 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_remove() local
147 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local
153 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
268 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver()
277 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
/drivers/zorro/
Dzorro-driver.c47 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local
66 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local
81 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver()
103 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver()
121 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/drivers/input/gameport/
Dgameport.c214 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
469 struct device_driver *drv; in drvctl_store() local
678 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
694 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local
703 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local
708 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver()
718 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver()
754 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver()
779 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match()
795 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv()
[all …]
/drivers/video/fbdev/via/
Dvia_aux_edid.c18 static void query_edid(struct via_aux_drv *drv) in query_edid()
47 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode()
64 static void cleanup(struct via_aux_drv *drv) in cleanup()
74 struct via_aux_drv drv = { in via_aux_edid_probe() local
/drivers/input/serio/
Dserio.c39 static int serio_connect_driver(struct serio *serio, struct serio_driver *drv) in serio_connect_driver()
87 static int serio_bind_driver(struct serio *serio, struct serio_driver *drv) in serio_bind_driver()
382 struct device_driver *drv; in drvctl_store() local
732 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
739 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show()
745 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store()
773 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local
800 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver()
810 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver()
849 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver()
[all …]
/drivers/pci/
Dpci-driver.c53 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid()
81 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids()
136 static const struct pci_device_id *pci_match_device(struct pci_driver *drv, in pci_match_device()
300 struct pci_driver *drv; member
350 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe()
407 static int __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe()
448 struct pci_driver *drv = to_pci_driver(dev->driver); in pci_device_probe() local
472 struct pci_driver *drv = pci_dev->driver; in pci_device_remove() local
508 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local
625 struct pci_driver *drv = pci_dev->driver; in pci_legacy_suspend() local
[all …]
/drivers/phy/renesas/
Dphy-rcar-gen2.c57 struct rcar_gen2_phy_driver *drv; member
81 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() local
120 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_on() local
164 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_off() local
196 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rz_g1c_phy_power_on() local
225 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rz_g1c_phy_power_off() local
312 struct rcar_gen2_phy_driver *drv; in rcar_gen2_phy_xlate() local
339 struct rcar_gen2_phy_driver *drv; in rcar_gen2_phy_probe() local

12345678910>>...17