Home
last modified time | relevance | path

Searched defs:edev (Results 1 – 25 of 84) sorted by relevance

1234

/drivers/net/ethernet/qlogic/qede/
Dqede_rdma.c48 static void _qede_rdma_dev_add(struct qede_dev *edev) in _qede_rdma_dev_add()
59 static int qede_rdma_create_wq(struct qede_dev *edev) in qede_rdma_create_wq()
71 static void qede_rdma_cleanup_event(struct qede_dev *edev) in qede_rdma_cleanup_event()
86 static void qede_rdma_destroy_wq(struct qede_dev *edev) in qede_rdma_destroy_wq()
92 int qede_rdma_dev_add(struct qede_dev *edev, bool recovery) in qede_rdma_dev_add()
116 static void _qede_rdma_dev_remove(struct qede_dev *edev) in _qede_rdma_dev_remove()
122 void qede_rdma_dev_remove(struct qede_dev *edev, bool recovery) in qede_rdma_dev_remove()
146 static void _qede_rdma_dev_open(struct qede_dev *edev) in _qede_rdma_dev_open()
152 static void qede_rdma_dev_open(struct qede_dev *edev) in qede_rdma_dev_open()
162 static void _qede_rdma_dev_close(struct qede_dev *edev) in _qede_rdma_dev_close()
[all …]
Dqede_dcbnl.c14 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate() local
21 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate() local
36 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx() local
45 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx() local
54 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgrx() local
63 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgrx() local
71 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpfccfg() local
79 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setpfccfg() local
86 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getcap() local
93 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getnumtcs() local
[all …]
Dqede_main.c146 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_vlan() local
164 struct qede_dev *edev = netdev_priv(ndev); in qede_set_vf_mac() local
180 struct qede_dev *edev = netdev_priv(pci_get_drvdata(pdev)); in qede_sriov_configure() local
236 struct qede_dev *edev; in qede_netdev_event() local
322 void qede_fill_by_demand_stats(struct qede_dev *edev) in qede_fill_by_demand_stats()
431 struct qede_dev *edev = netdev_priv(dev); in qede_get_stats64() local
462 struct qede_dev *edev = netdev_priv(dev); in qede_get_vf_config() local
473 struct qede_dev *edev = netdev_priv(dev); in qede_set_vf_rate() local
481 struct qede_dev *edev = netdev_priv(dev); in qede_set_vf_spoofchk() local
492 struct qede_dev *edev = netdev_priv(dev); in qede_set_vf_link_state() local
[all …]
Dqede_filter.c98 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx]) argument
113 static void qede_configure_arfs_fltr(struct qede_dev *edev, in qede_configure_arfs_fltr()
152 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) in qede_free_arfs_filter()
163 qede_enqueue_fltr_and_config_searcher(struct qede_dev *edev, in qede_enqueue_fltr_and_config_searcher()
191 qede_dequeue_fltr_and_config_searcher(struct qede_dev *edev, in qede_dequeue_fltr_and_config_searcher()
214 struct qede_dev *edev = dev; in qede_arfs_filter_op() local
256 void qede_process_arfs_filters(struct qede_dev *edev, bool free_fltr) in qede_process_arfs_filters()
313 void qede_poll_for_freeing_arfs_filters(struct qede_dev *edev) in qede_poll_for_freeing_arfs_filters()
335 int qede_alloc_arfs(struct qede_dev *edev) in qede_alloc_arfs()
370 void qede_free_arfs(struct qede_dev *edev) in qede_free_arfs()
[all …]
Dqede_ethtool.c220 static void qede_get_strings_stats_txq(struct qede_dev *edev, in qede_get_strings_stats_txq()
237 static void qede_get_strings_stats_rxq(struct qede_dev *edev, in qede_get_strings_stats_rxq()
249 static bool qede_is_irrelevant_stat(struct qede_dev *edev, int stat_index) in qede_is_irrelevant_stat()
256 static void qede_get_strings_stats(struct qede_dev *edev, u8 *buf) in qede_get_strings_stats()
291 struct qede_dev *edev = netdev_priv(dev); in qede_get_strings() local
334 struct qede_dev *edev = netdev_priv(dev); in qede_get_ethtool_stats() local
374 struct qede_dev *edev = netdev_priv(dev); in qede_get_sset_count() local
411 struct qede_dev *edev = netdev_priv(dev); in qede_get_priv_flags() local
494 struct qede_dev *edev = netdev_priv(dev); in qede_get_link_ksettings() local
532 struct qede_dev *edev = netdev_priv(dev); in qede_set_link_ksettings() local
[all …]
Dqede_ptp.c43 struct qede_dev *edev; member
66 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfreq() local
85 struct qede_dev *edev; in qede_ptp_adjtime() local
103 struct qede_dev *edev; in qede_ptp_gettime() local
124 struct qede_dev *edev; in qede_ptp_settime() local
148 struct qede_dev *edev; in qede_ptp_ancillary_feature_enable() local
162 struct qede_dev *edev; in qede_ptp_task() local
208 struct qede_dev *edev; in qede_ptp_read_cc() local
224 static int qede_ptp_cfg_filters(struct qede_dev *edev) in qede_ptp_cfg_filters()
314 int qede_ptp_hw_ts(struct qede_dev *edev, struct ifreq *ifr) in qede_ptp_hw_ts()
[all …]
Dqede_fp.c100 int qede_free_tx_pkt(struct qede_dev *edev, struct qede_tx_queue *txq, int *len) in qede_free_tx_pkt()
330 static int qede_xdp_xmit(struct qede_dev *edev, struct qede_fastpath *fp, in qede_xdp_xmit()
388 static void qede_xdp_tx_int(struct qede_dev *edev, struct qede_tx_queue *txq) in qede_xdp_tx_int()
409 static int qede_tx_int(struct qede_dev *edev, struct qede_tx_queue *txq) in qede_tx_int()
565 void qede_update_rx_prod(struct qede_dev *edev, struct qede_rx_queue *rxq) in qede_update_rx_prod()
614 static inline void qede_skb_receive(struct qede_dev *edev, in qede_skb_receive()
625 static void qede_set_gro_params(struct qede_dev *edev, in qede_set_gro_params()
641 static int qede_fill_frag_skb(struct qede_dev *edev, in qede_fill_frag_skb()
733 qede_tpa_rx_build_skb(struct qede_dev *edev, in qede_tpa_rx_build_skb()
764 qede_rx_build_skb(struct qede_dev *edev, in qede_rx_build_skb()
[all …]
Dqede.h203 #define IS_VF(edev) (test_bit(QEDE_FLAGS_IS_VF, &(edev)->flags)) argument
210 #define QEDE_MAX_RSS_CNT(edev) ((edev)->dev_info.num_queues) argument
211 #define QEDE_MAX_TSS_CNT(edev) ((edev)->dev_info.num_queues) argument
212 #define QEDE_IS_BB(edev) \ argument
214 #define QEDE_IS_AH(edev) \ argument
224 #define QEDE_QUEUE_CNT(edev) ((edev)->num_queues) argument
225 #define QEDE_RSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_tx) argument
226 #define QEDE_RX_QUEUE_IDX(edev, i) (i) argument
227 #define QEDE_TSS_COUNT(edev) ((edev)->num_queues - (edev)->fp_num_rx) argument
413 #define QEDE_TXQ_XDP_TO_IDX(edev, txq) ((txq)->index - \ argument
[all …]
/drivers/firmware/
Dedd.c74 edd_has_mbr_signature(struct edd_device *edev) in edd_has_mbr_signature()
80 edd_has_edd_info(struct edd_device *edev) in edd_has_edd_info()
86 edd_dev_get_info(struct edd_device *edev) in edd_dev_get_info()
92 edd_dev_set_info(struct edd_device *edev, int i) in edd_dev_set_info()
121 edd_show_host_bus(struct edd_device *edev, char *buf) in edd_show_host_bus()
167 edd_show_interface(struct edd_device *edev, char *buf) in edd_show_interface()
233 edd_show_raw_data(struct edd_device *edev, char *buf) in edd_show_raw_data()
255 edd_show_version(struct edd_device *edev, char *buf) in edd_show_version()
270 edd_show_mbr_signature(struct edd_device *edev, char *buf) in edd_show_mbr_signature()
278 edd_show_extensions(struct edd_device *edev, char *buf) in edd_show_extensions()
[all …]
/drivers/devfreq/
Ddevfreq-event.c37 int devfreq_event_enable_edev(struct devfreq_event_dev *edev) in devfreq_event_enable_edev()
69 int devfreq_event_disable_edev(struct devfreq_event_dev *edev) in devfreq_event_disable_edev()
106 bool devfreq_event_is_enabled(struct devfreq_event_dev *edev) in devfreq_event_is_enabled()
131 int devfreq_event_set_event(struct devfreq_event_dev *edev) in devfreq_event_set_event()
160 int devfreq_event_get_event(struct devfreq_event_dev *edev, in devfreq_event_get_event()
193 int devfreq_event_reset_event(struct devfreq_event_dev *edev) in devfreq_event_reset_event()
224 struct devfreq_event_dev *edev; in devfreq_event_get_edev_by_phandle() local
288 struct devfreq_event_dev *edev = to_devfreq_event(dev); in devfreq_event_release_edev() local
305 struct devfreq_event_dev *edev; in devfreq_event_add_edev() local
353 int devfreq_event_remove_edev(struct devfreq_event_dev *edev) in devfreq_event_remove_edev()
[all …]
/drivers/infiniband/hw/efa/
Defa_com_cmd.c15 int efa_com_create_qp(struct efa_com_dev *edev, in efa_com_create_qp()
63 int efa_com_modify_qp(struct efa_com_dev *edev, in efa_com_modify_qp()
96 int efa_com_query_qp(struct efa_com_dev *edev, in efa_com_query_qp()
128 int efa_com_destroy_qp(struct efa_com_dev *edev, in efa_com_destroy_qp()
154 int efa_com_create_cq(struct efa_com_dev *edev, in efa_com_create_cq()
191 int efa_com_destroy_cq(struct efa_com_dev *edev, in efa_com_destroy_cq()
218 int efa_com_register_mr(struct efa_com_dev *edev, in efa_com_register_mr()
270 int efa_com_dereg_mr(struct efa_com_dev *edev, in efa_com_dereg_mr()
296 int efa_com_create_ah(struct efa_com_dev *edev, in efa_com_create_ah()
327 int efa_com_destroy_ah(struct efa_com_dev *edev, in efa_com_destroy_ah()
[all …]
Defa_com.c82 static u32 efa_com_reg_read32(struct efa_com_dev *edev, u16 offset) in efa_com_reg_read32()
135 static int efa_com_admin_init_sq(struct efa_com_dev *edev) in efa_com_admin_init_sq()
173 static int efa_com_admin_init_cq(struct efa_com_dev *edev) in efa_com_admin_init_cq()
211 static int efa_com_admin_init_aenq(struct efa_com_dev *edev, in efa_com_admin_init_aenq()
673 void efa_com_admin_destroy(struct efa_com_dev *edev) in efa_com_admin_destroy()
703 void efa_com_set_admin_polling_mode(struct efa_com_dev *edev, bool polling) in efa_com_set_admin_polling_mode()
717 static void efa_com_stats_init(struct efa_com_dev *edev) in efa_com_stats_init()
736 int efa_com_admin_init(struct efa_com_dev *edev, in efa_com_admin_init()
816 void efa_com_admin_q_comp_intr_handler(struct efa_com_dev *edev) in efa_com_admin_q_comp_intr_handler()
829 static efa_aenq_handler efa_com_get_specific_aenq_cb(struct efa_com_dev *edev, in efa_com_get_specific_aenq_cb()
[all …]
/drivers/extcon/
Dextcon.c201 struct extcon_dev *edev; member
226 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) in check_mutually_exclusive()
246 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
275 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached()
280 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed()
300 static int is_extcon_property_capability(struct extcon_dev *edev, in is_extcon_property_capability()
333 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
352 struct extcon_dev *edev = dev_get_drvdata(dev); in state_show() local
370 struct extcon_dev *edev = dev_get_drvdata(dev); in name_show() local
408 int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
[all …]
Ddevres.c33 struct extcon_dev *edev; member
68 struct extcon_dev **ptr, *edev; in devm_extcon_dev_allocate() local
97 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_free()
118 int devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_register()
148 void devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) in devm_extcon_dev_unregister()
172 int devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, in devm_extcon_register_notifier()
207 struct extcon_dev *edev, unsigned int id, in devm_extcon_unregister_notifier()
228 int devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, in devm_extcon_register_notifier_all()
261 struct extcon_dev *edev, in devm_extcon_unregister_notifier_all()
Dextcon-palmas.c44 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler() local
77 struct extcon_dev *edev = palmas_usb->edev; in palmas_id_irq_handler() local
121 struct extcon_dev *edev = palmas_usb->edev; in palmas_gpio_id_detect() local
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c27 static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, in bnxt_register_dev()
64 static int bnxt_unregister_dev(struct bnxt_en_dev *edev, int ulp_id) in bnxt_unregister_dev()
99 struct bnxt_en_dev *edev = bp->edev; in bnxt_fill_msix_vecs() local
111 static int bnxt_req_msix_vecs(struct bnxt_en_dev *edev, int ulp_id, in bnxt_req_msix_vecs()
175 static int bnxt_free_msix_vecs(struct bnxt_en_dev *edev, int ulp_id) in bnxt_free_msix_vecs()
199 struct bnxt_en_dev *edev = bp->edev; in bnxt_get_ulp_msix_num() local
209 struct bnxt_en_dev *edev = bp->edev; in bnxt_get_ulp_msix_base() local
225 static int bnxt_send_msg(struct bnxt_en_dev *edev, int ulp_id, in bnxt_send_msg()
266 struct bnxt_en_dev *edev = bp->edev; in bnxt_ulp_stop() local
285 struct bnxt_en_dev *edev = bp->edev; in bnxt_ulp_start() local
[all …]
/drivers/misc/
Denclosure.c46 struct enclosure_device *edev; in enclosure_find() local
88 struct enclosure_device *edev; in enclosure_for_each_device() local
116 struct enclosure_device *edev = in enclosure_register() local
161 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister()
224 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release() local
242 enclosure_component_find_by_name(struct enclosure_device *edev, in enclosure_component_find_by_name()
279 enclosure_component_alloc(struct enclosure_device *edev, in enclosure_component_alloc()
361 int enclosure_add_device(struct enclosure_device *edev, int component, in enclosure_add_device()
397 int enclosure_remove_device(struct enclosure_device *edev, struct device *dev) in enclosure_remove_device()
425 struct enclosure_device *edev = to_enclosure_device(cdev); in components_show() local
[all …]
/drivers/eisa/
Deisa-bus.c44 struct eisa_device *edev) in is_forced_dev()
57 static void __init eisa_name_device(struct eisa_device *edev) in eisa_name_device()
110 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_match() local
132 struct eisa_device *edev = to_eisa_device(dev); in eisa_bus_uevent() local
161 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_sig() local
171 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_state() local
181 struct eisa_device *edev = to_eisa_device(dev); in eisa_show_modalias() local
188 struct eisa_device *edev, in eisa_init_device()
231 static int __init eisa_register_device(struct eisa_device *edev) in eisa_register_device()
261 struct eisa_device *edev, in eisa_request_resources()
[all …]
/drivers/scsi/
Dses.c38 static bool ses_page2_supported(struct enclosure_device *edev) in ses_page2_supported()
133 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor()
164 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor()
193 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault()
207 static int ses_set_fault(struct enclosure_device *edev, in ses_set_fault()
239 static void ses_get_status(struct enclosure_device *edev, in ses_get_status()
253 static void ses_get_locate(struct enclosure_device *edev, in ses_get_locate()
267 static int ses_set_locate(struct enclosure_device *edev, in ses_set_locate()
298 static int ses_set_active(struct enclosure_device *edev, in ses_set_active()
331 static int ses_show_id(struct enclosure_device *edev, char *buf) in ses_show_id()
[all …]
/drivers/misc/eeprom/
Deeprom_93xx46.c48 static inline bool has_quirk_single_word_read(struct eeprom_93xx46_dev *edev) in has_quirk_single_word_read()
53 static inline bool has_quirk_instruction_length(struct eeprom_93xx46_dev *edev) in has_quirk_instruction_length()
61 struct eeprom_93xx46_dev *edev = priv; in eeprom_93xx46_read() local
134 static int eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on) in eeprom_93xx46_ew()
186 eeprom_93xx46_write_word(struct eeprom_93xx46_dev *edev, in eeprom_93xx46_write_word()
230 struct eeprom_93xx46_dev *edev = priv; in eeprom_93xx46_write() local
276 static int eeprom_93xx46_eral(struct eeprom_93xx46_dev *edev) in eeprom_93xx46_eral()
330 struct eeprom_93xx46_dev *edev = dev_get_drvdata(dev); in eeprom_93xx46_store_erase() local
351 struct eeprom_93xx46_dev *edev = context; in select_assert() local
358 struct eeprom_93xx46_dev *edev = context; in select_deassert() local
[all …]
/drivers/watchdog/
Di6300esb.c110 static inline void esb_unlock_registers(struct esb_dev *edev) in esb_unlock_registers()
118 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_start() local
132 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_stop() local
148 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_keepalive() local
159 struct esb_dev *edev = to_esb_dev(wdd); in esb_timer_set_heartbeat() local
217 static unsigned char esb_getdevice(struct esb_dev *edev) in esb_getdevice()
248 static void esb_initdevice(struct esb_dev *edev) in esb_initdevice()
292 struct esb_dev *edev; in esb_probe() local
334 struct esb_dev *edev = dev_get_drvdata(&pdev->dev); in esb_remove() local
/drivers/devfreq/event/
Drockchip-dfi.c51 struct devfreq_event_dev *edev; member
60 static void rockchip_dfi_start_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_start_hardware_counter()
85 static void rockchip_dfi_stop_hardware_counter(struct devfreq_event_dev *edev) in rockchip_dfi_stop_hardware_counter()
93 static int rockchip_dfi_get_busier_ch(struct devfreq_event_dev *edev) in rockchip_dfi_get_busier_ch()
119 static int rockchip_dfi_disable(struct devfreq_event_dev *edev) in rockchip_dfi_disable()
129 static int rockchip_dfi_enable(struct devfreq_event_dev *edev) in rockchip_dfi_enable()
144 static int rockchip_dfi_set_event(struct devfreq_event_dev *edev) in rockchip_dfi_set_event()
149 static int rockchip_dfi_get_event(struct devfreq_event_dev *edev, in rockchip_dfi_get_event()
Dexynos-ppmu.c34 struct devfreq_event_dev **edev; member
104 static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev) in exynos_ppmu_find_ppmu_id()
118 static int exynos_ppmu_disable(struct devfreq_event_dev *edev) in exynos_ppmu_disable()
147 static int exynos_ppmu_set_event(struct devfreq_event_dev *edev) in exynos_ppmu_set_event()
191 static int exynos_ppmu_get_event(struct devfreq_event_dev *edev, in exynos_ppmu_get_event()
270 static int exynos_ppmu_v2_disable(struct devfreq_event_dev *edev) in exynos_ppmu_v2_disable()
364 static int exynos_ppmu_v2_set_event(struct devfreq_event_dev *edev) in exynos_ppmu_v2_set_event()
409 static int exynos_ppmu_v2_get_event(struct devfreq_event_dev *edev, in exynos_ppmu_v2_get_event()
559 struct devfreq_event_dev edev; in of_get_devfreq_events() local
646 struct devfreq_event_dev **edev; in exynos_ppmu_probe() local
Dexynos-nocp.c20 struct devfreq_event_dev *edev; member
32 static int exynos_nocp_set_event(struct devfreq_event_dev *edev) in exynos_nocp_set_event()
143 static int exynos_nocp_get_event(struct devfreq_event_dev *edev, in exynos_nocp_get_event()
/drivers/input/keyboard/
Dgoldfish_events.c38 struct event_dev *edev = dev_id; in events_interrupt() local
50 static void events_import_bits(struct event_dev *edev, in events_import_bits()
73 static void events_import_abs_params(struct event_dev *edev) in events_import_abs_params()
105 struct event_dev *edev; in events_probe() local

1234