/linux-4.4.14/include/linux/ |
D | pm_runtime.h | 58 static inline bool pm_children_suspended(struct device *dev) in pm_children_suspended() 64 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume() 69 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle() 74 static inline bool device_run_wake(struct device *dev) in device_run_wake() 79 static inline void device_set_run_wake(struct device *dev, bool enable) in device_set_run_wake() 84 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended() 90 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active() 96 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended() 101 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled() 106 static inline bool pm_runtime_callbacks_present(struct device *dev) in pm_runtime_callbacks_present() [all …]
|
D | kdev_t.h | 9 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) argument 10 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) argument 13 #define print_dev_t(buffer, dev) \ argument 16 #define format_dev_t(buffer, dev) \ argument 23 static inline bool old_valid_dev(dev_t dev) in old_valid_dev() 28 static inline u16 old_encode_dev(dev_t dev) in old_encode_dev() 38 static inline bool new_valid_dev(dev_t dev) in new_valid_dev() 43 static inline u32 new_encode_dev(dev_t dev) in new_encode_dev() 50 static inline dev_t new_decode_dev(u32 dev) in new_decode_dev() 57 static inline u64 huge_encode_dev(dev_t dev) in huge_encode_dev() [all …]
|
D | of_device.h | 23 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 44 static inline void of_device_node_put(struct device *dev) in of_device_node_put() 61 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 67 static inline void of_device_uevent(struct device *dev, in of_device_uevent() 70 static inline const void *of_device_get_match_data(const struct device *dev) in of_device_get_match_data() 75 static inline int of_device_get_modalias(struct device *dev, in of_device_get_modalias() 81 static inline int of_device_uevent_modalias(struct device *dev, in of_device_uevent_modalias() 87 static inline void of_device_node_put(struct device *dev) { } in of_device_node_put() 90 const struct of_device_id *matches, const struct device *dev) in __of_match_device() 94 #define of_match_device(matches, dev) \ argument [all …]
|
D | pm_opp.h | 74 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count() 79 static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency() 84 static inline struct dev_pm_opp *dev_pm_opp_get_suspend_opp(struct device *dev) in dev_pm_opp_get_suspend_opp() 89 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact() 95 static inline struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor() 101 static inline struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil() 107 static inline int dev_pm_opp_add(struct device *dev, unsigned long freq, in dev_pm_opp_add() 113 static inline void dev_pm_opp_remove(struct device *dev, unsigned long freq) in dev_pm_opp_remove() 117 static inline int dev_pm_opp_enable(struct device *dev, unsigned long freq) in dev_pm_opp_enable() 122 static inline int dev_pm_opp_disable(struct device *dev, unsigned long freq) in dev_pm_opp_disable() [all …]
|
D | pm_qos.h | 68 struct device *dev; member 167 static inline s32 dev_pm_qos_requested_resume_latency(struct device *dev) in dev_pm_qos_requested_resume_latency() 172 static inline s32 dev_pm_qos_requested_flags(struct device *dev) in dev_pm_qos_requested_flags() 177 static inline enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, in __dev_pm_qos_flags() 180 static inline enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, in dev_pm_qos_flags() 183 static inline s32 __dev_pm_qos_read_value(struct device *dev) in __dev_pm_qos_read_value() 185 static inline s32 dev_pm_qos_read_value(struct device *dev) in dev_pm_qos_read_value() 187 static inline int dev_pm_qos_add_request(struct device *dev, in dev_pm_qos_add_request() 197 static inline int dev_pm_qos_add_notifier(struct device *dev, in dev_pm_qos_add_notifier() 200 static inline int dev_pm_qos_remove_notifier(struct device *dev, in dev_pm_qos_remove_notifier() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | wa.c | 33 static void b43_wa_papd(struct b43_wldev *dev) in b43_wa_papd() 44 static void b43_wa_auxclipthr(struct b43_wldev *dev) in b43_wa_auxclipthr() 49 static void b43_wa_afcdac(struct b43_wldev *dev) in b43_wa_afcdac() 55 static void b43_wa_txdc_offset(struct b43_wldev *dev) in b43_wa_txdc_offset() 60 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() 84 static void b43_wa_divider(struct b43_wldev *dev) in b43_wa_divider() 90 static void b43_wa_gt(struct b43_wldev *dev) /* Gain table. */ in b43_wa_gt() 119 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt() 134 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog() 152 static void b43_wa_dac(struct b43_wldev *dev) in b43_wa_dac() [all …]
|
D | bus.c | 34 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown() 38 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup() 43 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled() 47 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable() 52 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable() 57 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() 61 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32() 66 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16() 71 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32() 76 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read() [all …]
|
D | phy_a.c | 82 static void b43_radio_set_tx_iq(struct b43_wldev *dev) in b43_radio_set_tx_iq() 100 static void aphy_channel_switch(struct b43_wldev *dev, unsigned int channel) in aphy_channel_switch() 143 static void b43_radio_init2060(struct b43_wldev *dev) in b43_radio_init2060() 181 static void b43_phy_rssiagc(struct b43_wldev *dev, u8 enable) in b43_phy_rssiagc() 212 static void b43_phy_ww(struct b43_wldev *dev) in b43_phy_ww() 261 static void hardware_pctl_init_aphy(struct b43_wldev *dev) in hardware_pctl_init_aphy() 266 void b43_phy_inita(struct b43_wldev *dev) in b43_phy_inita() 319 static int b43_aphy_init_tssi2dbm_table(struct b43_wldev *dev) in b43_aphy_init_tssi2dbm_table() 354 static int b43_aphy_op_allocate(struct b43_wldev *dev) in b43_aphy_op_allocate() 377 static void b43_aphy_op_prepare_structs(struct b43_wldev *dev) in b43_aphy_op_prepare_structs() [all …]
|
D | phy_common.c | 41 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() 90 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() 96 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() 138 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit() 148 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl() 157 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock() 175 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock() 192 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock() 204 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock() 216 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended() [all …]
|
D | phy_lcn.c | 62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() 109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init() 165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset() 181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain() 187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain() 198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult() 204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets() 224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init() 259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks() 310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup() [all …]
|
D | phy_ht.c | 48 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup() 93 static void b43_radio_2059_rcal(struct b43_wldev *dev) in b43_radio_2059_rcal() 120 static void b43_radio_2057_rccal(struct b43_wldev *dev) in b43_radio_2057_rccal() 147 static void b43_radio_2059_init_pre(struct b43_wldev *dev) in b43_radio_2059_init_pre() 155 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init() 188 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence() 209 static void b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) in b43_phy_ht_pa_override() 233 static u16 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) in b43_phy_ht_classifier() 249 static void b43_phy_ht_reset_cca(struct b43_wldev *dev) in b43_phy_ht_reset_cca() 263 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg() [all …]
|
D | phy_lp.c | 47 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan() 54 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate() 66 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs() 77 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free() 86 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom() 169 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table() 194 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init() 209 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init() 358 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state() 387 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state() [all …]
|
D | main.c | 467 static void b43_ram_write(struct b43_wldev *dev, u16 offset, u32 val) in b43_ram_write() 482 static inline void b43_shm_control_word(struct b43_wldev *dev, in b43_shm_control_word() 494 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read32() 517 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read16() 538 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value) in b43_shm_write32() 558 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value) in b43_shm_write16() 575 u64 b43_hf_read(struct b43_wldev *dev) in b43_hf_read() 589 void b43_hf_write(struct b43_wldev *dev, u64 value) in b43_hf_write() 602 static u16 b43_fwcapa_read(struct b43_wldev *dev) in b43_fwcapa_read() 608 void b43_tsf_read(struct b43_wldev *dev, u64 *tsf) in b43_tsf_read() [all …]
|
D | phy_n.c | 106 static inline bool b43_nphy_ipa(struct b43_wldev *dev) in b43_nphy_ipa() 114 static u8 b43_nphy_get_rx_core_state(struct b43_wldev *dev) in b43_nphy_get_rx_core_state() 125 static void b43_nphy_force_rf_sequence(struct b43_wldev *dev, in b43_nphy_force_rf_sequence() 154 static void b43_nphy_rf_ctl_override_rev19(struct b43_wldev *dev, u16 field, in b43_nphy_rf_ctl_override_rev19() 162 static void b43_nphy_rf_ctl_override_rev7(struct b43_wldev *dev, u16 field, in b43_nphy_rf_ctl_override_rev7() 209 static void b43_nphy_rf_ctl_override_one_to_many(struct b43_wldev *dev, in b43_nphy_rf_ctl_override_one_to_many() 253 static void b43_nphy_rf_ctl_override(struct b43_wldev *dev, u16 field, in b43_nphy_rf_ctl_override() 328 static void b43_nphy_rf_ctl_intc_override_rev7(struct b43_wldev *dev, in b43_nphy_rf_ctl_intc_override_rev7() 398 static void b43_nphy_rf_ctl_intc_override(struct b43_wldev *dev, in b43_nphy_rf_ctl_intc_override() 506 static void b43_nphy_write_clip_detection(struct b43_wldev *dev, in b43_nphy_write_clip_detection() [all …]
|
D | phy_g.c | 80 static void generate_rfatt_list(struct b43_wldev *dev, in generate_rfatt_list() 146 static void generate_bbatt_list(struct b43_wldev *dev, in generate_bbatt_list() 167 static void b43_shm_clear_tssi(struct b43_wldev *dev) in b43_shm_clear_tssi() 176 static void b43_synth_pu_workaround(struct b43_wldev *dev, u8 channel) in b43_synth_pu_workaround() 198 void b43_gphy_set_baseband_attenuation(struct b43_wldev *dev, in b43_gphy_set_baseband_attenuation() 215 static void b43_set_txpower_g(struct b43_wldev *dev, in b43_set_txpower_g() 264 static void b43_gphy_tssi_power_lt_init(struct b43_wldev *dev) in b43_gphy_tssi_power_lt_init() 282 static void b43_gphy_gain_lt_init(struct b43_wldev *dev) in b43_gphy_gain_lt_init() 308 static void b43_set_all_gains(struct b43_wldev *dev, in b43_set_all_gains() 340 static void b43_set_original_gains(struct b43_wldev *dev) in b43_set_original_gains() [all …]
|
/linux-4.4.14/drivers/pci/ |
D | quirks.c | 37 static void quirk_mmio_always_on(struct pci_dev *dev) in quirk_mmio_always_on() 48 static void quirk_mellanox_tavor(struct pci_dev *dev) in quirk_mellanox_tavor() 57 static void quirk_passive_release(struct pci_dev *dev) in quirk_passive_release() 83 static void quirk_isa_dma_hangs(struct pci_dev *dev) in quirk_isa_dma_hangs() 106 static void quirk_tigerpoint_bm_sts(struct pci_dev *dev) in quirk_tigerpoint_bm_sts() 125 static void quirk_nopcipci(struct pci_dev *dev) in quirk_nopcipci() 135 static void quirk_nopciamd(struct pci_dev *dev) in quirk_nopciamd() 150 static void quirk_triton(struct pci_dev *dev) in quirk_triton() 172 static void quirk_vialatency(struct pci_dev *dev) in quirk_vialatency() 228 static void quirk_viaetbf(struct pci_dev *dev) in quirk_viaetbf() [all …]
|
D | pci.c | 54 struct pci_dev *dev; member 59 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep() 191 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability() 237 int pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability() 288 int pci_find_next_ext_capability(struct pci_dev *dev, int start, int cap) in pci_find_next_ext_capability() 343 int pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability() 349 static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap) in __pci_find_next_ht_cap() 389 int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap) in pci_find_next_ht_capability() 406 int pci_find_ht_capability(struct pci_dev *dev, int ht_cap) in pci_find_ht_capability() 426 struct resource *pci_find_parent_resource(const struct pci_dev *dev, in pci_find_parent_resource() [all …]
|
D | iov.c | 22 int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_bus() 30 int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_devfn() 44 static inline void pci_iov_set_numvfs(struct pci_dev *dev, int nr_virtfn) in pci_iov_set_numvfs() 60 static int compute_max_vf_buses(struct pci_dev *dev) in compute_max_vf_buses() 108 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size() 116 static int virtfn_add(struct pci_dev *dev, int id, int reset) in virtfn_add() 191 static void virtfn_remove(struct pci_dev *dev, int id, int reset) in virtfn_remove() 238 static int sriov_enable(struct pci_dev *dev, int nr_virtfn) in sriov_enable() 353 static void sriov_disable(struct pci_dev *dev) in sriov_disable() 379 static int sriov_init(struct pci_dev *dev, int pos) in sriov_init() [all …]
|
D | msi.c | 36 struct irq_domain * __weak arch_get_pci_msi_domain(struct pci_dev *dev) in arch_get_pci_msi_domain() 41 static struct irq_domain *pci_msi_get_domain(struct pci_dev *dev) in pci_msi_get_domain() 52 static int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in pci_msi_setup_msi_irqs() 63 static void pci_msi_teardown_msi_irqs(struct pci_dev *dev) in pci_msi_teardown_msi_irqs() 80 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq() 107 int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() 137 void default_teardown_msi_irqs(struct pci_dev *dev) in default_teardown_msi_irqs() 148 void __weak arch_teardown_msi_irqs(struct pci_dev *dev) in arch_teardown_msi_irqs() 153 static void default_restore_msi_irq(struct pci_dev *dev, int irq) in default_restore_msi_irq() 171 void __weak arch_restore_msi_irqs(struct pci_dev *dev) in arch_restore_msi_irqs() [all …]
|
/linux-4.4.14/drivers/base/power/ |
D | generic_ops.c | 23 int pm_generic_runtime_suspend(struct device *dev) in pm_generic_runtime_suspend() 42 int pm_generic_runtime_resume(struct device *dev) in pm_generic_runtime_resume() 61 int pm_generic_prepare(struct device *dev) in pm_generic_prepare() 76 int pm_generic_suspend_noirq(struct device *dev) in pm_generic_suspend_noirq() 88 int pm_generic_suspend_late(struct device *dev) in pm_generic_suspend_late() 100 int pm_generic_suspend(struct device *dev) in pm_generic_suspend() 112 int pm_generic_freeze_noirq(struct device *dev) in pm_generic_freeze_noirq() 124 int pm_generic_freeze_late(struct device *dev) in pm_generic_freeze_late() 136 int pm_generic_freeze(struct device *dev) in pm_generic_freeze() 148 int pm_generic_poweroff_noirq(struct device *dev) in pm_generic_poweroff_noirq() [all …]
|
D | runtime.c | 19 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() 46 #define RPM_GET_CALLBACK(dev, callback) \ argument 63 void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting() 81 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status() 91 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer() 103 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending() 125 unsigned long pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration() 160 static int dev_memalloc_noio(struct device *dev, void *data) in dev_memalloc_noio() 193 void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) in pm_runtime_set_memalloc_noio() 234 static int rpm_check_suspend_allowed(struct device *dev) in rpm_check_suspend_allowed() [all …]
|
D | power.h | 3 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common() 14 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 24 struct device *dev; member 43 device_wakeup_attach_irq(struct device *dev, in device_wakeup_attach_irq() 49 static inline void device_wakeup_detach_irq(struct device *dev) in device_wakeup_detach_irq() 81 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 86 static inline void pm_runtime_init(struct device *dev) {} in pm_runtime_init() 87 static inline void pm_runtime_remove(struct device *dev) {} in pm_runtime_remove() 89 static inline int dpm_sysfs_add(struct device *dev) { return 0; } in dpm_sysfs_add() 90 static inline void dpm_sysfs_remove(struct device *dev) {} in dpm_sysfs_remove() [all …]
|
D | sysfs.c | 101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 130 static ssize_t rtpm_active_time_show(struct device *dev, in rtpm_active_time_show() 143 static ssize_t rtpm_suspended_time_show(struct device *dev, in rtpm_suspended_time_show() 157 static ssize_t rtpm_status_show(struct device *dev, in rtpm_status_show() 189 static ssize_t autosuspend_delay_ms_show(struct device *dev, in autosuspend_delay_ms_show() 197 static ssize_t autosuspend_delay_ms_store(struct device *dev, in autosuspend_delay_ms_store() 217 static ssize_t pm_qos_resume_latency_show(struct device *dev, in pm_qos_resume_latency_show() 224 static ssize_t pm_qos_resume_latency_store(struct device *dev, in pm_qos_resume_latency_store() 245 static ssize_t pm_qos_latency_tolerance_show(struct device *dev, in pm_qos_latency_tolerance_show() [all …]
|
D | qos.c | 61 enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, s32 mask) in __dev_pm_qos_flags() 88 enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, s32 mask) in dev_pm_qos_flags() 107 s32 __dev_pm_qos_read_value(struct device *dev) in __dev_pm_qos_read_value() 119 s32 dev_pm_qos_read_value(struct device *dev) in dev_pm_qos_read_value() 184 static int dev_pm_qos_constraints_allocate(struct device *dev) in dev_pm_qos_constraints_allocate() 234 void dev_pm_qos_constraints_destroy(struct device *dev) in dev_pm_qos_constraints_destroy() 293 static bool dev_pm_qos_invalid_request(struct device *dev, in dev_pm_qos_invalid_request() 300 static int __dev_pm_qos_add_request(struct device *dev, in __dev_pm_qos_add_request() 349 int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req, in dev_pm_qos_add_request() 491 int dev_pm_qos_add_notifier(struct device *dev, struct notifier_block *notifier) in dev_pm_qos_add_notifier() [all …]
|
D | main.c | 92 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init() 124 void device_pm_add(struct device *dev) in device_pm_add() 140 void device_pm_remove(struct device *dev) in device_pm_remove() 184 void device_pm_move_last(struct device *dev) in device_pm_move_last() 191 static ktime_t initcall_debug_start(struct device *dev) in initcall_debug_start() 205 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report() 225 static void dpm_wait(struct device *dev, bool async) in dpm_wait() 234 static int dpm_wait_fn(struct device *dev, void *async_ptr) in dpm_wait_fn() 240 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() 345 static void pm_dev_dbg(struct device *dev, pm_message_t state, char *info) in pm_dev_dbg() [all …]
|
D | clock_ops.c | 41 static inline void __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce) in __pm_clk_enable() 60 static void pm_clk_acquire(struct device *dev, struct pm_clock_entry *ce) in pm_clk_acquire() 74 static int __pm_clk_add(struct device *dev, const char *con_id, in __pm_clk_add() 119 int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() 134 int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk() 170 void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove() 206 void pm_clk_init(struct device *dev) in pm_clk_init() 220 int pm_clk_create(struct device *dev) in pm_clk_create() 233 void pm_clk_destroy(struct device *dev) in pm_clk_destroy() 263 int pm_clk_suspend(struct device *dev) in pm_clk_suspend() [all …]
|
D | domain.c | 25 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ argument 46 struct generic_pm_domain *pm_genpd_lookup_dev(struct device *dev) in pm_genpd_lookup_dev() 69 static struct generic_pm_domain *dev_to_genpd(struct device *dev) in dev_to_genpd() 77 static int genpd_stop_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_stop_dev() 82 static int genpd_start_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_start_dev() 238 static int genpd_save_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_save_dev() 244 struct device *dev) in genpd_restore_dev() 253 struct device *dev; in genpd_dev_pm_qos_notifier() local 388 static int pm_genpd_runtime_suspend(struct device *dev) in pm_genpd_runtime_suspend() 462 static int pm_genpd_runtime_resume(struct device *dev) in pm_genpd_runtime_resume() [all …]
|
/linux-4.4.14/drivers/media/rc/ |
D | ene_ir.c | 50 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) in ene_set_reg_addr() 57 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg() 67 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg() 75 static void ene_set_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_set_reg_mask() 83 static void ene_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_clear_reg_mask() 91 static void ene_set_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask, in ene_set_clear_reg_mask() 101 static int ene_hw_detect(struct ene_device *dev) in ene_hw_detect() 193 static void ene_rx_setup_hw_buffer(struct ene_device *dev) in ene_rx_setup_hw_buffer() 251 static void ene_rx_restore_hw_buffer(struct ene_device *dev) in ene_rx_restore_hw_buffer() 272 static void ene_rx_read_hw_pointer(struct ene_device *dev) in ene_rx_read_hw_pointer() [all …]
|
D | ite-cir.c | 177 static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int in ite_decode_bytes() 227 static void ite_set_carrier_params(struct ite_dev *dev) in ite_set_carrier_params() 278 struct ite_dev *dev = data; in ite_cir_isr() local 343 struct ite_dev *dev = rcdev->priv; in ite_set_rx_carrier_range() local 358 struct ite_dev *dev = rcdev->priv; in ite_set_tx_carrier() local 372 struct ite_dev *dev = rcdev->priv; in ite_set_tx_duty_cycle() local 388 struct ite_dev *dev = rcdev->priv; in ite_tx_ir() local 539 struct ite_dev *dev = rcdev->priv; in ite_s_idle() local 556 static int it87_get_irq_causes(struct ite_dev *dev) in it87_get_irq_causes() 582 static void it87_set_carrier_params(struct ite_dev *dev, bool high_freq, in it87_set_carrier_params() [all …]
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-avcore.c | 58 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() 64 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() 74 void initGPIO(struct cx231xx *dev) in initGPIO() 96 void uninitGPIO(struct cx231xx *dev) in uninitGPIO() 110 static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) in afe_write_byte() 116 static int afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) in afe_read_byte() 127 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) in cx231xx_afe_init_super_block() 198 int cx231xx_afe_init_channels(struct cx231xx *dev) in cx231xx_afe_init_channels() 247 int cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev) in cx231xx_afe_setup_AFE_for_baseband() 268 int cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux) in cx231xx_afe_set_input_mux() [all …]
|
D | cx231xx-cards.c | 923 struct cx231xx *dev = ptr; in cx231xx_tuner_callback() local 955 static void cx231xx_reset_out(struct cx231xx *dev) in cx231xx_reset_out() 964 static void cx231xx_enable_OSC(struct cx231xx *dev) in cx231xx_enable_OSC() 969 static void cx231xx_sleep_s5h1432(struct cx231xx *dev) in cx231xx_sleep_s5h1432() 974 static inline void cx231xx_set_model(struct cx231xx *dev) in cx231xx_set_model() 982 void cx231xx_pre_card_setup(struct cx231xx *dev) in cx231xx_pre_card_setup() 1005 static void cx231xx_config_tuner(struct cx231xx *dev) in cx231xx_config_tuner() 1043 static int read_eeprom(struct cx231xx *dev, struct i2c_client *client, in read_eeprom() 1082 void cx231xx_card_setup(struct cx231xx *dev) in cx231xx_card_setup() 1152 int cx231xx_config(struct cx231xx *dev) in cx231xx_config() [all …]
|
D | cx231xx-core.c | 70 void cx231xx_remove_from_devlist(struct cx231xx *dev) in cx231xx_remove_from_devlist() 85 void cx231xx_add_into_devlist(struct cx231xx *dev) in cx231xx_add_into_devlist() 97 struct cx231xx *dev = NULL; in cx231xx_register_extension() local 112 struct cx231xx *dev = NULL; in cx231xx_unregister_extension() local 125 void cx231xx_init_extension(struct cx231xx *dev) in cx231xx_init_extension() 139 void cx231xx_close_extension(struct cx231xx *dev) in cx231xx_close_extension() 160 struct cx231xx *dev = i2c_bus->dev; in cx231xx_send_usb_command() local 237 static int __usb_control_msg(struct cx231xx *dev, unsigned int pipe, in __usb_control_msg() 295 int cx231xx_read_ctrl_reg(struct cx231xx *dev, u8 req, u16 reg, in cx231xx_read_ctrl_reg() 334 int cx231xx_send_vendor_cmd(struct cx231xx *dev, in cx231xx_send_vendor_cmd() [all …]
|
D | cx231xx-video.c | 103 static int cx231xx_enable_analog_tuner(struct cx231xx *dev) in cx231xx_enable_analog_tuner() 179 static inline void buffer_filled(struct cx231xx *dev, in buffer_filled() 198 static inline void print_err_status(struct cx231xx *dev, int packet, int status) in print_err_status() 244 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf() local 276 static inline int cx231xx_isoc_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_isoc_copy() 373 static inline int cx231xx_bulk_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_bulk_copy() 511 u32 cx231xx_get_video_line(struct cx231xx *dev, in cx231xx_get_video_line() 556 u32 cx231xx_copy_video_line(struct cx231xx *dev, in cx231xx_copy_video_line() 621 void cx231xx_reset_video_buffer(struct cx231xx *dev, in cx231xx_reset_video_buffer() 653 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, in cx231xx_do_copy() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_pm.c | 21 static int do_scsi_suspend(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_suspend() 26 static int do_scsi_freeze(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_freeze() 31 static int do_scsi_poweroff(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_poweroff() 36 static int do_scsi_resume(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_resume() 41 static int do_scsi_thaw(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_thaw() 46 static int do_scsi_restore(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_restore() 51 static int scsi_dev_type_suspend(struct device *dev, in scsi_dev_type_suspend() 70 static int scsi_dev_type_resume(struct device *dev, in scsi_dev_type_resume() 90 scsi_bus_suspend_common(struct device *dev, in scsi_bus_suspend_common() 111 static void async_sdev_resume(void *dev, async_cookie_t cookie) in async_sdev_resume() [all …]
|
D | ppa.c | 31 struct pardevice *dev; /* Parport device entry */ member 54 static void got_it(ppa_struct *dev) in got_it() 65 ppa_struct *dev = (ppa_struct *) ref; in ppa_wakeup() local 78 static int ppa_pb_claim(ppa_struct *dev) in ppa_pb_claim() 92 static void ppa_pb_dismiss(ppa_struct *dev) in ppa_pb_dismiss() 104 static inline void ppa_pb_release(ppa_struct *dev) in ppa_pb_release() 123 ppa_struct *dev = ppa_dev(host); in ppa_write_info() local 143 ppa_struct *dev = ppa_dev(host); in ppa_show_info() local 159 static inline void ppa_fail_func(ppa_struct *dev, int error_code) in ppa_fail_func() 178 static unsigned char ppa_wait(ppa_struct *dev) in ppa_wait() [all …]
|
/linux-4.4.14/drivers/misc/mei/ |
D | hw-me.c | 66 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read() 77 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write() 89 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read() 106 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read() 122 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write() 135 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set() 148 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read() 164 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write() 178 static int mei_me_fw_status(struct mei_device *dev, in mei_me_fw_status() 206 static void mei_me_hw_config(struct mei_device *dev) in mei_me_hw_config() [all …]
|
D | hw-txe.c | 162 static bool mei_txe_aliveness_set(struct mei_device *dev, u32 req) in mei_txe_aliveness_set() 188 static u32 mei_txe_aliveness_req_get(struct mei_device *dev) in mei_txe_aliveness_req_get() 205 static u32 mei_txe_aliveness_get(struct mei_device *dev) in mei_txe_aliveness_get() 224 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) in mei_txe_aliveness_poll() 257 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) in mei_txe_aliveness_wait() 297 int mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req) in mei_txe_aliveness_set_sync() 311 static bool mei_txe_pg_in_transition(struct mei_device *dev) in mei_txe_pg_in_transition() 323 static bool mei_txe_pg_is_enabled(struct mei_device *dev) in mei_txe_pg_is_enabled() 336 static inline enum mei_pg_state mei_txe_pg_state(struct mei_device *dev) in mei_txe_pg_state() 348 static void mei_txe_input_ready_interrupt_enable(struct mei_device *dev) in mei_txe_input_ready_interrupt_enable() [all …]
|
D | hbm.c | 103 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle() 114 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset() 170 int mei_hbm_cl_write(struct mei_device *dev, in mei_hbm_cl_write() 206 struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) in mei_hbm_cl_find_by_cmd() 225 int mei_hbm_start_wait(struct mei_device *dev) in mei_hbm_start_wait() 253 int mei_hbm_start_req(struct mei_device *dev) in mei_hbm_start_req() 291 static int mei_hbm_enum_clients_req(struct mei_device *dev) in mei_hbm_enum_clients_req() 326 static int mei_hbm_me_cl_add(struct mei_device *dev, in mei_hbm_me_cl_add() 358 static int mei_hbm_add_cl_resp(struct mei_device *dev, u8 addr, u8 status) in mei_hbm_add_cl_resp() 391 static int mei_hbm_fw_add_cl_req(struct mei_device *dev, in mei_hbm_fw_add_cl_req() [all …]
|
D | client.c | 94 static void __mei_me_cl_del(struct mei_device *dev, struct mei_me_client *me_cl) in __mei_me_cl_del() 110 void mei_me_cl_del(struct mei_device *dev, struct mei_me_client *me_cl) in mei_me_cl_del() 123 void mei_me_cl_add(struct mei_device *dev, struct mei_me_client *me_cl) in mei_me_cl_add() 141 static struct mei_me_client *__mei_me_cl_by_uuid(struct mei_device *dev, in __mei_me_cl_by_uuid() 169 struct mei_me_client *mei_me_cl_by_uuid(struct mei_device *dev, in mei_me_cl_by_uuid() 192 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id) in mei_me_cl_by_id() 221 static struct mei_me_client *__mei_me_cl_by_uuid_id(struct mei_device *dev, in __mei_me_cl_by_uuid_id() 250 struct mei_me_client *mei_me_cl_by_uuid_id(struct mei_device *dev, in mei_me_cl_by_uuid_id() 270 void mei_me_cl_rm_by_uuid(struct mei_device *dev, const uuid_le *uuid) in mei_me_cl_rm_by_uuid() 291 void mei_me_cl_rm_by_uuid_id(struct mei_device *dev, const uuid_le *uuid, u8 id) in mei_me_cl_rm_by_uuid_id() [all …]
|
D | amthif.c | 47 void mei_amthif_reset_params(struct mei_device *dev) in mei_amthif_reset_params() 66 int mei_amthif_host_init(struct mei_device *dev, struct mei_me_client *me_cl) in mei_amthif_host_init() 96 struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, in mei_amthif_find_read_list_entry() 124 int mei_amthif_read(struct mei_device *dev, struct file *file, in mei_amthif_read() 234 struct mei_device *dev = cl->dev; in mei_amthif_read_start() local 270 struct mei_device *dev; in mei_amthif_send_cmd() local 300 int mei_amthif_run_next_cmd(struct mei_device *dev) in mei_amthif_run_next_cmd() 332 struct mei_device *dev; in mei_amthif_write() local 358 unsigned int mei_amthif_poll(struct mei_device *dev, in mei_amthif_poll() 415 struct mei_device *dev; in mei_amthif_irq_read_msg() local [all …]
|
/linux-4.4.14/drivers/mtd/nand/ |
D | r852.c | 34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg() 41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg() 50 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword() 57 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword() 73 static void r852_dma_test(struct r852_device *dev) in r852_dma_test() 91 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable() 132 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done() 158 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait() 173 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma() 234 struct r852_device *dev = r852_get_dev(mtd); in r852_write_buf() local [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v6.c | 46 #define IS_MFCV6_V2(dev) (!IS_MFCV7_PLUS(dev) && dev->fw_ver == MFC_FW_V2) argument 65 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() local 262 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() local 316 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6() 340 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6() 408 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() local 430 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() local 519 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() local 534 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() local 547 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v6() local [all …]
|
D | s5p_mfc_opr_v5.c | 39 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local 66 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local 207 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local 253 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5() 260 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5() 352 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local 362 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local 371 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local 385 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local 516 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local [all …]
|
D | s5p_mfc_ctrl.c | 27 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() 78 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() 120 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_release_firmware() 132 static int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) in s5p_mfc_bus_reset() 152 int s5p_mfc_reset(struct s5p_mfc_dev *dev) in s5p_mfc_reset() 210 static inline void s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) in s5p_mfc_init_memctrl() 223 static inline void s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_clear_cmds() 237 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw() 317 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) in s5p_mfc_deinit_hw() 327 int s5p_mfc_sleep(struct s5p_mfc_dev *dev) in s5p_mfc_sleep() [all …]
|
D | s5p_mfc.c | 49 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit() local 59 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit() local 69 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave() local 80 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit_irqsave() local 99 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() 110 struct s5p_mfc_dev *dev = (struct s5p_mfc_dev *)arg; in s5p_mfc_watchdog() local 130 struct s5p_mfc_dev *dev; in s5p_mfc_watchdog_worker() local 187 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_all_extracted() local 217 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_copy_time() local 269 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_new() local [all …]
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 125 void init_hal_dm(struct net_device *dev) in init_hal_dm() 145 void deinit_hal_dm(struct net_device *dev) in deinit_hal_dm() 151 void dm_CheckRxAggregation(struct net_device *dev) in dm_CheckRxAggregation() 207 void hal_dm_watchdog(struct net_device *dev) in hal_dm_watchdog() 239 void init_rate_adaptive(struct net_device *dev) in init_rate_adaptive() 297 static void dm_check_rate_adaptive(struct net_device *dev) in dm_check_rate_adaptive() 429 static void dm_init_bandwidth_autoswitch(struct net_device *dev) in dm_init_bandwidth_autoswitch() 440 static void dm_bandwidth_autoswitch(struct net_device *dev) in dm_bandwidth_autoswitch() 508 static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev) in dm_TXPowerTrackingCallback_TSSI() 664 static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev) in dm_TXPowerTrackingCallback_ThermalMeter() [all …]
|
D | r819xU_phy.c | 63 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath) in rtl8192_phy_CheckIsLegalRFPath() 89 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, u32 bitmask, in rtl8192_setBBreg() 115 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask) in rtl8192_QueryBBReg() 146 static u32 rtl8192_phy_RFSerialRead(struct net_device *dev, in rtl8192_phy_RFSerialRead() 231 static void rtl8192_phy_RFSerialWrite(struct net_device *dev, in rtl8192_phy_RFSerialWrite() 296 void rtl8192_phy_SetRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, in rtl8192_phy_SetRFReg() 344 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, in rtl8192_phy_QueryRFReg() 374 static u32 phy_FwRFSerialRead(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, in phy_FwRFSerialRead() 435 static void phy_FwRFSerialWrite(struct net_device *dev, in phy_FwRFSerialWrite() 485 void rtl8192_phy_configmac(struct net_device *dev) in rtl8192_phy_configmac() [all …]
|
D | r8192U_core.c | 227 static void CamResetAllEntry(struct net_device *dev) in CamResetAllEntry() 242 void write_cam(struct net_device *dev, u8 addr, u32 data) in write_cam() 248 u32 read_cam(struct net_device *dev, u8 addr) in read_cam() 257 void write_nic_byte_E(struct net_device *dev, int indx, u8 data) in write_nic_byte_E() 278 int read_nic_byte_E(struct net_device *dev, int indx, u8 *data) in read_nic_byte_E() 302 void write_nic_byte(struct net_device *dev, int indx, u8 data) in write_nic_byte() 327 void write_nic_word(struct net_device *dev, int indx, u16 data) in write_nic_word() 352 void write_nic_dword(struct net_device *dev, int indx, u32 data) in write_nic_dword() 380 int read_nic_byte(struct net_device *dev, int indx, u8 *data) in read_nic_byte() 407 int read_nic_word(struct net_device *dev, int indx, u16 *data) in read_nic_word() [all …]
|
/linux-4.4.14/drivers/memstick/host/ |
D | r592.c | 58 static inline u32 r592_read_reg(struct r592_device *dev, int address) in r592_read_reg() 66 static inline void r592_write_reg(struct r592_device *dev, in r592_write_reg() 74 static inline u32 r592_read_reg_raw_be(struct r592_device *dev, int address) in r592_read_reg_raw_be() 82 static inline void r592_write_reg_raw_be(struct r592_device *dev, in r592_write_reg_raw_be() 90 static inline void r592_set_reg_mask(struct r592_device *dev, in r592_set_reg_mask() 99 static inline void r592_clear_reg_mask(struct r592_device *dev, in r592_clear_reg_mask() 110 static int r592_wait_status(struct r592_device *dev, u32 mask, u32 wanted_mask) in r592_wait_status() 135 static int r592_enable_device(struct r592_device *dev, bool enable) in r592_enable_device() 156 static int r592_set_mode(struct r592_device *dev, bool parallel_mode) in r592_set_mode() 184 static void r592_host_reset(struct r592_device *dev) in r592_host_reset() [all …]
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 27 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() 61 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr() 101 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw() 117 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set() 123 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear() 128 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr() 150 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr() 188 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw() 201 static u8 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmc() 215 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready() [all …]
|
D | init.c | 24 mt7601u_set_wlan_state(struct mt7601u_dev *dev, u32 val, bool enable) in mt7601u_set_wlan_state() 67 static void mt7601u_chip_onoff(struct mt7601u_dev *dev, bool enable, bool reset) in mt7601u_chip_onoff() 98 static void mt7601u_reset_csr_bbp(struct mt7601u_dev *dev) in mt7601u_reset_csr_bbp() 107 static void mt7601u_init_usb_dma(struct mt7601u_dev *dev) in mt7601u_init_usb_dma() 125 static int mt7601u_init_bbp(struct mt7601u_dev *dev) in mt7601u_init_bbp() 143 mt76_init_beacon_offsets(struct mt7601u_dev *dev) in mt76_init_beacon_offsets() 159 static int mt7601u_write_mac_initvals(struct mt7601u_dev *dev) in mt7601u_write_mac_initvals() 179 static int mt7601u_init_wcid_mem(struct mt7601u_dev *dev) in mt7601u_init_wcid_mem() 200 static int mt7601u_init_key_mem(struct mt7601u_dev *dev) in mt7601u_init_key_mem() 208 static int mt7601u_init_wcid_attr_mem(struct mt7601u_dev *dev) in mt7601u_init_wcid_attr_mem() [all …]
|
D | usb.c | 42 bool mt7601u_usb_alloc_buf(struct mt7601u_dev *dev, size_t len, in mt7601u_usb_alloc_buf() 54 void mt7601u_usb_free_buf(struct mt7601u_dev *dev, struct mt7601u_dma_buf *buf) in mt7601u_usb_free_buf() 62 int mt7601u_usb_submit_buf(struct mt7601u_dev *dev, int dir, int ep_idx, in mt7601u_usb_submit_buf() 95 int mt7601u_vendor_request(struct mt7601u_dev *dev, const u8 req, in mt7601u_vendor_request() 126 void mt7601u_vendor_reset(struct mt7601u_dev *dev) in mt7601u_vendor_reset() 132 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr() 155 int mt7601u_vendor_single_wr(struct mt7601u_dev *dev, const u8 req, in mt7601u_vendor_single_wr() 173 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr() 181 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmw() 188 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmc() [all …]
|
/linux-4.4.14/arch/arm/include/asm/ |
D | dma-mapping.h | 20 static inline struct dma_map_ops *__generic_dma_ops(struct device *dev) in __generic_dma_ops() 27 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() 35 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) in set_dma_ops() 61 static inline dma_addr_t pfn_to_dma(struct device *dev, unsigned long pfn) in pfn_to_dma() 68 static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) in dma_to_pfn() 78 static inline void *dma_to_virt(struct device *dev, dma_addr_t addr) in dma_to_virt() 89 static inline dma_addr_t virt_to_dma(struct device *dev, void *addr) in virt_to_dma() 98 static inline dma_addr_t pfn_to_dma(struct device *dev, unsigned long pfn) in pfn_to_dma() 103 static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) in dma_to_pfn() 108 static inline void *dma_to_virt(struct device *dev, dma_addr_t addr) in dma_to_virt() [all …]
|
/linux-4.4.14/drivers/base/ |
D | core.c | 76 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition() 81 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition() 96 const char *dev_driver_string(const struct device *dev) in dev_driver_string() 117 struct device *dev = kobj_to_dev(kobj); in dev_attr_show() local 133 struct device *dev = kobj_to_dev(kobj); in dev_attr_store() local 148 ssize_t device_store_ulong(struct device *dev, in device_store_ulong() 163 ssize_t device_show_ulong(struct device *dev, in device_show_ulong() 172 ssize_t device_store_int(struct device *dev, in device_store_int() 187 ssize_t device_show_int(struct device *dev, in device_show_int() 197 ssize_t device_store_bool(struct device *dev, struct device_attribute *attr, in device_store_bool() [all …]
|
D | dd.c | 62 struct device *dev; in deferred_probe_work_func() local 112 static void driver_deferred_probe_add(struct device *dev) in driver_deferred_probe_add() 122 void driver_deferred_probe_del(struct device *dev) in driver_deferred_probe_del() 195 static void driver_bound(struct device *dev) in driver_bound() 220 static int driver_sysfs_add(struct device *dev) in driver_sysfs_add() 240 static void driver_sysfs_remove(struct device *dev) in driver_sysfs_remove() 264 int device_bind_driver(struct device *dev) in device_bind_driver() 278 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 415 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 456 struct device *dev; member [all …]
|
D | devres.c | 49 static void devres_log(struct device *dev, struct devres_node *node, in devres_log() 58 #define devres_log(dev, node, op) do {} while (0) argument 65 static void group_open_release(struct device *dev, void *res) in group_open_release() 70 static void group_close_release(struct device *dev, void *res) in group_close_release() 101 static void add_dr(struct device *dev, struct devres_node *node) in add_dr() 163 void devres_for_each_res(struct device *dev, dr_release_t release, in devres_for_each_res() 216 void devres_add(struct device *dev, void *res) in devres_add() 227 static struct devres *find_dr(struct device *dev, dr_release_t release, in find_dr() 259 void * devres_find(struct device *dev, dr_release_t release, in devres_find() 289 void * devres_get(struct device *dev, void *new_res, in devres_get() [all …]
|
/linux-4.4.14/net/nfc/ |
D | core.c | 45 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() 85 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done() 101 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up() 149 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down() 184 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local 209 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll() 252 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll() 279 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target() 291 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up() 338 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | pd.c | 47 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) in mlx4_pd_alloc() 59 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) in mlx4_pd_free() 65 int __mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) in __mlx4_xrcd_alloc() 76 int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) in mlx4_xrcd_alloc() 96 void __mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) in __mlx4_xrcd_free() 101 void mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) in mlx4_xrcd_free() 118 int mlx4_init_pd_table(struct mlx4_dev *dev) in mlx4_init_pd_table() 127 void mlx4_cleanup_pd_table(struct mlx4_dev *dev) in mlx4_cleanup_pd_table() 132 int mlx4_init_xrcd_table(struct mlx4_dev *dev) in mlx4_init_xrcd_table() 140 void mlx4_cleanup_xrcd_table(struct mlx4_dev *dev) in mlx4_cleanup_xrcd_table() [all …]
|
D | mr.c | 153 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in __mlx4_alloc_mtt_range() 177 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in mlx4_alloc_mtt_range() 197 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init() 220 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in __mlx4_free_mtt_range() 234 static void mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in mlx4_free_mtt_range() 254 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_cleanup() 263 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_addr() 279 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_MPT() 287 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_MPT() 296 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_get_mpt() [all …]
|
D | main.c | 171 int mlx4_check_port_params(struct mlx4_dev *dev, in mlx4_check_port_params() 195 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask() 207 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func() 226 static void mlx4_enable_cqe_eqe_stride(struct mlx4_dev *dev) in mlx4_enable_cqe_eqe_stride() 261 static int _mlx4_dev_port(struct mlx4_dev *dev, int port, in _mlx4_dev_port() 287 static int mlx4_dev_port(struct mlx4_dev *dev, int port, in mlx4_dev_port() 300 static inline void mlx4_enable_ignore_fcs(struct mlx4_dev *dev) in mlx4_enable_ignore_fcs() 320 static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_dev_cap() 590 static int mlx4_get_pcie_dev_link_caps(struct mlx4_dev *dev, in mlx4_get_pcie_dev_link_caps() 631 static void mlx4_check_pcie_caps(struct mlx4_dev *dev) in mlx4_check_pcie_caps() [all …]
|
D | srq.c | 43 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type) in mlx4_srq_event() 67 static int mlx4_SW2HW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_SRQ() 75 static int mlx4_HW2SW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_SRQ() 83 static int mlx4_ARM_SRQ(struct mlx4_dev *dev, int srq_num, int limit_watermark) in mlx4_ARM_SRQ() 89 static int mlx4_QUERY_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_QUERY_SRQ() 96 int __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) in __mlx4_srq_alloc_icm() 123 static int mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) in mlx4_srq_alloc_icm() 141 void __mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) in __mlx4_srq_free_icm() 150 static void mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) in mlx4_srq_free_icm() 165 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd, in mlx4_srq_alloc() [all …]
|
D | eq.c | 86 static u64 get_async_ev_mask(struct mlx4_dev *dev) in get_async_ev_mask() 144 struct mlx4_dev *dev = &priv->dev; in mlx4_gen_slave_eqe() local 182 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event() 211 static void mlx4_slave_event(struct mlx4_dev *dev, int slave, in mlx4_slave_event() 228 struct mlx4_dev *dev = &priv->dev; in mlx4_set_eq_affinity_hint() local 240 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_pkey_eqe() 260 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_guid_change_eqe() 277 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, in mlx4_gen_port_state_change_eqe() 298 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) in mlx4_get_slave_port_state() 314 static int mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, in mlx4_set_slave_port_state() [all …]
|
/linux-4.4.14/drivers/net/usb/ |
D | usbnet.c | 67 #define RX_QLEN(dev) ((dev)->rx_qlen) argument 68 #define TX_QLEN(dev) ((dev)->tx_qlen) argument 96 int usbnet_get_endpoints(struct usbnet *dev, struct usb_interface *intf) in usbnet_get_endpoints() 162 int usbnet_get_ethernet_addr(struct usbnet *dev, int iMACAddress) in usbnet_get_ethernet_addr() 183 struct usbnet *dev = urb->context; in intr_complete() local 213 static int init_status (struct usbnet *dev, struct usb_interface *intf) in init_status() 251 int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags) in usbnet_status_start() 271 static int __usbnet_status_start_force(struct usbnet *dev, gfp_t mem_flags) in __usbnet_status_start_force() 286 void usbnet_status_stop(struct usbnet *dev) in usbnet_status_stop() 304 static void __usbnet_status_stop_force(struct usbnet *dev) in __usbnet_status_stop_force() [all …]
|
D | sr9800.c | 28 static int sr_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_read_cmd() 41 static int sr_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd() 55 sr_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd_async() 62 static int sr_rx_fixup(struct usbnet *dev, struct sk_buff *skb) in sr_rx_fixup() 110 static struct sk_buff *sr_tx_fixup(struct usbnet *dev, struct sk_buff *skb, in sr_tx_fixup() 151 static void sr_status(struct usbnet *dev, struct urb *urb) in sr_status() 169 static inline int sr_set_sw_mii(struct usbnet *dev) in sr_set_sw_mii() 179 static inline int sr_set_hw_mii(struct usbnet *dev) in sr_set_hw_mii() 189 static inline int sr_get_phy_addr(struct usbnet *dev) in sr_get_phy_addr() 209 static int sr_sw_reset(struct usbnet *dev, u8 flags) in sr_sw_reset() [all …]
|
D | smsc75xx.c | 65 struct usbnet *dev; member 77 struct usbnet *dev; member 84 static int __must_check __smsc75xx_read_reg(struct usbnet *dev, u32 index, in __smsc75xx_read_reg() 111 static int __must_check __smsc75xx_write_reg(struct usbnet *dev, u32 index, in __smsc75xx_write_reg() 138 static int __must_check smsc75xx_read_reg_nopm(struct usbnet *dev, u32 index, in smsc75xx_read_reg_nopm() 144 static int __must_check smsc75xx_write_reg_nopm(struct usbnet *dev, u32 index, in smsc75xx_write_reg_nopm() 150 static int __must_check smsc75xx_read_reg(struct usbnet *dev, u32 index, in smsc75xx_read_reg() 156 static int __must_check smsc75xx_write_reg(struct usbnet *dev, u32 index, in smsc75xx_write_reg() 164 static __must_check int __smsc75xx_phy_wait_not_busy(struct usbnet *dev, in __smsc75xx_phy_wait_not_busy() 188 struct usbnet *dev = netdev_priv(netdev); in __smsc75xx_mdio_read() local [all …]
|
D | sr9700.c | 26 static int sr_read(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_read() 37 static int sr_write(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write() 48 static int sr_read_reg(struct usbnet *dev, u8 reg, u8 *value) in sr_read_reg() 53 static int sr_write_reg(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg() 59 static void sr_write_async(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write_async() 65 static void sr_write_reg_async(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg_async() 71 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) in wait_phy_eeprom_ready() 94 static int sr_share_read_word(struct usbnet *dev, int phy, u8 reg, in sr_share_read_word() 119 static int sr_share_write_word(struct usbnet *dev, int phy, u8 reg, in sr_share_write_word() 145 static int sr_read_eeprom_word(struct usbnet *dev, u8 offset, void *value) in sr_read_eeprom_word() [all …]
|
D | asix_common.c | 24 int asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() 37 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() 45 void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd_async() 53 int asix_rx_fixup_internal(struct usbnet *dev, struct sk_buff *skb, in asix_rx_fixup_internal() 163 int asix_rx_fixup_common(struct usbnet *dev, struct sk_buff *skb) in asix_rx_fixup_common() 171 struct sk_buff *asix_tx_fixup(struct usbnet *dev, struct sk_buff *skb, in asix_tx_fixup() 228 int asix_set_sw_mii(struct usbnet *dev) in asix_set_sw_mii() 237 int asix_set_hw_mii(struct usbnet *dev) in asix_set_hw_mii() 246 int asix_read_phy_addr(struct usbnet *dev, int internal) in asix_read_phy_addr() 266 int asix_get_phy_addr(struct usbnet *dev) in asix_get_phy_addr() [all …]
|
D | mcs7830.c | 122 static int mcs7830_get_reg(struct usbnet *dev, u16 index, u16 size, void *data) in mcs7830_get_reg() 128 static int mcs7830_set_reg(struct usbnet *dev, u16 index, u16 size, const void *data) in mcs7830_set_reg() 134 static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void *data) in mcs7830_set_reg_async() 140 static int mcs7830_hif_get_mac_address(struct usbnet *dev, unsigned char *addr) in mcs7830_hif_get_mac_address() 148 static int mcs7830_hif_set_mac_address(struct usbnet *dev, unsigned char *addr) in mcs7830_hif_set_mac_address() 160 struct usbnet *dev = netdev_priv(netdev); in mcs7830_set_mac_address() local 180 static int mcs7830_read_phy(struct usbnet *dev, u8 index) in mcs7830_read_phy() 220 static int mcs7830_write_phy(struct usbnet *dev, u8 index, u16 val) in mcs7830_write_phy() 267 static int mcs7830_set_autoneg(struct usbnet *dev, int ptrUserPhyMode) in mcs7830_set_autoneg() 290 static int mcs7830_get_rev(struct usbnet *dev) in mcs7830_get_rev() [all …]
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 210 void rtl92e_dm_init(struct net_device *dev) in rtl92e_dm_init() 235 void rtl92e_dm_deinit(struct net_device *dev) in rtl92e_dm_deinit() 242 void rtl92e_dm_watchdog(struct net_device *dev) in rtl92e_dm_watchdog() 268 static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev) in _rtl92e_dm_check_ac_dc_power() 292 void rtl92e_init_adaptive_rate(struct net_device *dev) in rtl92e_init_adaptive_rate() 333 static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev) in _rtl92e_dm_check_rate_adaptive() 450 static void _rtl92e_dm_init_bandwidth_autoswitch(struct net_device *dev) in _rtl92e_dm_init_bandwidth_autoswitch() 460 static void _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev) in _rtl92e_dm_bandwidth_autoswitch() 536 static void _rtl92e_dm_tx_update_tssi_weak_signal(struct net_device *dev, in _rtl92e_dm_tx_update_tssi_weak_signal() 585 static void _rtl92e_dm_tx_update_tssi_strong_signal(struct net_device *dev, in _rtl92e_dm_tx_update_tssi_strong_signal() [all …]
|
D | rtl_core.c | 107 u8 rtl92e_readb(struct net_device *dev, int x) in rtl92e_readb() 112 u32 rtl92e_readl(struct net_device *dev, int x) in rtl92e_readl() 117 u16 rtl92e_readw(struct net_device *dev, int x) in rtl92e_readw() 122 void rtl92e_writeb(struct net_device *dev, int x, u8 y) in rtl92e_writeb() 129 void rtl92e_writel(struct net_device *dev, int x, u32 y) in rtl92e_writel() 136 void rtl92e_writew(struct net_device *dev, int x, u16 y) in rtl92e_writew() 146 bool rtl92e_set_rf_state(struct net_device *dev, in rtl92e_set_rf_state() 271 static short _rtl92e_check_nic_enough_desc(struct net_device *dev, int prio) in _rtl92e_check_nic_enough_desc() 281 static void _rtl92e_tx_timeout(struct net_device *dev) in _rtl92e_tx_timeout() 289 void rtl92e_irq_enable(struct net_device *dev) in rtl92e_irq_enable() [all …]
|
D | r8192E_phy.c | 59 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath) in rtl92e_is_legal_rf_path() 75 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, in rtl92e_set_bb_reg() 91 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask) in rtl92e_get_bb_reg() 102 static u32 _rtl92e_phy_rf_read(struct net_device *dev, in _rtl92e_phy_rf_read() 159 static void _rtl92e_phy_rf_write(struct net_device *dev, in _rtl92e_phy_rf_write() 210 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, in rtl92e_set_rf_reg() 250 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath, in rtl92e_get_rf_reg() 273 static u32 _rtl92e_phy_rf_fw_read(struct net_device *dev, in _rtl92e_phy_rf_fw_read() 299 static void _rtl92e_phy_rf_fw_write(struct net_device *dev, in _rtl92e_phy_rf_fw_write() 321 void rtl92e_config_mac(struct net_device *dev) in rtl92e_config_mac() [all …]
|
D | rtl_ps.c | 29 static void _rtl92e_hw_sleep(struct net_device *dev) in _rtl92e_hw_sleep() 51 struct net_device *dev = ieee->dev; in rtl92e_hw_sleep_wq() local 56 void rtl92e_hw_wakeup(struct net_device *dev) in rtl92e_hw_wakeup() 80 struct net_device *dev = ieee->dev; in rtl92e_hw_wakeup_wq() local 87 void rtl92e_enter_sleep(struct net_device *dev, u64 time) in rtl92e_enter_sleep() 121 static void _rtl92e_ps_update_rf_state(struct net_device *dev) in _rtl92e_ps_update_rf_state() 138 void rtl92e_ips_enter(struct net_device *dev) in rtl92e_ips_enter() 159 void rtl92e_ips_leave(struct net_device *dev) in rtl92e_ips_leave() 182 struct net_device *dev = ieee->dev; in rtl92e_ips_leave_wq() local 190 void rtl92e_rtllib_ips_leave_wq(struct net_device *dev) in rtl92e_rtllib_ips_leave_wq() [all …]
|
D | rtl_wx.c | 30 static int _rtl92e_wx_get_freq(struct net_device *dev, in _rtl92e_wx_get_freq() 40 static int _rtl92e_wx_get_mode(struct net_device *dev, in _rtl92e_wx_get_mode() 49 static int _rtl92e_wx_get_rate(struct net_device *dev, in _rtl92e_wx_get_rate() 58 static int _rtl92e_wx_set_rate(struct net_device *dev, in _rtl92e_wx_set_rate() 77 static int _rtl92e_wx_set_rts(struct net_device *dev, in _rtl92e_wx_set_rts() 96 static int _rtl92e_wx_get_rts(struct net_device *dev, in _rtl92e_wx_get_rts() 105 static int _rtl92e_wx_set_power(struct net_device *dev, in _rtl92e_wx_set_power() 126 static int _rtl92e_wx_get_power(struct net_device *dev, in _rtl92e_wx_get_power() 135 static int _rtl92e_wx_set_rawtx(struct net_device *dev, in _rtl92e_wx_set_rawtx() 155 static int _rtl92e_wx_force_reset(struct net_device *dev, in _rtl92e_wx_force_reset() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_agpsupport.c | 53 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) in drm_agp_info() 76 int drm_agp_info_ioctl(struct drm_device *dev, void *data, in drm_agp_info_ioctl() 98 int drm_agp_acquire(struct drm_device * dev) in drm_agp_acquire() 124 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl() 138 int drm_agp_release(struct drm_device * dev) in drm_agp_release() 148 int drm_agp_release_ioctl(struct drm_device *dev, void *data, in drm_agp_release_ioctl() 164 int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) in drm_agp_enable() 177 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_agp_enable_ioctl() 197 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_alloc() 230 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl() [all …]
|
D | drm_pci.c | 42 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) in drm_pci_alloc() 86 void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in __drm_legacy_pci_free() 108 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in drm_pci_free() 118 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain() 132 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid() 147 int drm_pci_set_unique(struct drm_device *dev, in drm_pci_set_unique() 191 static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_pci_irq_by_busid() 217 int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid() 235 static void drm_pci_agp_init(struct drm_device *dev) in drm_pci_agp_init() 249 void drm_pci_agp_destroy(struct drm_device *dev) in drm_pci_agp_destroy() [all …]
|
D | drm_context.c | 54 void drm_legacy_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_legacy_ctxbitmap_free() 74 static int drm_legacy_ctxbitmap_next(struct drm_device * dev) in drm_legacy_ctxbitmap_next() 92 void drm_legacy_ctxbitmap_init(struct drm_device * dev) in drm_legacy_ctxbitmap_init() 109 void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev) in drm_legacy_ctxbitmap_cleanup() 129 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) in drm_legacy_ctxbitmap_flush() 172 int drm_legacy_getsareactx(struct drm_device *dev, void *data, in drm_legacy_getsareactx() 220 int drm_legacy_setsareactx(struct drm_device *dev, void *data, in drm_legacy_setsareactx() 270 static int drm_context_switch(struct drm_device * dev, int old, int new) in drm_context_switch() 298 static int drm_context_switch_complete(struct drm_device *dev, in drm_context_switch_complete() 324 int drm_legacy_resctx(struct drm_device *dev, void *data, in drm_legacy_resctx() [all …]
|
D | drm_irq.c | 46 #define vblanktimestamp(dev, pipe, count) \ argument 77 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() 120 static void drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) in drm_reset_vblank_timestamp() 171 static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, in drm_update_vblank_count() 309 static void vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) in vblank_disable_and_save() 344 struct drm_device *dev = vblank->dev; in vblank_disable_fn() local 365 void drm_vblank_cleanup(struct drm_device *dev) in drm_vblank_cleanup() 398 int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs) in drm_vblank_init() 449 struct drm_device *dev = cookie; in drm_irq_vgaarb_nokms() local 487 int drm_irq_install(struct drm_device *dev, int irq) in drm_irq_install() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | core.c | 127 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() 143 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() 152 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() 216 static inline void emac_tx_enable(struct emac_instance *dev) in emac_tx_enable() 228 static void emac_tx_disable(struct emac_instance *dev) in emac_tx_disable() 248 static void emac_rx_enable(struct emac_instance *dev) in emac_rx_enable() 277 static void emac_rx_disable(struct emac_instance *dev) in emac_rx_disable() 297 static inline void emac_netif_stop(struct emac_instance *dev) in emac_netif_stop() 309 static inline void emac_netif_start(struct emac_instance *dev) in emac_netif_start() 329 static inline void emac_rx_disable_async(struct emac_instance *dev) in emac_rx_disable_async() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | main.c | 255 static void b43legacy_ram_write(struct b43legacy_wldev *dev, u16 offset, in b43legacy_ram_write() 272 void b43legacy_shm_control_word(struct b43legacy_wldev *dev, in b43legacy_shm_control_word() 285 u32 b43legacy_shm_read32(struct b43legacy_wldev *dev, in b43legacy_shm_read32() 312 u16 b43legacy_shm_read16(struct b43legacy_wldev *dev, in b43legacy_shm_read16() 335 void b43legacy_shm_write32(struct b43legacy_wldev *dev, in b43legacy_shm_write32() 363 void b43legacy_shm_write16(struct b43legacy_wldev *dev, u16 routing, u16 offset, in b43legacy_shm_write16() 385 u32 b43legacy_hf_read(struct b43legacy_wldev *dev) in b43legacy_hf_read() 399 void b43legacy_hf_write(struct b43legacy_wldev *dev, u32 value) in b43legacy_hf_write() 409 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf) in b43legacy_tsf_read() 467 static void b43legacy_time_lock(struct b43legacy_wldev *dev) in b43legacy_time_lock() [all …]
|
D | phy.c | 98 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() 113 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() 128 u16 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_phy_read() 134 void b43legacy_phy_write(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_phy_write() 141 void b43legacy_phy_calibrate(struct b43legacy_wldev *dev) in b43legacy_phy_calibrate() 159 static void b43legacy_phy_init_pctl(struct b43legacy_wldev *dev) in b43legacy_phy_init_pctl() 218 static void b43legacy_phy_agcsetup(struct b43legacy_wldev *dev) in b43legacy_phy_agcsetup() 334 static void b43legacy_phy_setupg(struct b43legacy_wldev *dev) in b43legacy_phy_setupg() 436 static void b43legacy_phy_inita(struct b43legacy_wldev *dev) in b43legacy_phy_inita() 446 static void b43legacy_phy_initb2(struct b43legacy_wldev *dev) in b43legacy_phy_initb2() [all …]
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_status.c | 26 static int uvc_input_init(struct uvc_device *dev) in uvc_input_init() 57 static void uvc_input_cleanup(struct uvc_device *dev) in uvc_input_cleanup() 63 static void uvc_input_report_key(struct uvc_device *dev, unsigned int code, in uvc_input_report_key() 73 #define uvc_input_init(dev) argument 74 #define uvc_input_cleanup(dev) argument 75 #define uvc_input_report_key(dev, code, value) argument 81 static void uvc_event_streaming(struct uvc_device *dev, __u8 *data, int len) in uvc_event_streaming() 101 static void uvc_event_control(struct uvc_device *dev, __u8 *data, int len) in uvc_event_control() 117 struct uvc_device *dev = urb->context; in uvc_status_complete() local 163 int uvc_status_init(struct uvc_device *dev) in uvc_status_init() [all …]
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-regs.c | 18 void gsc_hw_set_sw_reset(struct gsc_dev *dev) in gsc_hw_set_sw_reset() 23 int gsc_wait_reset(struct gsc_dev *dev) in gsc_wait_reset() 38 void gsc_hw_set_frm_done_irq_mask(struct gsc_dev *dev, bool mask) in gsc_hw_set_frm_done_irq_mask() 50 void gsc_hw_set_gsc_irq_enable(struct gsc_dev *dev, bool mask) in gsc_hw_set_gsc_irq_enable() 62 void gsc_hw_set_input_buf_masking(struct gsc_dev *dev, u32 shift, in gsc_hw_set_input_buf_masking() 76 void gsc_hw_set_output_buf_masking(struct gsc_dev *dev, u32 shift, in gsc_hw_set_output_buf_masking() 90 void gsc_hw_set_input_addr(struct gsc_dev *dev, struct gsc_addr *addr, in gsc_hw_set_input_addr() 101 void gsc_hw_set_output_addr(struct gsc_dev *dev, in gsc_hw_set_output_addr() 113 struct gsc_dev *dev = ctx->gsc_dev; in gsc_hw_set_input_path() local 126 struct gsc_dev *dev = ctx->gsc_dev; in gsc_hw_set_in_size() local [all …]
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 35 int tm6000_read_write_usb(struct tm6000_core *dev, u8 req_type, u8 req, in tm6000_read_write_usb() 114 int tm6000_set_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index) in tm6000_set_reg() 122 int tm6000_get_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index) in tm6000_get_reg() 137 int tm6000_set_reg_mask(struct tm6000_core *dev, u8 req, u16 value, in tm6000_set_reg_mask() 160 int tm6000_get_reg16(struct tm6000_core *dev, u8 req, u16 value, u16 index) in tm6000_get_reg16() 174 int tm6000_get_reg32(struct tm6000_core *dev, u8 req, u16 value, u16 index) in tm6000_get_reg32() 188 int tm6000_i2c_reset(struct tm6000_core *dev, u16 tsleep) in tm6000_i2c_reset() 204 void tm6000_set_fourcc_format(struct tm6000_core *dev) in tm6000_set_fourcc_format() 222 static void tm6000_set_vbi(struct tm6000_core *dev) in tm6000_set_vbi() 284 int tm6000_init_analog_mode(struct tm6000_core *dev) in tm6000_init_analog_mode() [all …]
|
/linux-4.4.14/include/net/ |
D | l3mdev.h | 43 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex() 58 static inline int l3mdev_fib_oif_rcu(struct net_device *dev) in l3mdev_fib_oif_rcu() 63 static inline int l3mdev_fib_oif(struct net_device *dev) in l3mdev_fib_oif() 76 static inline u32 l3mdev_fib_table(const struct net_device *dev) in l3mdev_fib_table() 87 static inline struct rtable *l3mdev_get_rtable(const struct net_device *dev, in l3mdev_get_rtable() 98 struct net_device *dev; in netif_index_is_l3_master() local 118 struct net_device *dev; in l3mdev_get_saddr() local 137 static inline struct dst_entry *l3mdev_get_rt6_dst(const struct net_device *dev, in l3mdev_get_rt6_dst() 151 struct net_device *dev; in l3mdev_rt6_dst_by_oif() local 164 static inline int l3mdev_master_ifindex_rcu(struct net_device *dev) in l3mdev_master_ifindex_rcu() [all …]
|
/linux-4.4.14/drivers/media/usb/au0828/ |
D | au0828-video.c | 60 static inline void i2c_gate_ctrl(struct au0828_dev *dev, int val) in i2c_gate_ctrl() 66 static inline void print_err_status(struct au0828_dev *dev, in print_err_status() 105 static int check_dev(struct au0828_dev *dev) in check_dev() 125 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in au0828_irq_callback() local 166 static void au0828_uninit_isoc(struct au0828_dev *dev) in au0828_uninit_isoc() 207 static int au0828_init_isoc(struct au0828_dev *dev, int max_packets, in au0828_init_isoc() 300 static inline void buffer_filled(struct au0828_dev *dev, in buffer_filled() 323 static void au0828_copy_video(struct au0828_dev *dev, in au0828_copy_video() 407 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in get_next_buf() local 427 static void au0828_copy_vbi(struct au0828_dev *dev, in au0828_copy_vbi() [all …]
|
D | au0828-dvb.c | 115 struct au0828_dev *dev = purb->context; in urb_completion() local 158 static int stop_urb_transfer(struct au0828_dev *dev) in stop_urb_transfer() 181 static int start_urb_transfer(struct au0828_dev *dev) in start_urb_transfer() 244 static void au0828_start_transport(struct au0828_dev *dev) in au0828_start_transport() 253 static void au0828_stop_transport(struct au0828_dev *dev, int full_stop) in au0828_stop_transport() 266 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_start_feed() local 298 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_stop_feed() local 327 struct au0828_dev *dev = container_of(work, struct au0828_dev, in au0828_restart_dvb_streaming() local 351 struct au0828_dev *dev = fe->dvb->priv; in au0828_set_frontend() local 384 static int dvb_register(struct au0828_dev *dev) in dvb_register() [all …]
|
/linux-4.4.14/net/8021q/ |
D | vlan_dev.c | 48 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header() 104 struct net_device *dev) in vlan_dev_hard_start_xmit() 146 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu() 159 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority() 172 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority() 215 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags() 242 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result) in vlan_dev_get_realdev_name() 247 static int vlan_dev_open(struct net_device *dev) in vlan_dev_open() 297 static int vlan_dev_stop(struct net_device *dev) in vlan_dev_stop() 316 static int vlan_dev_set_mac_address(struct net_device *dev, void *p) in vlan_dev_set_mac_address() [all …]
|
/linux-4.4.14/drivers/net/irda/ |
D | sir_dev.c | 36 static int sirdev_tx_complete_fsm(struct sir_dev *dev) in sirdev_tx_complete_fsm() 106 struct sir_dev *dev = container_of(work, struct sir_dev, fsm.work.work); in sirdev_config_fsm() local 286 int sirdev_schedule_request(struct sir_dev *dev, int initial_state, unsigned param) in sirdev_schedule_request() 323 void sirdev_enable_rx(struct sir_dev *dev) in sirdev_enable_rx() 336 static int sirdev_is_receiving(struct sir_dev *dev) in sirdev_is_receiving() 344 int sirdev_set_dongle(struct sir_dev *dev, IRDA_DONGLE type) in sirdev_set_dongle() 362 int sirdev_raw_write(struct sir_dev *dev, const char *buf, int len) in sirdev_raw_write() 397 int sirdev_raw_read(struct sir_dev *dev, char *buf, int len) in sirdev_raw_read() 418 int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts) in sirdev_set_dtr_rts() 434 void sirdev_write_complete(struct sir_dev *dev) in sirdev_write_complete() [all …]
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-lite-reg.c | 23 void flite_hw_reset(struct fimc_lite *dev) in flite_hw_reset() 43 void flite_hw_clear_pending_irq(struct fimc_lite *dev) in flite_hw_clear_pending_irq() 50 u32 flite_hw_get_interrupt_source(struct fimc_lite *dev) in flite_hw_get_interrupt_source() 56 void flite_hw_clear_last_capture_end(struct fimc_lite *dev) in flite_hw_clear_last_capture_end() 64 void flite_hw_set_interrupt_mask(struct fimc_lite *dev) in flite_hw_set_interrupt_mask() 86 void flite_hw_capture_start(struct fimc_lite *dev) in flite_hw_capture_start() 93 void flite_hw_capture_stop(struct fimc_lite *dev) in flite_hw_capture_stop() 104 void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on) in flite_hw_set_test_pattern() 130 void flite_hw_set_source_format(struct fimc_lite *dev, struct flite_frame *f) in flite_hw_set_source_format() 161 void flite_hw_set_window_offset(struct fimc_lite *dev, struct flite_frame *f) in flite_hw_set_window_offset() [all …]
|
D | fimc-reg.c | 22 void fimc_hw_reset(struct fimc_dev *dev) in fimc_hw_reset() 77 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_rotation() local 110 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_target_format() local 152 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_out_dma_size() local 171 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_out_dma() local 214 static void fimc_hw_en_autoload(struct fimc_dev *dev, int enable) in fimc_hw_en_autoload() 224 void fimc_hw_en_lastirq(struct fimc_dev *dev, int enable) in fimc_hw_en_lastirq() 236 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_prescaler() local 252 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_scaler() local 316 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_mainscaler() local [all …]
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 68 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() 106 static int ocrdma_register_device(struct ocrdma_dev *dev) in ocrdma_register_device() 211 static int ocrdma_alloc_resources(struct ocrdma_dev *dev) in ocrdma_alloc_resources() 240 static void ocrdma_free_resources(struct ocrdma_dev *dev) in ocrdma_free_resources() 251 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_rev() local 259 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_fw_ver() local 267 struct ocrdma_dev *dev = dev_get_drvdata(device); in show_hca_type() local 282 static void ocrdma_remove_sysfiles(struct ocrdma_dev *dev) in ocrdma_remove_sysfiles() 294 struct ocrdma_dev *dev; in ocrdma_add() local 359 static void ocrdma_remove_free(struct ocrdma_dev *dev) in ocrdma_remove_free() [all …]
|
D | ocrdma_stats.c | 67 static bool ocrdma_alloc_stats_mem(struct ocrdma_dev *dev) in ocrdma_alloc_stats_mem() 94 static void ocrdma_release_stats_mem(struct ocrdma_dev *dev) in ocrdma_release_stats_mem() 104 static char *ocrdma_resource_stats(struct ocrdma_dev *dev) in ocrdma_resource_stats() 221 static char *ocrdma_rx_stats(struct ocrdma_dev *dev) in ocrdma_rx_stats() 268 static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_pkts() 279 static u64 ocrdma_sysfs_rcv_data(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_data() 289 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats() 332 static u64 ocrdma_sysfs_xmit_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_pkts() 347 static u64 ocrdma_sysfs_xmit_data(struct ocrdma_dev *dev) in ocrdma_sysfs_xmit_data() 363 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats() [all …]
|
D | ocrdma_hw.c | 120 static inline void *ocrdma_get_mcqe(struct ocrdma_dev *dev) in ocrdma_get_mcqe() 130 static inline void ocrdma_mcq_inc_tail(struct ocrdma_dev *dev) in ocrdma_mcq_inc_tail() 135 static inline struct ocrdma_mqe *ocrdma_get_mqe(struct ocrdma_dev *dev) in ocrdma_get_mqe() 140 static inline void ocrdma_mq_inc_head(struct ocrdma_dev *dev) in ocrdma_mq_inc_head() 145 static inline void *ocrdma_get_mqe_rsp(struct ocrdma_dev *dev) in ocrdma_get_mqe_rsp() 261 char *port_speed_string(struct ocrdma_dev *dev) in port_speed_string() 301 void ocrdma_ring_cq_db(struct ocrdma_dev *dev, u16 cq_id, bool armed, in ocrdma_ring_cq_db() 317 static void ocrdma_ring_mq_db(struct ocrdma_dev *dev) in ocrdma_ring_mq_db() 326 static void ocrdma_ring_eq_db(struct ocrdma_dev *dev, u16 eq_id, in ocrdma_ring_eq_db() 367 static void ocrdma_free_q(struct ocrdma_dev *dev, struct ocrdma_queue_info *q) in ocrdma_free_q() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | sysfs.c | 45 static ssize_t bMaxPower_show(struct device *dev, in bMaxPower_show() 62 static ssize_t configuration_show(struct device *dev, in configuration_show() 82 static ssize_t bConfigurationValue_store(struct device *dev, in bConfigurationValue_store() 119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() 151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() 161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() 171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() 181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() 193 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, in maxchild_show() 203 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, in quirks_show() [all …]
|
D | usb.c | 139 struct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, in usb_ifnum_to_if() 194 static int __find_interface(struct device *dev, void *data) in __find_interface() 222 struct device *dev; in usb_find_interface() local 241 static int __each_dev(struct device *dev, void *data) in __each_dev() 276 static void usb_release_dev(struct device *dev) in usb_release_dev() 293 static int usb_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in usb_dev_uevent() 317 static int usb_dev_prepare(struct device *dev) in usb_dev_prepare() 322 static void usb_dev_complete(struct device *dev) in usb_dev_complete() 328 static int usb_dev_suspend(struct device *dev) in usb_dev_suspend() 333 static int usb_dev_resume(struct device *dev) in usb_dev_resume() [all …]
|
/linux-4.4.14/drivers/net/can/ |
D | dev.c | 102 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 203 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() 217 static int can_fixup_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming() 251 static int can_get_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_get_bittiming() 276 static void can_update_state_error_stats(struct net_device *dev, in can_update_state_error_stats() 299 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() 313 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() 327 void can_change_state(struct net_device *dev, struct can_frame *cf, in can_change_state() 366 static void can_flush_echo_skb(struct net_device *dev) in can_flush_echo_skb() 389 void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, in can_put_echo_skb() [all …]
|
/linux-4.4.14/drivers/virtio/ |
D | virtio.c | 14 struct virtio_device *dev = dev_to_virtio(_d); in device_show() local 22 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show() local 30 struct virtio_device *dev = dev_to_virtio(_d); in status_show() local 38 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show() local 47 struct virtio_device *dev = dev_to_virtio(_d); in features_show() local 71 static inline int virtio_id_match(const struct virtio_device *dev, in virtio_id_match() 85 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match() local 97 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_uevent() local 103 static void add_status(struct virtio_device *dev, unsigned status) in add_status() 128 static void __virtio_config_changed(struct virtio_device *dev) in __virtio_config_changed() [all …]
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-core.c | 302 static void cx23885_irq_add(struct cx23885_dev *dev, u32 mask) in cx23885_irq_add() 312 void cx23885_irq_add_enable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_add_enable() 323 void cx23885_irq_enable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_enable() 336 static inline void cx23885_irq_enable_all(struct cx23885_dev *dev) in cx23885_irq_enable_all() 341 void cx23885_irq_disable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_disable() 351 static inline void cx23885_irq_disable_all(struct cx23885_dev *dev) in cx23885_irq_disable_all() 356 void cx23885_irq_remove(struct cx23885_dev *dev, u32 mask) in cx23885_irq_remove() 367 static u32 cx23885_irq_get_mask(struct cx23885_dev *dev) in cx23885_irq_get_mask() 422 struct cx23885_dev *dev = port->dev; in cx23885_wakeup() local 439 int cx23885_sram_channel_setup(struct cx23885_dev *dev, in cx23885_sram_channel_setup() [all …]
|
D | cx23885-video.c | 97 void cx23885_video_wakeup(struct cx23885_dev *dev, in cx23885_video_wakeup() 115 int cx23885_set_tvnorm(struct cx23885_dev *dev, v4l2_std_id norm) in cx23885_set_tvnorm() 135 static struct video_device *cx23885_vdev_init(struct cx23885_dev *dev, in cx23885_vdev_init() 156 int cx23885_flatiron_write(struct cx23885_dev *dev, u8 reg, u8 data) in cx23885_flatiron_write() 167 u8 cx23885_flatiron_read(struct cx23885_dev *dev, u8 reg) in cx23885_flatiron_read() 186 static void cx23885_flatiron_dump(struct cx23885_dev *dev) in cx23885_flatiron_dump() 196 static int cx23885_flatiron_mux(struct cx23885_dev *dev, int input) in cx23885_flatiron_mux() 221 static int cx23885_video_mux(struct cx23885_dev *dev, unsigned int input) in cx23885_video_mux() 264 static int cx23885_audio_mux(struct cx23885_dev *dev, unsigned int input) in cx23885_audio_mux() 290 static int cx23885_start_video_dma(struct cx23885_dev *dev, in cx23885_start_video_dma() [all …]
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | s626.c | 107 static void s626_mc_enable(struct comedi_device *dev, in s626_mc_enable() 116 static void s626_mc_disable(struct comedi_device *dev, in s626_mc_disable() 123 static bool s626_mc_test(struct comedi_device *dev, in s626_mc_test() 148 static void s626_debi_transfer(struct comedi_device *dev) in s626_debi_transfer() 182 static uint16_t s626_debi_read(struct comedi_device *dev, uint16_t addr) in s626_debi_read() 196 static void s626_debi_write(struct comedi_device *dev, uint16_t addr, in s626_debi_write() 212 static void s626_debi_replace(struct comedi_device *dev, unsigned int addr, in s626_debi_replace() 231 static int s626_i2c_handshake_eoc(struct comedi_device *dev, in s626_i2c_handshake_eoc() 244 static int s626_i2c_handshake(struct comedi_device *dev, uint32_t val) in s626_i2c_handshake() 271 static uint8_t s626_i2c_read(struct comedi_device *dev, uint8_t addr) in s626_i2c_read() [all …]
|
D | ni_mio_common.c | 245 static void ni_writel(struct comedi_device *dev, uint32_t data, int reg) in ni_writel() 253 static void ni_writew(struct comedi_device *dev, uint16_t data, int reg) in ni_writew() 261 static void ni_writeb(struct comedi_device *dev, uint8_t data, int reg) in ni_writeb() 269 static uint32_t ni_readl(struct comedi_device *dev, int reg) in ni_readl() 277 static uint16_t ni_readw(struct comedi_device *dev, int reg) in ni_readw() 285 static uint8_t ni_readb(struct comedi_device *dev, int reg) in ni_readb() 385 static void m_series_stc_write(struct comedi_device *dev, in m_series_stc_write() 433 static unsigned int m_series_stc_read(struct comedi_device *dev, in m_series_stc_read() 460 static void ni_stc_writew(struct comedi_device *dev, uint16_t data, int reg) in ni_stc_writew() 479 static void ni_stc_writel(struct comedi_device *dev, uint32_t data, int reg) in ni_stc_writel() [all …]
|
/linux-4.4.14/net/core/ |
D | ethtool.c | 36 u32 ethtool_op_get_link(struct net_device *dev) in ethtool_op_get_link() 42 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) in ethtool_op_get_ts_info() 116 static int ethtool_get_features(struct net_device *dev, void __user *useraddr) in ethtool_get_features() 154 static int ethtool_set_features(struct net_device *dev, void __user *useraddr) in ethtool_set_features() 194 static int __ethtool_get_sset_count(struct net_device *dev, int sset) in __ethtool_get_sset_count() 213 static void __ethtool_get_strings(struct net_device *dev, in __ethtool_get_strings() 262 static int ethtool_get_one_feature(struct net_device *dev, in ethtool_get_one_feature() 276 static int ethtool_set_one_feature(struct net_device *dev, in ethtool_set_one_feature() 306 static u32 __ethtool_get_flags(struct net_device *dev) in __ethtool_get_flags() 324 static int __ethtool_set_flags(struct net_device *dev, u32 data) in __ethtool_set_flags() [all …]
|
D | dev.c | 222 static void list_netdevice(struct net_device *dev) in list_netdevice() 241 static void unlist_netdevice(struct net_device *dev) in unlist_netdevice() 332 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 346 static inline void netdev_set_addr_lockdep_class(struct net_device *dev) in netdev_set_addr_lockdep_class() 582 int netdev_boot_setup_check(struct net_device *dev) in netdev_boot_setup_check() 676 int dev_get_iflink(const struct net_device *dev) in dev_get_iflink() 694 int dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) in dev_fill_metadata_dst() 725 struct net_device *dev; in __dev_get_by_name() local 750 struct net_device *dev; in dev_get_by_name_rcu() local 775 struct net_device *dev; in dev_get_by_name() local [all …]
|
D | link_watch.c | 40 static unsigned char default_operstate(const struct net_device *dev) in default_operstate() 53 static void rfc2863_policy(struct net_device *dev) in rfc2863_policy() 79 void linkwatch_init_dev(struct net_device *dev) in linkwatch_init_dev() 87 static bool linkwatch_urgent_event(struct net_device *dev) in linkwatch_urgent_event() 102 static void linkwatch_add_event(struct net_device *dev) in linkwatch_add_event() 144 static void linkwatch_do_dev(struct net_device *dev) in linkwatch_do_dev() 171 struct net_device *dev; in __linkwatch_run_queue() local 211 void linkwatch_forget_dev(struct net_device *dev) in linkwatch_forget_dev() 242 void linkwatch_fire_event(struct net_device *dev) in linkwatch_fire_event()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-mpeg.c | 61 struct cx8802_dev *dev=container_of(work, struct cx8802_dev, request_module_wk); in request_module_async() local 69 static void request_modules(struct cx8802_dev *dev) in request_modules() 75 static void flush_request_modules(struct cx8802_dev *dev) in flush_request_modules() 80 #define request_modules(dev) argument 81 #define flush_request_modules(dev) argument 89 int cx8802_start_dma(struct cx8802_dev *dev, in cx8802_start_dma() 189 static int cx8802_stop_dma(struct cx8802_dev *dev) in cx8802_stop_dma() 206 static int cx8802_restart_queue(struct cx8802_dev *dev, in cx8802_restart_queue() 224 int cx8802_buf_prepare(struct vb2_queue *q, struct cx8802_dev *dev, in cx8802_buf_prepare() 247 void cx8802_buf_queue(struct cx8802_dev *dev, struct cx88_buffer *buf) in cx8802_buf_queue() [all …]
|
/linux-4.4.14/drivers/input/ |
D | input-polldev.c | 25 static void input_polldev_queue_work(struct input_polled_dev *dev) in input_polldev_queue_work() 38 struct input_polled_dev *dev = in input_polled_device_work() local 47 struct input_polled_dev *dev = input_get_drvdata(input); in input_open_polled_device() local 63 struct input_polled_dev *dev = input_get_drvdata(input); in input_close_polled_device() local 73 static ssize_t input_polldev_get_poll(struct device *dev, in input_polldev_get_poll() 81 static ssize_t input_polldev_set_poll(struct device *dev, in input_polldev_set_poll() 119 static ssize_t input_polldev_get_max(struct device *dev, in input_polldev_get_max() 129 static ssize_t input_polldev_get_min(struct device *dev, in input_polldev_get_min() 163 struct input_polled_dev *dev; in input_allocate_polled_device() local 183 static int devm_input_polldev_match(struct device *dev, void *res, void *data) in devm_input_polldev_match() [all …]
|
D | input.c | 75 static void input_start_autorepeat(struct input_dev *dev, int code) in input_start_autorepeat() 86 static void input_stop_autorepeat(struct input_dev *dev) in input_stop_autorepeat() 131 static void input_pass_values(struct input_dev *dev, in input_pass_values() 171 static void input_pass_event(struct input_dev *dev, in input_pass_event() 186 struct input_dev *dev = (void *) data; in input_repeat_key() local 215 static int input_handle_abs_event(struct input_dev *dev, in input_handle_abs_event() 265 static int input_get_disposition(struct input_dev *dev, in input_get_disposition() 371 static void input_handle_event(struct input_dev *dev, in input_handle_event() 429 void input_event(struct input_dev *dev, in input_event() 457 struct input_dev *dev = handle->dev; in input_inject_event() local [all …]
|
/linux-4.4.14/kernel/time/ |
D | clockevents.c | 97 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state() 153 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state() 179 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown() 189 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume() 210 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta() 241 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 280 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 306 int clockevents_program_event(struct clock_event_device *dev, ktime_t expires, in clockevents_program_event() 350 struct clock_event_device *dev; in clockevents_notify_released() local 366 struct clock_event_device *dev, *newdev = NULL; in clockevents_replace() local [all …]
|
/linux-4.4.14/drivers/ssb/ |
D | driver_gige.c | 32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) in gige_read8() 37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) in gige_read16() 42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) in gige_read32() 47 static inline void gige_write8(struct ssb_gige *dev, in gige_write8() 53 static inline void gige_write16(struct ssb_gige *dev, in gige_write16() 59 static inline void gige_write32(struct ssb_gige *dev, in gige_write32() 66 u8 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read8() 73 u16 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read16() 80 u32 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read32() 87 void gige_pcicfg_write8(struct ssb_gige *dev, in gige_pcicfg_write8() [all …]
|
/linux-4.4.14/net/dsa/ |
D | slave.c | 59 static int dsa_slave_get_iflink(const struct net_device *dev) in dsa_slave_get_iflink() 71 static int dsa_slave_open(struct net_device *dev) in dsa_slave_open() 127 static int dsa_slave_close(struct net_device *dev) in dsa_slave_close() 155 static void dsa_slave_change_rx_flags(struct net_device *dev, int change) in dsa_slave_change_rx_flags() 166 static void dsa_slave_set_rx_mode(struct net_device *dev) in dsa_slave_set_rx_mode() 175 static int dsa_slave_set_mac_address(struct net_device *dev, void *a) in dsa_slave_set_mac_address() 208 struct net_device *dev, *vlan_br; in dsa_bridge_check_vlan_range() local 244 static int dsa_slave_port_vlan_add(struct net_device *dev, in dsa_slave_port_vlan_add() 277 static int dsa_slave_port_vlan_del(struct net_device *dev, in dsa_slave_port_vlan_del() 289 static int dsa_slave_port_vlan_dump(struct net_device *dev, in dsa_slave_port_vlan_dump() [all …]
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 143 static inline unsigned int norm_maxw(struct em28xx *dev) in norm_maxw() 156 static inline unsigned int norm_maxh(struct em28xx *dev) in norm_maxh() 169 static int em28xx_vbi_supported(struct em28xx *dev) in em28xx_vbi_supported() 192 static void em28xx_wake_i2c(struct em28xx *dev) in em28xx_wake_i2c() 202 static int em28xx_colorlevels_set_default(struct em28xx *dev) in em28xx_colorlevels_set_default() 220 static int em28xx_set_outfmt(struct em28xx *dev) in em28xx_set_outfmt() 264 static int em28xx_accumulator_set(struct em28xx *dev, u8 xmin, u8 xmax, in em28xx_accumulator_set() 276 static void em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart, in em28xx_capture_area_set() 303 static int em28xx_scaler_set(struct em28xx *dev, u16 h, u16 v) in em28xx_scaler_set() 328 static int em28xx_resolution_set(struct em28xx *dev) in em28xx_resolution_set() [all …]
|
D | em28xx-core.c | 77 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, in em28xx_read_reg_req_len() 131 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg) in em28xx_read_reg_req() 143 int em28xx_read_reg(struct em28xx *dev, u16 reg) in em28xx_read_reg() 153 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, in em28xx_write_regs_req() 197 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs() 204 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) in em28xx_write_reg() 215 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, in em28xx_write_reg_bits() 235 int em28xx_toggle_reg_bits(struct em28xx *dev, u16 reg, u8 bitmask) in em28xx_toggle_reg_bits() 254 static int em28xx_is_ac97_ready(struct em28xx *dev) in em28xx_is_ac97_ready() 278 int em28xx_read_ac97(struct em28xx *dev, u8 reg) in em28xx_read_ac97() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_device.c | 34 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit() 92 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class() 97 static int br_dev_init(struct net_device *dev) in br_dev_init() 114 static int br_dev_open(struct net_device *dev) in br_dev_open() 126 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list() 130 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags() 136 static int br_dev_stop(struct net_device *dev) in br_dev_stop() 148 static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, in br_get_stats64() 177 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu() 194 static int br_set_mac_address(struct net_device *dev, void *p) in br_set_mac_address() [all …]
|
/linux-4.4.14/drivers/gpio/ |
D | devres.c | 24 static void devm_gpiod_release(struct device *dev, void *res) in devm_gpiod_release() 31 static int devm_gpiod_match(struct device *dev, void *res, void *data) in devm_gpiod_match() 38 static void devm_gpiod_release_array(struct device *dev, void *res) in devm_gpiod_release_array() 45 static int devm_gpiod_match_array(struct device *dev, void *res, void *data) in devm_gpiod_match_array() 62 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() 80 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() 99 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() 134 struct gpio_desc *devm_get_gpiod_from_child(struct device *dev, in devm_get_gpiod_from_child() 185 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional() 212 struct gpio_descs *__must_check devm_gpiod_get_array(struct device *dev, in devm_gpiod_get_array() [all …]
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | dma-mapping.h | 53 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() 60 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent() 67 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent() 74 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() 81 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 88 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 95 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg() 102 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg() 109 dma_map_page(struct device *dev, struct page *page, unsigned long offset, in dma_map_page() 116 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.h | 60 static inline uint32_t NVReadCRTC(struct drm_device *dev, in NVReadCRTC() 71 static inline void NVWriteCRTC(struct drm_device *dev, in NVWriteCRTC() 80 static inline uint32_t NVReadRAMDAC(struct drm_device *dev, in NVReadRAMDAC() 91 static inline void NVWriteRAMDAC(struct drm_device *dev, in NVWriteRAMDAC() 100 static inline uint8_t nv_read_tmds(struct drm_device *dev, in nv_read_tmds() 110 static inline void nv_write_tmds(struct drm_device *dev, in nv_write_tmds() 120 static inline void NVWriteVgaCrtc(struct drm_device *dev, in NVWriteVgaCrtc() 128 static inline uint8_t NVReadVgaCrtc(struct drm_device *dev, in NVReadVgaCrtc() 153 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758() 159 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758() [all …]
|
D | hw.c | 39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq() 46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq() 53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr() 60 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr() 85 NVSetOwner(struct drm_device *dev, int owner) in NVSetOwner() 110 NVBlankScreen(struct drm_device *dev, int head, bool blank) in NVBlankScreen() 132 nouveau_hw_decode_pll(struct drm_device *dev, uint32_t reg1, uint32_t pll1, in nouveau_hw_decode_pll() 164 nouveau_hw_get_pllvals(struct drm_device *dev, enum nvbios_pll_type plltype, in nouveau_hw_get_pllvals() 215 nouveau_hw_get_clock(struct drm_device *dev, enum nvbios_pll_type plltype) in nouveau_hw_get_clock() 246 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll() [all …]
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | power.c | 47 void gma_power_init(struct drm_device *dev) in gma_power_init() 71 void gma_power_uninit(struct drm_device *dev) in gma_power_uninit() 83 static void gma_suspend_display(struct drm_device *dev) in gma_suspend_display() 102 struct drm_device *dev = pci_get_drvdata(pdev); in gma_resume_display() local 126 struct drm_device *dev = pci_get_drvdata(pdev); in gma_suspend_pci() local 156 struct drm_device *dev = pci_get_drvdata(pdev); in gma_resume_pci() local 191 struct drm_device *dev = pci_get_drvdata(pdev); in gma_power_suspend() local 218 struct drm_device *dev = pci_get_drvdata(pdev); in gma_power_resume() local 235 bool gma_power_is_on(struct drm_device *dev) in gma_power_is_on() 249 bool gma_power_begin(struct drm_device *dev, bool force_on) in gma_power_begin() [all …]
|
D | cdv_device.c | 34 static void cdv_disable_vga(struct drm_device *dev) in cdv_disable_vga() 50 static int cdv_output_init(struct drm_device *dev) in cdv_output_init() 84 static int cdv_backlight_combination_mode(struct drm_device *dev) in cdv_backlight_combination_mode() 89 static u32 cdv_get_max_backlight(struct drm_device *dev) in cdv_get_max_backlight() 108 struct drm_device *dev = bl_get_data(bd); in cdv_get_brightness() local 124 struct drm_device *dev = bl_get_data(bd); in cdv_set_brightness() local 156 static int cdv_backlight_init(struct drm_device *dev) in cdv_backlight_init() 215 static void cdv_init_pm(struct drm_device *dev) in cdv_init_pm() 244 static void cdv_errata(struct drm_device *dev) in cdv_errata() 264 static int cdv_save_display_registers(struct drm_device *dev) in cdv_save_display_registers() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 46 void cxgb4_dcb_state_init(struct net_device *dev) in cxgb4_dcb_state_init() 61 void cxgb4_dcb_version_init(struct net_device *dev) in cxgb4_dcb_version_init() 72 static void cxgb4_dcb_cleanup_apps(struct net_device *dev) in cxgb4_dcb_cleanup_apps() 111 void cxgb4_dcb_state_fsm(struct net_device *dev, in cxgb4_dcb_state_fsm() 256 struct net_device *dev = adap->port[port]; in cxgb4_dcb_handle_fw_update() local 389 static u8 cxgb4_getstate(struct net_device *dev) in cxgb4_getstate() 398 static u8 cxgb4_setstate(struct net_device *dev, u8 enabled) in cxgb4_setstate() 416 static void cxgb4_getpgtccfg(struct net_device *dev, int tc, in cxgb4_getpgtccfg() 460 static void cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_tx() 470 static void cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_rx() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 115 void saa7134_track_gpio(struct saa7134_dev *dev, char *msg) in saa7134_track_gpio() 130 void saa7134_set_gpio(struct saa7134_dev *dev, int bit_no, int value) in saa7134_set_gpio() 165 struct saa7134_dev* dev = container_of(work, struct saa7134_dev, request_module_wk); in request_module_async() local 178 static void request_submodules(struct saa7134_dev *dev) in request_submodules() 184 static void flush_request_submodules(struct saa7134_dev *dev) in flush_request_submodules() 190 #define request_submodules(dev) argument 191 #define flush_request_submodules(dev) argument 277 int saa7134_buffer_queue(struct saa7134_dev *dev, in saa7134_buffer_queue() 305 void saa7134_buffer_finish(struct saa7134_dev *dev, in saa7134_buffer_finish() 318 void saa7134_buffer_next(struct saa7134_dev *dev, in saa7134_buffer_next() [all …]
|
D | saa7134-tvaudio.c | 171 static void tvaudio_setcarrier(struct saa7134_dev *dev, in tvaudio_setcarrier() 184 static void mute_input_7134(struct saa7134_dev *dev) in mute_input_7134() 251 static void tvaudio_setmode(struct saa7134_dev *dev, in tvaudio_setmode() 314 static int tvaudio_sleep(struct saa7134_dev *dev, int timeout) in tvaudio_sleep() 329 static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan) in tvaudio_checkcarrier() 379 static int tvaudio_getstereo(struct saa7134_dev *dev, struct saa7134_tvaudio *audio) in tvaudio_getstereo() 434 static int tvaudio_setstereo(struct saa7134_dev *dev, struct saa7134_tvaudio *audio, in tvaudio_setstereo() 475 struct saa7134_dev *dev = data; in tvaudio_thread() local 658 static inline int saa_dsp_reset_error_bit(struct saa7134_dev *dev) in saa_dsp_reset_error_bit() 668 static inline int saa_dsp_wait_bit(struct saa7134_dev *dev, int bit) in saa_dsp_wait_bit() [all …]
|
D | saa7134-video.c | 388 static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm) in set_tvnorm() 410 static void video_mux(struct saa7134_dev *dev, int input) in video_mux() 419 static void saa7134_set_decoder(struct saa7134_dev *dev) in saa7134_set_decoder() 477 void saa7134_set_tvnorm_hw(struct saa7134_dev *dev) in saa7134_set_tvnorm_hw() 488 static void set_h_prescale(struct saa7134_dev *dev, int task, int prescale) in set_h_prescale() 526 static void set_v_scale(struct saa7134_dev *dev, int task, int yscale) in set_v_scale() 551 static void set_size(struct saa7134_dev *dev, int task, in set_size() 607 static void set_cliplist(struct saa7134_dev *dev, int reg, in set_cliplist() 652 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips, in setup_clipping() 683 static int verify_preview(struct saa7134_dev *dev, struct v4l2_window *win, bool try) in verify_preview() [all …]
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-cap.c | 103 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup() local 173 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare() local 211 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish() local 237 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue() local 249 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_start_streaming() local 284 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_stop_streaming() local 307 void vivid_update_quality(struct vivid_dev *dev) in vivid_update_quality() 353 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality() 375 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev) in vivid_get_video_aspect() 386 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i810/ |
D | i810_dma.c | 48 static struct drm_buf *i810_freelist_get(struct drm_device * dev) in i810_freelist_get() 72 static int i810_freelist_put(struct drm_device *dev, struct drm_buf *buf) in i810_freelist_put() 90 struct drm_device *dev; in i810_mmap_buffers() local 124 struct drm_device *dev = file_priv->minor->dev; in i810_map_buffer() local 169 static int i810_dma_get_buffer(struct drm_device *dev, drm_i810_dma_t *d, in i810_dma_get_buffer() 199 static int i810_dma_cleanup(struct drm_device *dev) in i810_dma_cleanup() 236 static int i810_wait_ring(struct drm_device *dev, int n) in i810_wait_ring() 269 static void i810_kernel_lost_context(struct drm_device *dev) in i810_kernel_lost_context() 281 static int i810_freelist_init(struct drm_device *dev, drm_i810_private_t *dev_priv) in i810_freelist_init() 316 static int i810_dma_initialize(struct drm_device *dev, in i810_dma_initialize() [all …]
|
/linux-4.4.14/drivers/atm/ |
D | horizon.c | 370 static inline void wr_regl (const hrz_dev * dev, unsigned char reg, u32 data) { in wr_regl() 374 static inline u32 rd_regl (const hrz_dev * dev, unsigned char reg) { in rd_regl() 378 static inline void wr_regw (const hrz_dev * dev, unsigned char reg, u16 data) { in wr_regw() 382 static inline u16 rd_regw (const hrz_dev * dev, unsigned char reg) { in rd_regw() 386 static inline void wrs_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in wrs_regb() 390 static inline void rds_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in rds_regb() 397 static inline void wr_mem (const hrz_dev * dev, HDW * addr, u32 data) { in wr_mem() 403 static inline u32 rd_mem (const hrz_dev * dev, HDW * addr) { in rd_mem() 409 static inline void wr_framer (const hrz_dev * dev, u32 addr, u32 data) { in wr_framer() 414 static inline u32 rd_framer (const hrz_dev * dev, u32 addr) { in rd_framer() [all …]
|
D | suni.c | 38 #define PRIV(dev) ((struct suni_priv *) dev->phy_data) argument 59 struct atm_dev *dev; in suni_hz() local 95 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() 115 static int change_diag(struct atm_dev *dev,void __user *arg,int set) in change_diag() 135 static int get_diag(struct atm_dev *dev,void __user *arg) in get_diag() 152 static int set_loopback(struct atm_dev *dev,int mode) in set_loopback() 195 static int set_sonet(struct atm_dev *dev) in set_sonet() 209 static int set_sdh(struct atm_dev *dev) in set_sdh() 224 static int get_framing(struct atm_dev *dev, void __user *arg) in get_framing() 239 static int set_framing(struct atm_dev *dev, void __user *arg) in set_framing() [all …]
|
D | ambassador.c | 311 static inline void wr_plain (const amb_dev * dev, size_t addr, u32 data) { in wr_plain() 320 static inline u32 rd_plain (const amb_dev * dev, size_t addr) { in rd_plain() 330 static inline void wr_mem (const amb_dev * dev, size_t addr, u32 data) { in wr_mem() 340 static inline u32 rd_mem (const amb_dev * dev, size_t addr) { in rd_mem() 353 static inline void dump_registers (const amb_dev * dev) { in dump_registers() 450 static void tx_complete (amb_dev * dev, tx_out * tx) { in tx_complete() 471 static void rx_complete (amb_dev * dev, rx_out * rx) { in rx_complete() 556 static int command_do (amb_dev * dev, command * cmd) { in command_do() 627 static int tx_give (amb_dev * dev, tx_in * tx) { in tx_give() 659 static int tx_take (amb_dev * dev) { in tx_take() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | ibmebus.c | 64 static void *ibmebus_alloc_coherent(struct device *dev, in ibmebus_alloc_coherent() 78 static void ibmebus_free_coherent(struct device *dev, in ibmebus_free_coherent() 86 static dma_addr_t ibmebus_map_page(struct device *dev, in ibmebus_map_page() 96 static void ibmebus_unmap_page(struct device *dev, in ibmebus_unmap_page() 105 static int ibmebus_map_sg(struct device *dev, in ibmebus_map_sg() 121 static void ibmebus_unmap_sg(struct device *dev, in ibmebus_unmap_sg() 129 static int ibmebus_dma_supported(struct device *dev, u64 mask) in ibmebus_dma_supported() 134 static u64 ibmebus_dma_get_required_mask(struct device *dev) in ibmebus_dma_get_required_mask() 150 static int ibmebus_match_path(struct device *dev, void *data) in ibmebus_match_path() 157 static int ibmebus_match_node(struct device *dev, void *data) in ibmebus_match_node() [all …]
|
D | dma.c | 30 static u64 __maybe_unused get_pfn_limit(struct device *dev) in get_pfn_limit() 43 static int dma_direct_dma_supported(struct device *dev, u64 mask) in dma_direct_dma_supported() 65 void *__dma_direct_alloc_coherent(struct device *dev, size_t size, in __dma_direct_alloc_coherent() 122 void __dma_direct_free_coherent(struct device *dev, size_t size, in __dma_direct_free_coherent() 133 static void *dma_direct_alloc_coherent(struct device *dev, size_t size, in dma_direct_alloc_coherent() 157 static void dma_direct_free_coherent(struct device *dev, size_t size, in dma_direct_free_coherent() 178 int dma_direct_mmap_coherent(struct device *dev, struct vm_area_struct *vma, in dma_direct_mmap_coherent() 196 static int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, in dma_direct_map_sg() 212 static void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, in dma_direct_unmap_sg() 218 static u64 dma_direct_get_required_mask(struct device *dev) in dma_direct_get_required_mask() [all …]
|
/linux-4.4.14/drivers/net/ethernet/seeq/ |
D | ether3.c | 117 ether3_setbuffer(struct net_device *dev, buffer_rw_t read, int start) in ether3_setbuffer() 146 #define ether3_writebuffer(dev,data,length) \ argument 149 #define ether3_writeword(dev,data) \ argument 152 #define ether3_writelong(dev,data) { \ argument 161 #define ether3_readbuffer(dev,data,length) \ argument 164 #define ether3_readword(dev) \ argument 167 #define ether3_readlong(dev) \ argument 175 struct net_device *dev = (struct net_device *)data; in ether3_ledoff() local 182 static inline void ether3_ledon(struct net_device *dev) in ether3_ledon() 223 ether3_ramtest(struct net_device *dev, unsigned char byte) in ether3_ramtest() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_sysfs.c | 76 static ssize_t show_version(struct device_driver *dev, char *buf) in show_version() 82 static ssize_t show_num_units(struct device_driver *dev, char *buf) in show_num_units() 88 static ssize_t show_status(struct device *dev, in show_status() 121 static ssize_t show_status_str(struct device *dev, in show_status_str() 159 static ssize_t show_boardversion(struct device *dev, in show_boardversion() 168 static ssize_t show_localbus_info(struct device *dev, in show_localbus_info() 177 static ssize_t show_lmc(struct device *dev, in show_lmc() 186 static ssize_t store_lmc(struct device *dev, in store_lmc() 213 static ssize_t show_lid(struct device *dev, in show_lid() 222 static ssize_t store_lid(struct device *dev, in store_lid() [all …]
|
/linux-4.4.14/drivers/net/ethernet/smsc/ |
D | smc911x.c | 107 #define DBG(n, dev, args...) \ argument 113 #define PRINTK(dev, args...) netdev_info(dev, args) argument 115 #define DBG(n, dev, args...) do { } while (0) argument 116 #define PRINTK(dev, args...) netdev_dbg(dev, args) argument 173 static void smc911x_reset(struct net_device *dev) in smc911x_reset() 267 static void smc911x_enable(struct net_device *dev) in smc911x_enable() 324 static void smc911x_shutdown(struct net_device *dev) in smc911x_shutdown() 344 static inline void smc911x_drop_pkt(struct net_device *dev) in smc911x_drop_pkt() 376 static inline void smc911x_rcv(struct net_device *dev) in smc911x_rcv() 452 static void smc911x_hardware_send_pkt(struct net_device *dev) in smc911x_hardware_send_pkt() [all …]
|
/linux-4.4.14/drivers/usb/c67x00/ |
D | c67x00-ll-hpi.c | 84 static inline u16 hpi_read_reg(struct c67x00_device *dev, int reg) in hpi_read_reg() 90 static inline void hpi_write_reg(struct c67x00_device *dev, int reg, u16 value) in hpi_write_reg() 96 static inline u16 hpi_read_word_nolock(struct c67x00_device *dev, u16 reg) in hpi_read_word_nolock() 102 static u16 hpi_read_word(struct c67x00_device *dev, u16 reg) in hpi_read_word() 114 static void hpi_write_word_nolock(struct c67x00_device *dev, u16 reg, u16 value) in hpi_write_word_nolock() 120 static void hpi_write_word(struct c67x00_device *dev, u16 reg, u16 value) in hpi_write_word() 132 static void hpi_write_words_le16(struct c67x00_device *dev, u16 addr, in hpi_write_words_le16() 150 static void hpi_read_words_le16(struct c67x00_device *dev, u16 addr, in hpi_read_words_le16() 164 static void hpi_set_bits(struct c67x00_device *dev, u16 reg, u16 mask) in hpi_set_bits() 175 static void hpi_clear_bits(struct c67x00_device *dev, u16 reg, u16 mask) in hpi_clear_bits() [all …]
|
/linux-4.4.14/drivers/media/usb/stk1160/ |
D | stk1160-v4l.c | 78 static void stk1160_set_std(struct stk1160 *dev) in stk1160_set_std() 133 static void stk1160_set_fmt(struct stk1160 *dev, in stk1160_set_fmt() 172 static bool stk1160_set_alternate(struct stk1160 *dev) in stk1160_set_alternate() 214 static int stk1160_start_streaming(struct stk1160 *dev) in stk1160_start_streaming() 280 static void stk1160_stop_hw(struct stk1160 *dev) in stk1160_stop_hw() 299 static int stk1160_stop_streaming(struct stk1160 *dev) in stk1160_stop_streaming() 345 struct stk1160 *dev = video_drvdata(file); in vidioc_querycap() local 372 struct stk1160 *dev = video_drvdata(file); in vidioc_g_fmt_vid_cap() local 385 static int stk1160_try_fmt(struct stk1160 *dev, struct v4l2_format *f, in stk1160_try_fmt() 491 struct stk1160 *dev = video_drvdata(file); in vidioc_try_fmt_vid_cap() local [all …]
|
/linux-4.4.14/sound/core/ |
D | device.c | 47 struct snd_device *dev; in snd_device_new() local 74 static void __snd_device_disconnect(struct snd_device *dev) in __snd_device_disconnect() 84 static void __snd_device_free(struct snd_device *dev) in __snd_device_free() 99 struct snd_device *dev; in look_for_dev() local 123 struct snd_device *dev; in snd_device_disconnect() local 147 struct snd_device *dev; in snd_device_free() local 160 static int __snd_device_register(struct snd_device *dev) in __snd_device_register() 188 struct snd_device *dev; in snd_device_register() local 206 struct snd_device *dev; in snd_device_register_all() local 225 struct snd_device *dev; in snd_device_disconnect_all() local [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_irq.c | 39 void radeon_irq_set_state(struct drm_device *dev, u32 mask, int state) in radeon_irq_set_state() 52 static void r500_vbl_irq_set_state(struct drm_device *dev, u32 mask, int state) in r500_vbl_irq_set_state() 65 int radeon_enable_vblank(struct drm_device *dev, unsigned int pipe) in radeon_enable_vblank() 100 void radeon_disable_vblank(struct drm_device *dev, unsigned int pipe) in radeon_disable_vblank() 186 struct drm_device *dev = (struct drm_device *) arg; in radeon_driver_irq_handler() local 223 static int radeon_emit_irq(struct drm_device * dev) in radeon_emit_irq() 241 static int radeon_wait_irq(struct drm_device * dev, int swi_nr) in radeon_wait_irq() 258 u32 radeon_get_vblank_counter(struct drm_device *dev, unsigned int pipe) in radeon_get_vblank_counter() 287 int radeon_irq_emit(struct drm_device *dev, void *data, struct drm_file *file_priv) in radeon_irq_emit() 315 int radeon_irq_wait(struct drm_device *dev, void *data, struct drm_file *file_priv) in radeon_irq_wait() [all …]
|
/linux-4.4.14/drivers/net/wan/ |
D | hdlc.c | 49 int hdlc_change_mtu(struct net_device *dev, int new_mtu) in hdlc_change_mtu() 57 static int hdlc_rcv(struct sk_buff *skb, struct net_device *dev, in hdlc_rcv() 71 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev) in hdlc_start_xmit() 81 static inline void hdlc_proto_start(struct net_device *dev) in hdlc_proto_start() 90 static inline void hdlc_proto_stop(struct net_device *dev) in hdlc_proto_stop() 102 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in hdlc_device_event() local 150 int hdlc_open(struct net_device *dev) in hdlc_open() 184 void hdlc_close(struct net_device *dev) in hdlc_close() 206 int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in hdlc_ioctl() 232 static void hdlc_setup_dev(struct net_device *dev) in hdlc_setup_dev() [all …]
|
D | hdlc_x25.c | 31 static void x25_connect_disconnect(struct net_device *dev, int reason, int code) in x25_connect_disconnect() 50 static void x25_connected(struct net_device *dev, int reason) in x25_connected() 57 static void x25_disconnected(struct net_device *dev, int reason) in x25_disconnected() 64 static int x25_data_indication(struct net_device *dev, struct sk_buff *skb) in x25_data_indication() 82 static void x25_data_transmit(struct net_device *dev, struct sk_buff *skb) in x25_data_transmit() 90 static netdev_tx_t x25_xmit(struct sk_buff *skb, struct net_device *dev) in x25_xmit() 135 static int x25_open(struct net_device *dev) in x25_open() 155 static void x25_close(struct net_device *dev) in x25_close() 164 struct net_device *dev = skb->dev; in x25_rx() local 190 static int x25_ioctl(struct net_device *dev, struct ifreq *ifr) in x25_ioctl()
|
D | sbni.c | 186 #define NET_LOCAL_LOCK(dev) (((struct net_local *)netdev_priv(dev))->lock) argument 194 sbni_isa_probe( struct net_device *dev ) in sbni_isa_probe() 219 static void __init sbni_devsetup(struct net_device *dev) in sbni_devsetup() 227 struct net_device *dev; in sbni_probe() local 256 static int __init sbni_init(struct net_device *dev) in sbni_init() 296 sbni_pci_probe( struct net_device *dev ) in sbni_pci_probe() 348 sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) in sbni_probe1() 442 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit() 470 sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) in sbni_start_xmit() 505 struct net_device *dev = dev_id; in sbni_interrupt() local [all …]
|
/linux-4.4.14/drivers/w1/ |
D | w1_io.c | 69 static u8 w1_touch_bit(struct w1_master *dev, int bit) in w1_touch_bit() 88 static void w1_write_bit(struct w1_master *dev, int bit) in w1_write_bit() 117 static void w1_pre_write(struct w1_master *dev) in w1_pre_write() 134 static void w1_post_write(struct w1_master *dev) in w1_post_write() 150 void w1_write_8(struct w1_master *dev, u8 byte) in w1_write_8() 175 static u8 w1_read_bit(struct w1_master *dev) in w1_read_bit() 208 u8 w1_triplet(struct w1_master *dev, int bdir) in w1_triplet() 243 u8 w1_read_8(struct w1_master *dev) in w1_read_8() 264 void w1_write_block(struct w1_master *dev, const u8 *buf, int len) in w1_write_block() 285 void w1_touch_block(struct w1_master *dev, u8 *buf, int len) in w1_touch_block() [all …]
|
/linux-4.4.14/drivers/pnp/pnpacpi/ |
D | rsparser.c | 31 static void decode_irq_flags(struct pnp_dev *dev, int flags, u8 *triggering, in decode_irq_flags() 66 static int dma_flags(struct pnp_dev *dev, int type, int bus_master, in dma_flags() 114 static void pnpacpi_add_irqresource(struct pnp_dev *dev, struct resource *r) in pnpacpi_add_irqresource() 135 static int vendor_resource_matches(struct pnp_dev *dev, in vendor_resource_matches() 164 static void pnpacpi_parse_allocated_vendor(struct pnp_dev *dev, in pnpacpi_parse_allocated_vendor() 180 struct pnp_dev *dev = data; in pnpacpi_allocated_resource() local 264 int pnpacpi_parse_allocated_resource(struct pnp_dev *dev) in pnpacpi_parse_allocated_resource() 285 static __init void pnpacpi_parse_dma_option(struct pnp_dev *dev, in pnpacpi_parse_dma_option() 299 static __init void pnpacpi_parse_irq_option(struct pnp_dev *dev, in pnpacpi_parse_irq_option() 316 static __init void pnpacpi_parse_ext_irq_option(struct pnp_dev *dev, in pnpacpi_parse_ext_irq_option() [all …]
|
/linux-4.4.14/include/linux/pinctrl/ |
D | consumer.h | 48 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state() 52 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state() 56 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state() 83 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get() 105 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get() 114 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state() 119 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state() 124 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state() 132 struct device *dev, const char *name) in pinctrl_get_select() 158 struct device *dev) in pinctrl_get_select_default() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-api.c | 27 int saa7164_api_get_load_info(struct saa7164_dev *dev, struct tmFwInfoStruct *i) in saa7164_api_get_load_info() 51 int saa7164_api_collect_debug(struct saa7164_dev *dev) in saa7164_api_collect_debug() 79 int saa7164_api_set_debug(struct saa7164_dev *dev, u8 level) in saa7164_api_set_debug() 107 struct saa7164_dev *dev = port->dev; in saa7164_api_set_vbi_format() local 170 struct saa7164_dev *dev = port->dev; in saa7164_api_set_gop_size() local 189 struct saa7164_dev *dev = port->dev; in saa7164_api_set_encoder() local 248 struct saa7164_dev *dev = port->dev; in saa7164_api_get_encoder() local 326 struct saa7164_dev *dev = port->dev; in saa7164_api_set_aspect_ratio() local 370 struct saa7164_dev *dev = port->dev; in saa7164_api_set_usercontrol() local 404 struct saa7164_dev *dev = port->dev; in saa7164_api_get_usercontrol() local [all …]
|
D | saa7164-core.c | 263 struct saa7164_dev *dev = port->dev; in saa7164_work_enchandler_helper() local 369 struct saa7164_dev *dev = port->dev; in saa7164_work_enchandler() local 446 struct saa7164_dev *dev = port->dev; in saa7164_work_vbihandler() local 520 struct saa7164_dev *dev = container_of(w, struct saa7164_dev, workcmd); in saa7164_work_cmdhandler() local 538 struct saa7164_dev *dev = port->dev; in saa7164_irq_vbi() local 563 struct saa7164_dev *dev = port->dev; in saa7164_irq_encoder() local 587 struct saa7164_dev *dev = port->dev; in saa7164_irq_ts() local 625 struct saa7164_dev *dev = dev_id; in saa7164_irq() local 729 void saa7164_getfirmwarestatus(struct saa7164_dev *dev) in saa7164_getfirmwarestatus() 750 u32 saa7164_getcurrentfirmwareversion(struct saa7164_dev *dev) in saa7164_getcurrentfirmwareversion() [all …]
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | rx.c | 49 struct aac_dev *dev = dev_id; in aac_rx_intr_producer() local 89 struct aac_dev *dev = dev_id; in aac_rx_intr_message() local 130 static void aac_rx_disable_interrupt(struct aac_dev *dev) in aac_rx_disable_interrupt() 140 static void aac_rx_enable_interrupt_producer(struct aac_dev *dev) in aac_rx_enable_interrupt_producer() 150 static void aac_rx_enable_interrupt_message(struct aac_dev *dev) in aac_rx_enable_interrupt_message() 166 static int rx_sync_cmd(struct aac_dev *dev, u32 command, in rx_sync_cmd() 265 static void aac_rx_interrupt_adapter(struct aac_dev *dev) in aac_rx_interrupt_adapter() 279 static void aac_rx_notify_adapter(struct aac_dev *dev, u32 event) in aac_rx_notify_adapter() 316 static void aac_rx_start_adapter(struct aac_dev *dev) in aac_rx_start_adapter() 334 static int aac_rx_check_health(struct aac_dev *dev) in aac_rx_check_health() [all …]
|
D | src.c | 52 struct aac_dev *dev; in aac_src_intr_message() local 176 static void aac_src_disable_interrupt(struct aac_dev *dev) in aac_src_disable_interrupt() 186 static void aac_src_enable_interrupt_message(struct aac_dev *dev) in aac_src_enable_interrupt_message() 202 static int src_sync_cmd(struct aac_dev *dev, u32 command, in src_sync_cmd() 327 static void aac_src_interrupt_adapter(struct aac_dev *dev) in aac_src_interrupt_adapter() 343 static void aac_src_notify_adapter(struct aac_dev *dev, u32 event) in aac_src_notify_adapter() 384 static void aac_src_start_adapter(struct aac_dev *dev) in aac_src_start_adapter() 411 static int aac_src_check_health(struct aac_dev *dev) in aac_src_check_health() 445 struct aac_dev *dev = fib->dev; in aac_src_deliver_message() local 518 static int aac_src_ioremap(struct aac_dev *dev, u32 size) in aac_src_ioremap() [all …]
|
D | sa.c | 49 struct aac_dev *dev = dev_id; in aac_sa_intr() local 87 static void aac_sa_disable_interrupt (struct aac_dev *dev) in aac_sa_disable_interrupt() 97 static void aac_sa_enable_interrupt (struct aac_dev *dev) in aac_sa_enable_interrupt() 111 static void aac_sa_notify_adapter(struct aac_dev *dev, u32 event) in aac_sa_notify_adapter() 157 static int sa_sync_cmd(struct aac_dev *dev, u32 command, in sa_sync_cmd() 233 static void aac_sa_interrupt_adapter (struct aac_dev *dev) in aac_sa_interrupt_adapter() 246 static void aac_sa_start_adapter(struct aac_dev *dev) in aac_sa_start_adapter() 260 static int aac_sa_restart_adapter(struct aac_dev *dev, int bled) in aac_sa_restart_adapter() 272 static int aac_sa_check_health(struct aac_dev *dev) in aac_sa_check_health() 302 static int aac_sa_ioremap(struct aac_dev * dev, u32 size) in aac_sa_ioremap() [all …]
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.c | 129 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in queuecommand_lck() local 165 struct rtsx_dev *dev = host_to_rtsx(host); in DEF_SCSI_QCMD() local 194 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in device_reset() local 205 struct rtsx_dev *dev = host_to_rtsx(srb->device->host); in bus_reset() local 263 static int rtsx_acquire_irq(struct rtsx_dev *dev) in rtsx_acquire_irq() 286 int rtsx_read_pci_cfg_byte(u8 bus, u8 dev, u8 func, u8 offset, u8 *val) in rtsx_read_pci_cfg_byte() 309 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_suspend() local 344 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_resume() local 390 struct rtsx_dev *dev = pci_get_drvdata(pci); in rtsx_shutdown() local 414 struct rtsx_dev *dev = __dev; in rtsx_control_thread() local [all …]
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 47 static dma_addr_t octeon_gen1_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen1_phys_to_dma() 54 static phys_addr_t octeon_gen1_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen1_dma_to_phys() 64 static dma_addr_t octeon_gen2_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen2_phys_to_dma() 69 static phys_addr_t octeon_gen2_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen2_dma_to_phys() 74 static dma_addr_t octeon_big_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_big_phys_to_dma() 86 static phys_addr_t octeon_big_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_big_dma_to_phys() 96 static dma_addr_t octeon_small_phys_to_dma(struct device *dev, in octeon_small_phys_to_dma() 111 static phys_addr_t octeon_small_dma_to_phys(struct device *dev, in octeon_small_dma_to_phys() 126 static dma_addr_t octeon_dma_map_page(struct device *dev, struct page *page, in octeon_dma_map_page() 137 static int octeon_dma_map_sg(struct device *dev, struct scatterlist *sg, in octeon_dma_map_sg() [all …]
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
D | tty.c | 83 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_destruct() local 113 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_activate() local 125 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_carrier_raised() local 133 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_shutdown() local 151 struct rfcomm_dev *dev; in __rfcomm_dev_lookup() local 162 struct rfcomm_dev *dev; in rfcomm_dev_get() local 176 static void rfcomm_reparent_device(struct rfcomm_dev *dev) in rfcomm_reparent_device() 203 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_address() local 209 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_channel() local 219 struct rfcomm_dev *dev, *entry; in __rfcomm_dev_add() local [all …]
|
/linux-4.4.14/drivers/regulator/ |
D | devres.c | 28 static void devm_regulator_release(struct device *dev, void *res) in devm_regulator_release() 33 static struct regulator *_devm_regulator_get(struct device *dev, const char *id, in _devm_regulator_get() 75 struct regulator *devm_regulator_get(struct device *dev, const char *id) in devm_regulator_get() 90 struct regulator *devm_regulator_get_exclusive(struct device *dev, in devm_regulator_get_exclusive() 106 struct regulator *devm_regulator_get_optional(struct device *dev, in devm_regulator_get_optional() 113 static int devm_regulator_match(struct device *dev, void *res, void *data) in devm_regulator_match() 157 int devm_regulator_bulk_get(struct device *dev, int num_consumers, in devm_regulator_bulk_get() 188 static void devm_rdev_release(struct device *dev, void *res) in devm_rdev_release() 203 struct regulator_dev *devm_regulator_register(struct device *dev, in devm_regulator_register() 226 static int devm_rdev_match(struct device *dev, void *res, void *data) in devm_rdev_match() [all …]
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_drv.c | 22 static void msm_fb_output_poll_changed(struct drm_device *dev) in msm_fb_output_poll_changed() 36 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu) in msm_register_mmu() 180 static int msm_unload(struct drm_device *dev) in msm_unload() 247 struct device *dev = &pdev->dev; in get_mdp_ver() local 258 static int msm_init_vram(struct drm_device *dev) in msm_init_vram() 333 static int msm_load(struct drm_device *dev, unsigned long flags) in msm_load() 442 static void load_gpu(struct drm_device *dev) in load_gpu() 455 static int msm_open(struct drm_device *dev, struct drm_file *file) in msm_open() 473 static void msm_preclose(struct drm_device *dev, struct drm_file *file) in msm_preclose() 490 static void msm_lastclose(struct drm_device *dev) in msm_lastclose() [all …]
|
/linux-4.4.14/arch/mips/include/asm/mach-generic/ |
D | dma-coherence.h | 14 static inline dma_addr_t plat_map_dma_mem(struct device *dev, void *addr, in plat_map_dma_mem() 20 static inline dma_addr_t plat_map_dma_mem_page(struct device *dev, in plat_map_dma_mem_page() 26 static inline unsigned long plat_dma_addr_to_phys(struct device *dev, in plat_dma_addr_to_phys() 32 static inline void plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr, in plat_unmap_dma_mem() 37 static inline int plat_dma_supported(struct device *dev, u64 mask) in plat_dma_supported() 50 static inline int plat_device_is_coherent(struct device *dev) in plat_device_is_coherent() 56 static inline void plat_post_dma_flush(struct device *dev) in plat_post_dma_flush() 62 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 67 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys()
|
/linux-4.4.14/drivers/pnp/ |
D | manager.c | 21 static struct resource *pnp_find_resource(struct pnp_dev *dev, in pnp_find_resource() 37 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port() 80 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem() 131 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq() 190 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma() 235 void pnp_init_resources(struct pnp_dev *dev) in pnp_init_resources() 240 static void pnp_clean_resource_table(struct pnp_dev *dev) in pnp_clean_resource_table() 255 static int pnp_assign_resources(struct pnp_dev *dev, int set) in pnp_assign_resources() 307 int pnp_auto_config_dev(struct pnp_dev *dev) in pnp_auto_config_dev() 336 int pnp_start_dev(struct pnp_dev *dev) in pnp_start_dev() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 37 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_alloc_transport_domain() 57 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_dealloc_transport_domain() 72 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq() 87 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in mlx5_core_modify_rq() 98 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq() 111 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq() 126 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen) in mlx5_core_modify_sq() 137 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq() 150 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, in mlx5_core_create_tir() 166 int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in, in mlx5_core_modify_tir() [all …]
|
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 119 static int setup_data(struct net_device *dev) in setup_data() 138 static int allocate_bd(struct net_device *dev) in allocate_bd() 153 static void free_bd(struct net_device *dev) in free_bd() 165 static void cleanup_data(struct net_device *dev) in cleanup_data() 170 static void set_promiscuous_mode(struct net_device *dev) in set_promiscuous_mode() 178 static void set_multicast_start(struct net_device *dev) in set_multicast_start() 186 static void set_multicast_one(struct net_device *dev, const u8 *mac) in set_multicast_one() 218 static void set_multicast_finish(struct net_device *dev) in set_multicast_finish() 235 static void set_multicast_list(struct net_device *dev) in set_multicast_list() 248 static void restart(struct net_device *dev) in restart() [all …]
|
/linux-4.4.14/net/mac802154/ |
D | mib.c | 29 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan) in mac802154_dev_set_page_channel() 48 int mac802154_get_params(struct net_device *dev, in mac802154_get_params() 63 int mac802154_set_params(struct net_device *dev, in mac802154_set_params() 79 int mac802154_add_key(struct net_device *dev, in mac802154_add_key() 95 int mac802154_del_key(struct net_device *dev, in mac802154_del_key() 110 int mac802154_add_dev(struct net_device *dev, in mac802154_add_dev() 125 int mac802154_del_dev(struct net_device *dev, __le64 dev_addr) in mac802154_del_dev() 139 int mac802154_add_devkey(struct net_device *dev, in mac802154_add_devkey() 155 int mac802154_del_devkey(struct net_device *dev, in mac802154_del_devkey() 171 int mac802154_add_seclevel(struct net_device *dev, in mac802154_add_seclevel() [all …]
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-video.c | 230 static void set_tvnorm(struct tw68_dev *dev, const struct tw68_tvnorm *norm) in set_tvnorm() 269 static int tw68_set_scale(struct tw68_dev *dev, unsigned int width, in tw68_set_scale() 341 int tw68_video_start_dma(struct tw68_dev *dev, struct tw68_buf *buf) in tw68_video_start_dma() 384 struct tw68_dev *dev = vb2_get_drv_priv(q); in tw68_queue_setup() local 429 struct tw68_dev *dev = vb2_get_drv_priv(vq); in tw68_buf_queue() local 464 struct tw68_dev *dev = vb2_get_drv_priv(vq); in tw68_buf_prepare() local 507 struct tw68_dev *dev = vb2_get_drv_priv(vq); in tw68_buf_finish() local 515 struct tw68_dev *dev = vb2_get_drv_priv(q); in tw68_start_streaming() local 526 struct tw68_dev *dev = vb2_get_drv_priv(q); in tw68_stop_streaming() local 554 struct tw68_dev *dev = in tw68_s_ctrl() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
D | 8390.c | 8 int ei_open(struct net_device *dev) in ei_open() 14 int ei_close(struct net_device *dev) in ei_close() 20 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev) in ei_start_xmit() 26 struct net_device_stats *ei_get_stats(struct net_device *dev) in ei_get_stats() 32 void ei_set_multicast_list(struct net_device *dev) in ei_set_multicast_list() 38 void ei_tx_timeout(struct net_device *dev) in ei_tx_timeout() 51 void ei_poll(struct net_device *dev) in ei_poll() 76 struct net_device *dev = ____alloc_ei_netdev(size); in __alloc_ei_netdev() local 83 void NS8390_init(struct net_device *dev, int startp) in NS8390_init()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_main.c | 12 void ipvlan_adjust_mtu(struct ipvl_dev *ipvlan, struct net_device *dev) in ipvlan_adjust_mtu() 32 static int ipvlan_port_create(struct net_device *dev) in ipvlan_port_create() 72 static void ipvlan_port_destroy(struct net_device *dev) in ipvlan_port_destroy() 99 static void ipvlan_set_lockdep_class_one(struct net_device *dev, in ipvlan_set_lockdep_class_one() 106 static void ipvlan_set_lockdep_class(struct net_device *dev) in ipvlan_set_lockdep_class() 112 static int ipvlan_init(struct net_device *dev) in ipvlan_init() 133 static void ipvlan_uninit(struct net_device *dev) in ipvlan_uninit() 145 static int ipvlan_open(struct net_device *dev) in ipvlan_open() 162 static int ipvlan_stop(struct net_device *dev) in ipvlan_stop() 180 struct net_device *dev) in ipvlan_start_xmit() [all …]
|
/linux-4.4.14/sound/oss/ |
D | sb_audio.c | 34 int sb_audio_open(int dev, int mode) in sb_audio_open() 97 void sb_audio_close(int dev) in sb_audio_close() 124 static void sb_set_output_parms(int dev, unsigned long buf, int nr_bytes, in sb_set_output_parms() 145 static void sb_set_input_parms(int dev, unsigned long buf, int count, int intrflag) in sb_set_input_parms() 169 static void sb1_audio_output_block(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_output_block() 195 static void sb1_audio_start_input(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_start_input() 226 static void sb1_audio_trigger(int dev, int bits) in sb1_audio_trigger() 252 static int sb1_audio_prepare_for_input(int dev, int bsize, int bcount) in sb1_audio_prepare_for_input() 267 static int sb1_audio_prepare_for_output(int dev, int bsize, int bcount) in sb1_audio_prepare_for_output() 281 static int sb1_audio_set_speed(int dev, int speed) in sb1_audio_set_speed() [all …]
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | coresight-etm4x.c | 314 static ssize_t nr_pe_cmp_show(struct device *dev, in nr_pe_cmp_show() 326 static ssize_t nr_addr_cmp_show(struct device *dev, in nr_addr_cmp_show() 338 static ssize_t nr_cntr_show(struct device *dev, in nr_cntr_show() 350 static ssize_t nr_ext_inp_show(struct device *dev, in nr_ext_inp_show() 362 static ssize_t numcidc_show(struct device *dev, in numcidc_show() 374 static ssize_t numvmidc_show(struct device *dev, in numvmidc_show() 386 static ssize_t nrseqstate_show(struct device *dev, in nrseqstate_show() 398 static ssize_t nr_resource_show(struct device *dev, in nr_resource_show() 410 static ssize_t nr_ss_cmp_show(struct device *dev, in nr_ss_cmp_show() 422 static ssize_t reset_store(struct device *dev, in reset_store() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | bcma-hcd.c | 44 static int bcma_wait_bits(struct bcma_device *dev, u16 reg, u32 bitmask, in bcma_wait_bits() 60 static void bcma_hcd_4716wa(struct bcma_device *dev) in bcma_hcd_4716wa() 94 static void bcma_hcd_init_chip_mips(struct bcma_device *dev) in bcma_hcd_init_chip_mips() 165 static void bcma_hcd_init_chip_arm_phy(struct bcma_device *dev) in bcma_hcd_init_chip_arm_phy() 194 static void bcma_hcd_init_chip_arm_hc(struct bcma_device *dev) in bcma_hcd_init_chip_arm_hc() 215 static void bcma_hcd_init_chip_arm(struct bcma_device *dev) in bcma_hcd_init_chip_arm() 229 static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val) in bcma_hci_platform_power_gpio() 252 static struct platform_device *bcma_hcd_create_pdev(struct bcma_device *dev, bool ohci, u32 addr) in bcma_hcd_create_pdev() 298 static int bcma_hcd_probe(struct bcma_device *dev) in bcma_hcd_probe() 355 static void bcma_hcd_remove(struct bcma_device *dev) in bcma_hcd_remove() [all …]
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-puv3.c | 56 static void puv3_rtc_setaie(struct device *dev, int to) in puv3_rtc_setaie() 70 static int puv3_rtc_setpie(struct device *dev, int enabled) in puv3_rtc_setpie() 89 static int puv3_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) in puv3_rtc_gettime() 100 static int puv3_rtc_settime(struct device *dev, struct rtc_time *tm) in puv3_rtc_settime() 114 static int puv3_rtc_getalarm(struct device *dev, struct rtc_wkalrm *alrm) in puv3_rtc_getalarm() 130 static int puv3_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) in puv3_rtc_setalarm() 153 static int puv3_rtc_proc(struct device *dev, struct seq_file *seq) in puv3_rtc_proc() 160 static int puv3_rtc_open(struct device *dev) in puv3_rtc_open() 189 static void puv3_rtc_release(struct device *dev) in puv3_rtc_release() 210 static void puv3_rtc_enable(struct device *dev, int en) in puv3_rtc_enable() [all …]
|
/linux-4.4.14/drivers/mcb/ |
D | mcb-core.c | 21 struct mcb_device *dev) in mcb_match_id() 34 static int mcb_match(struct device *dev, struct device_driver *drv) in mcb_match() 47 static int mcb_uevent(struct device *dev, struct kobj_uevent_env *env) in mcb_uevent() 59 static int mcb_probe(struct device *dev) in mcb_probe() 72 static int mcb_remove(struct device *dev) in mcb_remove() 84 static void mcb_shutdown(struct device *dev) in mcb_shutdown() 137 static void mcb_release_dev(struct device *dev) in mcb_release_dev() 152 int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev) in mcb_device_register() 208 static int __mcb_devices_unregister(struct device *dev, void *data) in __mcb_devices_unregister() 270 struct mcb_device *dev; in mcb_alloc_dev() local [all …]
|
/linux-4.4.14/arch/arm/kernel/ |
D | bios32.c | 27 struct pci_dev *dev; in pcibios_bus_report_status() local 78 static void pci_fixup_83c553(struct pci_dev *dev) in pci_fixup_83c553() 130 static void pci_fixup_unassign(struct pci_dev *dev) in pci_fixup_unassign() 142 static void pci_fixup_dec21285(struct pci_dev *dev) in pci_fixup_dec21285() 161 static void pci_fixup_ide_bases(struct pci_dev *dev) in pci_fixup_ide_bases() 182 static void pci_fixup_dec21142(struct pci_dev *dev) in pci_fixup_dec21142() 204 static void pci_fixup_cy82c693(struct pci_dev *dev) in pci_fixup_cy82c693() 254 static void pci_fixup_it8152(struct pci_dev *dev) in pci_fixup_it8152() 275 static inline int pdev_bad_for_parity(struct pci_dev *dev) in pdev_bad_for_parity() 291 struct pci_dev *dev; in pcibios_fixup_bus() local [all …]
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | dma-mapping.h | 35 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 44 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 51 int dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, in dma_map_sg() 71 void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg() 78 dma_addr_t dma_map_page(struct device *dev, struct page *page, in dma_map_page() 87 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() 94 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_for_cpu() 100 void dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_for_device() 107 void dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_cpu() 114 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_device() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | setup-pci.c | 33 static int ide_setup_pci_baseregs(struct pci_dev *dev, const char *name) in ide_setup_pci_baseregs() 82 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_pci_dma_base() local 111 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_pci_check_simplex() local 148 int ide_pci_set_master(struct pci_dev *dev, const char *name) in ide_pci_set_master() 170 void ide_setup_pci_noise(struct pci_dev *dev, const struct ide_port_info *d) in ide_setup_pci_noise() 192 static int ide_pci_enable(struct pci_dev *dev, const struct ide_port_info *d) in ide_pci_enable() 248 static int ide_pci_configure(struct pci_dev *dev, const struct ide_port_info *d) in ide_pci_configure() 287 static int ide_pci_check_iomem(struct pci_dev *dev, const struct ide_port_info *d, in ide_pci_check_iomem() 318 static int ide_hw_configure(struct pci_dev *dev, const struct ide_port_info *d, in ide_hw_configure() 366 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_hwif_setup_dma() local [all …]
|
/linux-4.4.14/arch/cris/include/asm/ |
D | dma-mapping.h | 26 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() 34 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent() 41 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 49 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 56 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg() 64 dma_map_page(struct device *dev, struct page *page, unsigned long offset, in dma_map_page() 72 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() 80 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg() 87 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu() 93 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device() [all …]
|
/linux-4.4.14/drivers/net/can/sja1000/ |
D | sja1000.c | 104 static int sja1000_probe_chip(struct net_device *dev) in sja1000_probe_chip() 115 static void set_reset_mode(struct net_device *dev) in set_reset_mode() 140 static void set_normal_mode(struct net_device *dev) in set_normal_mode() 183 static void chipset_init(struct net_device *dev) in chipset_init() 204 static void sja1000_start(struct net_device *dev) in sja1000_start() 228 static int sja1000_set_mode(struct net_device *dev, enum can_mode mode) in sja1000_set_mode() 244 static int sja1000_set_bittiming(struct net_device *dev) in sja1000_set_bittiming() 264 static int sja1000_get_berr_counter(const struct net_device *dev, in sja1000_get_berr_counter() 282 struct net_device *dev) in sja1000_start_xmit() 337 static void sja1000_rx(struct net_device *dev) in sja1000_rx() [all …]
|
/linux-4.4.14/drivers/lightnvm/ |
D | gennvm.c | 23 static void gennvm_blocks_free(struct nvm_dev *dev) in gennvm_blocks_free() 36 static void gennvm_luns_free(struct nvm_dev *dev) in gennvm_luns_free() 43 static int gennvm_luns_init(struct nvm_dev *dev, struct gen_nvm *gn) in gennvm_luns_init() 73 struct nvm_dev *dev = gn->dev; in gennvm_block_bb() local 99 struct nvm_dev *dev = private; in gennvm_block_map() local 151 static int gennvm_blocks_init(struct nvm_dev *dev, struct gen_nvm *gn) in gennvm_blocks_init() 209 static void gennvm_free(struct nvm_dev *dev) in gennvm_free() 217 static int gennvm_register(struct nvm_dev *dev) in gennvm_register() 252 static void gennvm_unregister(struct nvm_dev *dev) in gennvm_unregister() 258 static struct nvm_block *gennvm_get_blk(struct nvm_dev *dev, in gennvm_get_blk() [all …]
|
/linux-4.4.14/drivers/net/ |
D | veth.c | 50 static int veth_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in veth_get_settings() 65 static void veth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in veth_get_drvinfo() 71 static void veth_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in veth_get_strings() 80 static int veth_get_sset_count(struct net_device *dev, int sset) in veth_get_sset_count() 90 static void veth_get_ethtool_stats(struct net_device *dev, in veth_get_ethtool_stats() 108 static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev) in veth_xmit() 140 static u64 veth_stats_one(struct pcpu_vstats *result, struct net_device *dev) in veth_stats_one() 163 static struct rtnl_link_stats64 *veth_get_stats64(struct net_device *dev, in veth_get_stats64() 187 static void veth_set_multicast_list(struct net_device *dev) in veth_set_multicast_list() 191 static int veth_open(struct net_device *dev) in veth_open() [all …]
|
/linux-4.4.14/drivers/ipack/ |
D | ipack.c | 23 static void ipack_device_release(struct device *dev) in ipack_device_release() 55 static int ipack_bus_match(struct device *dev, struct device_driver *drv) in ipack_bus_match() 67 struct ipack_device *dev = to_ipack_dev(device); in ipack_bus_probe() local 78 struct ipack_device *dev = to_ipack_dev(device); in ipack_bus_remove() local 88 static int ipack_uevent(struct device *dev, struct kobj_uevent_env *env) in ipack_uevent() 114 static ssize_t id_show(struct device *dev, in id_show() 145 id_vendor_show(struct device *dev, struct device_attribute *attr, char *buf) in id_vendor_show() 159 id_device_show(struct device *dev, struct device_attribute *attr, char *buf) in id_device_show() 172 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 234 static int ipack_unregister_bus_member(struct device *dev, void *data) in ipack_unregister_bus_member() [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | macio_asic.c | 42 static int macio_bus_match(struct device *dev, struct device_driver *drv) in macio_bus_match() 52 struct macio_dev *macio_dev_get(struct macio_dev *dev) in macio_dev_get() 65 void macio_dev_put(struct macio_dev *dev) in macio_dev_put() 72 static int macio_device_probe(struct device *dev) in macio_device_probe() 96 static int macio_device_remove(struct device *dev) in macio_device_remove() 108 static void macio_device_shutdown(struct device *dev) in macio_device_shutdown() 117 static int macio_device_suspend(struct device *dev, pm_message_t state) in macio_device_suspend() 127 static int macio_device_resume(struct device * dev) in macio_device_resume() 169 static void macio_release_dev(struct device *dev) in macio_release_dev() 234 static void macio_create_fixup_irq(struct macio_dev *dev, int index, in macio_create_fixup_irq() [all …]
|
/linux-4.4.14/drivers/net/can/cc770/ |
D | cc770.c | 113 static void enable_all_objs(const struct net_device *dev) in enable_all_objs() 206 static void set_reset_mode(struct net_device *dev) in set_reset_mode() 225 static void set_normal_mode(struct net_device *dev) in set_normal_mode() 297 static int cc770_probe_chip(struct net_device *dev) in cc770_probe_chip() 335 static void cc770_start(struct net_device *dev) in cc770_start() 347 static int cc770_set_mode(struct net_device *dev, enum can_mode mode) in cc770_set_mode() 362 static int cc770_set_bittiming(struct net_device *dev) in cc770_set_bittiming() 382 static int cc770_get_berr_counter(const struct net_device *dev, in cc770_get_berr_counter() 393 static netdev_tx_t cc770_start_xmit(struct sk_buff *skb, struct net_device *dev) in cc770_start_xmit() 462 static void cc770_rx(struct net_device *dev, unsigned int mo, u8 ctrl1) in cc770_rx() [all …]
|
/linux-4.4.14/drivers/vlynq/ |
D | vlynq.c | 81 static void vlynq_dump_regs(struct vlynq_device *dev) in vlynq_dump_regs() 109 static int vlynq_linked(struct vlynq_device *dev) in vlynq_linked() 122 static void vlynq_reset(struct vlynq_device *dev) in vlynq_reset() 140 struct vlynq_device *dev = irq_data_get_irq_chip_data(d); in vlynq_irq_unmask() local 153 struct vlynq_device *dev = irq_data_get_irq_chip_data(d); in vlynq_irq_mask() local 166 struct vlynq_device *dev = irq_data_get_irq_chip_data(d); in vlynq_irq_type() local 197 struct vlynq_device *dev = irq_data_get_irq_chip_data(d); in vlynq_local_ack() local 207 struct vlynq_device *dev = irq_data_get_irq_chip_data(d); in vlynq_remote_ack() local 217 struct vlynq_device *dev = dev_id; in vlynq_irq() local 258 static int vlynq_setup_irq(struct vlynq_device *dev) in vlynq_setup_irq() [all …]
|
/linux-4.4.14/drivers/base/power/opp/ |
D | core.c | 42 static struct device_list_opp *_find_list_dev(const struct device *dev, in _find_list_dev() 90 struct device_opp *_find_device_opp(struct device *dev) in _find_device_opp() 214 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency() 245 struct dev_pm_opp *dev_pm_opp_get_suspend_opp(struct device *dev) in dev_pm_opp_get_suspend_opp() 269 int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count() 322 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact() 371 struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil() 421 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor() 471 struct device_list_opp *_add_list_dev(const struct device *dev, in _add_list_dev() 496 static struct device_opp *_add_device_opp(struct device *dev) in _add_device_opp() [all …]
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 23 static u32 bnxt_get_msglevel(struct net_device *dev) in bnxt_get_msglevel() 30 static void bnxt_set_msglevel(struct net_device *dev, u32 value) in bnxt_set_msglevel() 37 static int bnxt_get_coalesce(struct net_device *dev, in bnxt_get_coalesce() 54 static int bnxt_set_coalesce(struct net_device *dev, in bnxt_set_coalesce() 74 static int bnxt_get_sset_count(struct net_device *dev, int sset) in bnxt_get_sset_count() 86 static void bnxt_get_ethtool_stats(struct net_device *dev, in bnxt_get_ethtool_stats() 111 static void bnxt_get_strings(struct net_device *dev, u32 stringset, u8 *buf) in bnxt_get_strings() 171 static void bnxt_get_ringparam(struct net_device *dev, in bnxt_get_ringparam() 185 static int bnxt_set_ringparam(struct net_device *dev, in bnxt_set_ringparam() 208 static void bnxt_get_channels(struct net_device *dev, in bnxt_get_channels() [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | drivers.c | 50 static inline int check_dev(struct device *dev) in check_dev() 68 static int descend_children(struct device * dev, void * data) in descend_children() 102 static int match_device(struct parisc_driver *driver, struct parisc_device *dev) in match_device() 124 static int parisc_driver_probe(struct device *dev) in parisc_driver_probe() 138 static int parisc_driver_remove(struct device *dev) in parisc_driver_remove() 189 static int match_and_count(struct device * dev, void * data) in match_and_count() 235 struct parisc_device * dev; member 238 static int find_device(struct device * dev, void * data) in find_device() 274 const struct device *dev = &padev->dev; in find_pa_parent_type() local 292 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path() [all …]
|
/linux-4.4.14/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 128 int stk_camera_write_reg(struct stk_camera *dev, u16 index, u8 value) in stk_camera_write_reg() 147 int stk_camera_read_reg(struct stk_camera *dev, u16 index, int *value) in stk_camera_read_reg() 166 static int stk_start_stream(struct stk_camera *dev) in stk_start_stream() 208 static int stk_stop_stream(struct stk_camera *dev) in stk_stop_stream() 269 static int stk_initialise(struct stk_camera *dev) in stk_initialise() 307 struct stk_camera *dev; in stk_isoc_handler() local 422 static int stk_prepare_iso(struct stk_camera *dev) in stk_prepare_iso() 494 static void stk_clean_iso(struct stk_camera *dev) in stk_clean_iso() 517 static int stk_setup_siobuf(struct stk_camera *dev, int index) in stk_setup_siobuf() 536 static int stk_free_sio_buffers(struct stk_camera *dev) in stk_free_sio_buffers() [all …]
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | amd8111e.c | 171 static int amd8111e_mdio_read(struct net_device *dev, int phy_id, int reg_num) in amd8111e_mdio_read() 182 static void amd8111e_mdio_write(struct net_device *dev, in amd8111e_mdio_write() 193 static void amd8111e_set_ext_phy(struct net_device *dev) in amd8111e_set_ext_phy() 234 static int amd8111e_free_skbs(struct net_device *dev) in amd8111e_free_skbs() 267 static inline void amd8111e_set_rx_buff_len(struct net_device *dev) in amd8111e_set_rx_buff_len() 289 static int amd8111e_init_ring(struct net_device *dev) in amd8111e_init_ring() 372 static int amd8111e_set_coalesce(struct net_device *dev, enum coal_mode cmod) in amd8111e_set_coalesce() 431 static int amd8111e_restart(struct net_device *dev) in amd8111e_restart() 649 static int amd8111e_tx(struct net_device *dev) in amd8111e_tx() 693 struct net_device *dev = lp->amd8111e_net_dev; in amd8111e_rx_poll() local [all …]
|
/linux-4.4.14/drivers/net/ethernet/aurora/ |
D | nb8800.c | 172 static void nb8800_mac_tx(struct net_device *dev, bool enable) in nb8800_mac_tx() 182 static void nb8800_mac_rx(struct net_device *dev, bool enable) in nb8800_mac_rx() 187 static void nb8800_mac_af(struct net_device *dev, bool enable) in nb8800_mac_af() 192 static void nb8800_start_rx(struct net_device *dev) in nb8800_start_rx() 197 static int nb8800_alloc_rx(struct net_device *dev, unsigned int i, bool napi) in nb8800_alloc_rx() 230 static void nb8800_receive(struct net_device *dev, unsigned int i, in nb8800_receive() 276 static void nb8800_rx_error(struct net_device *dev, u32 report) in nb8800_rx_error() 295 struct net_device *dev = napi->dev; in nb8800_poll() local 359 static void __nb8800_tx_dma_start(struct net_device *dev) in __nb8800_tx_dma_start() 380 static void nb8800_tx_dma_start(struct net_device *dev) in nb8800_tx_dma_start() [all …]
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
D | visorbus_main.c | 79 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 166 struct visor_device *dev; in visorbus_uevent() local 187 struct visor_device *dev; in visorbus_match() local 222 struct visor_device *dev = dev_get_drvdata(xdev); in visorbus_release_busdevice() local 234 struct visor_device *dev = to_visor_device(xdev); in visorbus_release_device() local 266 static ssize_t DEVMAJORMINOR_ATTR(struct visor_device *dev, int slot, char *buf) in DEVMAJORMINOR_ATTR() 281 struct visor_device *dev = to_visor_device_from_kobjdevmajorminor(kobj); in devmajorminor_attr_show() local 296 struct visor_device *dev = to_visor_device_from_kobjdevmajorminor(kobj); in devmajorminor_attr_store() local 309 devmajorminor_create_file(struct visor_device *dev, const char *name, in devmajorminor_create_file() 353 devmajorminor_remove_file(struct visor_device *dev, int slot) in devmajorminor_remove_file() [all …]
|
/linux-4.4.14/drivers/platform/x86/ |
D | toshiba_acpi.c | 300 static acpi_status tci_raw(struct toshiba_acpi_dev *dev, in tci_raw() 338 static u32 hci_write(struct toshiba_acpi_dev *dev, u32 reg, u32 in1) in hci_write() 347 static u32 hci_read(struct toshiba_acpi_dev *dev, u32 reg, u32 *out1) in hci_read() 365 static int sci_open(struct toshiba_acpi_dev *dev) in sci_open() 403 static void sci_close(struct toshiba_acpi_dev *dev) in sci_close() 423 static u32 sci_read(struct toshiba_acpi_dev *dev, u32 reg, u32 *out1) in sci_read() 437 static u32 sci_write(struct toshiba_acpi_dev *dev, u32 reg, u32 in1) in sci_write() 447 static void toshiba_illumination_available(struct toshiba_acpi_dev *dev) in toshiba_illumination_available() 470 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_illumination_set() local 489 struct toshiba_acpi_dev *dev = container_of(cdev, in toshiba_illumination_get() local [all …]
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 80 struct net_device *dev; member 109 int ipoib_open(struct net_device *dev) in ipoib_open() 158 static int ipoib_stop(struct net_device *dev) in ipoib_stop() 191 static void ipoib_uninit(struct net_device *dev) in ipoib_uninit() 196 static netdev_features_t ipoib_fix_features(struct net_device *dev, netdev_features_t features) in ipoib_fix_features() 206 static int ipoib_change_mtu(struct net_device *dev, int new_mtu) in ipoib_change_mtu() 235 struct net_device *dev) in ipoib_is_dev_match_addr_rcu() 274 static struct net_device *ipoib_get_master_net_dev(struct net_device *dev) in ipoib_get_master_net_dev() 301 const struct sockaddr *addr, struct net_device *dev) in ipoib_get_net_dev_match_addr() 403 struct ib_device *dev, u8 port, u16 pkey, in ipoib_get_net_dev_by_params() [all …]
|
/linux-4.4.14/arch/mips/include/asm/mach-ath25/ |
D | dma-coherence.h | 22 static inline dma_addr_t ath25_dev_offset(struct device *dev) in ath25_dev_offset() 34 plat_map_dma_mem(struct device *dev, void *addr, size_t size) in plat_map_dma_mem() 40 plat_map_dma_mem_page(struct device *dev, struct page *page) in plat_map_dma_mem_page() 46 plat_dma_addr_to_phys(struct device *dev, dma_addr_t dma_addr) in plat_dma_addr_to_phys() 52 plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr, size_t size, in plat_unmap_dma_mem() 57 static inline int plat_dma_supported(struct device *dev, u64 mask) in plat_dma_supported() 62 static inline int plat_device_is_coherent(struct device *dev) in plat_device_is_coherent() 72 static inline void plat_post_dma_flush(struct device *dev) in plat_post_dma_flush()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | u_ether.c | 121 #define DBG(dev, fmt, args...) \ argument 124 #define DBG(dev, fmt, args...) \ argument 131 #define VDBG(dev, fmt, args...) \ argument 135 #define ERROR(dev, fmt, args...) \ argument 137 #define INFO(dev, fmt, args...) \ argument 146 struct eth_dev *dev = netdev_priv(net); in ueth_change_mtu() local 165 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo() local 184 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent() 197 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit() 271 struct eth_dev *dev = ep->driver_data; in rx_complete() local [all …]
|
/linux-4.4.14/arch/frv/include/asm/ |
D | dma-mapping.h | 28 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 38 void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg() 49 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() 57 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu() 63 void dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device() 70 void dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_cpu() 77 void dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_device() 85 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu() 91 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device() 98 int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() [all …]
|
/linux-4.4.14/drivers/pci/pcie/ |
D | portdrv_core.c | 40 static void release_pcie_device(struct device *dev) in release_pcie_device() 74 static int pcie_port_enable_msix(struct pci_dev *dev, int *vectors, int mask) in pcie_port_enable_msix() 199 static int init_service_irqs(struct pci_dev *dev, int *irqs, int mask) in init_service_irqs() 236 static void cleanup_service_irqs(struct pci_dev *dev) in cleanup_service_irqs() 254 static int get_port_device_capability(struct pci_dev *dev) in get_port_device_capability() 363 int pcie_port_device_register(struct pci_dev *dev) in pcie_port_device_register() 416 static int suspend_iter(struct device *dev, void *data) in suspend_iter() 432 int pcie_port_device_suspend(struct device *dev) in pcie_port_device_suspend() 437 static int resume_iter(struct device *dev, void *data) in resume_iter() 454 int pcie_port_device_resume(struct device *dev) in pcie_port_device_resume() [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | dma-mapping.h | 8 static inline int dma_supported(struct device *dev, u64 mask) in dma_supported() 13 static inline int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask() 23 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() 31 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs() 39 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent() 44 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() 49 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync() 57 static inline void dma_unmap_single(struct device *dev, dma_addr_t addr, in dma_unmap_single() 65 static inline void dma_unmap_page(struct device *dev, dma_addr_t address, in dma_unmap_page() 72 static inline void dma_unmap_sg(struct device *dev, struct scatterlist *sg, in dma_unmap_sg() [all …]
|
/linux-4.4.14/drivers/media/pci/smipcie/ |
D | smipcie-main.c | 26 static int smi_hw_init(struct smi_dev *dev) in smi_hw_init() 71 static void smi_i2c_cfg(struct smi_dev *dev, u32 sw_ctl) in smi_i2c_cfg() 87 static void smi_i2c_setsda(struct smi_dev *dev, int state, u32 sw_ctl) in smi_i2c_setsda() 101 struct smi_dev *dev = data; in smi_i2c_setscl() local 115 struct smi_dev *dev = data; in smi_i2c_getsda() local 124 struct smi_dev *dev = data; in smi_i2c_getscl() local 133 struct smi_dev *dev = data; in smi_i2c0_setsda() local 140 struct smi_dev *dev = data; in smi_i2c0_setscl() local 147 struct smi_dev *dev = data; in smi_i2c0_getsda() local 154 struct smi_dev *dev = data; in smi_i2c0_getscl() local [all …]
|
/linux-4.4.14/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 77 struct hdpvr_device *dev = buf->dev; in hdpvr_read_bulk_callback() local 88 int hdpvr_cancel_queue(struct hdpvr_device *dev) in hdpvr_cancel_queue() 126 int hdpvr_free_buffers(struct hdpvr_device *dev) in hdpvr_free_buffers() 137 int hdpvr_alloc_buffers(struct hdpvr_device *dev, uint count) in hdpvr_alloc_buffers() 192 static int hdpvr_submit_buffers(struct hdpvr_device *dev) in hdpvr_submit_buffers() 233 static struct hdpvr_buffer *hdpvr_get_next_buffer(struct hdpvr_device *dev) in hdpvr_get_next_buffer() 253 struct hdpvr_device *dev = container_of(work, struct hdpvr_device, in hdpvr_transmit_buffers() local 278 static int hdpvr_start_streaming(struct hdpvr_device *dev) in hdpvr_start_streaming() 329 static int hdpvr_stop_streaming(struct hdpvr_device *dev) in hdpvr_stop_streaming() 400 struct hdpvr_device *dev = video_drvdata(file); in hdpvr_release() local [all …]
|
/linux-4.4.14/drivers/pcmcia/ |
D | socket_sysfs.c | 36 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type() 49 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage() 63 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp() 73 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc() 84 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert() 99 static ssize_t pccard_show_card_pm_state(struct device *dev, in pccard_show_card_pm_state() 107 static ssize_t pccard_store_card_pm_state(struct device *dev, in pccard_store_card_pm_state() 130 static ssize_t pccard_store_eject(struct device *dev, in pccard_store_eject() 146 static ssize_t pccard_show_irq_mask(struct device *dev, in pccard_show_irq_mask() 154 static ssize_t pccard_store_irq_mask(struct device *dev, in pccard_store_irq_mask() [all …]
|
/linux-4.4.14/drivers/ata/ |
D | libata-zpodd.c | 22 struct ata_device *dev; member 34 static int eject_tray(struct ata_device *dev) in eject_tray() 52 static enum odd_mech_type zpodd_get_mech_type(struct ata_device *dev) in zpodd_get_mech_type() 89 static bool zpready(struct ata_device *dev) in zpready() 131 void zpodd_on_suspend(struct ata_device *dev) in zpodd_on_suspend() 156 bool zpodd_zpready(struct ata_device *dev) in zpodd_zpready() 170 void zpodd_enable_run_wake(struct ata_device *dev) in zpodd_enable_run_wake() 182 void zpodd_disable_run_wake(struct ata_device *dev) in zpodd_disable_run_wake() 207 void zpodd_post_poweron(struct ata_device *dev) in zpodd_post_poweron() 232 struct device *dev = &ata_dev->sdev->sdev_gendev; in zpodd_wake_dev() local [all …]
|
D | libata.h | 35 struct ata_device *dev; member 127 static inline int ata_acpi_on_devcfg(struct ata_device *dev) { return 0; } in ata_acpi_on_devcfg() 128 static inline void ata_acpi_on_disable(struct ata_device *dev) { } in ata_acpi_on_disable() 132 static inline void ata_acpi_bind_dev(struct ata_device *dev) {} in ata_acpi_bind_dev() 211 static inline int sata_pmp_attach(struct ata_device *dev) in sata_pmp_attach() 238 static inline bool zpodd_dev_enabled(struct ata_device *dev) in zpodd_dev_enabled() 248 static inline void zpodd_init(struct ata_device *dev) {} in zpodd_init() 249 static inline void zpodd_exit(struct ata_device *dev) {} in zpodd_exit() 250 static inline bool zpodd_dev_enabled(struct ata_device *dev) { return false; } in zpodd_dev_enabled() 251 static inline void zpodd_on_suspend(struct ata_device *dev) {} in zpodd_on_suspend() [all …]
|
/linux-4.4.14/drivers/net/arcnet/ |
D | com90io.c | 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() 111 static void put_whole_buffer(struct net_device *dev, unsigned offset, in put_whole_buffer() 130 static int __init com90io_probe(struct net_device *dev) in com90io_probe() 221 static int __init com90io_found(struct net_device *dev) in com90io_found() 279 static int com90io_reset(struct net_device *dev, int really_reset) in com90io_reset() 311 static void com90io_command(struct net_device *dev, int cmd) in com90io_command() 318 static int com90io_status(struct net_device *dev) in com90io_status() 325 static void com90io_setmask(struct net_device *dev, int mask) in com90io_setmask() [all …]
|
/linux-4.4.14/drivers/staging/comedi/ |
D | comedi_fops.c | 72 struct comedi_device *dev; member 114 static void comedi_device_init(struct comedi_device *dev) in comedi_device_init() 125 struct comedi_device *dev = in comedi_dev_kref_release() local 145 int comedi_dev_put(struct comedi_device *dev) in comedi_dev_put() 153 static struct comedi_device *comedi_dev_get(struct comedi_device *dev) in comedi_dev_get() 160 static void comedi_device_cleanup(struct comedi_device *dev) in comedi_device_cleanup() 175 static bool comedi_clear_board_dev(struct comedi_device *dev) in comedi_clear_board_dev() 191 struct comedi_device *dev; in comedi_clear_board_minor() local 200 static void comedi_free_board_dev(struct comedi_device *dev) in comedi_free_board_dev() 213 *comedi_subdevice_from_minor(const struct comedi_device *dev, unsigned minor) in comedi_subdevice_from_minor() [all …]
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core_sys.c | 18 static ssize_t qeth_dev_state_show(struct device *dev, in qeth_dev_state_show() 46 static ssize_t qeth_dev_chpid_show(struct device *dev, in qeth_dev_chpid_show() 58 static ssize_t qeth_dev_if_name_show(struct device *dev, in qeth_dev_if_name_show() 69 static ssize_t qeth_dev_card_type_show(struct device *dev, in qeth_dev_card_type_show() 95 static ssize_t qeth_dev_inbuf_size_show(struct device *dev, in qeth_dev_inbuf_size_show() 107 static ssize_t qeth_dev_portno_show(struct device *dev, in qeth_dev_portno_show() 117 static ssize_t qeth_dev_portno_store(struct device *dev, in qeth_dev_portno_store() 153 static ssize_t qeth_dev_portname_show(struct device *dev, in qeth_dev_portname_show() 159 static ssize_t qeth_dev_portname_store(struct device *dev, in qeth_dev_portname_store() 172 static ssize_t qeth_dev_prioqing_show(struct device *dev, in qeth_dev_prioqing_show() [all …]
|
/linux-4.4.14/arch/tile/include/asm/ |
D | dma-mapping.h | 32 static inline struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops() 40 static inline dma_addr_t get_dma_offset(struct device *dev) in get_dma_offset() 45 static inline void set_dma_offset(struct device *dev, dma_addr_t off) in set_dma_offset() 50 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 55 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() 62 static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops) in set_dma_ops() 67 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable() 80 dma_set_mask(struct device *dev, u64 mask) in dma_set_mask() 112 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
|