Searched refs:midx (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/ntb/test/ |
| H A D | ntb_tool.c | 231 int midx; member 1283 data = ntb_msg_read(msg->tc->ntb, &pidx, msg->midx); in tool_inmsg_read() 1306 ret = ntb_peer_msg_write(msg->tc->ntb, msg->pidx, msg->midx, val); in tool_outmsg_write() 1399 int midx, pidx; in tool_init_msgs() local 1408 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1409 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1410 tc->inmsgs[midx].pidx = -1; in tool_init_msgs() 1411 tc->inmsgs[midx].tc = tc; in tool_init_msgs() 1423 for (midx = 0; midx < tc->peers[pidx].outmsg_cnt; midx++) { in tool_init_msgs() 1424 tc->peers[pidx].outmsgs[midx].midx = midx; in tool_init_msgs() [all …]
|
| /linux/drivers/ntb/hw/idt/ |
| H A D | ntb_hw_idt.c | 1586 unsigned char midx; in idt_init_msg() local 1589 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1590 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1747 static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in idt_ntb_msg_read() argument 1751 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1758 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx].src); in idt_ntb_msg_read() 1767 return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in idt_ntb_msg_read() 1783 static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in idt_ntb_peer_msg_write() argument 1790 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_peer_msg_write() 1797 swpmsgctl = SET_FIELD(SWPxMSGCTL_REG, 0, midx) | in idt_ntb_peer_msg_write() [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 | 2623 u16 vidx, midx; in npc_idx_free() local 2642 midx = npc_vidx2idx(vidx); in npc_idx_free() 2644 midx = mcam_idx[i]; in npc_idx_free() 2645 vidx = npc_idx2vidx(midx); in npc_idx_free() 2648 if (midx >= npc_priv->bank_depth * npc_priv->num_banks) { in npc_idx_free() 2655 rc = npc_mcam_idx_2_subbank_idx(rvu, midx, in npc_idx_free() 2675 rc = npc_del_from_pf_maps(rvu, midx); in npc_idx_free() 2680 if (vidx == midx) in npc_idx_free() 3682 u16 midx; in npc_defrag_move_vdx_to_free() local 3709 midx = old_midx % mcam->banksize; in npc_defrag_move_vdx_to_free() [all …]
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_fw.c | 659 u16 midx; in mpi3mr_isr_primary() local 670 midx = intr_info->msix_index; in mpi3mr_isr_primary() 672 if (!midx) in mpi3mr_isr_primary() 727 u16 midx; in mpi3mr_isr_poll() local 734 midx = intr_info->msix_index; in mpi3mr_isr_poll() 741 if (!midx) in mpi3mr_isr_poll() 2026 u16 reply_qid = 0, midx; in mpi3mr_delete_op_reply_q() local 2030 midx = REPLY_QUEUE_IDX_TO_MSIX_IDX(qidx, mrioc->op_reply_q_offset); in mpi3mr_delete_op_reply_q() 2081 mrioc->intr_info[midx].op_reply_q = NULL; in mpi3mr_delete_op_reply_q() 2222 u16 reply_qid = 0, midx; in mpi3mr_create_op_reply_q() 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
|