Searched refs:seg_num (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/infiniband/core/ |
D | mad_rmpp.c | 61 int seg_num; member 129 rmpp_recv->last_ack = rmpp_recv->seg_num; in format_ack() 130 ack->rmpp_hdr.seg_num = cpu_to_be32(rmpp_recv->seg_num); in format_ack() 199 rmpp_mad->rmpp_hdr.seg_num = 0; in ack_ds_ack() 236 rmpp_mad->rmpp_hdr.seg_num = 0; in nack_recv() 313 rmpp_recv->seg_num = 1; in create_rmpp_recv() 391 return be32_to_cpu(rmpp_mad->rmpp_hdr.seg_num); in get_seg_num() 409 int seg_num) in find_seg_location() argument 416 if (seg_num > cur_seg_num) in find_seg_location() 418 if (seg_num == cur_seg_num) in find_seg_location() [all …]
|
D | mad_priv.h | 144 int seg_num; member
|
D | mad.c | 1162 void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num) in ib_get_rmpp_segment() argument 1171 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment() 1173 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 1175 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment() 1177 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 1188 mad_send_wr->seg_num); in ib_get_payload()
|
/Linux-v5.4/include/rdma/ |
D | ib_mad.h | 182 __be32 seg_num; member 918 void *ib_get_rmpp_segment(struct ib_mad_send_buf *send_buf, int seg_num);
|
/Linux-v5.4/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 1023 int seg_num) in load_imem_segment() argument 1037 seg_num, in load_imem_segment() 1058 const struct firmware *fw, u8 __iomem *dst, int seg_num) in load_dmem_segment() argument 1067 seg_num, phdr->p_paddr, phdr->p_filesz, in load_dmem_segment()
|
/Linux-v5.4/arch/x86/kvm/ |
D | mtrr.c | 262 int seg, seg_num = ARRAY_SIZE(fixed_seg_table); in fixed_mtrr_addr_to_seg() local 264 for (seg = 0; seg < seg_num; seg++) { in fixed_mtrr_addr_to_seg()
|
/Linux-v5.4/drivers/scsi/dpt/ |
D | dpti_i2o.h | 106 u16 seg_num:12; member
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 314 int seg_num; in hns_nic_net_xmit_hw() local 332 seg_num = skb_shinfo(skb)->nr_frags + 1; in hns_nic_net_xmit_hw() 343 priv->ops.fill_desc(ring, skb, size, dma, seg_num == 1 ? 1 : 0, in hns_nic_net_xmit_hw() 347 for (i = 1; i < seg_num; i++) { in hns_nic_net_xmit_hw() 357 seg_num - 1 == i ? 1 : 0, buf_num, in hns_nic_net_xmit_hw()
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | sal.h | 580 u8 seg_num; member
|
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1775 u16 seg_num; in atl1e_tx_map() local 1779 seg_num = (buf_len + MAX_TX_BUF_LEN - 1) / MAX_TX_BUF_LEN; in atl1e_tx_map() 1780 for (i = 0; i < seg_num; i++) { in atl1e_tx_map()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 1327 int seg_num; in hns3_nic_net_xmit() local 1353 seg_num = skb_shinfo(skb)->nr_frags + 1; in hns3_nic_net_xmit() 1359 ret = hns3_fill_desc(ring, skb, size, seg_num == 1 ? 1 : 0, in hns3_nic_net_xmit() 1365 for (i = 1; i < seg_num; i++) { in hns3_nic_net_xmit() 1370 seg_num - 1 == i ? 1 : 0, in hns3_nic_net_xmit()
|
/Linux-v5.4/drivers/scsi/ |
D | dpt_i2o.c | 3111 sys_tbl->iops[count].seg_num = 0; in adpt_i2o_build_sys_table()
|