Lines Matching refs:isys_fw_cfg
228 struct ipu6_fw_isys_fw_config *isys_fw_cfg; in ipu6_isys_fwcom_cfg_init() local
239 isys_fw_cfg = devm_kzalloc(dev, sizeof(*isys_fw_cfg), GFP_KERNEL); in ipu6_isys_fwcom_cfg_init()
240 if (!isys_fw_cfg) in ipu6_isys_fwcom_cfg_init()
243 isys_fw_cfg->num_send_queues[type_proxy] = IPU6_N_MAX_PROXY_SEND_QUEUES; in ipu6_isys_fwcom_cfg_init()
244 isys_fw_cfg->num_send_queues[type_dev] = IPU6_N_MAX_DEV_SEND_QUEUES; in ipu6_isys_fwcom_cfg_init()
245 isys_fw_cfg->num_send_queues[type_msg] = num_in_message_queues; in ipu6_isys_fwcom_cfg_init()
246 isys_fw_cfg->num_recv_queues[type_proxy] = IPU6_N_MAX_PROXY_RECV_QUEUES; in ipu6_isys_fwcom_cfg_init()
248 isys_fw_cfg->num_recv_queues[type_dev] = 0; in ipu6_isys_fwcom_cfg_init()
249 isys_fw_cfg->num_recv_queues[type_msg] = 1; in ipu6_isys_fwcom_cfg_init()
264 fwcom->num_input_queues = isys_fw_cfg->num_send_queues[type_proxy] + in ipu6_isys_fwcom_cfg_init()
265 isys_fw_cfg->num_send_queues[type_dev] + in ipu6_isys_fwcom_cfg_init()
266 isys_fw_cfg->num_send_queues[type_msg]; in ipu6_isys_fwcom_cfg_init()
268 fwcom->num_output_queues = isys_fw_cfg->num_recv_queues[type_proxy] + in ipu6_isys_fwcom_cfg_init()
269 isys_fw_cfg->num_recv_queues[type_dev] + in ipu6_isys_fwcom_cfg_init()
270 isys_fw_cfg->num_recv_queues[type_msg]; in ipu6_isys_fwcom_cfg_init()
275 isys_fw_cfg->buffer_partition.num_gda_pages[i] = in ipu6_isys_fwcom_cfg_init()
280 isys_fw_cfg->buffer_partition.num_gda_pages[i] = 0; in ipu6_isys_fwcom_cfg_init()
284 for (i = 0; i < isys_fw_cfg->num_send_queues[type_proxy]; i++) { in ipu6_isys_fwcom_cfg_init()
290 for (i = 0; i < isys_fw_cfg->num_send_queues[type_dev]; i++) { in ipu6_isys_fwcom_cfg_init()
296 for (i = 0; i < isys_fw_cfg->num_send_queues[type_msg]; i++) { in ipu6_isys_fwcom_cfg_init()
303 for (i = 0; i < isys_fw_cfg->num_recv_queues[type_proxy]; i++) { in ipu6_isys_fwcom_cfg_init()
310 for (i = 0; i < isys_fw_cfg->num_recv_queues[type_msg]; i++) { in ipu6_isys_fwcom_cfg_init()
318 fwcom->specific_addr = isys_fw_cfg; in ipu6_isys_fwcom_cfg_init()
319 fwcom->specific_size = sizeof(*isys_fw_cfg); in ipu6_isys_fwcom_cfg_init()