| /linux/drivers/ntb/hw/amd/ |
| H A D | ntb_hw_amd.c | 76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) in ndev_mw_to_bar() argument 78 if (idx < 0 || idx > ndev->mw_count) in ndev_mw_to_bar() 81 return ndev->dev_data->mw_idx << idx; in ndev_mw_to_bar() 97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_get_align() local 103 bar = ndev_mw_to_bar(ndev, idx); in amd_ntb_mw_get_align() 114 *size_max = pci_resource_len(ndev->ntb.pdev, bar); in amd_ntb_mw_get_align() 122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_set_trans() local 132 bar = ndev_mw_to_bar(ndev, idx); in amd_ntb_mw_set_trans() 142 mmio = ndev->self_mmio; in amd_ntb_mw_set_trans() 143 peer_mmio = ndev->peer_mmio; in amd_ntb_mw_set_trans() [all …]
|
| /linux/net/nfc/nci/ |
| H A D | core.c | 43 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, in nci_get_conn_info_by_conn_id() argument 48 list_for_each_entry(conn_info, &ndev->conn_info_list, list) { in nci_get_conn_info_by_conn_id() 56 int nci_get_conn_info_by_dest_type_params(struct nci_dev *ndev, u8 dest_type, in nci_get_conn_info_by_dest_type_params() argument 61 list_for_each_entry(conn_info, &ndev->conn_info_list, list) { in nci_get_conn_info_by_dest_type_params() 78 void nci_req_complete(struct nci_dev *ndev, int result) in nci_req_complete() argument 80 if (ndev->req_status == NCI_REQ_PEND) { in nci_req_complete() 81 ndev->req_result = result; in nci_req_complete() 82 ndev->req_status = NCI_REQ_DONE; in nci_req_complete() 83 complete(&ndev->req_completion); in nci_req_complete() 88 static void nci_req_cancel(struct nci_dev *ndev, int err) in nci_req_cancel() argument [all …]
|
| H A D | rsp.c | 28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, in nci_core_reset_rsp_packet() argument 38 ndev->nci_ver = rsp->nci_ver; in nci_core_reset_rsp_packet() 43 nci_req_complete(ndev, rsp->status); in nci_core_reset_rsp_packet() 47 static u8 nci_core_init_rsp_packet_v1(struct nci_dev *ndev, in nci_core_init_rsp_packet_v1() argument 74 ndev->nfcc_features = __le32_to_cpu(rsp_1->nfcc_features); in nci_core_init_rsp_packet_v1() 75 ndev->num_supported_rf_interfaces = rsp_1->num_supported_rf_interfaces; in nci_core_init_rsp_packet_v1() 77 ndev->num_supported_rf_interfaces = in nci_core_init_rsp_packet_v1() 78 min((int)ndev->num_supported_rf_interfaces, in nci_core_init_rsp_packet_v1() 81 memcpy(ndev->supported_rf_interfaces, in nci_core_init_rsp_packet_v1() 83 ndev in nci_core_init_rsp_packet_v1() 102 nci_core_init_rsp_packet_v2(struct nci_dev * ndev,const struct sk_buff * skb) nci_core_init_rsp_packet_v2() argument 159 nci_core_init_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_core_init_rsp_packet() argument 200 nci_core_set_config_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_core_set_config_rsp_packet() argument 210 nci_rf_disc_map_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_rf_disc_map_rsp_packet() argument 220 nci_rf_disc_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_rf_disc_rsp_packet() argument 251 nci_rf_disc_select_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_rf_disc_select_rsp_packet() argument 263 nci_rf_deactivate_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_rf_deactivate_rsp_packet() argument 279 nci_nfcee_discover_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_nfcee_discover_rsp_packet() argument 296 nci_nfcee_mode_set_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_nfcee_mode_set_rsp_packet() argument 305 nci_core_conn_create_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_core_conn_create_rsp_packet() argument 360 nci_core_conn_close_rsp_packet(struct nci_dev * ndev,const struct sk_buff * skb) nci_core_conn_close_rsp_packet() argument 381 nci_rsp_packet(struct nci_dev * ndev,struct sk_buff * skb) nci_rsp_packet() argument [all...] |
| H A D | hci.c | 122 static void nci_hci_reset_pipes_per_host(struct nci_dev *ndev, u8 host) in nci_hci_reset_pipes_per_host() argument 127 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host() 128 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 129 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host() 142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() argument 151 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 156 skb = nci_skb_alloc(ndev, conn_info->max_pkt_payload_len + in nci_hci_send_data() 179 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data() 186 skb = nci_skb_alloc(ndev, in nci_hci_send_data() 199 static void nci_hci_send_data_req(struct nci_dev *ndev, const void *opt) in nci_hci_send_data_req() argument [all …]
|
| H A D | ntf.c | 30 static int nci_core_reset_ntf_packet(struct nci_dev *ndev, in nci_core_reset_ntf_packet() argument 41 ndev->nci_ver = ntf->nci_ver; in nci_core_reset_ntf_packet() 45 ndev->manufact_id = ntf->manufact_id; in nci_core_reset_ntf_packet() 46 ndev->manufact_specific_info = in nci_core_reset_ntf_packet() 49 nci_req_complete(ndev, NCI_STATUS_OK); in nci_core_reset_ntf_packet() 54 static int nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet() argument 84 conn_info = nci_get_conn_info_by_conn_id(ndev, in nci_core_conn_credits_ntf_packet() 94 if (!skb_queue_empty(&ndev->tx_q)) in nci_core_conn_credits_ntf_packet() 95 queue_work(ndev->tx_wq, &ndev->tx_work); in nci_core_conn_credits_ntf_packet() 100 static int nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet() argument [all …]
|
| /linux/drivers/ntb/hw/intel/ |
| H A D | ntb_hw_gen1.c | 143 static int xeon_init_isr(struct intel_ntb_dev *ndev); 145 static inline void ndev_reset_unsafe_flags(struct intel_ntb_dev *ndev) in ndev_reset_unsafe_flags() argument 147 ndev->unsafe_flags = 0; in ndev_reset_unsafe_flags() 148 ndev->unsafe_flags_ignore = 0; in ndev_reset_unsafe_flags() 151 if (ndev->hwerr_flags & NTB_HWERR_SDOORBELL_LOCKUP) in ndev_reset_unsafe_flags() 152 if (!ntb_topo_is_b2b(ndev->ntb.topo)) in ndev_reset_unsafe_flags() 153 ndev->unsafe_flags |= NTB_UNSAFE_DB; in ndev_reset_unsafe_flags() 156 if (ndev->hwerr_flags & NTB_HWERR_SB01BASE_LOCKUP) { in ndev_reset_unsafe_flags() 157 ndev->unsafe_flags |= NTB_UNSAFE_DB; in ndev_reset_unsafe_flags() 158 ndev->unsafe_flags |= NTB_UNSAFE_SPAD; in ndev_reset_unsafe_flags() [all …]
|
| H A D | ntb_hw_gen4.c | 19 static int gen4_poll_link(struct intel_ntb_dev *ndev); 20 static int gen4_link_is_up(struct intel_ntb_dev *ndev); 59 static int gen4_poll_link(struct intel_ntb_dev *ndev) in gen4_poll_link() argument 67 iowrite16(GEN4_SLOTSTS_DLLSCS, ndev->self_mmio + GEN4_SLOTSTS); in gen4_poll_link() 68 ndev->reg->db_iowrite(ndev->db_link_mask, in gen4_poll_link() 69 ndev->self_mmio + in gen4_poll_link() 70 ndev->self_reg->db_clear); in gen4_poll_link() 72 reg_val = ioread16(ndev->self_mmio + GEN4_LINK_STATUS_OFFSET); in gen4_poll_link() 73 if (reg_val == ndev->lnk_sta) in gen4_poll_link() 76 ndev->lnk_sta = reg_val; in gen4_poll_link() [all …]
|
| H A D | ntb_hw_gen3.c | 61 static int gen3_poll_link(struct intel_ntb_dev *ndev); 93 static int gen3_poll_link(struct intel_ntb_dev *ndev) in gen3_poll_link() argument 98 ndev->reg->db_iowrite(ndev->db_link_mask, in gen3_poll_link() 99 ndev->self_mmio + in gen3_poll_link() 100 ndev->self_reg->db_clear); in gen3_poll_link() 102 rc = pci_read_config_word(ndev->ntb.pdev, in gen3_poll_link() 107 if (reg_val == ndev->lnk_sta) in gen3_poll_link() 110 ndev->lnk_sta = reg_val; in gen3_poll_link() 115 static int gen3_init_isr(struct intel_ntb_dev *ndev) in gen3_init_isr() argument 127 iowrite8(i, ndev->self_mmio + GEN3_INTVEC_OFFSET + i); in gen3_init_isr() [all …]
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_isr.c | 42 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr() argument 47 value = nitrox_read_csr(ndev, NPS_CORE_INT); in clear_nps_core_err_intr() 48 nitrox_write_csr(ndev, NPS_CORE_INT, value); in clear_nps_core_err_intr() 50 dev_err_ratelimited(DEV(ndev), "NSP_CORE_INT 0x%016llx\n", value); in clear_nps_core_err_intr() 53 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr() argument 59 pkt_int.value = nitrox_read_csr(ndev, NPS_PKT_INT); in clear_nps_pkt_err_intr() 60 dev_err_ratelimited(DEV(ndev), "NPS_PKT_INT 0x%016llx\n", in clear_nps_pkt_err_intr() 65 value = nitrox_read_csr(ndev, offset); in clear_nps_pkt_err_intr() 66 nitrox_write_csr(ndev, offset, value); in clear_nps_pkt_err_intr() 67 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() [all …]
|
| H A D | nitrox_sriov.c | 81 static void nitrox_pf_cleanup(struct nitrox_device *ndev) in nitrox_pf_cleanup() argument 84 atomic_set(&ndev->state, __NDEV_NOT_READY); in nitrox_pf_cleanup() 89 nitrox_unregister_interrupts(ndev); in nitrox_pf_cleanup() 90 nitrox_common_sw_cleanup(ndev); in nitrox_pf_cleanup() 97 static int nitrox_pf_reinit(struct nitrox_device *ndev) in nitrox_pf_reinit() argument 102 err = nitrox_common_sw_init(ndev); in nitrox_pf_reinit() 106 err = nitrox_register_interrupts(ndev); in nitrox_pf_reinit() 108 nitrox_common_sw_cleanup(ndev); in nitrox_pf_reinit() 113 nitrox_config_aqm_rings(ndev); in nitrox_pf_reinit() 116 nitrox_config_pkt_input_rings(ndev); in nitrox_pf_reinit() [all …]
|
| H A D | nitrox_lib.c | 27 struct nitrox_device *ndev = cmdq->ndev; in nitrox_cmdq_init() local 29 cmdq->qsize = (ndev->qlen * cmdq->instr_size) + align_bytes; in nitrox_cmdq_init() 30 cmdq->unalign_base = dma_alloc_coherent(DEV(ndev), cmdq->qsize, in nitrox_cmdq_init() 62 struct nitrox_device *ndev; in nitrox_cmdq_cleanup() local 70 ndev = cmdq->ndev; in nitrox_cmdq_cleanup() 73 dma_free_coherent(DEV(ndev), cmdq->qsize, in nitrox_cmdq_cleanup() 87 static void nitrox_free_aqm_queues(struct nitrox_device *ndev) in nitrox_free_aqm_queues() argument 91 for (i = 0; i < ndev->nr_queues; i++) { in nitrox_free_aqm_queues() 92 nitrox_cmdq_cleanup(ndev->aqmq[i]); in nitrox_free_aqm_queues() 93 kfree_sensitive(ndev->aqmq[i]); in nitrox_free_aqm_queues() [all …]
|
| H A D | nitrox_mbx.c | 35 struct nitrox_device *ndev; member 39 static inline u64 pf2vf_read_mbox(struct nitrox_device *ndev, int ring) in pf2vf_read_mbox() argument 44 return nitrox_read_csr(ndev, reg_addr); in pf2vf_read_mbox() 47 static inline void pf2vf_write_mbox(struct nitrox_device *ndev, u64 value, in pf2vf_write_mbox() argument 53 nitrox_write_csr(ndev, reg_addr, value); in pf2vf_write_mbox() 56 static void pf2vf_send_response(struct nitrox_device *ndev, in pf2vf_send_response() argument 65 msg.data = ndev->mode; in pf2vf_send_response() 72 msg.id.chipid = ndev->idx; in pf2vf_send_response() 96 pf2vf_write_mbox(ndev, msg.value, vfdev->ring); in pf2vf_send_response() 107 struct nitrox_device *ndev = pf2vf_resp->ndev; in pf2vf_resp_handler() local [all …]
|
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 293 * @ndev: IDT NTB hardware driver descriptor 299 static void idt_nt_write(struct idt_ntb_dev *ndev, in idt_nt_write() argument 310 iowrite32(data, ndev->cfgspc + (ptrdiff_t)reg); in idt_nt_write() 315 * @ndev: IDT NTB hardware driver descriptor 322 static u32 idt_nt_read(struct idt_ntb_dev *ndev, const unsigned int reg) in idt_nt_read() argument 332 return ioread32(ndev->cfgspc + (ptrdiff_t)reg); in idt_nt_read() 337 * @ndev: IDT NTB hardware driver descriptor 343 static void idt_sw_write(struct idt_ntb_dev *ndev, in idt_sw_write() argument 356 spin_lock_irqsave(&ndev->gasa_lock, irqflags); in idt_sw_write() 358 iowrite32((u32)reg, ndev in idt_sw_write() 374 idt_sw_read(struct idt_ntb_dev * ndev,const unsigned int reg) idt_sw_read() argument 414 idt_reg_set_bits(struct idt_ntb_dev * ndev,unsigned int reg,spinlock_t * reg_lock,u64 valid_mask,u64 set_bits) idt_reg_set_bits() argument 450 idt_reg_clear_bits(struct idt_ntb_dev * ndev,unsigned int reg,spinlock_t * reg_lock,u64 clear_bits) idt_reg_clear_bits() argument 480 idt_scan_ports(struct idt_ntb_dev * ndev) idt_scan_ports() argument 550 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_port_number() local 565 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_port_count() local 579 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_port_number() local 600 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_port_idx() local 635 idt_init_link(struct idt_ntb_dev * ndev) idt_init_link() argument 681 idt_deinit_link(struct idt_ntb_dev * ndev) idt_deinit_link() argument 699 idt_se_isr(struct idt_ntb_dev * ndev,u32 ntint_sts) idt_se_isr() argument 730 idt_ntb_local_link_enable(struct idt_ntb_dev * ndev) idt_ntb_local_link_enable() argument 767 idt_ntb_local_link_disable(struct idt_ntb_dev * ndev) idt_ntb_local_link_disable() argument 798 idt_ntb_local_link_is_up(struct idt_ntb_dev * ndev) idt_ntb_local_link_is_up() argument 835 idt_ntb_peer_link_is_up(struct idt_ntb_dev * ndev,int pidx) idt_ntb_peer_link_is_up() argument 882 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_link_is_up() local 923 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_link_enable() local 943 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_link_disable() local 1041 idt_scan_mws(struct idt_ntb_dev * ndev,int port,unsigned char * mw_cnt) idt_scan_mws() argument 1123 idt_init_mws(struct idt_ntb_dev * ndev) idt_init_mws() argument 1168 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_mw_count() local 1195 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_mw_get_align() local 1230 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_mw_count() local 1251 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_mw_get_addr() local 1286 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_mw_set_trans() local 1355 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_mw_clear_trans() local 1422 idt_db_isr(struct idt_ntb_dev * ndev,u32 ntint_sts) idt_db_isr() argument 1459 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_db_read() local 1479 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_db_clear() local 1498 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_db_read_mask() local 1516 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_db_set_mask() local 1537 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_db_clear_mask() local 1558 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_db_set() local 1584 idt_init_msg(struct idt_ntb_dev * ndev) idt_init_msg() argument 1605 idt_msg_isr(struct idt_ntb_dev * ndev,u32 ntint_sts) idt_msg_isr() argument 1671 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_msg_read_sts() local 1691 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_msg_clear_sts() local 1710 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_msg_set_mask() local 1728 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_msg_clear_mask() local 1749 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_msg_read() local 1786 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); idt_ntb_peer_msg_write() local 1885 idt_read_temp(struct idt_ntb_dev * ndev,const enum idt_temp_val type,long * val) idt_read_temp() argument 1926 idt_write_temp(struct idt_ntb_dev * ndev,const enum idt_temp_val type,const long val) idt_write_temp() argument 1974 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); idt_sysfs_show_temp() local 1996 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); idt_sysfs_set_temp() local 2030 struct idt_ntb_dev *ndev = dev_get_drvdata(dev); idt_sysfs_reset_hist() local 2076 idt_init_temp(struct idt_ntb_dev * ndev) idt_init_temp() argument 2121 idt_init_isr(struct idt_ntb_dev * ndev) idt_init_isr() argument 2170 idt_deinit_isr(struct idt_ntb_dev * ndev) idt_deinit_isr() argument 2199 struct idt_ntb_dev *ndev = devid; idt_thread_isr() local 2275 idt_register_device(struct idt_ntb_dev * ndev) idt_register_device() argument 2298 idt_unregister_device(struct idt_ntb_dev * ndev) idt_unregister_device() argument 2333 struct idt_ntb_dev *ndev = filp->private_data; idt_dbgfs_info_read() local 2503 idt_init_dbgfs(struct idt_ntb_dev * ndev) idt_init_dbgfs() argument 2533 idt_deinit_dbgfs(struct idt_ntb_dev * ndev) idt_deinit_dbgfs() argument 2598 struct idt_ntb_dev *ndev; idt_create_dev() local 2633 idt_init_pci(struct idt_ntb_dev * ndev) idt_init_pci() argument 2704 idt_deinit_pci(struct idt_ntb_dev * ndev) idt_deinit_pci() argument 2732 struct idt_ntb_dev *ndev; idt_pci_probe() local 2801 struct idt_ntb_dev *ndev = pci_get_drvdata(pdev); idt_pci_remove() local [all...] |
| /linux/drivers/ntb/hw/epf/ |
| H A D | ntb_hw_epf.c | 96 struct ntb_epf_dev *ndev; member 126 static int ntb_epf_send_command(struct ntb_epf_dev *ndev, u32 command, in ntb_epf_send_command() argument 134 mutex_lock(&ndev->cmd_lock); in ntb_epf_send_command() 135 writel(argument, ndev->ctrl_reg + NTB_EPF_ARGUMENT); in ntb_epf_send_command() 136 writel(command, ndev->ctrl_reg + NTB_EPF_COMMAND); in ntb_epf_send_command() 141 status = readw(ndev->ctrl_reg + NTB_EPF_CMD_STATUS); in ntb_epf_send_command() 159 writew(0, ndev->ctrl_reg + NTB_EPF_CMD_STATUS); in ntb_epf_send_command() 160 mutex_unlock(&ndev->cmd_lock); in ntb_epf_send_command() 165 static int ntb_epf_mw_to_bar(struct ntb_epf_dev *ndev, int idx) in ntb_epf_mw_to_bar() argument 167 struct device *dev = ndev in ntb_epf_mw_to_bar() 179 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_mw_count() local 195 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_mw_get_align() local 224 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_link_is_up() local 234 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_spad_read() local 252 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_spad_write() local 270 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_peer_spad_read() local 291 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_peer_spad_write() local 315 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_link_enable() local 330 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_link_disable() local 346 struct ntb_epf_dev *ndev = ctx->ndev; ntb_epf_vec_isr() local 372 ntb_epf_init_isr(struct ntb_epf_dev * ndev,int msi_min,int msi_max) ntb_epf_init_isr() argument 439 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_db_vector_count() local 475 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_mw_set_trans() local 508 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_mw_clear_trans() local 522 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_peer_mw_get_addr() local 544 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_peer_db_set() local 577 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_db_read() local 589 struct ntb_epf_dev *ndev = ntb_ndev(ntb); ntb_epf_db_clear() local 621 ntb_epf_init_struct(struct ntb_epf_dev * ndev,struct pci_dev * pdev) ntb_epf_init_struct() argument 629 ntb_epf_init_dev(struct ntb_epf_dev * ndev) ntb_epf_init_dev() argument 658 ntb_epf_init_pci(struct ntb_epf_dev * ndev,struct pci_dev * pdev) ntb_epf_init_pci() argument 727 ntb_epf_deinit_pci(struct ntb_epf_dev * ndev) ntb_epf_deinit_pci() argument 741 ntb_epf_cleanup_isr(struct ntb_epf_dev * ndev) ntb_epf_cleanup_isr() argument 757 struct ntb_epf_dev *ndev; ntb_epf_pci_probe() local 807 struct ntb_epf_dev *ndev = pci_get_drvdata(pdev); ntb_epf_pci_remove() local [all...] |
| /linux/drivers/net/ |
| H A D | ntb_netdev.c | 44 struct net_device *ndev; member 54 struct net_device *ndev; in ntb_netdev_update_carrier() local 58 ndev = dev->ndev; in ntb_netdev_update_carrier() 68 netif_carrier_on(ndev); in ntb_netdev_update_carrier() 70 netif_carrier_off(ndev); in ntb_netdev_update_carrier() 82 static int ntb_netdev_queue_rx_fill(struct net_device *ndev, in ntb_netdev_queue_rx_fill() argument 89 skb = netdev_alloc_skb(ndev, ndev->mtu + ETH_HLEN); in ntb_netdev_queue_rx_fill() 94 ndev->mtu + ETH_HLEN); in ntb_netdev_queue_rx_fill() 108 struct net_device *ndev; in ntb_netdev_event_handler() local 110 ndev = dev->ndev; in ntb_netdev_event_handler() [all …]
|
| /linux/drivers/net/ethernet/renesas/ |
| H A D | ravb_main.c | 43 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify() argument 46 ravb_write(ndev, (ravb_read(ndev, reg) & ~clear) | set, reg); in ravb_modify() 49 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait() argument 54 if ((ravb_read(ndev, reg) & mask) == value) in ravb_wait() 61 static int ravb_set_opmode(struct net_device *ndev, u32 opmode) in ravb_set_opmode() argument 75 ravb_modify(ndev, CCC, ccc_mask, opmode); in ravb_set_opmode() 77 error = ravb_wait(ndev, CSR, CSR_OPS, csr_ops); in ravb_set_opmode() 79 netdev_err(ndev, "failed to switch device to requested mode (%u)\n", in ravb_set_opmode() 86 static void ravb_set_rate_gbeth(struct net_device *ndev) in ravb_set_rate_gbeth() argument 103 ravb_set_rate_rcar(struct net_device * ndev) ravb_set_rate_rcar() argument 123 ravb_read_mac_address(struct device_node * np,struct net_device * ndev) ravb_read_mac_address() argument 195 ravb_tx_free(struct net_device * ndev,int q,bool free_txed_only) ravb_tx_free() argument 238 ravb_rx_ring_free(struct net_device * ndev,int q) ravb_rx_ring_free() argument 253 ravb_ring_free(struct net_device * ndev,int q) ravb_ring_free() argument 295 ravb_alloc_rx_buffer(struct net_device * ndev,int q,u32 entry,gfp_t gfp_mask,struct ravb_rx_desc * rx_desc) ravb_alloc_rx_buffer() argument 331 ravb_rx_ring_refill(struct net_device * ndev,int q,u32 count,gfp_t gfp_mask) ravb_rx_ring_refill() argument 355 ravb_ring_format(struct net_device * ndev,int q) ravb_ring_format() argument 403 ravb_alloc_rx_desc(struct net_device * ndev,int q) ravb_alloc_rx_desc() argument 418 ravb_ring_init(struct net_device * ndev,int q) ravb_ring_init() argument 487 ravb_csum_init_gbeth(struct net_device * ndev) ravb_csum_init_gbeth() argument 516 ravb_emac_init_gbeth(struct net_device * ndev) ravb_emac_init_gbeth() argument 554 ravb_emac_init_rcar(struct net_device * ndev) ravb_emac_init_rcar() argument 588 ravb_emac_init_rcar_gen4(struct net_device * ndev) ravb_emac_init_rcar_gen4() argument 599 ravb_emac_init(struct net_device * ndev) ravb_emac_init() argument 607 ravb_dmac_init_gbeth(struct net_device * ndev) ravb_dmac_init_gbeth() argument 642 ravb_dmac_init_rcar(struct net_device * ndev) ravb_dmac_init_rcar() argument 691 ravb_dmac_init(struct net_device * ndev) ravb_dmac_init() argument 713 ravb_get_tx_tstamp(struct net_device * ndev) ravb_get_tx_tstamp() argument 801 ravb_rx_gbeth(struct net_device * ndev,int budget,int q) ravb_rx_gbeth() argument 976 ravb_rx_rcar(struct net_device * ndev,int budget,int q) ravb_rx_rcar() argument 1063 ravb_rx(struct net_device * ndev,int budget,int q) ravb_rx() argument 1071 ravb_rcv_snd_disable(struct net_device * ndev) ravb_rcv_snd_disable() argument 1077 ravb_rcv_snd_enable(struct net_device * ndev) ravb_rcv_snd_enable() argument 1084 ravb_stop_dma(struct net_device * ndev) ravb_stop_dma() argument 1123 ravb_emac_interrupt_unlocked(struct net_device * ndev) ravb_emac_interrupt_unlocked() argument 1154 struct net_device *ndev = dev_id; ravb_emac_interrupt() local 1176 ravb_error_interrupt(struct net_device * ndev) ravb_error_interrupt() argument 1202 ravb_queue_interrupt(struct net_device * ndev,int q) ravb_queue_interrupt() argument 1235 ravb_timestamp_interrupt(struct net_device * ndev) ravb_timestamp_interrupt() argument 1249 struct net_device *ndev = dev_id; ravb_interrupt() local 1313 struct net_device *ndev = dev_id; ravb_multi_interrupt() local 1353 struct net_device *ndev = dev_id; ravb_dma_interrupt() local 1388 struct net_device *ndev = napi->dev; ravb_poll() local 1434 ravb_set_duplex_gbeth(struct net_device * ndev) ravb_set_duplex_gbeth() argument 1442 ravb_adjust_link(struct net_device * ndev) ravb_adjust_link() argument 1492 ravb_phy_init(struct net_device * ndev) ravb_phy_init() argument 1554 ravb_phy_start(struct net_device * ndev) ravb_phy_start() argument 1567 ravb_get_msglevel(struct net_device * ndev) ravb_get_msglevel() argument 1574 ravb_set_msglevel(struct net_device * ndev,u32 value) ravb_set_msglevel() argument 1646 ravb_get_ethtool_stats(struct net_device * ndev,struct ethtool_stats * estats,u64 * data) ravb_get_ethtool_stats() argument 1678 ravb_get_strings(struct net_device * ndev,u32 stringset,u8 * data) ravb_get_strings() argument 1690 ravb_get_ringparam(struct net_device * ndev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ravb_get_ringparam() argument 1703 ravb_set_ringparam(struct net_device * ndev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) ravb_set_ringparam() argument 1765 ravb_get_ts_info(struct net_device * ndev,struct kernel_ethtool_ts_info * info) ravb_get_ts_info() argument 1788 ravb_get_wol(struct net_device * ndev,struct ethtool_wolinfo * wol) ravb_get_wol() argument 1796 ravb_set_wol(struct net_device * ndev,struct ethtool_wolinfo * wol) ravb_set_wol() argument 1828 ravb_set_config_mode(struct net_device * ndev) ravb_set_config_mode() argument 1849 ravb_set_gti(struct net_device * ndev) ravb_set_gti() argument 1863 ravb_compute_gti(struct net_device * ndev) ravb_compute_gti() argument 1894 ravb_parse_delay_mode(struct device_node * np,struct net_device * ndev) ravb_parse_delay_mode() argument 1931 ravb_set_delay_mode(struct net_device * ndev) ravb_set_delay_mode() argument 1947 ravb_open(struct net_device * ndev) ravb_open() argument 2009 ravb_tx_timeout(struct net_device * ndev,unsigned int txqueue) ravb_tx_timeout() argument 2028 struct net_device *ndev = priv->ndev; ravb_tx_timeout_work() local 2128 ravb_start_xmit(struct sk_buff * skb,struct net_device * ndev) ravb_start_xmit() argument 2285 ravb_select_queue(struct net_device * ndev,struct sk_buff * skb,struct net_device * sb_dev) ravb_select_queue() argument 2294 ravb_get_stats(struct net_device * ndev) ravb_get_stats() argument 2355 ravb_set_rx_mode(struct net_device * ndev) ravb_set_rx_mode() argument 2367 ravb_close(struct net_device * ndev) ravb_close() argument 2434 ravb_hwtstamp_get(struct net_device * ndev,struct kernel_hwtstamp_config * config) ravb_hwtstamp_get() argument 2447 ravb_hwtstamp_set(struct net_device * ndev,struct kernel_hwtstamp_config * config,struct netlink_ext_ack * extack) ravb_hwtstamp_set() argument 2480 ravb_change_mtu(struct net_device * ndev,int new_mtu) ravb_change_mtu() argument 2496 ravb_set_rx_csum(struct net_device * ndev,bool enable) ravb_set_rx_csum() argument 2515 ravb_endisable_csum_gbeth(struct net_device * ndev,enum ravb_reg reg,u32 val,u32 mask) ravb_endisable_csum_gbeth() argument 2531 ravb_set_features_gbeth(struct net_device * ndev,netdev_features_t features) ravb_set_features_gbeth() argument 2569 ravb_set_features_rcar(struct net_device * ndev,netdev_features_t features) ravb_set_features_rcar() argument 2580 ravb_set_features(struct net_device * ndev,netdev_features_t features) ravb_set_features() argument 2830 struct net_device *ndev = priv->ndev; ravb_setup_irq() local 2863 struct net_device *ndev = priv->ndev; ravb_setup_irqs() local 2920 struct net_device *ndev; ravb_probe() local 3136 struct net_device *ndev = platform_get_drvdata(pdev); ravb_remove() local 3165 ravb_wol_setup(struct net_device * ndev) ravb_wol_setup() argument 3191 ravb_wol_restore(struct net_device * ndev) ravb_wol_restore() argument 3224 struct net_device *ndev = dev_get_drvdata(dev); ravb_suspend() local 3255 struct net_device *ndev = dev_get_drvdata(dev); ravb_resume() local 3297 struct net_device *ndev = dev_get_drvdata(dev); ravb_runtime_suspend() local 3307 struct net_device *ndev = dev_get_drvdata(dev); ravb_runtime_resume() local [all...] |
| H A D | sh_eth.c | 344 static void sh_eth_rcv_snd_disable(struct net_device *ndev); 345 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev); 347 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index) in sh_eth_write() argument 349 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_write() 358 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read() argument 360 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_read() 369 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify() argument 372 sh_eth_write(ndev, (sh_eth_read(ndev, enum_index) & ~clear) | set, in sh_eth_modify() 413 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii() argument 441 sh_eth_set_duplex(struct net_device * ndev) sh_eth_set_duplex() argument 448 sh_eth_chip_reset(struct net_device * ndev) sh_eth_chip_reset() argument 457 sh_eth_soft_reset(struct net_device * ndev) sh_eth_soft_reset() argument 466 sh_eth_check_soft_reset(struct net_device * ndev) sh_eth_check_soft_reset() argument 480 sh_eth_soft_reset_gether(struct net_device * ndev) sh_eth_soft_reset_gether() argument 513 sh_eth_set_rate_gether(struct net_device * ndev) sh_eth_set_rate_gether() argument 578 sh_eth_chip_reset_r8a7740(struct net_device * ndev) sh_eth_chip_reset_r8a7740() argument 632 sh_eth_set_rate_rcar(struct net_device * ndev) sh_eth_set_rate_rcar() argument 795 sh_eth_set_rate_sh7724(struct net_device * ndev) sh_eth_set_rate_sh7724() argument 839 sh_eth_set_rate_sh7757(struct net_device * ndev) sh_eth_set_rate_sh7757() argument 890 sh_eth_chip_reset_giga(struct net_device * ndev) sh_eth_chip_reset_giga() argument 910 sh_eth_set_rate_giga(struct net_device * ndev) sh_eth_set_rate_giga() argument 1135 update_mac_address(struct net_device * ndev) update_mac_address() argument 1151 read_mac_address(struct net_device * ndev,unsigned char * mac) read_mac_address() argument 1231 sh_eth_tx_free(struct net_device * ndev,bool sent_only) sh_eth_tx_free() argument 1273 sh_eth_ring_free(struct net_device * ndev) sh_eth_ring_free() argument 1318 sh_eth_ring_format(struct net_device * ndev) sh_eth_ring_format() argument 1397 sh_eth_ring_init(struct net_device * ndev) sh_eth_ring_init() argument 1445 sh_eth_dev_init(struct net_device * ndev) sh_eth_dev_init() argument 1534 sh_eth_dev_exit(struct net_device * ndev) sh_eth_dev_exit() argument 1582 sh_eth_rx(struct net_device * ndev,u32 intr_status,int * quota) sh_eth_rx() argument 1718 sh_eth_rcv_snd_disable(struct net_device * ndev) sh_eth_rcv_snd_disable() argument 1724 sh_eth_rcv_snd_enable(struct net_device * ndev) sh_eth_rcv_snd_enable() argument 1731 sh_eth_emac_interrupt(struct net_device * ndev) sh_eth_emac_interrupt() argument 1765 sh_eth_error(struct net_device * ndev,u32 intr_status) sh_eth_error() argument 1840 struct net_device *ndev = netdev; sh_eth_interrupt() local 1912 struct net_device *ndev = napi->dev; sh_eth_poll() local 1937 sh_eth_adjust_link(struct net_device * ndev) sh_eth_adjust_link() argument 1987 sh_eth_phy_init(struct net_device * ndev) sh_eth_phy_init() argument 2034 sh_eth_phy_start(struct net_device * ndev) sh_eth_phy_start() argument 2055 __sh_eth_get_regs(struct net_device * ndev,u32 * buf) __sh_eth_get_regs() argument 2220 sh_eth_get_regs_len(struct net_device * ndev) sh_eth_get_regs_len() argument 2225 sh_eth_get_regs(struct net_device * ndev,struct ethtool_regs * regs,void * buf) sh_eth_get_regs() argument 2237 sh_eth_get_msglevel(struct net_device * ndev) sh_eth_get_msglevel() argument 2243 sh_eth_set_msglevel(struct net_device * ndev,u32 value) sh_eth_set_msglevel() argument 2265 sh_eth_get_ethtool_stats(struct net_device * ndev,struct ethtool_stats * stats,u64 * data) sh_eth_get_ethtool_stats() argument 2278 sh_eth_get_strings(struct net_device * ndev,u32 stringset,u8 * data) sh_eth_get_strings() argument 2288 sh_eth_get_ringparam(struct net_device * ndev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) sh_eth_get_ringparam() argument 2301 sh_eth_set_ringparam(struct net_device * ndev,struct ethtool_ringparam * ring,struct kernel_ethtool_ringparam * kernel_ring,struct netlink_ext_ack * extack) sh_eth_set_ringparam() argument 2362 sh_eth_get_wol(struct net_device * ndev,struct ethtool_wolinfo * wol) sh_eth_get_wol() argument 2375 sh_eth_set_wol(struct net_device * ndev,struct ethtool_wolinfo * wol) sh_eth_set_wol() argument 2411 sh_eth_open(struct net_device * ndev) sh_eth_open() argument 2457 sh_eth_tx_timeout(struct net_device * ndev,unsigned int txqueue) sh_eth_tx_timeout() argument 2493 sh_eth_start_xmit(struct sk_buff * skb,struct net_device * ndev) sh_eth_start_xmit() argument 2551 sh_eth_update_stat(struct net_device * ndev,unsigned long * stat,int reg) sh_eth_update_stat() argument 2561 sh_eth_get_stats(struct net_device * ndev) sh_eth_get_stats() argument 2589 sh_eth_close(struct net_device * ndev) sh_eth_close() argument 2624 sh_eth_change_mtu(struct net_device * ndev,int new_mtu) sh_eth_change_mtu() argument 2646 sh_eth_tsu_enable_cam_entry_post(struct net_device * ndev,int entry) sh_eth_tsu_enable_cam_entry_post() argument 2657 sh_eth_tsu_disable_cam_entry_post(struct net_device * ndev,int entry) sh_eth_tsu_disable_cam_entry_post() argument 2674 sh_eth_tsu_busy(struct net_device * ndev) sh_eth_tsu_busy() argument 2691 sh_eth_tsu_write_entry(struct net_device * ndev,u16 offset,const u8 * addr) sh_eth_tsu_write_entry() argument 2710 sh_eth_tsu_read_entry(struct net_device * ndev,u16 offset,u8 * addr) sh_eth_tsu_read_entry() argument 2726 sh_eth_tsu_find_entry(struct net_device * ndev,const u8 * addr) sh_eth_tsu_find_entry() argument 2742 sh_eth_tsu_find_empty(struct net_device * ndev) sh_eth_tsu_find_empty() argument 2752 sh_eth_tsu_disable_cam_entry_table(struct net_device * ndev,int entry) sh_eth_tsu_disable_cam_entry_table() argument 2770 sh_eth_tsu_add_entry(struct net_device * ndev,const u8 * addr) sh_eth_tsu_add_entry() argument 2800 sh_eth_tsu_del_entry(struct net_device * ndev,const u8 * addr) sh_eth_tsu_del_entry() argument 2823 sh_eth_tsu_purge_all(struct net_device * ndev) sh_eth_tsu_purge_all() argument 2844 sh_eth_tsu_purge_mcast(struct net_device * ndev) sh_eth_tsu_purge_mcast() argument 2862 sh_eth_set_rx_mode(struct net_device * ndev) sh_eth_set_rx_mode() argument 2912 sh_eth_set_rx_csum(struct net_device * ndev,bool enable) sh_eth_set_rx_csum() argument 2931 sh_eth_set_features(struct net_device * ndev,netdev_features_t features) sh_eth_set_features() argument 2953 sh_eth_vlan_rx_add_vid(struct net_device * ndev,__be16 proto,u16 vid) sh_eth_vlan_rx_add_vid() argument 2983 sh_eth_vlan_rx_kill_vid(struct net_device * ndev,__be16 proto,u16 vid) sh_eth_vlan_rx_kill_vid() argument 3261 struct net_device *ndev; sh_eth_drv_probe() local 3438 struct net_device *ndev = platform_get_drvdata(pdev); sh_eth_drv_remove() local 3448 sh_eth_wol_setup(struct net_device * ndev) sh_eth_wol_setup() argument 3463 sh_eth_wol_restore(struct net_device * ndev) sh_eth_wol_restore() argument 3488 struct net_device *ndev = dev_get_drvdata(dev); sh_eth_suspend() local 3509 struct net_device *ndev = dev_get_drvdata(dev); sh_eth_resume() local [all...] |
| H A D | ravb_ptp.c | 13 struct net_device *ndev = priv->ndev; in ravb_ptp_tcr_request() local 16 error = ravb_wait(ndev, GCCR, GCCR_TCR, GCCR_TCR_NOREQ); in ravb_ptp_tcr_request() 20 ravb_modify(ndev, GCCR, request, request); in ravb_ptp_tcr_request() 21 return ravb_wait(ndev, GCCR, GCCR_TCR, GCCR_TCR_NOREQ); in ravb_ptp_tcr_request() 27 struct net_device *ndev = priv->ndev; in ravb_ptp_time_read() local 34 ts->tv_nsec = ravb_read(ndev, GCT0); in ravb_ptp_time_read() 35 ts->tv_sec = ravb_read(ndev, GCT1) | in ravb_ptp_time_read() 36 ((s64)ravb_read(ndev, GCT in ravb_ptp_time_read() 45 struct net_device *ndev = priv->ndev; ravb_ptp_time_write() local 67 struct net_device *ndev = priv->ndev; ravb_ptp_update_compare() local 95 struct net_device *ndev = priv->ndev; ravb_ptp_adjfine() local 176 struct net_device *ndev = priv->ndev; ravb_ptp_extts() local 204 struct net_device *ndev = priv->ndev; ravb_ptp_perout() local 289 ravb_ptp_interrupt(struct net_device * ndev) ravb_ptp_interrupt() argument 316 ravb_ptp_init(struct net_device * ndev,struct platform_device * pdev) ravb_ptp_init() argument 343 ravb_ptp_disable(struct net_device * ndev) ravb_ptp_disable() argument 349 ravb_ptp_sync_irqs(struct net_device * ndev) ravb_ptp_sync_irqs() argument 360 ravb_ptp_stop(struct net_device * ndev) ravb_ptp_stop() argument [all...] |
| /linux/drivers/net/ethernet/ezchip/ |
| H A D | nps_enet.c | 23 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) in nps_enet_clean_rx_fifo() argument 25 struct nps_enet_priv *priv = netdev_priv(ndev); in nps_enet_clean_rx_fifo() 33 static void nps_enet_read_rx_fifo(struct net_device *ndev, in nps_enet_read_rx_fifo() argument 36 struct nps_enet_priv *priv = netdev_priv(ndev); in nps_enet_read_rx_fifo() 61 static u32 nps_enet_rx_handler(struct net_device *ndev) in nps_enet_rx_handler() argument 65 struct nps_enet_priv *priv = netdev_priv(ndev); in nps_enet_rx_handler() 83 ndev->stats.rx_errors++; in nps_enet_rx_handler() 89 ndev->stats.rx_crc_errors++; in nps_enet_rx_handler() 90 ndev->stats.rx_dropped++; in nps_enet_rx_handler() 96 ndev->stats.rx_length_errors++; in nps_enet_rx_handler() [all …]
|
| /linux/drivers/net/ethernet/apm/xgene-v2/ |
| H A D | main.c | 15 struct net_device *ndev; in xge_get_resources() local 22 ndev = pdata->ndev; in xge_get_resources() 37 if (device_get_ethdev_address(dev, ndev)) in xge_get_resources() 38 eth_hw_addr_random(ndev); in xge_get_resources() 40 memcpy(ndev->perm_addr, ndev->dev_addr, ndev->addr_len); in xge_get_resources() 62 static int xge_refill_buffers(struct net_device *ndev, u32 nbuf) in xge_refill_buffers() argument 64 struct xge_pdata *pdata = netdev_priv(ndev); in xge_refill_buffers() 80 skb = netdev_alloc_skb(ndev, len); in xge_refill_buffers() 86 netdev_err(ndev, "DMA mapping error\n"); in xge_refill_buffers() 112 static int xge_init_hw(struct net_device *ndev) in xge_init_hw() argument [all …]
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 131 struct mlx5_vdpa_net *ndev; member 159 static void free_fixed_resources(struct mlx5_vdpa_net *ndev); 160 static void mvqs_set_defaults(struct mlx5_vdpa_net *ndev); 161 static int setup_vq_resources(struct mlx5_vdpa_net *ndev, bool filled); 162 static void teardown_vq_resources(struct mlx5_vdpa_net *ndev); 163 static int resume_vq(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq); 281 static int create_tis(struct mlx5_vdpa_net *ndev) in create_tis() argument 283 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() 289 MLX5_SET(tisc, tisc, transport_domain, ndev->res.tdn); in create_tis() 290 err = mlx5_vdpa_create_tis(mvdev, in, &ndev in create_tis() 297 destroy_tis(struct mlx5_vdpa_net * ndev) destroy_tis() argument 305 cq_frag_buf_alloc(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_cq_buf * buf,int nent) cq_frag_buf_alloc() argument 325 umem_frag_buf_alloc(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_umem * umem,int size) umem_frag_buf_alloc() argument 333 cq_frag_buf_free(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_cq_buf * buf) cq_frag_buf_free() argument 373 qp_prepare(struct mlx5_vdpa_net * ndev,bool fw,void * in,struct mlx5_vdpa_virtqueue * mvq,u32 num_ent) qp_prepare() argument 407 rq_buf_alloc(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_qp * vqp,u32 num_ent) rq_buf_alloc() argument 414 rq_buf_free(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_qp * vqp) rq_buf_free() argument 419 qp_create(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,struct mlx5_vdpa_qp * vqp) qp_create() argument 479 qp_destroy(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_qp * vqp) qp_destroy() argument 513 struct mlx5_vdpa_net *ndev = mvq->ndev; mlx5_vdpa_handle_completions() local 531 struct mlx5_vdpa_net *ndev = mvq->ndev; mlx5_vdpa_cq_comp() local 555 cq_create(struct mlx5_vdpa_net * ndev,u16 idx,u32 num_ent) cq_create() argument 630 cq_destroy(struct mlx5_vdpa_net * ndev,u16 idx) cq_destroy() argument 644 read_umem_params(struct mlx5_vdpa_net * ndev) read_umem_params() argument 684 set_umem_size(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,int num,struct mlx5_vdpa_umem ** umemp) set_umem_size() argument 711 umem_frag_buf_free(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_umem * umem) umem_frag_buf_free() argument 716 create_umem(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,int num) create_umem() argument 766 umem_destroy(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,int num) umem_destroy() argument 792 umems_create(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) umems_create() argument 811 umems_destroy(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) umems_destroy() argument 819 get_queue_type(struct mlx5_vdpa_net * ndev) get_queue_type() argument 876 create_virtqueue(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,bool filled) create_virtqueue() argument 1001 destroy_virtqueue(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) destroy_virtqueue() argument 1036 alloc_inout(struct mlx5_vdpa_net * ndev,int cmd,void ** in,int * inlen,void ** out,int * outlen,u32 qpn,u32 rqpn) alloc_inout() argument 1131 modify_qp(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,bool fw,int cmd) modify_qp() argument 1148 connect_qps(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) connect_qps() argument 1195 fill_query_virtqueue_cmd(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,struct mlx5_virtqueue_query_mem * cmd) fill_query_virtqueue_cmd() argument 1207 query_virtqueue_end(struct mlx5_vdpa_net * ndev,struct mlx5_virtqueue_query_mem * cmd,struct mlx5_virtq_attr * attr) query_virtqueue_end() argument 1219 query_virtqueues(struct mlx5_vdpa_net * ndev,int start_vq,int num_vqs,struct mlx5_virtq_attr * attrs) query_virtqueues() argument 1274 is_resumable(struct mlx5_vdpa_net * ndev) is_resumable() argument 1304 fill_modify_virtqueue_cmd(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,int state,struct mlx5_virtqueue_modify_mem * cmd) fill_modify_virtqueue_cmd() argument 1375 modify_virtqueue_end(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,int state) modify_virtqueue_end() argument 1405 counter_set_alloc(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) counter_set_alloc() argument 1430 counter_set_dealloc(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) counter_set_dealloc() argument 1456 alloc_vector(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) alloc_vector() argument 1482 dealloc_vector(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) dealloc_vector() argument 1496 setup_vq(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,bool filled) setup_vq() argument 1555 modify_virtqueues(struct mlx5_vdpa_net * ndev,int start_vq,int num_vqs,int state) modify_virtqueues() argument 1631 suspend_vqs(struct mlx5_vdpa_net * ndev,int start_vq,int num_vqs) suspend_vqs() argument 1671 suspend_vq(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) suspend_vq() argument 1676 resume_vqs(struct mlx5_vdpa_net * ndev,int start_vq,int num_vqs) resume_vqs() argument 1717 resume_vq(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) resume_vq() argument 1722 teardown_vq(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) teardown_vq() argument 1738 create_rqt(struct mlx5_vdpa_net * ndev) create_rqt() argument 1774 modify_rqt(struct mlx5_vdpa_net * ndev,int num) modify_rqt() argument 1807 destroy_rqt(struct mlx5_vdpa_net * ndev) destroy_rqt() argument 1812 create_tir(struct mlx5_vdpa_net * ndev) create_tir() argument 1858 destroy_tir(struct mlx5_vdpa_net * ndev) destroy_tir() argument 1873 add_steering_counters(struct mlx5_vdpa_net * ndev,struct macvlan_node * node,struct mlx5_flow_act * flow_act,struct mlx5_flow_destination * dests) add_steering_counters() argument 1903 remove_steering_counters(struct mlx5_vdpa_net * ndev,struct macvlan_node * node) remove_steering_counters() argument 1912 mlx5_vdpa_add_mac_vlan_rules(struct mlx5_vdpa_net * ndev,u8 * mac,struct macvlan_node * node) mlx5_vdpa_add_mac_vlan_rules() argument 1987 mlx5_vdpa_del_mac_vlan_rules(struct mlx5_vdpa_net * ndev,struct macvlan_node * node) mlx5_vdpa_del_mac_vlan_rules() argument 2013 mac_vlan_lookup(struct mlx5_vdpa_net * ndev,u64 value) mac_vlan_lookup() argument 2026 mac_vlan_add(struct mlx5_vdpa_net * ndev,u8 * mac,u16 vid,bool tagged) mac_vlan_add() argument 2057 mac_vlan_del(struct mlx5_vdpa_net * ndev,u8 * mac,u16 vlan,bool tagged) mac_vlan_del() argument 2071 clear_mac_vlan_table(struct mlx5_vdpa_net * ndev) clear_mac_vlan_table() argument 2087 setup_steering(struct mlx5_vdpa_net * ndev) setup_steering() argument 2121 teardown_steering(struct mlx5_vdpa_net * ndev) teardown_steering() argument 2128 mlx5_vdpa_change_mac(struct mlx5_vdpa_net * ndev,struct mlx5_core_dev * pfmdev,const u8 * new_mac) mlx5_vdpa_change_mac() argument 2198 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); handle_ctrl_mac() local 2230 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); change_num_qps() local 2279 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); handle_ctrl_mq() local 2327 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); handle_ctrl_vlan() local 2372 struct mlx5_vdpa_net *ndev; mlx5_cvq_kick_handler() local 2440 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_kick_vq() local 2465 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_vq_address() local 2489 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_vq_num() local 2510 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_vq_cb() local 2541 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_vq_ready() local 2569 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_vq_ready() local 2584 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_vq_state() local 2611 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_vq_state() local 2722 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_device_features() local 2752 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); setup_virtqueues() local 2771 teardown_virtqueues(struct mlx5_vdpa_net * ndev) teardown_virtqueues() argument 2829 struct mlx5_vdpa_net *ndev; update_carrier() local 2845 queue_link_work(struct mlx5_vdpa_net * ndev) queue_link_work() argument 2861 struct mlx5_vdpa_net *ndev = container_of(nb, struct mlx5_vdpa_net, nb); event_handler() local 2885 register_link_notifier(struct mlx5_vdpa_net * ndev) register_link_notifier() argument 2896 unregister_link_notifier(struct mlx5_vdpa_net * ndev) unregister_link_notifier() argument 2915 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_driver_features() local 2955 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_config_cb() local 2979 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_status() local 2985 save_channel_info(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq) save_channel_info() argument 3009 save_channels_info(struct mlx5_vdpa_net * ndev) save_channels_info() argument 3020 mlx5_clear_vqs(struct mlx5_vdpa_net * ndev) mlx5_clear_vqs() argument 3028 restore_channels_info(struct mlx5_vdpa_net * ndev) restore_channels_info() argument 3057 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_change_map() local 3103 setup_vq_resources(struct mlx5_vdpa_net * ndev,bool filled) setup_vq_resources() argument 3161 teardown_vq_resources(struct mlx5_vdpa_net * ndev) teardown_vq_resources() argument 3201 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_status() local 3263 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); needs_vqs_reset() local 3283 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_compat_reset() local 3336 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_config() local 3393 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_set_map() local 3405 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_reset_map() local 3427 free_irqs(struct mlx5_vdpa_net * ndev) free_irqs() argument 3450 struct mlx5_vdpa_net *ndev; mlx5_vdpa_free() local 3475 struct mlx5_vdpa_net *ndev; mlx5_get_vq_notification() local 3498 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_get_vq_irq() local 3521 counter_set_query(struct mlx5_vdpa_net * ndev,struct mlx5_vdpa_virtqueue * mvq,u64 * received_desc,u64 * completed_desc) counter_set_query() argument 3558 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_get_vendor_vq_stats() local 3622 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_suspend() local 3639 struct mlx5_vdpa_net *ndev; mlx5_vdpa_resume() local 3724 alloc_fixed_resources(struct mlx5_vdpa_net * ndev) alloc_fixed_resources() argument 3751 free_fixed_resources(struct mlx5_vdpa_net * ndev) free_fixed_resources() argument 3763 mvqs_set_defaults(struct mlx5_vdpa_net * ndev) mvqs_set_defaults() argument 3782 struct mlx5_vdpa_net *ndev; global() member 3808 allocate_irqs(struct mlx5_vdpa_net * ndev) allocate_irqs() argument 3844 struct mlx5_vdpa_net *ndev; mlx5_vdpa_dev_add() local 4044 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); mlx5_vdpa_dev_del() local 4065 struct mlx5_vdpa_net *ndev; mlx5_vdpa_set_attr() local [all...] |
| /linux/drivers/nfc/fdp/ |
| H A D | fdp.c | 43 struct nci_dev *ndev; member 60 void (*data_pkt_counter_cb)(struct nci_dev *ndev); 82 static int fdp_nci_create_conn(struct nci_dev *ndev) in fdp_nci_create_conn() argument 84 struct fdp_nci_info *info = nci_get_drvdata(ndev); in fdp_nci_create_conn() 92 r = nci_core_conn_create(info->ndev, FDP_PATCH_CONN_DEST, 1, in fdp_nci_create_conn() 97 return nci_get_conn_info_by_dest_type_params(ndev, in fdp_nci_create_conn() 101 static inline int fdp_nci_get_versions(struct nci_dev *ndev) in fdp_nci_get_versions() argument 103 return nci_core_cmd(ndev, NCI_OP_CORE_GET_CONFIG_CMD, in fdp_nci_get_versions() 108 static inline int fdp_nci_patch_cmd(struct nci_dev *ndev, u8 type) in fdp_nci_patch_cmd() argument 110 return nci_prop_cmd(ndev, NCI_OP_PROP_PATCH_OI in fdp_nci_patch_cmd() 113 fdp_nci_set_production_data(struct nci_dev * ndev,u8 len,const char * data) fdp_nci_set_production_data() argument 119 fdp_nci_set_clock(struct nci_dev * ndev,u8 clock_type,u32 clock_freq) fdp_nci_set_clock() argument 144 fdp_nci_send_patch_cb(struct nci_dev * ndev) fdp_nci_send_patch_cb() argument 159 fdp_nci_set_data_pkt_counter(struct nci_dev * ndev,void (* cb)(struct nci_dev * ndev),int count) fdp_nci_set_data_pkt_counter() argument 160 fdp_nci_set_data_pkt_counter(struct nci_dev * ndev,void (* cb)(struct nci_dev * ndev),int count) fdp_nci_set_data_pkt_counter() argument 181 fdp_nci_send_patch(struct nci_dev * ndev,u8 conn_id,u8 type) fdp_nci_send_patch() argument 237 fdp_nci_open(struct nci_dev * ndev) fdp_nci_open() argument 244 fdp_nci_close(struct nci_dev * ndev) fdp_nci_close() argument 249 fdp_nci_send(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_send() argument 267 fdp_nci_request_firmware(struct nci_dev * ndev) fdp_nci_request_firmware() argument 309 fdp_nci_release_firmware(struct nci_dev * ndev) fdp_nci_release_firmware() argument 324 fdp_nci_patch_otp(struct nci_dev * ndev) fdp_nci_patch_otp() argument 390 fdp_nci_patch_ram(struct nci_dev * ndev) fdp_nci_patch_ram() argument 456 fdp_nci_setup(struct nci_dev * ndev) fdp_nci_setup() argument 527 fdp_nci_post_setup(struct nci_dev * ndev) fdp_nci_post_setup() argument 567 fdp_nci_core_reset_ntf_packet(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_core_reset_ntf_packet() argument 578 fdp_nci_prop_patch_ntf_packet(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_prop_patch_ntf_packet() argument 590 fdp_nci_prop_patch_rsp_packet(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_prop_patch_rsp_packet() argument 603 fdp_nci_prop_set_production_data_rsp_packet(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_prop_set_production_data_rsp_packet() argument 616 fdp_nci_core_get_config_rsp_packet(struct nci_dev * ndev,struct sk_buff * skb) fdp_nci_core_get_config_rsp_packet() argument 706 struct nci_dev *ndev; fdp_nci_probe() local 755 fdp_nci_remove(struct nci_dev * ndev) fdp_nci_remove() argument [all...] |
| /linux/drivers/net/can/usb/ |
| H A D | nct6694_canfd.c | 136 struct net_device *ndev; member 183 priv->ndev->stats.rx_fifo_errors++; in nct6694_canfd_rx_offload() 186 static void nct6694_canfd_handle_lost_msg(struct net_device *ndev) in nct6694_canfd_handle_lost_msg() argument 188 struct nct6694_canfd_priv *priv = netdev_priv(ndev); in nct6694_canfd_handle_lost_msg() 189 struct net_device_stats *stats = &ndev->stats; in nct6694_canfd_handle_lost_msg() 193 netdev_dbg(ndev, "RX FIFO overflow, message(s) lost.\n"); in nct6694_canfd_handle_lost_msg() 198 skb = alloc_can_err_skb(ndev, &cf); in nct6694_canfd_handle_lost_msg() 208 static void nct6694_canfd_handle_rx(struct net_device *ndev, u8 rx_evt) in nct6694_canfd_handle_rx() argument 210 struct net_device_stats *stats = &ndev->stats; in nct6694_canfd_handle_rx() 211 struct nct6694_canfd_priv *priv = netdev_priv(ndev); in nct6694_canfd_handle_rx() [all …]
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | sni_ave.c | 273 struct net_device *ndev; member 297 static u32 ave_desc_read(struct net_device *ndev, enum desc_id id, int entry, in ave_desc_read() argument 300 struct ave_private *priv = netdev_priv(ndev); in ave_desc_read() 309 static u32 ave_desc_read_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_read_cmdsts() argument 312 return ave_desc_read(ndev, id, entry, AVE_DESC_OFS_CMDSTS); in ave_desc_read_cmdsts() 315 static void ave_desc_write(struct net_device *ndev, enum desc_id id, in ave_desc_write() argument 318 struct ave_private *priv = netdev_priv(ndev); in ave_desc_write() 327 static void ave_desc_write_cmdsts(struct net_device *ndev, enum desc_id id, in ave_desc_write_cmdsts() argument 330 ave_desc_write(ndev, id, entry, AVE_DESC_OFS_CMDSTS, val); in ave_desc_write_cmdsts() 333 static void ave_desc_write_addr(struct net_device *ndev, enum desc_id id, in ave_desc_write_addr() argument [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_pci.c | 66 static int aie2_get_mgmt_chann_info(struct amdxdna_dev_hdl *ndev) in aie2_get_mgmt_chann_info() 84 ret = readx_poll_timeout(readl, SRAM_GET_ADDR(ndev, FW_ALIVE_OFF), in aie2_get_mgmt_chann_info() 89 off = AIE2_SRAM_OFF(ndev, addr); in aie2_get_mgmt_chann_info() 92 reg[i] = readl(ndev->sram_base + off + i * sizeof(u32)); in aie2_get_mgmt_chann_info() 95 XDNA_ERR(ndev->aie.xdna, "Invalid mbox magic 0x%x", info_regs.magic); in aie2_get_mgmt_chann_info() 100 i2x = &ndev->aie.mgmt_i2x; in aie2_get_mgmt_chann_info() 101 x2i = &ndev->aie.mgmt_x2i; in aie2_get_mgmt_chann_info() 103 i2x->mb_head_ptr_reg = AIE2_MBOX_OFF(ndev, info_regs.i2x_head); in aie2_get_mgmt_chann_info() 104 i2x->mb_tail_ptr_reg = AIE2_MBOX_OFF(ndev, info_regs.i2x_tail); in aie2_get_mgmt_chann_info() 105 i2x->rb_start_addr = AIE2_SRAM_OFF(ndev, info_reg in aie2_get_mgmt_chann_info() 65 aie2_get_mgmt_chann_info(struct amdxdna_dev_hdl * ndev) aie2_get_mgmt_chann_info() argument 128 aie2_runtime_cfg(struct amdxdna_dev_hdl * ndev,enum rt_config_category category,u32 * val) aie2_runtime_cfg() argument 156 aie2_xdna_reset(struct amdxdna_dev_hdl * ndev) aie2_xdna_reset() argument 175 aie2_mgmt_fw_init(struct amdxdna_dev_hdl * ndev) aie2_mgmt_fw_init() argument 206 aie2_mgmt_fw_query(struct amdxdna_dev_hdl * ndev) aie2_mgmt_fw_query() argument 233 aie2_mgmt_fw_fini(struct amdxdna_dev_hdl * ndev) aie2_mgmt_fw_fini() argument 276 struct amdxdna_dev_hdl *ndev; aie2_xrs_set_dft_dpm_level() local 294 aie2_smu_fini(struct amdxdna_dev_hdl * ndev) aie2_smu_fini() argument 303 struct amdxdna_dev_hdl *ndev = xdna->dev_handle; aie2_hw_stop() local 326 struct amdxdna_dev_hdl *ndev = xdna->dev_handle; aie2_hw_start() local 481 struct amdxdna_dev_hdl *ndev; aie2_init() local 641 struct amdxdna_dev_hdl *ndev; aie2_get_aie_status() local 672 struct amdxdna_dev_hdl *ndev; aie2_get_aie_version() local 710 struct amdxdna_dev_hdl *ndev; aie2_get_power_mode() local 728 struct amdxdna_dev_hdl *ndev; aie2_get_clock_metadata() local 755 struct amdxdna_dev_hdl *ndev = client->xdna->dev_handle; aie2_get_sensors() local 811 struct amdxdna_dev_hdl *ndev; aie2_hwctx_status_cb() local 890 struct amdxdna_dev_hdl *ndev; aie2_query_resource_info() local 982 struct amdxdna_dev_hdl *ndev; aie2_get_preempt_state() local 1001 struct amdxdna_dev_hdl *ndev = xdna->dev_handle; aie2_get_info() local 1158 struct amdxdna_dev_hdl *ndev = client->xdna->dev_handle; aie2_set_preempt_state() local 1222 struct amdxdna_dev_hdl *ndev = xdna->dev_handle; aie2_get_dev_rev() local [all...] |