Lines Matching refs:index
151 int index = q->producer_counter & (q->count - 1);
155 return mlxsw_pci_queue_elem_info_get(q, index);
161 int index = q->consumer_counter & (q->count - 1);
163 return mlxsw_pci_queue_elem_info_get(q, index);
324 int index, char *frag_data, size_t frag_len,
335 mlxsw_pci_wqe_address_set(wqe, index, mapaddr);
336 mlxsw_pci_wqe_byte_count_set(wqe, index, frag_len);
341 int index, int direction)
344 size_t frag_len = mlxsw_pci_wqe_byte_count_get(wqe, index);
345 dma_addr_t mapaddr = mlxsw_pci_wqe_address_get(wqe, index);
1055 char *mbox, int index,
1062 mbox, index, swid->type);
1067 mbox, index, swid->properties);
1070 mlxsw_cmd_mbox_config_profile_swid_config_mask_set(mbox, index, mask);