Lines Matching full:chunks

1009 	struct virtchnl2_vector_chunks *chunks;  in idpf_get_reg_intr_vecs()  local
1014 chunks = &vport->adapter->req_vec_chunks->vchunks; in idpf_get_reg_intr_vecs()
1015 num_vchunks = le16_to_cpu(chunks->num_vchunks); in idpf_get_reg_intr_vecs()
1022 chunk = &chunks->vchunks[j]; in idpf_get_reg_intr_vecs()
1051 * @chunks: queue regs received over mailbox
1059 struct virtchnl2_queue_reg_chunks *chunks) in idpf_vport_get_q_reg() argument
1061 u16 num_chunks = le16_to_cpu(chunks->num_chunks); in idpf_vport_get_q_reg()
1069 chunk = &chunks->chunks[num_chunks]; in idpf_vport_get_q_reg()
1153 struct virtchnl2_queue_reg_chunks *chunks; in idpf_queue_reg_init() local
1168 chunks = &vc_aq->chunks; in idpf_queue_reg_init()
1171 chunks = &vport_params->chunks; in idpf_queue_reg_init()
1177 chunks); in idpf_queue_reg_init()
1196 chunks); in idpf_queue_reg_init()
1211 chunks); in idpf_queue_reg_init()
1808 buf_sz = struct_size(eq, chunks.chunks, num_chunks); in idpf_send_ena_dis_queues_msg()
1824 eq->chunks.num_chunks = cpu_to_le16(num_chunks); in idpf_send_ena_dis_queues_msg()
1825 qcs = &eq->chunks; in idpf_send_ena_dis_queues_msg()
1826 memcpy(qcs->chunks, &qc[k], chunk_sz * num_chunks); in idpf_send_ena_dis_queues_msg()
1838 buf_sz = struct_size(eq, chunks.chunks, num_chunks); in idpf_send_ena_dis_queues_msg()
2016 * @dchunks: Destination chunks to store data to
2017 * @schunks: Source chunks to copy data from
2018 * @num_chunks: number of chunks to copy
2044 struct virtchnl2_queue_reg_chunks *chunks; in idpf_send_delete_queues_msg() local
2054 chunks = &vport_config->req_qs_chunks->chunks; in idpf_send_delete_queues_msg()
2057 chunks = &vport_params->chunks; in idpf_send_delete_queues_msg()
2060 num_chunks = le16_to_cpu(chunks->num_chunks); in idpf_send_delete_queues_msg()
2061 buf_size = struct_size(eq, chunks.chunks, num_chunks); in idpf_send_delete_queues_msg()
2068 eq->chunks.num_chunks = cpu_to_le16(num_chunks); in idpf_send_delete_queues_msg()
2070 idpf_convert_reg_to_queue_chunks(eq->chunks.chunks, chunks->chunks, in idpf_send_delete_queues_msg()
2153 size = struct_size(vc_msg, chunks.chunks, in idpf_send_add_queues_msg()
2154 le16_to_cpu(vc_msg->chunks.num_chunks)); in idpf_send_add_queues_msg()
3189 * @chunks: vector ids received over mailbox
3198 struct virtchnl2_vector_chunks *chunks) in idpf_get_vec_ids() argument
3200 u16 num_chunks = le16_to_cpu(chunks->num_vchunks); in idpf_get_vec_ids()
3211 chunk = &chunks->vchunks[j]; in idpf_get_vec_ids()
3234 * @chunks: queue ids received over mailbox
3240 struct virtchnl2_queue_reg_chunks *chunks) in idpf_vport_get_queue_ids() argument
3242 u16 num_chunks = le16_to_cpu(chunks->num_chunks); in idpf_vport_get_queue_ids()
3249 chunk = &chunks->chunks[num_chunks]; in idpf_vport_get_queue_ids()
3354 struct virtchnl2_queue_reg_chunks *chunks; in idpf_vport_queue_ids_init() local
3365 chunks = &vc_aq->chunks; in idpf_vport_queue_ids_init()
3368 chunks = &vport_params->chunks; in idpf_vport_queue_ids_init()
3377 chunks); in idpf_vport_queue_ids_init()
3391 chunks); in idpf_vport_queue_ids_init()
3407 num_ids = idpf_vport_get_queue_ids(qids, IDPF_MAX_QIDS, q_type, chunks); in idpf_vport_queue_ids_init()
3423 num_ids = idpf_vport_get_queue_ids(qids, IDPF_MAX_QIDS, q_type, chunks); in idpf_vport_queue_ids_init()