Lines Matching defs:index
153 int index = q->producer_counter & (q->count - 1);
157 return mlxsw_pci_queue_elem_info_get(q, index);
163 int index = q->consumer_counter & (q->count - 1);
165 return mlxsw_pci_queue_elem_info_get(q, index);
326 int index, char *frag_data, size_t frag_len,
337 mlxsw_pci_wqe_address_set(wqe, index, mapaddr);
338 mlxsw_pci_wqe_byte_count_set(wqe, index, frag_len);
343 int index, int direction)
346 size_t frag_len = mlxsw_pci_wqe_byte_count_get(wqe, index);
347 dma_addr_t mapaddr = mlxsw_pci_wqe_address_get(wqe, index);
1140 char *mbox, int index,
1147 mbox, index, swid->type);
1152 mbox, index, swid->properties);
1155 mlxsw_cmd_mbox_config_profile_swid_config_mask_set(mbox, index, mask);