Searched refs:ndev (Results 1 - 25 of 574) sorted by relevance

1234567891011>>

/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_hal.h7 void nitrox_config_aqm_rings(struct nitrox_device *ndev);
8 void nitrox_config_aqm_unit(struct nitrox_device *ndev);
9 void nitrox_config_emu_unit(struct nitrox_device *ndev);
10 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev);
11 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev);
12 void nitrox_config_nps_core_unit(struct nitrox_device *ndev);
13 void nitrox_config_nps_pkt_unit(struct nitrox_device *ndev);
14 void nitrox_config_pom_unit(struct nitrox_device *ndev);
15 void nitrox_config_rand_unit(struct nitrox_device *ndev);
16 void nitrox_config_efl_unit(struct nitrox_device *ndev);
[all...]
H A Dnitrox_mbx.h5 int nitrox_mbox_init(struct nitrox_device *ndev);
6 void nitrox_mbox_cleanup(struct nitrox_device *ndev);
7 void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev);
H A Dnitrox_debugfs.h8 void nitrox_debugfs_init(struct nitrox_device *ndev);
9 void nitrox_debugfs_exit(struct nitrox_device *ndev);
11 static inline void nitrox_debugfs_init(struct nitrox_device *ndev) argument
15 static inline void nitrox_debugfs_exit(struct nitrox_device *ndev) argument
H A Dnitrox_debugfs.c11 struct nitrox_device *ndev = s->private; local
13 seq_printf(s, "Version: %s\n", ndev->hw.fw_name[0]);
14 seq_printf(s, "Version: %s\n", ndev->hw.fw_name[1]);
22 struct nitrox_device *ndev = s->private; local
24 seq_printf(s, "NITROX [%d]\n", ndev->idx);
25 seq_printf(s, " Part Name: %s\n", ndev->hw.partname);
26 seq_printf(s, " Frequency: %d MHz\n", ndev->hw.freq);
27 seq_printf(s, " Device ID: 0x%0x\n", ndev->hw.device_id);
28 seq_printf(s, " Revision ID: 0x%0x\n", ndev->hw.revision_id);
30 ndev
39 struct nitrox_device *ndev = s->private; local
54 nitrox_debugfs_exit(struct nitrox_device *ndev) argument
60 nitrox_debugfs_init(struct nitrox_device *ndev) argument
[all...]
H A Dnitrox_sriov.c81 static void nitrox_pf_cleanup(struct nitrox_device *ndev) argument
84 atomic_set(&ndev->state, __NDEV_NOT_READY);
89 nitrox_unregister_interrupts(ndev);
90 nitrox_common_sw_cleanup(ndev);
95 * @ndev: NITROX device
97 static int nitrox_pf_reinit(struct nitrox_device *ndev) argument
102 err = nitrox_common_sw_init(ndev);
106 err = nitrox_register_interrupts(ndev);
108 nitrox_common_sw_cleanup(ndev);
113 nitrox_config_aqm_rings(ndev);
126 nitrox_sriov_cleanup(struct nitrox_device *ndev) argument
133 nitrox_sriov_init(struct nitrox_device *ndev) argument
155 struct nitrox_device *ndev = pci_get_drvdata(pdev); local
203 struct nitrox_device *ndev = pci_get_drvdata(pdev); local
[all...]
H A Dnitrox_main.c70 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, argument
94 nitrox_write_csr(ndev, offset, block_num);
101 nitrox_write_csr(ndev, offset, data);
109 static int nitrox_load_fw(struct nitrox_device *ndev) argument
123 dev_info(DEV(ndev), "Loading firmware \"%s\"\n", fw_name);
125 ret = request_firmware(&fw, fw_name, DEV(ndev));
127 dev_err(DEV(ndev), "failed to get firmware %s\n", fw_name);
135 dev_err(DEV(ndev), "Invalid ucode size: %u for firmware %s\n",
143 memcpy(&ndev->hw.fw_name[0][0], ucode->version, (VERSION_LEN - 2));
144 ndev
234 nitrox_add_to_devlist(struct nitrox_device *ndev) argument
261 nitrox_remove_from_devlist(struct nitrox_device *ndev) argument
271 struct nitrox_device *ndev = NULL, *iter; local
290 nitrox_put_device(struct nitrox_device *ndev) argument
317 nitrox_pf_sw_init(struct nitrox_device *ndev) argument
332 nitrox_pf_sw_cleanup(struct nitrox_device *ndev) argument
342 nitrox_bist_check(struct nitrox_device *ndev) argument
367 nitrox_pf_hw_init(struct nitrox_device *ndev) argument
412 struct nitrox_device *ndev; local
526 struct nitrox_device *ndev = pci_get_drvdata(pdev); local
[all...]
H A Dnitrox_isr.c42 static void clear_nps_core_err_intr(struct nitrox_device *ndev) argument
47 value = nitrox_read_csr(ndev, NPS_CORE_INT);
48 nitrox_write_csr(ndev, NPS_CORE_INT, value);
50 dev_err_ratelimited(DEV(ndev), "NSP_CORE_INT 0x%016llx\n", value);
53 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) argument
59 pkt_int.value = nitrox_read_csr(ndev, NPS_PKT_INT);
60 dev_err_ratelimited(DEV(ndev), "NPS_PKT_INT 0x%016llx\n",
65 value = nitrox_read_csr(ndev, offset);
66 nitrox_write_csr(ndev, offset, value);
67 dev_err_ratelimited(DEV(ndev),
111 clear_pom_err_intr(struct nitrox_device *ndev) argument
120 clear_pem_err_intr(struct nitrox_device *ndev) argument
129 clear_lbc_err_intr(struct nitrox_device *ndev) argument
174 clear_efl_err_intr(struct nitrox_device *ndev) argument
195 clear_bmi_err_intr(struct nitrox_device *ndev) argument
207 struct nitrox_device *ndev = qvec->ndev; local
226 struct nitrox_device *ndev = qvec->ndev; local
263 nitrox_unregister_interrupts(struct nitrox_device *ndev) argument
290 nitrox_register_interrupts(struct nitrox_device *ndev) argument
382 nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev) argument
408 nitrox_sriov_register_interupts(struct nitrox_device *ndev) argument
[all...]
H A Dnitrox_isr.h7 int nitrox_register_interrupts(struct nitrox_device *ndev);
8 void nitrox_unregister_interrupts(struct nitrox_device *ndev);
9 int nitrox_sriov_register_interupts(struct nitrox_device *ndev);
10 void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev);
H A Dnitrox_lib.c27 struct nitrox_device *ndev = cmdq->ndev; local
29 cmdq->qsize = (ndev->qlen * cmdq->instr_size) + align_bytes;
30 cmdq->unalign_base = dma_alloc_coherent(DEV(ndev), cmdq->qsize,
62 struct nitrox_device *ndev; local
70 ndev = cmdq->ndev;
73 dma_free_coherent(DEV(ndev), cmdq->qsize,
87 static void nitrox_free_aqm_queues(struct nitrox_device *ndev) argument
91 for (i = 0; i < ndev
98 nitrox_alloc_aqm_queues(struct nitrox_device *ndev) argument
138 nitrox_free_pktin_queues(struct nitrox_device *ndev) argument
151 nitrox_alloc_pktin_queues(struct nitrox_device *ndev) argument
188 create_crypto_dma_pool(struct nitrox_device *ndev) argument
202 destroy_crypto_dma_pool(struct nitrox_device *ndev) argument
215 crypto_alloc_context(struct nitrox_device *ndev) argument
269 nitrox_common_sw_init(struct nitrox_device *ndev) argument
295 nitrox_common_sw_cleanup(struct nitrox_device *ndev) argument
[all...]
H A Dnitrox_common.h14 void *crypto_alloc_context(struct nitrox_device *ndev);
17 void nitrox_put_device(struct nitrox_device *ndev);
19 int nitrox_common_sw_init(struct nitrox_device *ndev);
20 void nitrox_common_sw_cleanup(struct nitrox_device *ndev);
23 int nitrox_process_se_request(struct nitrox_device *ndev,
H A Dnitrox_hal.c13 * @ndev: NITROX device
15 static void emu_enable_cores(struct nitrox_device *ndev) argument
31 nitrox_write_csr(ndev, EMU_AE_ENABLEX(i), emu_ae.value);
32 nitrox_write_csr(ndev, EMU_SE_ENABLEX(i), emu_se.value);
38 * @ndev: NITROX device
40 void nitrox_config_emu_unit(struct nitrox_device *ndev) argument
48 emu_enable_cores(ndev);
59 nitrox_write_csr(ndev, offset, emu_wd_int.value);
61 nitrox_write_csr(ndev, offset, emu_ge_int.value);
65 static void reset_pkt_input_ring(struct nitrox_device *ndev, in argument
94 enable_pkt_input_ring(struct nitrox_device *ndev, int ring) argument
120 nitrox_config_pkt_input_rings(struct nitrox_device *ndev) argument
161 reset_pkt_solicit_port(struct nitrox_device *ndev, int port) argument
191 enable_pkt_solicit_port(struct nitrox_device *ndev, int port) argument
218 config_pkt_solicit_port(struct nitrox_device *ndev, int port) argument
236 nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) argument
250 enable_nps_core_interrupts(struct nitrox_device *ndev) argument
264 nitrox_config_nps_core_unit(struct nitrox_device *ndev) argument
287 enable_nps_pkt_interrupts(struct nitrox_device *ndev) argument
299 nitrox_config_nps_pkt_unit(struct nitrox_device *ndev) argument
309 reset_aqm_ring(struct nitrox_device *ndev, int ring) argument
340 enable_aqm_ring(struct nitrox_device *ndev, int ring) argument
352 nitrox_config_aqm_rings(struct nitrox_device *ndev) argument
399 enable_aqm_interrupts(struct nitrox_device *ndev) argument
412 nitrox_config_aqm_unit(struct nitrox_device *ndev) argument
421 nitrox_config_pom_unit(struct nitrox_device *ndev) argument
440 nitrox_config_rand_unit(struct nitrox_device *ndev) argument
452 nitrox_config_efl_unit(struct nitrox_device *ndev) argument
475 nitrox_config_bmi_unit(struct nitrox_device *ndev) argument
498 nitrox_config_bmo_unit(struct nitrox_device *ndev) argument
510 invalidate_lbc(struct nitrox_device *ndev) argument
532 nitrox_config_lbc_unit(struct nitrox_device *ndev) argument
559 config_nps_core_vfcfg_mode(struct nitrox_device *ndev, enum vf_mode mode) argument
608 nitrox_get_hwinfo(struct nitrox_device *ndev) argument
653 enable_pf2vf_mbox_interrupts(struct nitrox_device *ndev) argument
667 disable_pf2vf_mbox_interrupts(struct nitrox_device *ndev) argument
[all...]
/linux-master/net/mctp/test/
H A Dutils.c14 struct net_device *ndev)
24 static void mctp_test_dev_setup(struct net_device *ndev) argument
26 ndev->type = ARPHRD_MCTP;
27 ndev->mtu = MCTP_DEV_TEST_MTU;
28 ndev->hard_header_len = 0;
29 ndev->addr_len = 0;
30 ndev->tx_queue_len = DEFAULT_TX_QUEUE_LEN;
31 ndev->flags = IFF_NOARP;
32 ndev->netdev_ops = &mctp_test_netdev_ops;
33 ndev
13 mctp_test_dev_tx(struct sk_buff *skb, struct net_device *ndev) argument
39 struct net_device *ndev; local
[all...]
/linux-master/drivers/net/can/slcan/
H A Dslcan.h14 bool slcan_err_rst_on_open(struct net_device *ndev);
15 int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on);
/linux-master/net/nfc/nci/
H A Dcore.c43 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, argument
48 list_for_each_entry(conn_info, &ndev->conn_info_list, list) {
56 int nci_get_conn_info_by_dest_type_params(struct nci_dev *ndev, u8 dest_type, argument
61 list_for_each_entry(conn_info, &ndev->conn_info_list, list) {
78 void nci_req_complete(struct nci_dev *ndev, int result) argument
80 if (ndev->req_status == NCI_REQ_PEND) {
81 ndev->req_result = result;
82 ndev->req_status = NCI_REQ_DONE;
83 complete(&ndev->req_completion);
88 static void nci_req_cancel(struct nci_dev *ndev, in argument
98 __nci_request(struct nci_dev *ndev, void (*req)(struct nci_dev *ndev, const void *opt), const void *opt, __u32 timeout) argument
141 nci_request(struct nci_dev *ndev, void (*req)(struct nci_dev *ndev, const void *opt), const void *opt, __u32 timeout) argument
162 nci_reset_req(struct nci_dev *ndev, const void *opt) argument
170 nci_init_req(struct nci_dev *ndev, const void *opt) argument
180 nci_init_complete_req(struct nci_dev *ndev, const void *opt) argument
222 nci_set_config_req(struct nci_dev *ndev, const void *opt) argument
242 nci_rf_discover_req(struct nci_dev *ndev, const void *opt) argument
307 nci_rf_discover_select_req(struct nci_dev *ndev, const void *opt) argument
333 nci_rf_deactivate_req(struct nci_dev *ndev, const void *opt) argument
349 nci_generic_req(struct nci_dev *ndev, const void *opt) argument
356 nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, const __u8 *payload) argument
369 nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, const __u8 *payload) argument
383 nci_core_reset(struct nci_dev *ndev) argument
390 nci_core_init(struct nci_dev *ndev) argument
402 nci_send_data_req(struct nci_dev *ndev, const void *opt) argument
411 struct nci_dev *ndev = (struct nci_dev *)context; local
425 nci_nfcc_loopback(struct nci_dev *ndev, const void *data, size_t data_len, struct sk_buff **resp) argument
474 nci_open_device(struct nci_dev *ndev) argument
554 nci_close_device(struct nci_dev *ndev) argument
613 struct nci_dev *ndev = from_timer(ndev, t, cmd_timer); local
622 struct nci_dev *ndev = from_timer(ndev, t, data_timer); local
630 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
637 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
642 nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, const __u8 *val) argument
658 nci_nfcee_discover_req(struct nci_dev *ndev, const void *opt) argument
668 nci_nfcee_discover(struct nci_dev *ndev, u8 action) argument
677 nci_nfcee_mode_set_req(struct nci_dev *ndev, const void *opt) argument
685 nci_nfcee_mode_set(struct nci_dev *ndev, u8 nfcee_id, u8 nfcee_mode) argument
697 nci_core_conn_create_req(struct nci_dev *ndev, const void *opt) argument
704 nci_core_conn_create(struct nci_dev *ndev, u8 destination_type, u8 number_destination_params, size_t params_len, const struct core_conn_create_dest_spec_params *params) argument
743 nci_core_conn_close_req(struct nci_dev *ndev, const void *opt) argument
750 nci_core_conn_close(struct nci_dev *ndev, u8 conn_id) argument
762 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
788 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
812 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
865 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
881 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
952 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
977 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
997 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1022 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1053 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1065 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1075 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1086 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1103 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1114 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); local
1153 struct nci_dev *ndev; local
1207 nci_free_device(struct nci_dev *ndev) argument
1224 nci_register_device(struct nci_dev *ndev) argument
1291 nci_unregister_device(struct nci_dev *ndev) argument
1322 nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb) argument
1340 nci_send_frame(struct nci_dev *ndev, struct sk_buff *skb) argument
1361 nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, const void *payload) argument
1412 nci_op_rsp_packet(struct nci_dev *ndev, __u16 rsp_opcode, struct sk_buff *skb, const struct nci_driver_ops *ops, size_t n_ops) argument
1425 nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode, struct sk_buff *skb, const struct nci_driver_ops *ops, size_t n_ops) argument
1438 nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, struct sk_buff *skb) argument
1445 nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, struct sk_buff *skb) argument
1452 nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, struct sk_buff *skb) argument
1459 nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, struct sk_buff *skb) argument
1470 struct nci_dev *ndev = container_of(work, struct nci_dev, tx_work); local
1509 struct nci_dev *ndev = container_of(work, struct nci_dev, rx_work); local
1561 struct nci_dev *ndev = container_of(work, struct nci_dev, cmd_work); local
[all...]
H A Drsp.c28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, argument
38 ndev->nci_ver = rsp->nci_ver;
43 nci_req_complete(ndev, rsp->status);
47 static u8 nci_core_init_rsp_packet_v1(struct nci_dev *ndev, argument
58 ndev->nfcc_features = __le32_to_cpu(rsp_1->nfcc_features);
59 ndev->num_supported_rf_interfaces = rsp_1->num_supported_rf_interfaces;
61 ndev->num_supported_rf_interfaces =
62 min((int)ndev->num_supported_rf_interfaces,
65 memcpy(ndev->supported_rf_interfaces,
67 ndev
86 nci_core_init_rsp_packet_v2(struct nci_dev *ndev, const struct sk_buff *skb) argument
124 nci_core_init_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
165 nci_core_set_config_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
175 nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
185 nci_rf_disc_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
216 nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
228 nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
244 nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
261 nci_nfcee_mode_set_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
270 nci_core_conn_create_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
325 nci_core_conn_close_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) argument
345 nci_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_drvinfo.h15 int aq_drvinfo_init(struct net_device *ndev);
H A Daq_main.h19 int aq_ndev_open(struct net_device *ndev);
20 int aq_ndev_close(struct net_device *ndev);
/linux-master/net/
H A Ddevres.c11 struct net_device *ndev; member in struct:net_device_devres
18 free_netdev(res->ndev);
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs);
31 if (!dr->ndev) {
38 return dr->ndev;
46 unregister_netdev(res->ndev);
52 struct net_device *ndev = match_data; local
54 return ndev == res->ndev;
60 * @ndev
67 devm_register_netdev(struct device *dev, struct net_device *ndev) argument
[all...]
/linux-master/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) argument
78 if (idx < 0 || idx > ndev->mw_count)
81 return ndev->dev_data->mw_idx << idx;
97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
103 bar = ndev_mw_to_bar(ndev, idx);
114 *size_max = pci_resource_len(ndev->ntb.pdev, bar);
122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
132 bar = ndev_mw_to_bar(ndev, idx);
142 mmio = ndev->self_mmio;
143 peer_mmio = ndev
198 amd_ntb_get_link_status(struct amd_ntb_dev *ndev) argument
246 amd_link_is_up(struct amd_ntb_dev *ndev) argument
317 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
345 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
361 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
412 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
422 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
430 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
440 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
457 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
474 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
489 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
503 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
518 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
532 struct amd_ntb_dev *ndev = ntb_ndev(ntb); local
569 amd_ack_smu(struct amd_ntb_dev *ndev, u32 bit) argument
579 amd_handle_event(struct amd_ntb_dev *ndev, int vec) argument
650 amd_handle_db_event(struct amd_ntb_dev *ndev, int vec) argument
680 ndev_interrupt(struct amd_ntb_dev *ndev, int vec) argument
704 struct amd_ntb_dev *ndev = dev; local
709 ndev_init_isr(struct amd_ntb_dev *ndev, int msix_min, int msix_max) argument
810 ndev_deinit_isr(struct amd_ntb_dev *ndev) argument
841 struct amd_ntb_dev *ndev; local
935 ndev_init_debugfs(struct amd_ntb_dev *ndev) argument
951 ndev_deinit_debugfs(struct amd_ntb_dev *ndev) argument
956 ndev_init_struct(struct amd_ntb_dev *ndev, struct pci_dev *pdev) argument
966 amd_poll_link(struct amd_ntb_dev *ndev) argument
985 struct amd_ntb_dev *ndev = hb_ndev(work); local
994 amd_init_isr(struct amd_ntb_dev *ndev) argument
999 amd_set_side_info_reg(struct amd_ntb_dev *ndev, bool peer) argument
1016 amd_clear_side_info_reg(struct amd_ntb_dev *ndev, bool peer) argument
1034 amd_init_side_info(struct amd_ntb_dev *ndev) argument
1046 amd_deinit_side_info(struct amd_ntb_dev *ndev) argument
1058 amd_init_ntb(struct amd_ntb_dev *ndev) argument
1094 amd_get_topo(struct amd_ntb_dev *ndev) argument
1106 amd_init_dev(struct amd_ntb_dev *ndev) argument
1152 amd_deinit_dev(struct amd_ntb_dev *ndev) argument
1159 amd_ntb_init_pci(struct amd_ntb_dev *ndev, struct pci_dev *pdev) argument
1202 amd_ntb_deinit_pci(struct amd_ntb_dev *ndev) argument
1216 struct amd_ntb_dev *ndev; local
1267 struct amd_ntb_dev *ndev = pci_get_drvdata(pdev); local
1285 struct amd_ntb_dev *ndev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/ntb/hw/epf/
H A Dntb_hw_epf.c99 static int ntb_epf_send_command(struct ntb_epf_dev *ndev, u32 command, argument
107 mutex_lock(&ndev->cmd_lock);
108 writel(argument, ndev->ctrl_reg + NTB_EPF_ARGUMENT);
109 writel(command, ndev->ctrl_reg + NTB_EPF_COMMAND);
114 status = readw(ndev->ctrl_reg + NTB_EPF_CMD_STATUS);
132 writew(0, ndev->ctrl_reg + NTB_EPF_CMD_STATUS);
133 mutex_unlock(&ndev->cmd_lock);
138 static int ntb_epf_mw_to_bar(struct ntb_epf_dev *ndev, int idx) argument
140 struct device *dev = ndev->dev;
142 if (idx < 0 || idx > ndev
152 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
168 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
197 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
207 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
225 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
243 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
264 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
288 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
303 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
318 struct ntb_epf_dev *ndev = dev; local
332 ntb_epf_init_isr(struct ntb_epf_dev *ndev, int msi_min, int msi_max) argument
375 free_irq(pci_irq_vector(pdev, i), ndev); local
406 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
437 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
451 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
471 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
496 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
508 struct ntb_epf_dev *ndev = ntb_ndev(ntb); local
538 ntb_epf_init_struct(struct ntb_epf_dev *ndev, struct pci_dev *pdev) argument
546 ntb_epf_init_dev(struct ntb_epf_dev *ndev) argument
566 ntb_epf_init_pci(struct ntb_epf_dev *ndev, struct pci_dev *pdev) argument
634 ntb_epf_deinit_pci(struct ntb_epf_dev *ndev) argument
647 ntb_epf_cleanup_isr(struct ntb_epf_dev *ndev) argument
655 free_irq(pci_irq_vector(pdev, i), ndev); local
668 struct ntb_epf_dev *ndev; local
726 struct ntb_epf_dev *ndev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/wiznet/
H A Dw5100.h18 int (*read)(struct net_device *ndev, u32 addr);
19 int (*write)(struct net_device *ndev, u32 addr, u8 data);
20 int (*read16)(struct net_device *ndev, u32 addr);
21 int (*write16)(struct net_device *ndev, u32 addr, u16 data);
22 int (*readbulk)(struct net_device *ndev, u32 addr, u8 *buf, int len);
23 int (*writebulk)(struct net_device *ndev, u32 addr, const u8 *buf,
25 int (*reset)(struct net_device *ndev);
26 int (*init)(struct net_device *ndev);
29 void *w5100_ops_priv(const struct net_device *ndev);
/linux-master/drivers/ntb/hw/idt/
H A Dntb_hw_idt.c293 * @ndev: IDT NTB hardware driver descriptor
299 static void idt_nt_write(struct idt_ntb_dev *ndev, argument
310 iowrite32(data, ndev->cfgspc + (ptrdiff_t)reg);
315 * @ndev: IDT NTB hardware driver descriptor
322 static u32 idt_nt_read(struct idt_ntb_dev *ndev, const unsigned int reg) argument
332 return ioread32(ndev->cfgspc + (ptrdiff_t)reg);
337 * @ndev: IDT NTB hardware driver descriptor
343 static void idt_sw_write(struct idt_ntb_dev *ndev, argument
356 spin_lock_irqsave(&ndev->gasa_lock, irqflags);
358 iowrite32((u32)reg, ndev
374 idt_sw_read(struct idt_ntb_dev *ndev, const unsigned int reg) argument
414 idt_reg_set_bits(struct idt_ntb_dev *ndev, unsigned int reg, spinlock_t *reg_lock, u64 valid_mask, u64 set_bits) argument
450 idt_reg_clear_bits(struct idt_ntb_dev *ndev, unsigned int reg, spinlock_t *reg_lock, u64 clear_bits) argument
480 idt_scan_ports(struct idt_ntb_dev *ndev) argument
550 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
565 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
579 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
600 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
635 idt_init_link(struct idt_ntb_dev *ndev) argument
681 idt_deinit_link(struct idt_ntb_dev *ndev) argument
699 idt_se_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) argument
730 idt_ntb_local_link_enable(struct idt_ntb_dev *ndev) argument
767 idt_ntb_local_link_disable(struct idt_ntb_dev *ndev) argument
798 idt_ntb_local_link_is_up(struct idt_ntb_dev *ndev) argument
835 idt_ntb_peer_link_is_up(struct idt_ntb_dev *ndev, int pidx) argument
882 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
923 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
943 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1041 idt_scan_mws(struct idt_ntb_dev *ndev, int port, unsigned char *mw_cnt) argument
1127 idt_init_mws(struct idt_ntb_dev *ndev) argument
1172 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1199 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1234 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1255 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1290 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1359 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1426 idt_db_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) argument
1463 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1483 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1502 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1520 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1541 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1562 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1588 idt_init_msg(struct idt_ntb_dev *ndev) argument
1609 idt_msg_isr(struct idt_ntb_dev *ndev, u32 ntint_sts) argument
1675 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1695 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1714 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1732 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1753 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1790 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); local
1889 idt_read_temp(struct idt_ntb_dev *ndev, const enum idt_temp_val type, long *val) argument
1930 idt_write_temp(struct idt_ntb_dev *ndev, const enum idt_temp_val type, const long val) argument
1978 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); local
2000 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); local
2034 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); local
2080 idt_init_temp(struct idt_ntb_dev *ndev) argument
2125 idt_init_isr(struct idt_ntb_dev *ndev) argument
2174 idt_deinit_isr(struct idt_ntb_dev *ndev) argument
2203 struct idt_ntb_dev *ndev = devid; local
2279 idt_register_device(struct idt_ntb_dev *ndev) argument
2302 idt_unregister_device(struct idt_ntb_dev *ndev) argument
2337 struct idt_ntb_dev *ndev = filp->private_data; local
2507 idt_init_dbgfs(struct idt_ntb_dev *ndev) argument
2537 idt_deinit_dbgfs(struct idt_ntb_dev *ndev) argument
2602 struct idt_ntb_dev *ndev; local
2637 idt_init_pci(struct idt_ntb_dev *ndev) argument
2703 idt_deinit_pci(struct idt_ntb_dev *ndev) argument
2731 struct idt_ntb_dev *ndev; local
2800 struct idt_ntb_dev *ndev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/vdpa/mlx5/net/
H A Ddebug.c10 struct mlx5_vdpa_net *ndev = file->private; local
12 seq_printf(file, "0x%x\n", ndev->res.tirn);
18 void mlx5_vdpa_remove_tirn(struct mlx5_vdpa_net *ndev) argument
20 if (ndev->debugfs)
21 debugfs_remove(ndev->res.tirn_dent);
24 void mlx5_vdpa_add_tirn(struct mlx5_vdpa_net *ndev) argument
26 ndev->res.tirn_dent = debugfs_create_file("tirn", 0444, ndev->rx_dent,
27 ndev, &tirn_fops);
32 struct mlx5_vdpa_net *ndev local
40 mlx5_vdpa_remove_rx_flow_table(struct mlx5_vdpa_net *ndev) argument
46 mlx5_vdpa_add_rx_flow_table(struct mlx5_vdpa_net *ndev) argument
95 mlx5_vdpa_add_rx_counters(struct mlx5_vdpa_net *ndev, struct macvlan_node *node) argument
130 mlx5_vdpa_remove_rx_counters(struct mlx5_vdpa_net *ndev, struct macvlan_node *node) argument
138 mlx5_vdpa_add_debugfs(struct mlx5_vdpa_net *ndev) argument
149 mlx5_vdpa_remove_debugfs(struct mlx5_vdpa_net *ndev) argument
[all...]
/linux-master/drivers/net/
H A Dntb_netdev.c75 struct net_device *ndev; member in struct:ntb_netdev
85 struct net_device *ndev = data; local
86 struct ntb_netdev *dev = netdev_priv(ndev);
88 netdev_dbg(ndev, "Event %x, Link %x\n", link_is_up,
93 netif_carrier_on(ndev);
95 netif_carrier_off(ndev);
102 struct net_device *ndev = qp_data; local
110 netdev_dbg(ndev, "%s: %d byte payload received\n", __func__, len);
113 ndev->stats.rx_errors++;
114 ndev
166 ntb_netdev_maybe_stop_tx(struct net_device *ndev, struct ntb_transport_qp *qp, int size) argument
179 struct net_device *ndev = qp_data; local
207 ntb_netdev_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument
233 struct net_device *ndev = dev->ndev; local
247 ntb_netdev_open(struct net_device *ndev) argument
283 ntb_netdev_close(struct net_device *ndev) argument
299 ntb_netdev_change_mtu(struct net_device *ndev, int new_mtu) argument
362 ntb_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info) argument
404 struct net_device *ndev; local
465 struct net_device *ndev = dev_get_drvdata(client_dev); local
[all...]
/linux-master/drivers/ntb/hw/intel/
H A Dntb_hw_gen4.c19 static int gen4_poll_link(struct intel_ntb_dev *ndev);
20 static int gen4_link_is_up(struct intel_ntb_dev *ndev);
49 static int gen4_poll_link(struct intel_ntb_dev *ndev) argument
57 iowrite16(GEN4_SLOTSTS_DLLSCS, ndev->self_mmio + GEN4_SLOTSTS);
58 ndev->reg->db_iowrite(ndev->db_link_mask,
59 ndev->self_mmio +
60 ndev->self_reg->db_clear);
62 reg_val = ioread16(ndev->self_mmio + GEN4_LINK_STATUS_OFFSET);
63 if (reg_val == ndev
71 gen4_link_is_up(struct intel_ntb_dev *ndev) argument
76 gen4_init_isr(struct intel_ntb_dev *ndev) argument
96 gen4_setup_b2b_mw(struct intel_ntb_dev *ndev, const struct intel_b2b_addr *addr, const struct intel_b2b_addr *peer_addr) argument
127 gen4_init_ntb(struct intel_ntb_dev *ndev) argument
159 gen4_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) argument
171 spr_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) argument
183 gen4_init_dev(struct intel_ntb_dev *ndev) argument
222 struct intel_ntb_dev *ndev; local
340 struct intel_ntb_dev *ndev = ntb_ndev(ntb); local
434 struct intel_ntb_dev *ndev; local
497 struct intel_ntb_dev *ndev; local
529 struct intel_ntb_dev *ndev = ntb_ndev(ntb); local
[all...]

Completed in 257 milliseconds

1234567891011>>