Home
last modified time | relevance | path

Searched refs:p_params (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c617 struct qed_qm_pf_rt_init_params *p_params, in qed_tx_pq_map_rt_init() argument
621 struct init_qm_vport_params *vport_params = p_params->vport_params; in qed_tx_pq_map_rt_init()
624 struct init_qm_pq_params *pq_params = p_params->pq_params; in qed_tx_pq_map_rt_init()
627 num_pqs = p_params->num_pf_pqs + p_params->num_vf_pqs; in qed_tx_pq_map_rt_init()
629 first_pq_group = p_params->start_pq / QM_PF_QUEUE_GROUP_SIZE; in qed_tx_pq_map_rt_init()
630 last_pq_group = (p_params->start_pq + num_pqs - 1) / in qed_tx_pq_map_rt_init()
633 pq_mem_4kb = QM_PQ_MEM_4KB(p_params->num_pf_cids); in qed_tx_pq_map_rt_init()
634 vport_pq_mem_4kb = QM_PQ_MEM_4KB(p_params->num_vf_cids); in qed_tx_pq_map_rt_init()
640 (u32)(p_params->pf_id)); in qed_tx_pq_map_rt_init()
644 QM_PQ_SIZE_256B(p_params->num_pf_cids)); in qed_tx_pq_map_rt_init()
[all …]
Dqed_l2.c193 struct qed_queue_start_common_params *p_params, in _qed_eth_queue_to_cid() argument
209 p_cid->rel.vport_id = p_params->vport_id; in _qed_eth_queue_to_cid()
210 p_cid->rel.queue_id = p_params->queue_id; in _qed_eth_queue_to_cid()
211 p_cid->rel.stats_id = p_params->stats_id; in _qed_eth_queue_to_cid()
212 p_cid->sb_igu_id = p_params->p_sb->igu_sb_id; in _qed_eth_queue_to_cid()
214 p_cid->sb_idx = p_params->sb_idx; in _qed_eth_queue_to_cid()
289 struct qed_queue_start_common_params *p_params, in qed_eth_queue_to_cid() argument
324 p_params, b_is_rx, p_vf_params); in qed_eth_queue_to_cid()
335 struct qed_queue_start_common_params *p_params) in qed_eth_queue_to_cid_pf() argument
337 return qed_eth_queue_to_cid(p_hwfn, opaque_fid, p_params, b_is_rx, in qed_eth_queue_to_cid_pf()
[all …]
Dqed_dcbx.c458 struct qed_dcbx_params *p_params, bool ieee) in qed_dcbx_get_app_data() argument
464 p_params->app_willing = QED_MFW_GET_FIELD(p_app->flags, in qed_dcbx_get_app_data()
466 p_params->app_valid = QED_MFW_GET_FIELD(p_app->flags, DCBX_APP_ENABLED); in qed_dcbx_get_app_data()
467 p_params->app_error = QED_MFW_GET_FIELD(p_app->flags, DCBX_APP_ERROR); in qed_dcbx_get_app_data()
468 p_params->num_app_entries = QED_MFW_GET_FIELD(p_app->flags, in qed_dcbx_get_app_data()
471 entry = &p_params->app_entry[i]; in qed_dcbx_get_app_data()
516 p_params->app_willing, p_params->app_valid, in qed_dcbx_get_app_data()
517 p_params->app_error); in qed_dcbx_get_app_data()
522 u32 pfc, struct qed_dcbx_params *p_params) in qed_dcbx_get_pfc_data() argument
526 p_params->pfc.willing = QED_MFW_GET_FIELD(pfc, DCBX_PFC_WILLING); in qed_dcbx_get_pfc_data()
[all …]
Dqed_hw.c375 struct qed_dmae_params *p_params) in qed_dmae_opcode() argument
387 src_pfid = QED_DMAE_FLAGS_IS_SET(p_params, SRC_PF_VALID) ? in qed_dmae_opcode()
388 p_params->src_pfid : p_hwfn->rel_pf_id; in qed_dmae_opcode()
394 dst_pfid = QED_DMAE_FLAGS_IS_SET(p_params, DST_PF_VALID) ? in qed_dmae_opcode()
395 p_params->dst_pfid : p_hwfn->rel_pf_id; in qed_dmae_opcode()
406 if (QED_DMAE_FLAGS_IS_SET(p_params, COMPLETION_DST)) in qed_dmae_opcode()
412 port_id = (QED_DMAE_FLAGS_IS_SET(p_params, PORT_VALID)) ? in qed_dmae_opcode()
413 p_params->port_id : p_hwfn->port_id; in qed_dmae_opcode()
423 if (QED_DMAE_FLAGS_IS_SET(p_params, SRC_VF_VALID)) { in qed_dmae_opcode()
425 SET_FIELD(opcode_b, DMAE_CMD_SRC_VF_ID, p_params->src_vfid); in qed_dmae_opcode()
[all …]
Dqed_iscsi.c144 struct qed_iscsi_pf_params *p_params = NULL; in qed_sp_iscsi_func_start() local
168 p_params = &p_hwfn->pf_params.iscsi_pf_params; in qed_sp_iscsi_func_start()
172 if (p_params->num_queues > p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]) { in qed_sp_iscsi_func_start()
175 p_params->num_queues, in qed_sp_iscsi_func_start()
181 val = p_params->half_way_close_timeout; in qed_sp_iscsi_func_start()
183 p_init->num_sq_pages_in_ring = p_params->num_sq_pages_in_ring; in qed_sp_iscsi_func_start()
184 p_init->num_r2tq_pages_in_ring = p_params->num_r2tq_pages_in_ring; in qed_sp_iscsi_func_start()
185 p_init->num_uhq_pages_in_ring = p_params->num_uhq_pages_in_ring; in qed_sp_iscsi_func_start()
188 p_params->ll2_ooo_queue_id; in qed_sp_iscsi_func_start()
190 p_init->func_params.log_page_size = p_params->log_page_size; in qed_sp_iscsi_func_start()
[all …]
Dqed_vf.c1072 struct qed_sp_vport_update_params *p_params) in qed_vf_pf_vport_update() argument
1085 update_rx = p_params->update_vport_active_rx_flg; in qed_vf_pf_vport_update()
1086 update_tx = p_params->update_vport_active_tx_flg; in qed_vf_pf_vport_update()
1103 p_act_tlv->active_rx = p_params->vport_active_rx_flg; in qed_vf_pf_vport_update()
1108 p_act_tlv->active_tx = p_params->vport_active_tx_flg; in qed_vf_pf_vport_update()
1112 if (p_params->update_tx_switching_flg) { in qed_vf_pf_vport_update()
1121 p_tx_switch_tlv->tx_switching = p_params->tx_switching_flg; in qed_vf_pf_vport_update()
1124 if (p_params->update_approx_mcast_flg) { in qed_vf_pf_vport_update()
1132 memcpy(p_mcast_tlv->bins, p_params->bins, in qed_vf_pf_vport_update()
1136 update_rx = p_params->accept_flags.update_rx_mode_config; in qed_vf_pf_vport_update()
[all …]
Dqed_nvmetcp.c55 struct qed_nvmetcp_pf_params *p_params = NULL; in qed_sp_nvmetcp_func_start() local
77 p_params = &p_hwfn->pf_params.nvmetcp_pf_params; in qed_sp_nvmetcp_func_start()
79 p_init->num_sq_pages_in_ring = p_params->num_sq_pages_in_ring; in qed_sp_nvmetcp_func_start()
80 p_init->num_r2tq_pages_in_ring = p_params->num_r2tq_pages_in_ring; in qed_sp_nvmetcp_func_start()
81 p_init->num_uhq_pages_in_ring = p_params->num_uhq_pages_in_ring; in qed_sp_nvmetcp_func_start()
83 p_params->ll2_ooo_queue_id; in qed_sp_nvmetcp_func_start()
86 p_init->func_params.num_tasks = cpu_to_le16(p_params->num_tasks); in qed_sp_nvmetcp_func_start()
87 p_init->debug_flags = p_params->debug_mode; in qed_sp_nvmetcp_func_start()
89 p_params->glbl_q_params_addr); in qed_sp_nvmetcp_func_start()
91 p_queue->num_queues = p_params->num_queues; in qed_sp_nvmetcp_func_start()
[all …]
Dqed_dev_api.h123 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params);
236 struct qed_dmae_params *p_params);
252 struct qed_dmae_params *p_params);
272 u32 size_in_dwords, struct qed_dmae_params *p_params);
Dqed_l2.h147 struct qed_sp_vport_start_params *p_params);
202 struct qed_sp_vport_update_params *p_params,
287 struct qed_ntuple_filter_params *p_params);
367 struct qed_queue_start_common_params *p_params,
373 struct qed_sp_vport_start_params *p_params);
Dqed_cxt.c1964 struct qed_rdma_pf_params *p_params, in qed_rdma_set_pf_params() argument
1979 num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); in qed_rdma_set_pf_params()
1983 num_qps = min_t(u32, ROCE_MAX_QPS, p_params->num_qps); in qed_rdma_set_pf_params()
2003 num_srqs = min_t(u32, QED_RDMA_MAX_SRQS, p_params->num_srqs); in qed_rdma_set_pf_params()
2038 struct qed_eth_pf_params *p_params = in qed_cxt_set_pf_params() local
2041 if (!p_params->num_vf_cons) in qed_cxt_set_pf_params()
2042 p_params->num_vf_cons = in qed_cxt_set_pf_params()
2045 p_params->num_cons, in qed_cxt_set_pf_params()
2046 p_params->num_vf_cons); in qed_cxt_set_pf_params()
2047 p_hwfn->p_cxt_mngr->arfs_count = p_params->num_arfs_filters; in qed_cxt_set_pf_params()
[all …]
Dqed_mcp.c966 struct qed_load_req_params *p_params) in qed_mcp_load_req() argument
977 rc = eocre_get_mfw_drv_role(p_hwfn, p_params->drv_role, &mfw_drv_role); in qed_mcp_load_req()
982 in_params.timeout_val = p_params->timeout_val; in qed_mcp_load_req()
987 in_params.avoid_eng_reset = p_params->avoid_eng_reset; in qed_mcp_load_req()
1011 p_params->override_force_load)) { in qed_mcp_load_req()
1073 p_params->load_code = out_params.load_code; in qed_mcp_load_req()
3766 struct qed_resc_lock_params *p_params) in __qed_mcp_resc_lock() argument
3772 switch (p_params->timeout) { in __qed_mcp_resc_lock()
3775 p_params->timeout = 0; in __qed_mcp_resc_lock()
3779 p_params->timeout = 0; in __qed_mcp_resc_lock()
[all …]
Dqed_sriov.c979 struct qed_iov_vf_init_params *p_params) in qed_iov_init_hw_for_vf() argument
991 vf = qed_iov_get_vf_info(p_hwfn, p_params->rel_vf_id, false); in qed_iov_init_hw_for_vf()
999 p_params->rel_vf_id); in qed_iov_init_hw_for_vf()
1004 for (i = 0; i < p_params->num_queues; i++) { in qed_iov_init_hw_for_vf()
1009 qid = p_params->req_rx_queue[i]; in qed_iov_init_hw_for_vf()
1014 p_params->rel_vf_id, in qed_iov_init_hw_for_vf()
1019 qid = p_params->req_tx_queue[i]; in qed_iov_init_hw_for_vf()
1023 qid, p_params->rel_vf_id, max_vf_qzone); in qed_iov_init_hw_for_vf()
1032 p_params->rel_vf_id, qid, i); in qed_iov_init_hw_for_vf()
1040 vf->relative_vf_id, p_params->num_queues, (u16)cids); in qed_iov_init_hw_for_vf()
[all …]
Dqed_vf.h931 struct qed_sp_vport_update_params *p_params);
1028 struct qed_mcp_link_params *p_params,
1167 struct qed_sp_vport_update_params *p_params) in qed_vf_pf_vport_update() argument
1226 *p_params, in __qed_vf_get_link_params()
Dqed_mcp.h917 struct qed_load_req_params *p_params);
1217 struct qed_ptt *p_ptt, struct qed_resc_lock_params *p_params);
1242 struct qed_resc_unlock_params *p_params);
Dqed_dev.c3047 struct qed_hw_init_params *p_params) in qed_vf_start() argument
3049 if (p_params->p_tunn) { in qed_vf_start()
3050 qed_vf_set_vf_start_tunn_update_param(p_params->p_tunn); in qed_vf_start()
3051 qed_vf_pf_tunnel_param_update(p_hwfn, p_params->p_tunn); in qed_vf_start()
3065 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params) in qed_hw_init() argument
3076 if ((p_params->int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_hw_init()
3082 rc = qed_init_fw_data(cdev, p_params->bin_fw_data); in qed_hw_init()
3097 qed_vf_start(p_hwfn, p_params); in qed_hw_init()
3127 p_params->p_drv_load_params); in qed_hw_init()
3208 p_params->p_tunn, in qed_hw_init()
[all …]
/linux-6.1.9/net/sched/
Dsch_fq_pie.c61 struct pie_params p_params; member
162 if (!pie_drop_early(sch, &q->p_params, &sel_flow->vars, in fq_pie_qdisc_enqueue()
165 } else if (q->p_params.ecn && in fq_pie_qdisc_enqueue()
176 if (!q->p_params.dq_rate_estimator) in fq_pie_qdisc_enqueue()
273 pie_process_dequeue(skb, &q->p_params, &flow->vars, flow->backlog); in fq_pie_qdisc_dequeue()
294 q->p_params.limit = limit; in fq_pie_change()
317 q->p_params.target = in fq_pie_change()
323 q->p_params.tupdate = in fq_pie_change()
327 q->p_params.alpha = nla_get_u32(tb[TCA_FQ_PIE_ALPHA]); in fq_pie_change()
330 q->p_params.beta = nla_get_u32(tb[TCA_FQ_PIE_BETA]); in fq_pie_change()
[all …]
/linux-6.1.9/sound/soc/intel/skylake/
Dskl-pcm.c288 mconfig->pipe->p_params); in skl_pcm_prepare()
303 struct skl_pipe_params p_params = {0}; in skl_pcm_hw_params() local
319 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in skl_pcm_hw_params()
320 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_pcm_hw_params()
321 p_params.ch = params_channels(params); in skl_pcm_hw_params()
322 p_params.s_freq = params_rate(params); in skl_pcm_hw_params()
323 p_params.host_dma_id = dma_id; in skl_pcm_hw_params()
324 p_params.stream = substream->stream; in skl_pcm_hw_params()
325 p_params.format = params_format(params); in skl_pcm_hw_params()
327 p_params.host_bps = dai->driver->playback.sig_bits; in skl_pcm_hw_params()
[all …]
Dskl-debug.c116 mconfig->pipe->p_params->host_dma_id, in module_read()
117 mconfig->pipe->p_params->link_dma_id); in module_read()
121 mconfig->pipe->p_params->ch, in module_read()
122 mconfig->pipe->p_params->s_freq, in module_read()
123 mconfig->pipe->p_params->s_fmt); in module_read()
127 mconfig->pipe->p_params->linktype, in module_read()
128 mconfig->pipe->p_params->stream); in module_read()
Dskl-topology.c352 struct skl_pipe_params *params = m_cfg->pipe->p_params; in skl_tplg_update_module_params()
462 return skl_pcm_host_dma_prepare(skl->dev, pipe->p_params); in skl_tplg_module_prepare()
465 return skl_pcm_link_dma_prepare(skl->dev, pipe->p_params); in skl_tplg_module_prepare()
628 struct skl_pipe_params *params = pipe->p_params; in skl_tplg_get_pipe_config()
1606 pipe->p_params->link_dma_id = params->link_dma_id; in skl_tplg_fill_dma_id()
1607 pipe->p_params->link_index = params->link_index; in skl_tplg_fill_dma_id()
1608 pipe->p_params->link_bps = params->link_bps; in skl_tplg_fill_dma_id()
1612 pipe->p_params->host_dma_id = params->host_dma_id; in skl_tplg_fill_dma_id()
1613 pipe->p_params->host_bps = params->host_bps; in skl_tplg_fill_dma_id()
1619 pipe->p_params->s_fmt = params->s_fmt; in skl_tplg_fill_dma_id()
[all …]
Dskl-topology.h319 struct skl_pipe_params *p_params; member
Dskl-messages.c572 struct skl_pipe_params *params = mconfig->pipe->p_params; in skl_get_node_id()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-dai.c215 struct hda_pipe_params p_params = {0}; in hda_link_dma_hw_params() local
235 p_params.s_fmt = snd_pcm_format_width(params_format(params)); in hda_link_dma_hw_params()
236 p_params.ch = params_channels(params); in hda_link_dma_hw_params()
237 p_params.s_freq = params_rate(params); in hda_link_dma_hw_params()
238 p_params.stream = substream->stream; in hda_link_dma_hw_params()
239 p_params.link_index = link->index; in hda_link_dma_hw_params()
240 p_params.format = params_format(params); in hda_link_dma_hw_params()
243 p_params.link_bps = codec_dai->driver->playback.sig_bits; in hda_link_dma_hw_params()
245 p_params.link_bps = codec_dai->driver->capture.sig_bits; in hda_link_dma_hw_params()
247 return hda_link_dma_params(hext_stream, &p_params); in hda_link_dma_hw_params()
/linux-6.1.9/drivers/soundwire/
Dcadence_master.c1394 struct sdw_port_params *p_params, unsigned int bank) in cdns_port_params() argument
1399 int target_num = p_params->num; in cdns_port_params()
1400 int source_num = p_params->num; in cdns_port_params()
1422 u32p_replace_bits(&dpn_config, p_params->bps - 1, CDNS_DPN_CONFIG_WL); in cdns_port_params()
1423 u32p_replace_bits(&dpn_config, p_params->flow_mode, CDNS_DPN_CONFIG_PORT_FLOW); in cdns_port_params()
1424 u32p_replace_bits(&dpn_config, p_params->data_mode, CDNS_DPN_CONFIG_PORT_DAT); in cdns_port_params()
Dstream.c130 struct sdw_port_params *p_params = &p_rt->port_params; in sdw_program_slave_port_params() local
163 wbuf = FIELD_PREP(SDW_DPN_PORTCTRL_DATAMODE, p_params->data_mode); in sdw_program_slave_port_params()
164 wbuf |= FIELD_PREP(SDW_DPN_PORTCTRL_FLOWMODE, p_params->flow_mode); in sdw_program_slave_port_params()
176 ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); in sdw_program_slave_port_params()
Dqcom.c776 struct sdw_port_params *p_params, in qcom_swrm_port_params() argument
781 return ctrl->reg_write(ctrl, SWRM_DP_BLOCK_CTRL_1(p_params->num), in qcom_swrm_port_params()
782 p_params->bps - 1); in qcom_swrm_port_params()

12