Searched refs:edev (Results 1 - 25 of 140) sorted by relevance

123456

/linux-master/drivers/devfreq/
H A Ddevfreq-event.c31 * @edev : the devfreq-event device
37 int devfreq_event_enable_edev(struct devfreq_event_dev *edev) argument
41 if (!edev || !edev->desc)
44 mutex_lock(&edev->lock);
45 if (edev->desc->ops && edev->desc->ops->enable
46 && edev->enable_count == 0) {
47 ret = edev->desc->ops->enable(edev);
69 devfreq_event_disable_edev(struct devfreq_event_dev *edev) argument
106 devfreq_event_is_enabled(struct devfreq_event_dev *edev) argument
131 devfreq_event_set_event(struct devfreq_event_dev *edev) argument
160 devfreq_event_get_event(struct devfreq_event_dev *edev, struct devfreq_event_data *edata) argument
193 devfreq_event_reset_event(struct devfreq_event_dev *edev) argument
225 struct devfreq_event_dev *edev; local
290 struct devfreq_event_dev *edev = to_devfreq_event(dev); local
307 struct devfreq_event_dev *edev; local
355 devfreq_event_remove_edev(struct devfreq_event_dev *edev) argument
400 struct devfreq_event_dev **ptr, *edev; local
428 devm_devfreq_event_remove_edev(struct device *dev, struct devfreq_event_dev *edev) argument
442 struct devfreq_event_dev *edev = to_devfreq_event(dev); local
454 struct devfreq_event_dev *edev = to_devfreq_event(dev); local
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_rdma.c23 static void _qede_rdma_dev_add(struct qede_dev *edev) argument
29 edev->rdma_info.exp_recovery = false;
30 edev->rdma_info.qedr_dev = qedr_drv->add(edev->cdev, edev->pdev,
31 edev->ndev);
34 static int qede_rdma_create_wq(struct qede_dev *edev) argument
36 INIT_LIST_HEAD(&edev->rdma_info.rdma_event_list);
37 kref_init(&edev->rdma_info.refcnt);
38 init_completion(&edev
49 qede_rdma_cleanup_event(struct qede_dev *edev) argument
73 qede_rdma_destroy_wq(struct qede_dev *edev) argument
86 qede_rdma_dev_add(struct qede_dev *edev, bool recovery) argument
110 _qede_rdma_dev_remove(struct qede_dev *edev) argument
116 qede_rdma_dev_remove(struct qede_dev *edev, bool recovery) argument
140 _qede_rdma_dev_open(struct qede_dev *edev) argument
146 qede_rdma_dev_open(struct qede_dev *edev) argument
156 _qede_rdma_dev_close(struct qede_dev *edev) argument
162 qede_rdma_dev_close(struct qede_dev *edev) argument
172 qede_rdma_dev_shutdown(struct qede_dev *edev) argument
185 struct qede_dev *edev; local
215 struct qede_dev *edev; local
228 qede_rdma_changeaddr(struct qede_dev *edev) argument
237 qede_rdma_change_mtu(struct qede_dev *edev) argument
247 qede_rdma_get_free_event_node(struct qede_dev *edev) argument
278 struct qede_dev *edev; local
305 qede_rdma_add_event(struct qede_dev *edev, enum qede_rdma_event event) argument
337 qede_rdma_dev_event_open(struct qede_dev *edev) argument
342 qede_rdma_dev_event_close(struct qede_dev *edev) argument
347 qede_rdma_event_changeaddr(struct qede_dev *edev) argument
352 qede_rdma_event_change_mtu(struct qede_dev *edev) argument
[all...]
H A Dqede_main.c110 static void qede_recovery_handler(struct qede_dev *edev);
113 static void qede_get_eth_tlv_data(void *edev, void *data);
114 static void qede_get_generic_tlv_data(void *edev,
116 static void qede_generic_hw_err_handler(struct qede_dev *edev);
121 struct qede_dev *edev = netdev_priv(ndev); local
124 DP_NOTICE(edev, "Illegal vlan value %d\n", vlan);
131 DP_VERBOSE(edev, QED_MSG_IOV, "Setting Vlan 0x%04x to VF [%d]\n",
134 return edev->ops->iov->set_vlan(edev->cdev, vlan, vf);
139 struct qede_dev *edev local
153 struct qede_dev *edev = netdev_priv(pci_get_drvdata(pdev)); local
225 struct qede_dev *edev; local
313 qede_fill_by_demand_stats(struct qede_dev *edev) argument
426 struct qede_dev *edev = netdev_priv(dev); local
460 struct qede_dev *edev = netdev_priv(dev); local
471 struct qede_dev *edev = netdev_priv(dev); local
479 struct qede_dev *edev = netdev_priv(dev); local
490 struct qede_dev *edev = netdev_priv(dev); local
500 struct qede_dev *edev = netdev_priv(dev); local
511 struct qede_dev *edev = netdev_priv(dev); local
528 qede_fp_sb_dump(struct qede_dev *edev, struct qede_fastpath *fp) argument
543 qede_txq_fp_log_metadata(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq) argument
562 qede_tx_log_print(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq) argument
592 struct qede_dev *edev = netdev_priv(dev); local
636 struct qede_dev *edev = netdev_priv(ndev); local
655 qede_set_flower(struct qede_dev *edev, struct flow_cls_offload *f, __be16 proto) argument
672 struct qede_dev *edev = cb_priv; local
692 struct qede_dev *edev = netdev_priv(dev); local
794 struct qede_dev *edev; local
839 qede_init_ndev(struct qede_dev *edev) argument
950 qede_free_fp_array(struct qede_dev *edev) argument
978 qede_alloc_fp_array(struct qede_dev *edev) argument
1058 __qede_lock(struct qede_dev *edev) argument
1063 __qede_unlock(struct qede_dev *edev) argument
1071 qede_lock(struct qede_dev *edev) argument
1077 qede_unlock(struct qede_dev *edev) argument
1085 struct qede_dev *edev = container_of(work, struct qede_dev, local
1092 qede_init_periodic_task(struct qede_dev *edev) argument
1102 struct qede_dev *edev = container_of(work, struct qede_dev, local
1184 qede_log_probe(struct qede_dev *edev) argument
1230 struct qede_dev *edev; local
1388 struct qede_dev *edev; local
1458 qede_set_num_queues(struct qede_dev *edev) argument
1487 qede_free_mem_sb(struct qede_dev *edev, struct qed_sb_info *sb_info, u16 sb_id) argument
1500 qede_alloc_mem_sb(struct qede_dev *edev, struct qed_sb_info *sb_info, u16 sb_id) argument
1527 qede_free_rx_buffers(struct qede_dev *edev, struct qede_rx_queue *rxq) argument
1547 qede_free_mem_rxq(struct qede_dev *edev, struct qede_rx_queue *rxq) argument
1572 qede_alloc_mem_rxq(struct qede_dev *edev, struct qede_rx_queue *rxq) argument
1649 qede_free_mem_txq(struct qede_dev *edev, struct qede_tx_queue *txq) argument
1662 qede_alloc_mem_txq(struct qede_dev *edev, struct qede_tx_queue *txq) argument
1700 qede_free_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp) argument
1721 qede_alloc_mem_fp(struct qede_dev *edev, struct qede_fastpath *fp) argument
1755 qede_free_mem_load(struct qede_dev *edev) argument
1767 qede_alloc_mem_load(struct qede_dev *edev) argument
1787 qede_empty_tx_queue(struct qede_dev *edev, struct qede_tx_queue *txq) argument
1821 qede_empty_tx_queues(struct qede_dev *edev) argument
1840 qede_init_fp(struct qede_dev *edev) argument
1913 qede_set_real_num_queues(struct qede_dev *edev) argument
1934 qede_napi_disable_remove(struct qede_dev *edev) argument
1945 qede_napi_add_enable(struct qede_dev *edev) argument
1956 qede_sync_free_irqs(struct qede_dev *edev) argument
1973 qede_req_msix_irqs(struct qede_dev *edev) argument
2029 qede_setup_irqs(struct qede_dev *edev) argument
2057 qede_drain_txq(struct qede_dev *edev, struct qede_tx_queue *txq, bool allow_drain) argument
2090 qede_stop_txq(struct qede_dev *edev, struct qede_tx_queue *txq, int rss_id) argument
2100 qede_stop_queues(struct qede_dev *edev) argument
2188 qede_start_txq(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq, u8 rss_id, u16 sb_idx) argument
2241 qede_start_queues(struct qede_dev *edev, bool clear_stats) argument
2371 qede_unload(struct qede_dev *edev, enum qede_unload_mode mode, bool is_locked) argument
2455 qede_load(struct qede_dev *edev, enum qede_load_mode mode, bool is_locked) argument
2559 qede_reload(struct qede_dev *edev, struct qede_reload_args *args, bool is_locked) argument
2588 struct qede_dev *edev = netdev_priv(ndev); local
2608 struct qede_dev *edev = netdev_priv(ndev); local
2620 struct qede_dev *edev = dev; local
2646 struct qede_dev *edev = dev; local
2660 qede_recovery_failed(struct qede_dev *edev) argument
2670 qede_recovery_handler(struct qede_dev *edev) argument
2715 qede_atomic_hw_err_handler(struct qede_dev *edev) argument
2733 qede_generic_hw_err_handler(struct qede_dev *edev) argument
2749 qede_set_hw_err_flags(struct qede_dev *edev, enum qed_hw_err_type err_type) argument
2779 struct qede_dev *edev = dev; local
2807 qede_is_txq_full(struct qede_dev *edev, struct qede_tx_queue *txq) argument
2820 struct qede_dev *edev = dev; local
2847 struct qede_dev *edev = dev; local
2920 struct qede_dev *edev = netdev_priv(dev); local
[all...]
H A Dqede_dcbnl.c15 struct qede_dev *edev = netdev_priv(netdev); local
17 return edev->ops->dcb->getstate(edev->cdev);
22 struct qede_dev *edev = netdev_priv(netdev); local
24 return edev->ops->dcb->setstate(edev->cdev, state);
37 struct qede_dev *edev = netdev_priv(netdev); local
39 edev->ops->dcb->getpgtccfgtx(edev->cdev, prio, prio_type,
46 struct qede_dev *edev local
55 struct qede_dev *edev = netdev_priv(netdev); local
64 struct qede_dev *edev = netdev_priv(netdev); local
72 struct qede_dev *edev = netdev_priv(netdev); local
80 struct qede_dev *edev = netdev_priv(netdev); local
87 struct qede_dev *edev = netdev_priv(netdev); local
94 struct qede_dev *edev = netdev_priv(netdev); local
101 struct qede_dev *edev = netdev_priv(netdev); local
108 struct qede_dev *edev = netdev_priv(netdev); local
115 struct qede_dev *edev = netdev_priv(netdev); local
123 struct qede_dev *edev = netdev_priv(netdev); local
132 struct qede_dev *edev = netdev_priv(netdev); local
141 struct qede_dev *edev = netdev_priv(netdev); local
149 struct qede_dev *edev = netdev_priv(netdev); local
156 struct qede_dev *edev = netdev_priv(netdev); local
163 struct qede_dev *edev = netdev_priv(netdev); local
170 struct qede_dev *edev = netdev_priv(netdev); local
178 struct qede_dev *edev = netdev_priv(netdev); local
185 struct qede_dev *edev = netdev_priv(netdev); local
193 struct qede_dev *edev = netdev_priv(netdev); local
200 struct qede_dev *edev = netdev_priv(netdev); local
209 struct qede_dev *edev = netdev_priv(netdev); local
217 struct qede_dev *edev = netdev_priv(netdev); local
225 struct qede_dev *edev = netdev_priv(netdev); local
233 struct qede_dev *edev = netdev_priv(netdev); local
241 struct qede_dev *edev = netdev_priv(netdev); local
249 struct qede_dev *edev = netdev_priv(netdev); local
257 struct qede_dev *edev = netdev_priv(netdev); local
265 struct qede_dev *edev = netdev_priv(netdev); local
273 struct qede_dev *edev = netdev_priv(netdev); local
281 struct qede_dev *edev = netdev_priv(netdev); local
294 struct qede_dev *edev = netdev_priv(netdev); local
302 struct qede_dev *edev = netdev_priv(netdev); local
[all...]
H A Dqede_ptp.h15 void qede_ptp_rx_ts(struct qede_dev *edev, struct sk_buff *skb);
16 void qede_ptp_tx_ts(struct qede_dev *edev, struct sk_buff *skb);
17 int qede_ptp_hw_ts(struct qede_dev *edev, struct ifreq *req);
18 void qede_ptp_disable(struct qede_dev *edev);
19 int qede_ptp_enable(struct qede_dev *edev);
20 int qede_ptp_get_ts_info(struct qede_dev *edev, struct ethtool_ts_info *ts);
22 static inline void qede_ptp_record_rx_ts(struct qede_dev *edev, argument
31 qede_ptp_rx_ts(edev, skb);
33 DP_INFO(edev,
H A Dqede_filter.c73 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx])
88 static void qede_configure_arfs_fltr(struct qede_dev *edev, argument
92 const struct qed_eth_ops *op = edev->ops;
115 DP_VERBOSE(edev, NETIF_MSG_RX_STATUS,
123 op->ntuple_filter_config(edev->cdev, n, &params);
127 qede_free_arfs_filter(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) argument
132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap);
138 qede_enqueue_fltr_and_config_searcher(struct qede_dev *edev, argument
142 fltr->mapping = dma_map_single(&edev
166 qede_dequeue_fltr_and_config_searcher(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) argument
189 struct qede_dev *edev = dev; local
231 qede_process_arfs_filters(struct qede_dev *edev, bool free_fltr) argument
288 qede_poll_for_freeing_arfs_filters(struct qede_dev *edev) argument
310 qede_alloc_arfs(struct qede_dev *edev) argument
348 qede_free_arfs(struct qede_dev *edev) argument
405 qede_alloc_filter(struct qede_dev *edev, int min_hlen) argument
434 struct qede_dev *edev = netdev_priv(dev); local
540 struct qede_dev *edev = dev; local
551 struct qede_dev *edev = dev; local
564 qede_fill_rss_params(struct qede_dev *edev, struct qed_update_vport_rss_params *rss, u8 *update) argument
618 qede_set_ucast_rx_mac(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, const unsigned char mac[ETH_ALEN]) argument
632 qede_set_ucast_rx_vlan(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, u16 vid) argument
646 qede_config_accept_any_vlan(struct qede_dev *edev, bool action) argument
679 struct qede_dev *edev = netdev_priv(dev); local
756 qede_del_vlan_from_list(struct qede_dev *edev, struct qede_vlan *vlan) argument
771 qede_configure_vlan_filters(struct qede_dev *edev) argument
831 struct qede_dev *edev = netdev_priv(dev); local
881 qede_vlan_mark_nonconfigured(struct qede_dev *edev) argument
907 qede_set_features_reload(struct qede_dev *edev, struct qede_reload_args *args) argument
916 struct qede_dev *edev = netdev_priv(dev); local
927 struct qede_dev *edev = netdev_priv(dev); local
959 struct qede_dev *edev = netdev_priv(dev); local
1009 qede_set_udp_tunnels(struct qede_dev *edev) argument
1020 qede_xdp_reload_func(struct qede_dev *edev, struct qede_reload_args *args) argument
1030 qede_xdp_set(struct qede_dev *edev, struct bpf_prog *prog) argument
1044 struct qede_dev *edev = netdev_priv(dev); local
1054 qede_set_mcast_rx_mac(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, unsigned char *mac, int num_macs) argument
1073 struct qede_dev *edev = netdev_priv(ndev); local
1130 struct qede_dev *edev = netdev_priv(ndev); local
1183 struct qede_dev *edev = netdev_priv(ndev); local
1193 struct qede_dev *edev = netdev_priv(ndev); local
1283 qede_get_cls_rule_all(struct qede_dev *edev, struct ethtool_rxnfc *info, u32 *rule_locs) argument
1318 qede_get_cls_rule_entry(struct qede_dev *edev, struct ethtool_rxnfc *cmd) argument
1380 qede_poll_arfs_filter_config(struct qede_dev *edev, struct qede_arfs_fltr_node *fltr) argument
1500 qede_flow_spec_validate_unused(struct qede_dev *edev, struct ethtool_rx_flow_spec *fs) argument
1523 qede_set_v4_tuple_to_profile(struct qede_dev *edev, struct qede_arfs_tuple *t) argument
1552 qede_set_v6_tuple_to_profile(struct qede_dev *edev, struct qede_arfs_tuple *t, struct in6_addr *zaddr) argument
1588 qede_flow_find_fltr(struct qede_dev *edev, struct qede_arfs_tuple *t) argument
1607 qede_flow_set_destination(struct qede_dev *edev, struct qede_arfs_fltr_node *n, struct ethtool_rx_flow_spec *fs) argument
1625 qede_delete_flow_filter(struct qede_dev *edev, u64 cookie) argument
1650 qede_get_arfs_filter_count(struct qede_dev *edev) argument
1666 qede_parse_actions(struct qede_dev *edev, struct flow_action *flow_action, struct netlink_ext_ack *extack) argument
1703 qede_flow_parse_ports(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *t) argument
1724 qede_flow_parse_v6_common(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *t) argument
1756 qede_flow_parse_v4_common(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *t) argument
1780 qede_flow_parse_tcp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) argument
1790 qede_flow_parse_tcp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) argument
1800 qede_flow_parse_udp_v6(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) argument
1810 qede_flow_parse_udp_v4(struct qede_dev *edev, struct flow_rule *rule, struct qede_arfs_tuple *tuple) argument
1820 qede_parse_flow_attr(struct qede_dev *edev, __be16 proto, struct flow_rule *rule, struct qede_arfs_tuple *tuple) argument
1867 qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto, struct flow_cls_offload *f) argument
1938 qede_flow_spec_validate(struct qede_dev *edev, struct flow_action *flow_action, struct qede_arfs_tuple *t, __u32 location) argument
1969 qede_flow_spec_to_rule(struct qede_dev *edev, struct qede_arfs_tuple *t, struct ethtool_rx_flow_spec *fs) argument
2015 qede_add_cls_rule(struct qede_dev *edev, struct ethtool_rxnfc *info) argument
[all...]
H A Dqede_ptp.c18 struct qede_dev *edev; member in struct:qede_ptp
44 struct qede_dev *edev = ptp->edev; local
47 __qede_lock(edev);
48 if (edev->state == QEDE_STATE_OPEN) {
50 rc = ptp->ops->adjfreq(edev->cdev, ppb);
53 DP_ERR(edev, "PTP adjfine called while interface is down\n");
56 __qede_unlock(edev);
63 struct qede_dev *edev; local
67 edev
81 struct qede_dev *edev; local
102 struct qede_dev *edev; local
126 struct qede_dev *edev; local
140 struct qede_dev *edev; local
186 struct qede_dev *edev; local
202 qede_ptp_cfg_filters(struct qede_dev *edev) argument
293 qede_ptp_hw_ts(struct qede_dev *edev, struct ifreq *ifr) argument
324 qede_ptp_get_ts_info(struct qede_dev *edev, struct ethtool_ts_info *info) argument
368 qede_ptp_disable(struct qede_dev *edev) argument
400 qede_ptp_init(struct qede_dev *edev) argument
433 qede_ptp_enable(struct qede_dev *edev) argument
492 qede_ptp_tx_ts(struct qede_dev *edev, struct sk_buff *skb) argument
526 qede_ptp_rx_ts(struct qede_dev *edev, struct sk_buff *skb) argument
[all...]
H A Dqede_ethtool.c270 static void qede_get_strings_stats_txq(struct qede_dev *edev, argument
278 QEDE_TXQ_XDP_TO_IDX(edev, txq),
287 static void qede_get_strings_stats_rxq(struct qede_dev *edev, argument
299 static bool qede_is_irrelevant_stat(struct qede_dev *edev, int stat_index) argument
301 return (IS_VF(edev) && QEDE_STAT_IS_PF_ONLY(stat_index)) ||
302 (QEDE_IS_BB(edev) && QEDE_STAT_IS_AH_ONLY(stat_index)) ||
303 (QEDE_IS_AH(edev) && QEDE_STAT_IS_BB_ONLY(stat_index));
306 static void qede_get_strings_stats(struct qede_dev *edev, u8 *buf) argument
312 for (i = 0; i < QEDE_QUEUE_CNT(edev); i++) {
313 fp = &edev
341 struct qede_dev *edev = netdev_priv(dev); local
384 struct qede_dev *edev = netdev_priv(dev); local
428 struct qede_dev *edev = netdev_priv(dev); local
465 struct qede_dev *edev = netdev_priv(dev); local
491 struct qede_dev *edev = netdev_priv(dev); local
512 struct qede_dev *edev = netdev_priv(dev); local
546 struct qede_dev *edev = netdev_priv(dev); local
605 struct qede_dev *edev = netdev_priv(ndev); local
650 struct qede_dev *edev = netdev_priv(ndev); local
660 struct qede_dev *edev = netdev_priv(ndev); local
689 struct qede_dev *edev = netdev_priv(ndev); local
696 struct qede_dev *edev = netdev_priv(ndev); local
710 struct qede_dev *edev = netdev_priv(dev); local
739 struct qede_dev *edev = netdev_priv(dev); local
751 struct qede_dev *edev = netdev_priv(dev); local
762 struct qede_dev *edev = netdev_priv(dev); local
823 struct qede_dev *edev = netdev_priv(dev); local
903 struct qede_dev *edev = netdev_priv(dev); local
916 struct qede_dev *edev = netdev_priv(dev); local
946 struct qede_dev *edev = netdev_priv(dev); local
968 struct qede_dev *edev = netdev_priv(dev); local
1007 struct qede_dev *edev = netdev_priv(ndev); local
1018 struct qede_dev *edev = netdev_priv(ndev); local
1026 qede_update_mtu(struct qede_dev *edev, struct qede_reload_args *args) argument
1035 struct qede_dev *edev = netdev_priv(ndev); local
1059 struct qede_dev *edev = netdev_priv(dev); local
1073 struct qede_dev *edev = netdev_priv(dev); local
1142 struct qede_dev *edev = netdev_priv(dev); local
1150 struct qede_dev *edev = netdev_priv(dev); local
1175 qede_get_rss_flags(struct qede_dev *edev, struct ethtool_rxnfc *info) argument
1206 struct qede_dev *edev = netdev_priv(dev); local
1234 qede_set_rss_flags(struct qede_dev *edev, struct ethtool_rxnfc *info) argument
1340 struct qede_dev *edev = netdev_priv(dev); local
1368 struct qede_dev *edev = netdev_priv(dev); local
1376 struct qede_dev *edev = netdev_priv(dev); local
1398 struct qede_dev *edev = netdev_priv(dev); local
1443 qede_netif_start(struct qede_dev *edev) argument
1458 qede_netif_stop(struct qede_dev *edev) argument
1469 qede_selftest_transmit_traffic(struct qede_dev *edev, struct sk_buff *skb) argument
1546 qede_selftest_receive_traffic(struct qede_dev *edev) argument
1619 qede_selftest_run_loopback(struct qede_dev *edev, u32 loopback_mode) argument
1694 struct qede_dev *edev = netdev_priv(dev); local
1741 struct qede_dev *edev = netdev_priv(dev); local
1766 struct qede_dev *edev = netdev_priv(dev); local
1781 struct qede_dev *edev = netdev_priv(dev); local
1825 struct qede_dev *edev = netdev_priv(dev); local
1915 struct qede_dev *edev = netdev_priv(dev); local
1930 struct qede_dev *edev = netdev_priv(dev); local
1951 struct qede_dev *edev = netdev_priv(dev); local
1988 struct qede_dev *edev = netdev_priv(dev); local
2036 struct qede_dev *edev = netdev_priv(dev); local
2073 struct qede_dev *edev = netdev_priv(dev); local
2105 struct qede_dev *edev = netdev_priv(dev); local
2148 struct qede_dev *edev = netdev_priv(dev); local
2216 struct qede_dev *edev = netdev_priv(dev); local
2352 struct qede_dev *edev = netdev_priv(dev); local
[all...]
/linux-master/include/linux/
H A Dextcon-provider.h20 int extcon_dev_register(struct extcon_dev *edev);
21 void extcon_dev_unregister(struct extcon_dev *edev);
23 struct extcon_dev *edev);
25 struct extcon_dev *edev);
29 void extcon_dev_free(struct extcon_dev *edev);
32 void devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev);
35 int extcon_sync(struct extcon_dev *edev, unsigned int id);
41 int extcon_set_state(struct extcon_dev *edev, unsigned int id,
43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
55 int extcon_set_property(struct extcon_dev *edev, unsigne
65 extcon_dev_register(struct extcon_dev *edev) argument
70 extcon_dev_unregister(struct extcon_dev *edev) argument
72 devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) argument
78 devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) argument
86 extcon_dev_free(struct extcon_dev *edev) argument
94 devm_extcon_dev_free(struct extcon_dev *edev) argument
97 extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state) argument
103 extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) argument
109 extcon_sync(struct extcon_dev *edev, unsigned int id) argument
114 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument
121 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument
128 extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop) argument
[all...]
H A Ddevfreq-event.h67 int (*enable)(struct devfreq_event_dev *edev);
68 int (*disable)(struct devfreq_event_dev *edev);
69 int (*reset)(struct devfreq_event_dev *edev);
72 int (*set_event)(struct devfreq_event_dev *edev);
73 int (*get_event)(struct devfreq_event_dev *edev,
101 extern int devfreq_event_enable_edev(struct devfreq_event_dev *edev);
102 extern int devfreq_event_disable_edev(struct devfreq_event_dev *edev);
103 extern bool devfreq_event_is_enabled(struct devfreq_event_dev *edev);
104 extern int devfreq_event_set_event(struct devfreq_event_dev *edev);
105 extern int devfreq_event_get_event(struct devfreq_event_dev *edev,
121 devfreq_event_get_drvdata(struct devfreq_event_dev *edev) argument
126 devfreq_event_enable_edev(struct devfreq_event_dev *edev) argument
131 devfreq_event_disable_edev(struct devfreq_event_dev *edev) argument
136 devfreq_event_is_enabled(struct devfreq_event_dev *edev) argument
141 devfreq_event_set_event(struct devfreq_event_dev *edev) argument
146 devfreq_event_get_event(struct devfreq_event_dev *edev, struct devfreq_event_data *edata) argument
152 devfreq_event_reset_event(struct devfreq_event_dev *edev) argument
177 devfreq_event_remove_edev(struct devfreq_event_dev *edev) argument
189 devm_devfreq_event_remove_edev(struct device *dev, struct devfreq_event_dev *edev) argument
194 devfreq_event_get_drvdata(struct devfreq_event_dev *edev) argument
[all...]
H A Dextcon.h175 int extcon_get_state(struct extcon_dev *edev, unsigned int id);
186 int extcon_get_property(struct extcon_dev *edev, unsigned int id,
189 int extcon_get_property_capability(struct extcon_dev *edev,
196 * extcon_register_notifier(*edev, id, *nb) : Register a notifier block
198 * extcon_register_notifier_all(*edev, *nb) : Register a notifier block
201 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id,
203 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id,
206 struct extcon_dev *edev, unsigned int id,
209 struct extcon_dev *edev, unsigned int id,
212 int extcon_register_notifier_all(struct extcon_dev *edev,
235 extcon_get_state(struct extcon_dev *edev, unsigned int id) argument
240 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) argument
247 extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop) argument
253 extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
259 extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
265 devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
272 devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
276 extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
282 extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
288 devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
295 devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
315 extcon_get_edev_name(struct extcon_dev *edev) argument
328 struct extcon_dev *edev; member in struct:extcon_specific_cable_nb
[all...]
/linux-master/drivers/watchdog/
H A Di6300esb.c110 static inline void esb_unlock_registers(struct esb_dev *edev) argument
112 writew(ESB_UNLOCK1, ESB_RELOAD_REG(edev));
113 writew(ESB_UNLOCK2, ESB_RELOAD_REG(edev));
118 struct esb_dev *edev = to_esb_dev(wdd); local
122 esb_unlock_registers(edev);
123 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev));
126 pci_write_config_byte(edev->pdev, ESB_LOCK_REG, val);
132 struct esb_dev *edev = to_esb_dev(wdd); local
136 esb_unlock_registers(edev);
137 writew(ESB_WDT_RELOAD, ESB_RELOAD_REG(edev));
148 struct esb_dev *edev = to_esb_dev(wdd); local
159 struct esb_dev *edev = to_esb_dev(wdd); local
217 esb_getdevice(struct esb_dev *edev) argument
248 esb_initdevice(struct esb_dev *edev) argument
292 struct esb_dev *edev; local
334 struct esb_dev *edev = dev_get_drvdata(&pdev->dev); local
[all...]
/linux-master/drivers/extcon/
H A Dextcon.c204 * @edev: the extcon device
205 * @cable_index: the index of this cable in the edev
220 struct extcon_dev *edev; member in struct:extcon_cable
246 static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state) argument
250 if (!edev->mutually_exclusive)
253 for (i = 0; edev->mutually_exclusive[i]; i++) {
255 u32 correspondants = new_state & edev->mutually_exclusive[i];
266 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) argument
270 /* Find the index of extcon cable in edev->supported_cable */
271 for (i = 0; i < edev
295 is_extcon_attached(struct extcon_dev *edev, unsigned int index) argument
300 is_extcon_changed(struct extcon_dev *edev, int index, bool new_state) argument
320 is_extcon_property_capability(struct extcon_dev *edev, unsigned int id, int index,unsigned int prop) argument
353 init_property(struct extcon_dev *edev, unsigned int id, int index) argument
372 struct extcon_dev *edev = dev_get_drvdata(dev); local
390 struct extcon_dev *edev = dev_get_drvdata(dev); local
429 extcon_sync(struct extcon_dev *edev, unsigned int id) argument
510 extcon_get_state(struct extcon_dev *edev, const unsigned int id) argument
543 extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state) argument
598 extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) argument
624 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) argument
703 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument
771 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) argument
794 extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop) argument
828 extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, unsigned int prop) argument
913 extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
942 extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
975 extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
999 extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
1058 struct extcon_dev *edev; local
1077 extcon_dev_free(struct extcon_dev *edev) argument
1089 extcon_alloc_cables(struct extcon_dev *edev) argument
1148 extcon_alloc_muex(struct extcon_dev *edev) argument
1203 extcon_alloc_groups(struct extcon_dev *edev) argument
1247 extcon_dev_register(struct extcon_dev *edev) argument
1358 extcon_dev_unregister(struct extcon_dev *edev) argument
1409 struct extcon_dev *edev; local
1432 struct extcon_dev *edev; local
1472 extcon_get_edev_name(struct extcon_dev *edev) argument
[all...]
H A Ddevres.c33 struct extcon_dev *edev; member in struct:extcon_dev_notifier_devres
42 extcon_unregister_notifier(this->edev, this->id, this->nb);
49 extcon_unregister_notifier_all(this->edev, this->nb);
68 struct extcon_dev **ptr, *edev; local
74 edev = extcon_dev_allocate(supported_cable);
75 if (IS_ERR(edev)) {
77 return edev;
80 edev->dev.parent = dev;
82 *ptr = edev;
85 return edev;
97 devm_extcon_dev_free(struct device *dev, struct extcon_dev *edev) argument
118 devm_extcon_dev_register(struct device *dev, struct extcon_dev *edev) argument
148 devm_extcon_dev_unregister(struct device *dev, struct extcon_dev *edev) argument
172 devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
206 devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
228 devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
260 devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/eisa/
H A Deisa-bus.c44 struct eisa_device *edev)
49 x = (root->bus_nr << 8) | edev->slot;
57 static void __init eisa_name_device(struct eisa_device *edev) argument
62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) {
63 strscpy(edev->pretty_name,
65 sizeof(edev->pretty_name));
71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig);
110 struct eisa_device *edev = to_eisa_device(dev); local
118 if (!strcmp(eids->sig, edev
41 is_forced_dev(int *forced_tab, int forced_count, struct eisa_root_device *root, struct eisa_device *edev) argument
132 const struct eisa_device *edev = to_eisa_device(dev); local
161 struct eisa_device *edev = to_eisa_device(dev); local
169 struct eisa_device *edev = to_eisa_device(dev); local
177 struct eisa_device *edev = to_eisa_device(dev); local
182 eisa_init_device(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument
226 eisa_register_device(struct eisa_device *edev) argument
255 eisa_request_resources(struct eisa_root_device *root, struct eisa_device *edev, int slot) argument
300 eisa_release_resources(struct eisa_device *edev) argument
312 struct eisa_device *edev; local
[all...]
/linux-master/drivers/misc/eeprom/
H A Deeprom_93xx46.c67 static inline bool has_quirk_single_word_read(struct eeprom_93xx46_dev *edev) argument
69 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_SINGLE_WORD_READ;
72 static inline bool has_quirk_instruction_length(struct eeprom_93xx46_dev *edev) argument
74 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_INSTRUCTION_LENGTH;
77 static inline bool has_quirk_extra_read_cycle(struct eeprom_93xx46_dev *edev) argument
79 return edev->pdata->quirks & EEPROM_93XX46_QUIRK_EXTRA_READ_CYCLE;
85 struct eeprom_93xx46_dev *edev = priv; local
90 if (unlikely(off >= edev->size))
92 if ((off + count) > edev->size)
93 count = edev
164 eeprom_93xx46_ew(struct eeprom_93xx46_dev *edev, int is_on) argument
216 eeprom_93xx46_write_word(struct eeprom_93xx46_dev *edev, const char *buf, unsigned off) argument
264 struct eeprom_93xx46_dev *edev = priv; local
310 eeprom_93xx46_eral(struct eeprom_93xx46_dev *edev) argument
364 struct eeprom_93xx46_dev *edev = dev_get_drvdata(dev); local
385 struct eeprom_93xx46_dev *edev = context; local
392 struct eeprom_93xx46_dev *edev = context; local
480 struct eeprom_93xx46_dev *edev; local
559 struct eeprom_93xx46_dev *edev = spi_get_drvdata(spi); local
[all...]
/linux-master/arch/powerpc/kernel/
H A Deeh_pe.c239 struct eeh_dev *edev, *tmp; local
249 eeh_pe_for_each_dev(pe, edev, tmp)
250 fn(edev, flag);
296 * @edev: EEH device
299 * Add EEH device to the PE in edev->pe_config_addr. If a PE already
300 * exists with that address then @edev is added to that PE. Otherwise
307 int eeh_pe_tree_insert(struct eeh_dev *edev, struct eeh_pe *new_pe_parent) argument
309 struct pci_controller *hose = edev->controller;
318 pe = eeh_pe_get(hose, edev->pe_config_addr);
321 list_add_tail(&edev
403 eeh_pe_tree_remove(struct eeh_dev *edev) argument
537 struct eeh_dev *edev; local
554 __eeh_pe_dev_mode_mark(struct eeh_dev *edev, void *flag) argument
585 struct eeh_dev *edev, *tmp; local
632 eeh_bridge_check_link(struct eeh_dev *edev) argument
701 eeh_restore_bridge_bars(struct eeh_dev *edev) argument
730 eeh_restore_device_bars(struct eeh_dev *edev) argument
773 eeh_restore_one_device_bars(struct eeh_dev *edev, void *flag) argument
850 struct eeh_dev *edev; local
[all...]
H A Deeh_sysfs.c29 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \
31 if (!edev) \
34 return sprintf(buf, _format "\n", edev->_memb); \
45 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
48 if (!edev || !edev->pe)
51 state = eeh_ops->get_state(edev->pe, NULL);
53 state, edev->pe->state);
61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
63 if (!edev || !ede
84 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
98 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
139 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
161 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); local
[all...]
H A Deeh_driver.c76 static bool eeh_dev_removed(struct eeh_dev *edev) argument
78 return !edev || (edev->mode & EEH_DEV_REMOVED);
81 static bool eeh_edev_actionable(struct eeh_dev *edev) argument
83 if (!edev->pdev)
85 if (edev->pdev->error_state == pci_channel_io_perm_failure)
87 if (eeh_dev_removed(edev))
89 if (eeh_pe_passed(edev->pe))
140 static void eeh_disable_irq(struct eeh_dev *edev) argument
146 if (edev
163 eeh_enable_irq(struct eeh_dev *edev) argument
192 eeh_dev_save_state(struct eeh_dev *edev, void *userdata) argument
219 struct eeh_dev *edev, *tmp; local
230 struct eeh_dev *edev, *tmp; local
253 eeh_pe_report_edev(struct eeh_dev *edev, eeh_report_fn fn, enum pci_ers_result *result) argument
304 struct eeh_dev *edev, *tmp; local
323 eeh_report_error(struct eeh_dev *edev, struct pci_dev *pdev, struct pci_driver *driver) argument
349 eeh_report_mmio_enabled(struct eeh_dev *edev, struct pci_dev *pdev, struct pci_driver *driver) argument
369 eeh_report_reset(struct eeh_dev *edev, struct pci_dev *pdev, struct pci_driver *driver) argument
379 eeh_dev_restore_state(struct eeh_dev *edev, void *userdata) argument
415 eeh_report_resume(struct eeh_dev *edev, struct pci_dev *pdev, struct pci_driver *driver) argument
441 eeh_report_failure(struct eeh_dev *edev, struct pci_dev *pdev, struct pci_driver *driver) argument
459 eeh_add_virt_device(struct eeh_dev *edev) argument
484 eeh_rmv_device(struct eeh_dev *edev, void *userdata) argument
537 struct eeh_dev *edev, *tmp; local
629 struct eeh_dev *edev; local
838 struct eeh_dev *edev, *tmp; local
1120 struct eeh_dev *edev, *tmp_edev; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c33 struct bnxt_en_dev *edev = bp->edev; local
36 if (!edev->ulp_tbl->msix_requested) {
40 num_msix = edev->ulp_tbl->msix_requested;
41 idx = edev->ulp_tbl->msix_base;
52 int bnxt_register_dev(struct bnxt_en_dev *edev, argument
56 struct net_device *dev = edev->net;
66 ulp = edev->ulp_tbl;
76 bnxt_fill_msix_vecs(bp, bp->edev->msix_entries);
77 edev
82 bnxt_unregister_dev(struct bnxt_en_dev *edev) argument
120 struct bnxt_en_dev *edev = bp->edev; local
131 struct bnxt_en_dev *edev = bp->edev; local
140 bnxt_send_msg(struct bnxt_en_dev *edev, struct bnxt_fw_msg *fw_msg) argument
179 struct bnxt_en_dev *edev = bp->edev; local
203 struct bnxt_en_dev *edev = bp->edev; local
233 struct bnxt_en_dev *edev = bp->edev; local
254 struct bnxt_en_dev *edev = bp->edev; local
283 bnxt_register_async_events(struct bnxt_en_dev *edev, unsigned long *events_bmap, u16 max_id) argument
330 bnxt_set_edev_info(struct bnxt_en_dev *edev, struct bnxt *bp) argument
357 struct bnxt_en_dev *edev; local
[all...]
/linux-master/drivers/firmware/
H A Dedd.c56 ssize_t(*show) (struct edd_device * edev, char *buf);
57 int (*test) (struct edd_device * edev);
61 static int edd_dev_is_type(struct edd_device *edev, const char *type);
62 static struct pci_dev *edd_get_pci_dev(struct edd_device *edev);
74 edd_has_mbr_signature(struct edd_device *edev) argument
76 return edev->index < min_t(unsigned char, edd.mbr_signature_nr, EDD_MBR_SIG_MAX);
80 edd_has_edd_info(struct edd_device *edev) argument
82 return edev->index < min_t(unsigned char, edd.edd_info_nr, EDDMAXNR);
86 edd_dev_get_info(struct edd_device *edev) argument
88 return edev
92 edd_dev_set_info(struct edd_device *edev, int i) argument
121 edd_show_host_bus(struct edd_device *edev, char *buf) argument
167 edd_show_interface(struct edd_device *edev, char *buf) argument
233 edd_show_raw_data(struct edd_device *edev, char *buf) argument
255 edd_show_version(struct edd_device *edev, char *buf) argument
270 edd_show_mbr_signature(struct edd_device *edev, char *buf) argument
278 edd_show_extensions(struct edd_device *edev, char *buf) argument
304 edd_show_info_flags(struct edd_device *edev, char *buf) argument
334 edd_show_legacy_max_cylinder(struct edd_device *edev, char *buf) argument
349 edd_show_legacy_max_head(struct edd_device *edev, char *buf) argument
364 edd_show_legacy_sectors_per_track(struct edd_device *edev, char *buf) argument
379 edd_show_default_cylinders(struct edd_device *edev, char *buf) argument
394 edd_show_default_heads(struct edd_device *edev, char *buf) argument
409 edd_show_default_sectors_per_track(struct edd_device *edev, char *buf) argument
424 edd_show_sectors(struct edd_device *edev, char *buf) argument
450 edd_has_legacy_max_cylinder(struct edd_device *edev) argument
462 edd_has_legacy_max_head(struct edd_device *edev) argument
474 edd_has_legacy_sectors_per_track(struct edd_device *edev) argument
486 edd_has_default_cylinders(struct edd_device *edev) argument
498 edd_has_default_heads(struct edd_device *edev) argument
510 edd_has_default_sectors_per_track(struct edd_device *edev) argument
522 edd_has_edd30(struct edd_device *edev) argument
627 edd_dev_is_type(struct edd_device *edev, const char *type) argument
649 edd_get_pci_dev(struct edd_device *edev) argument
663 edd_create_symlink_to_pcidev(struct edd_device *edev) argument
676 edd_device_unregister(struct edd_device *edev) argument
681 edd_populate_dir(struct edd_device * edev) argument
698 edd_device_register(struct edd_device *edev, int i) argument
730 struct edd_device *edev; local
770 struct edd_device *edev; local
[all...]
/linux-master/drivers/misc/
H A Denclosure.c46 struct enclosure_device *edev; local
49 edev = list_prepare_entry(start, &container_list, node);
51 put_device(&start->edev);
53 list_for_each_entry_continue(edev, &container_list, node) {
54 struct device *parent = edev->edev.parent;
59 get_device(&edev->edev);
61 return edev;
88 struct enclosure_device *edev; local
118 struct enclosure_device *edev = local
163 enclosure_unregister(struct enclosure_device *edev) argument
226 struct enclosure_device *edev = to_enclosure_device(cdev); local
244 enclosure_component_find_by_name(struct enclosure_device *edev, const char *name) argument
281 enclosure_component_alloc(struct enclosure_device *edev, unsigned int number, enum enclosure_component_type type, const char *name) argument
363 enclosure_add_device(struct enclosure_device *edev, int component, struct device *dev) argument
399 enclosure_remove_device(struct enclosure_device *edev, struct device *dev) argument
427 struct enclosure_device *edev = to_enclosure_device(cdev); local
437 struct enclosure_device *edev = to_enclosure_device(cdev); local
478 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
490 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
502 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
514 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
536 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
548 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
560 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
572 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
585 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
602 struct enclosure_device *edev = to_enclosure_device(cdev->parent); local
[all...]
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_host_common.c68 struct usbip_exported_device *edev = NULL; local
73 edev = calloc(1, sizeof(struct usbip_exported_device));
75 edev->sudev =
77 if (!edev->sudev) {
82 if (hdriver->ops.read_device(edev->sudev, &edev->udev) < 0)
85 edev->status = read_attr_usbip_status(&edev->udev);
86 if (edev->status < 0)
91 edev
120 struct usbip_exported_device *edev; local
158 struct usbip_exported_device *edev; local
212 usbip_export_device(struct usbip_exported_device *edev, int sockfd) argument
271 struct usbip_exported_device *edev; local
[all...]
/linux-master/drivers/pci/pcie/
H A Dedr.c123 * @edev : Device which experienced EDR event
126 static int acpi_send_edr_status(struct pci_dev *pdev, struct pci_dev *edev, argument
132 pci_dbg(pdev, "Status for %s: %#x\n", pci_name(edev), status);
134 ost_status = PCI_DEVID(edev->bus->number, edev->devfn) << 16;
147 struct pci_dev *pdev = data, *edev; local
166 edev = acpi_dpc_port_get(pdev);
167 if (!edev) {
172 pci_dbg(pdev, "Reported EDR dev: %s\n", pci_name(edev));
175 if (!edev
[all...]
/linux-master/drivers/input/keyboard/
H A Dgoldfish_events.c38 struct event_dev *edev = dev_id; local
41 type = __raw_readl(edev->addr + REG_READ);
42 code = __raw_readl(edev->addr + REG_READ);
43 value = __raw_readl(edev->addr + REG_READ);
45 input_event(edev->input, type, code, value);
46 input_sync(edev->input);
50 static void events_import_bits(struct event_dev *edev, argument
53 void __iomem *addr = edev->addr;
73 static void events_import_abs_params(struct event_dev *edev) argument
75 struct input_dev *input_dev = edev
105 struct event_dev *edev; local
[all...]

Completed in 240 milliseconds

123456