/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_gmac.c | 63 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 292 struct mac_driver *drv = mac_drv; in hns_gmac_set_uc_match() local [all …]
|
A D | hns_dsaf_xgmac.c | 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 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 276 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_tx_auto_pause_frames() local 293 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_max_frame_length() local 300 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_update_stats() local 411 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_free() local [all …]
|
/linux/drivers/cpuidle/ |
A D | driver.c | 48 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 …]
|
A D | cpuidle.c | 49 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available() 63 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local 77 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state() 129 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state() 137 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper() 392 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time() 500 struct cpuidle_driver *drv; in cpuidle_enable_device() local 553 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_disable_device() local 574 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in __cpuidle_unregister_device() local 702 void cpuidle_unregister(struct cpuidle_driver *drv) in cpuidle_unregister() [all …]
|
A D | cpuidle-psci.c | 57 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state() 99 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state() 105 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state() 150 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state() 180 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology() 204 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle() 246 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle() 280 struct cpuidle_driver *drv; in psci_idle_init_cpu() local 362 struct cpuidle_driver *drv; in psci_cpuidle_probe() local
|
/linux/drivers/soc/qcom/ |
A D | rpmh-rsc.c | 143 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() 154 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd() 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() 387 struct rsc_drv *drv = p; in tcs_tx_done() local 542 const struct rsc_drv *drv = tcs->drv; in find_free_tcs() local 735 static bool rpmh_rsc_ctrlr_is_busy(struct rsc_drv *drv) in rpmh_rsc_ctrlr_is_busy() 776 struct rsc_drv *drv = container_of(nfb, struct rsc_drv, rsc_pm); in rpmh_rsc_cpu_pm_callback() local 838 struct rsc_drv *drv, void __iomem *base) in rpmh_probe_tcs_config() [all …]
|
A D | cpr.c | 252 static bool cpr_is_allowed(struct cpr_drv *drv) in cpr_is_allowed() 278 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr() 408 static int cpr_pre_voltage(struct cpr_drv *drv, in cpr_pre_voltage() 591 struct cpr_drv *drv = dev; in cpr_irq_handler() local 645 static int cpr_enable(struct cpr_drv *drv) in cpr_enable() 666 static int cpr_disable(struct cpr_drv *drv) in cpr_disable() 680 static int cpr_config(struct cpr_drv *drv) in cpr_config() 827 struct cpr_drv *drv) in cpr_read_fuse_uV() 957 struct cpr_drv *drv, in cpr_calculate_scaling() 1561 struct cpr_drv *drv = s->private; in cpr_debug_info_show() local [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_drvfs.c | 39 struct device_driver *drv; member 96 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show() 102 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store() 115 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show() 121 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store() 140 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show() 145 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store() 169 static int iunit_drvfs_create_files(struct device_driver *drv) in iunit_drvfs_create_files() 179 static void iunit_drvfs_remove_files(struct device_driver *drv) in iunit_drvfs_remove_files() 189 struct device_driver *drv = isp->dev->driver; in atomisp_drvfs_init() local
|
/linux/drivers/base/ |
A D | driver.c | 42 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() 76 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() 101 int driver_create_file(struct device_driver *drv, in driver_create_file() 119 void driver_remove_file(struct device_driver *drv, in driver_remove_file() 127 int driver_add_groups(struct device_driver *drv, in driver_add_groups() 133 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups() 147 int driver_register(struct device_driver *drv) in driver_register() 191 void driver_unregister(struct device_driver *drv) in driver_unregister()
|
A D | dd.c | 228 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local 452 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 541 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 813 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing() 1059 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach() 1079 struct device_driver *drv; in __driver_attach_async_helper() local 1094 struct device_driver *drv = data; in __driver_attach() local 1155 int driver_attach(struct device_driver *drv) in driver_attach() 1167 struct device_driver *drv; in __device_release_driver() local 1230 struct device_driver *drv, in device_release_driver_internal() [all …]
|
/linux/drivers/vfio/mdev/ |
A D | mdev_driver.c | 18 struct mdev_driver *drv = in mdev_probe() local 28 struct mdev_driver *drv = in mdev_remove() local 35 static int mdev_match(struct device *dev, struct device_driver *drv) in mdev_match() 58 int mdev_register_driver(struct mdev_driver *drv) in mdev_register_driver() 72 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
|
/linux/drivers/soundwire/ |
A D | bus_type.c | 21 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 152 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_remove() local 166 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_shutdown() local 179 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver() 211 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
|
/linux/drivers/watchdog/ |
A D | mena21_wdt.c | 42 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
|
A D | menz69_wdt.c | 36 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 112 struct men_z069_drv *drv; in men_z069_probe() local 145 struct men_z069_drv *drv = mcb_get_drvdata(dev); in men_z069_remove() local
|
/linux/drivers/zorro/ |
A D | zorro-driver.c | 47 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()
|
/linux/drivers/net/phy/ |
A D | mdio_device.c | 36 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match() 149 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local 170 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local 185 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local 196 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register() 220 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
|
/linux/drivers/video/fbdev/via/ |
A D | via_aux_edid.c | 18 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
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-drv.c | 117 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode() 453 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware() 589 static int iwl_parse_tlv_firmware(struct iwl_drv *drv, in iwl_parse_tlv_firmware() 1240 static int iwl_alloc_ucode(struct iwl_drv *drv, in iwl_alloc_ucode() 1260 static int validate_sec_sizes(struct iwl_drv *drv, in validate_sec_sizes() 1343 static void _iwl_op_mode_stop(struct iwl_drv *drv) in _iwl_op_mode_stop() 1365 struct iwl_drv *drv = context; in iwl_req_fw_callback() local 1672 struct iwl_drv *drv; in iwl_drv_start() local 1716 void iwl_drv_stop(struct iwl_drv *drv) in iwl_drv_stop() 1760 struct iwl_drv *drv; in iwl_opmode_register() local [all …]
|
/linux/sound/soc/intel/atom/ |
A D | sst-atom-controls.c | 23 static int sst_fill_byte_control(struct sst_data *drv, in sst_fill_byte_control() 72 static int sst_fill_and_send_cmd(struct sst_data *drv, in sst_fill_and_send_cmd() 112 static int sst_send_slot_map(struct sst_data *drv) in sst_send_slot_map() 164 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_slot_get() local 222 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_slot_put() local 265 static int sst_send_algo_cmd(struct sst_data *drv, in sst_send_algo_cmd() 521 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_send_pipe_module_params() local 600 struct sst_data *drv, int mute) in sst_set_pipe_gain() 746 struct sst_data *drv = snd_soc_dai_get_drvdata(dai); in sst_handle_vb_timer() local 945 struct sst_data *drv = snd_soc_dai_get_drvdata(dai); in send_ssp_cmd() local [all …]
|
/linux/drivers/pnp/ |
A D | card.c | 19 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()
|
A D | driver.c | 44 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()
|
/linux/drivers/dio/ |
A D | dio-driver.c | 50 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()
|
/linux/sound/aoa/soundbus/ |
A D | core.c | 39 struct soundbus_driver *drv; in soundbus_probe() local 110 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_remove() local 120 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_shutdown() local 162 int soundbus_register_driver(struct soundbus_driver *drv) in soundbus_register_driver() 173 void soundbus_unregister_driver(struct soundbus_driver *drv) in soundbus_unregister_driver()
|
/linux/sound/core/seq/ |
A D | seq_midi_emul.c | 77 void *drv; in snd_midi_process_event() local 235 note_off(const struct snd_midi_op *ops, void *drv, in note_off() 258 do_control(const struct snd_midi_op *ops, void *drv, in do_control() 410 rpn(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn() 450 nrpn(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn() 592 all_sounds_off(const struct snd_midi_op *ops, void *drv, in all_sounds_off() 611 all_notes_off(const struct snd_midi_op *ops, void *drv, in all_notes_off()
|
/linux/include/linux/device/ |
A D | driver.h | 169 static inline struct device *driver_find_device_by_name(struct device_driver *drv, in driver_find_device_by_name() 182 driver_find_device_by_of_node(struct device_driver *drv, in driver_find_device_by_of_node() 195 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode() 207 static inline struct device *driver_find_device_by_devt(struct device_driver *drv, in driver_find_device_by_devt() 213 static inline struct device *driver_find_next_device(struct device_driver *drv, in driver_find_next_device() 227 driver_find_device_by_acpi_dev(struct device_driver *drv, in driver_find_device_by_acpi_dev() 234 driver_find_device_by_acpi_dev(struct device_driver *drv, const void *adev) in driver_find_device_by_acpi_dev()
|