Home
last modified time | relevance | path

Searched refs:qdata (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c140 struct iwl_time_quota_data *qdata, *last_data; in iwl_mvm_update_quotas() local
167 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, i); in iwl_mvm_update_quotas()
168 qdata->id_and_color = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_update_quotas()
217 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, idx); in iwl_mvm_update_quotas()
219 qdata->id_and_color = in iwl_mvm_update_quotas()
223 qdata->quota = cpu_to_le32(0); in iwl_mvm_update_quotas()
226 qdata->quota = in iwl_mvm_update_quotas()
237 qdata->quota = cpu_to_le32(QUOTA_LOWLAT_MIN); in iwl_mvm_update_quotas()
239 qdata->quota = in iwl_mvm_update_quotas()
242 WARN_ONCE(le32_to_cpu(qdata->quota) > QUOTA_100, in iwl_mvm_update_quotas()
[all …]
/linux-6.6.21/drivers/clk/zynqmp/
Dclkc.c204 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pm_clock_get_num_clocks() local
208 qdata.qid = PM_QID_CLOCK_GET_NUM_CLOCKS; in zynqmp_pm_clock_get_num_clocks()
210 ret = zynqmp_pm_query_data(qdata, ret_payload); in zynqmp_pm_clock_get_num_clocks()
229 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pm_clock_get_name() local
233 qdata.qid = PM_QID_CLOCK_GET_NAME; in zynqmp_pm_clock_get_name()
234 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_name()
236 ret = zynqmp_pm_query_data(qdata, ret_payload); in zynqmp_pm_clock_get_name()
265 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pm_clock_get_topology() local
269 qdata.qid = PM_QID_CLOCK_GET_TOPOLOGY; in zynqmp_pm_clock_get_topology()
270 qdata.arg1 = clock_id; in zynqmp_pm_clock_get_topology()
[all …]
Ddivider.c221 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_clk_get_max_divisor() local
225 qdata.qid = PM_QID_CLOCK_GET_MAX_DIVISOR; in zynqmp_clk_get_max_divisor()
226 qdata.arg1 = clk_id; in zynqmp_clk_get_max_divisor()
227 qdata.arg2 = type; in zynqmp_clk_get_max_divisor()
228 ret = zynqmp_pm_query_data(qdata, ret_payload); in zynqmp_clk_get_max_divisor()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-zynqmp.c501 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pinctrl_get_function_groups() local
505 qdata.qid = PM_QID_PINCTRL_GET_FUNCTION_GROUPS; in zynqmp_pinctrl_get_function_groups()
506 qdata.arg1 = fid; in zynqmp_pinctrl_get_function_groups()
507 qdata.arg2 = index; in zynqmp_pinctrl_get_function_groups()
509 ret = zynqmp_pm_query_data(qdata, payload); in zynqmp_pinctrl_get_function_groups()
520 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pinctrl_get_func_num_groups() local
524 qdata.qid = PM_QID_PINCTRL_GET_NUM_FUNCTION_GROUPS; in zynqmp_pinctrl_get_func_num_groups()
525 qdata.arg1 = fid; in zynqmp_pinctrl_get_func_num_groups()
527 ret = zynqmp_pm_query_data(qdata, payload); in zynqmp_pinctrl_get_func_num_groups()
604 struct zynqmp_pm_query_data qdata = {0}; in zynqmp_pinctrl_get_function_name() local
[all …]
/linux-6.6.21/drivers/firmware/xilinx/
Dzynqmp-debug.c90 struct zynqmp_pm_query_data qdata = {0}; in process_api_request() local
99 qdata.qid = pm_api_arg[0]; in process_api_request()
100 qdata.arg1 = pm_api_arg[1]; in process_api_request()
101 qdata.arg2 = pm_api_arg[2]; in process_api_request()
102 qdata.arg3 = pm_api_arg[3]; in process_api_request()
104 ret = zynqmp_pm_query_data(qdata, pm_api_ret); in process_api_request()
108 switch (qdata.qid) { in process_api_request()
Dzynqmp.c506 int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, u32 *out) in zynqmp_pm_query_data() argument
510 ret = zynqmp_pm_invoke_fn(PM_QUERY_DATA, qdata.qid, qdata.arg1, in zynqmp_pm_query_data()
511 qdata.arg2, qdata.arg3, out); in zynqmp_pm_query_data()
518 return qdata.qid == PM_QID_CLOCK_GET_NAME ? 0 : ret; in zynqmp_pm_query_data()
/linux-6.6.21/drivers/thermal/
Dqoriq_thermal.c87 struct qoriq_tmu_data *qdata = qoriq_sensor_to_data(qsensor); in tmu_get_temp() local
109 regmap_read(qdata->regmap, REGS_TMR, &val); in tmu_get_temp()
113 if (regmap_read_poll_timeout(qdata->regmap, in tmu_get_temp()
121 if (qdata->ver == TMU_VER1) { in tmu_get_temp()
139 struct qoriq_tmu_data *qdata) in qoriq_tmu_register_tmu_zone() argument
145 struct qoriq_sensor *sensor = &qdata->sensor[id]; in qoriq_tmu_register_tmu_zone()
161 if (qdata->ver == TMU_VER1) in qoriq_tmu_register_tmu_zone()
170 if (qdata->ver == TMU_VER1) { in qoriq_tmu_register_tmu_zone()
171 regmap_write(qdata->regmap, REGS_TMR, TMR_ME | TMR_ALPF | sites); in qoriq_tmu_register_tmu_zone()
173 regmap_write(qdata->regmap, REGS_V2_TMSR, sites); in qoriq_tmu_register_tmu_zone()
[all …]
/linux-6.6.21/drivers/scsi/device_handler/
Dscsi_dh_rdac.c270 struct rdac_queue_data *qdata; in rdac_failover_get() local
300 list_for_each_entry(qdata, list, entry) { in rdac_failover_get()
301 lun_table[qdata->h->lun] = 0x81; in rdac_failover_get()
534 struct rdac_queue_data *tmp, *qdata; in send_mode_select() local
576 list_for_each_entry_safe(qdata, tmp, &list, entry) { in send_mode_select()
577 list_del(&qdata->entry); in send_mode_select()
579 qdata->h->state = RDAC_STATE_ACTIVE; in send_mode_select()
580 if (qdata->callback_fn) in send_mode_select()
581 qdata->callback_fn(qdata->callback_data, err); in send_mode_select()
582 kfree(qdata); in send_mode_select()
[all …]
Dscsi_dh_alua.c106 struct alua_queue_data *qdata, bool force);
879 struct alua_queue_data *qdata, *tmp; in alua_rtpg_work() local
961 list_for_each_entry_safe(qdata, tmp, &qdata_list, entry) { in alua_rtpg_work()
962 list_del(&qdata->entry); in alua_rtpg_work()
963 if (qdata->callback_fn) in alua_rtpg_work()
964 qdata->callback_fn(qdata->callback_data, err); in alua_rtpg_work()
965 kfree(qdata); in alua_rtpg_work()
996 struct alua_queue_data *qdata, bool force) in alua_rtpg_queue() argument
1005 if (qdata) { in alua_rtpg_queue()
1006 list_add_tail(&qdata->entry, &pg->rtpg_list); in alua_rtpg_queue()
[all …]
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-m2m.c198 const struct mxc_isi_m2m_ctx_queue_data *qdata = in mxc_isi_m2m_vb2_queue_setup() local
201 return mxc_isi_video_queue_setup(&qdata->format, qdata->info, in mxc_isi_m2m_vb2_queue_setup()
210 const struct mxc_isi_m2m_ctx_queue_data *qdata = in mxc_isi_m2m_vb2_buffer_init() local
213 mxc_isi_video_buffer_init(vb2, buf->dma_addrs, qdata->info, in mxc_isi_m2m_vb2_buffer_init()
214 &qdata->format); in mxc_isi_m2m_vb2_buffer_init()
223 const struct mxc_isi_m2m_ctx_queue_data *qdata = in mxc_isi_m2m_vb2_buffer_prepare() local
226 return mxc_isi_video_buffer_prepare(ctx->m2m->isi, vb2, qdata->info, in mxc_isi_m2m_vb2_buffer_prepare()
227 &qdata->format); in mxc_isi_m2m_vb2_buffer_prepare()
242 struct mxc_isi_m2m_ctx_queue_data *qdata = in mxc_isi_m2m_vb2_start_streaming() local
245 qdata->sequence = 0; in mxc_isi_m2m_vb2_start_streaming()
[all …]
/linux-6.6.21/drivers/s390/net/
Dqeth_l3_main.c1256 struct qeth_arp_query_data *qdata, in get_arp_entry_size() argument
1262 is_hsi = qdata->reply_bits == 5; in get_arp_entry_size()
1301 struct qeth_arp_query_data *qdata; in qeth_l3_arp_query_cb() local
1324 qdata = &cmd->data.setassparms.data.query_arp; in qeth_l3_arp_query_cb()
1325 QETH_CARD_TEXT_(card, 4, "anoen%i", qdata->no_entries); in qeth_l3_arp_query_cb()
1330 for (e = 0; e < qdata->no_entries; ++e) { in qeth_l3_arp_query_cb()
1335 cur_entry = &qdata->data + entrybytes_done; in qeth_l3_arp_query_cb()
1342 esize = get_arp_entry_size(card, qdata, etype, in qeth_l3_arp_query_cb()
1355 &qdata->data + entrybytes_done + stripped_bytes, in qeth_l3_arp_query_cb()
1370 qdata->reply_bits |= QETH_QARP_STRIP_ENTRIES; in qeth_l3_arp_query_cb()
[all …]
/linux-6.6.21/include/linux/firmware/
Dxlnx-zynqmp.h506 int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, u32 *out);
587 static inline int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, in zynqmp_pm_query_data() argument
/linux-6.6.21/fs/f2fs/
Dsegment.c447 unsigned int qdata = get_pages(sbi, F2FS_DIRTY_QDATA); in excess_dirty_threshold() local
455 if (dents >= threshold || qdata >= threshold || in excess_dirty_threshold()
459 return dents + qdata + nodes + meta + imeta > global_threshold; in excess_dirty_threshold()