| /linux/drivers/ntb/test/ |
| H A D | ntb_tool.c | 231 int midx; member 1284 data = ntb_msg_read(msg->tc->ntb, &pidx, msg->midx); in tool_inmsg_read() 1307 ret = ntb_peer_msg_write(msg->tc->ntb, msg->pidx, msg->midx, val); in tool_outmsg_write() 1400 int midx, pidx; in tool_init_msgs() 1409 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1410 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1399 int midx, pidx; tool_init_msgs() local 1480 int pidx, widx, sidx, midx; tool_setup_dbgfs() local [all...] |
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 1585 unsigned char midx; in idt_init_msg() 1588 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1589 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1740 * @midx: Message register index 1746 static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) 1750 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1757 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx] in idt_ntb_msg_read() 1586 unsigned char midx; idt_init_msg() local 1747 idt_ntb_msg_read(struct ntb_dev * ntb,int * pidx,int midx) idt_ntb_msg_read() argument 1783 idt_ntb_peer_msg_write(struct ntb_dev * ntb,int pidx,int midx,u32 msg) idt_ntb_peer_msg_write() argument [all...] |
| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 142 u32 midx; in prog_ops_moff() local 144 midx = prog->expected_attach_type; in prog_ops_moff() 146 m = &btf_type_member(t)[midx]; in prog_ops_moff()
|
| /linux/include/linux/ |
| H A D | ntb.h | 331 u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); 332 int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg); 1540 static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in ntb_msg_read() argument 1545 return ntb->ops->msg_read(ntb, pidx, midx); in ntb_msg_read() 1561 static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in ntb_peer_msg_write() argument 1567 return ntb->ops->peer_msg_write(ntb, pidx, midx, msg); in ntb_peer_msg_write()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | npc.c | 2620 u16 vidx, midx; in npc_idx_free() 2639 midx = npc_vidx2idx(vidx); in npc_idx_free() 2641 midx = mcam_idx[i]; in npc_idx_free() 2642 vidx = npc_idx2vidx(midx); in npc_idx_free() 2645 if (midx >= npc_priv->bank_depth * npc_priv->num_banks) { in npc_idx_free() 2652 rc = npc_mcam_idx_2_subbank_idx(rvu, midx, in npc_idx_free() 2672 rc = npc_del_from_pf_maps(rvu, midx); in npc_idx_free() 2677 if (vidx == midx) in npc_idx_free() 3678 u16 midx; in npc_defrag_move_vdx_to_free() 3705 midx in npc_defrag_move_vdx_to_free() 2623 u16 vidx, midx; npc_idx_free() local 3682 u16 midx; npc_defrag_move_vdx_to_free() local 4077 u16 midx; npc_cn20k_defrag() local [all...] |
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_fw.c | 722 u16 midx; 733 midx = intr_info->msix_index; in mpi3mr_isr_poll() 735 if (!midx) in mpi3mr_isr_poll() 793 u16 midx; in mpi3mr_request_irq() 806 midx = intr_info->msix_index; in mpi3mr_calc_poll_queues() 817 if (!midx) in mpi3mr_calc_poll_queues() 2056 u16 midx = REPLY_QUEUE_IDX_TO_MSIX_IDX(q_idx, mrioc->op_reply_q_offset); in mpi3mr_delete_op_reply_q() 2063 if (midx < mrioc->intr_info_count) { in mpi3mr_delete_op_reply_q() 2064 WRITE_ONCE(mrioc->intr_info[midx].op_reply_q, NULL); in mpi3mr_delete_op_reply_q() 2065 synchronize_irq(pci_irq_vector(mrioc->pdev, midx)); in mpi3mr_delete_op_reply_q() 659 u16 midx; mpi3mr_isr_primary() local 727 u16 midx; mpi3mr_isr_poll() local 2026 u16 reply_qid = 0, midx; mpi3mr_delete_op_reply_q() local 2222 u16 reply_qid = 0, midx; mpi3mr_create_op_reply_q() local 2561 u16 pi = 0, max_entries, reply_qidx = 0, midx; mpi3mr_op_request_post() local [all...] |
| /linux/Documentation/driver-api/ |
| H A D | ntb.rst | 100 2) ntb_get_align(pidx, midx) - retrieve parameters restricting the 105 4) ntb_mw_set_trans(pidx, midx) - try to set translation address of 113 1) ntb_peer_mw_set_trans(pidx, midx) - try to set received from other
|