Home
last modified time | relevance | path

Searched refs:desc_index (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/firmware/arm_scmi/
Dsensors.c69 __le32 desc_index; member
262 unsigned int desc_index, in iter_intervals_prepare_message() argument
271 msg->index = cpu_to_le32(desc_index); in iter_intervals_prepare_message()
331 s->intervals.desc[st->desc_index + st->loop_idx] = in iter_intervals_process_response()
367 const unsigned int desc_index, in iter_axes_desc_prepare_message() argument
375 msg->axis_desc_index = cpu_to_le32(desc_index); in iter_axes_desc_prepare_message()
408 a = &apriv->s->axis[st->desc_index + st->loop_idx]; in iter_axes_desc_process_response()
549 unsigned int desc_index, in iter_sens_descr_prepare_message() argument
554 msg->desc_index = cpu_to_le32(desc_index); in iter_sens_descr_prepare_message()
582 s = &si->sensors[st->desc_index + st->loop_idx]; in iter_sens_descr_process_response()
Dprotocols.h188 unsigned int desc_index; member
209 void (*prepare_message)(void *message, unsigned int desc_index,
Dvoltage.c127 unsigned int desc_index, in iter_volt_levels_prepare_message() argument
134 msg->level_index = cpu_to_le32(desc_index); in iter_volt_levels_prepare_message()
171 p->v->levels_uv[st->desc_index + st->loop_idx] = val; in iter_volt_levels_process_response()
Dclock.c203 const unsigned int desc_index, in iter_clk_describe_prepare_message() argument
211 msg->rate_index = cpu_to_le32(desc_index); in iter_clk_describe_prepare_message()
263 switch (st->desc_index + st->loop_idx) { in iter_clk_describe_process_response()
278 u64 *rate = &p->clk->list.rates[st->desc_index + st->loop_idx]; in iter_clk_describe_process_response()
Dperf.c258 unsigned int desc_index, in iter_perf_levels_prepare_message() argument
266 msg->level_index = cpu_to_le32(desc_index); in iter_perf_levels_prepare_message()
289 opp = &p->perf_dom->opp[st->desc_index + st->loop_idx]; in iter_perf_levels_process_response()
Ddriver.c1248 iops->prepare_message(i->msg, st->desc_index, i->priv); in scmi_iterator_run()
1258 if (st->num_returned > st->max_resources - st->desc_index) { in scmi_iterator_run()
1273 st->desc_index += st->num_returned; in scmi_iterator_run()
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c465 int desc_index; in init_rx_ring() local
507 for (desc_index = 0; desc_index < rx_rsize; desc_index++) { in init_rx_ring()
509 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
510 ret = sxgbe_init_rx_buffers(dev, p, desc_index, in init_rx_ring()
518 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); in init_rx_ring()
524 while (--desc_index >= 0) { in init_rx_ring()
527 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
528 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring()
/linux-6.1.9/drivers/ufs/core/
Dufshcd-priv.h52 int desc_index,
67 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
Dufs-sysfs.c600 u8 desc_index, in ufs_sysfs_read_desc_param() argument
618 ret = ufshcd_read_desc_param(hba, desc_id, desc_index, in ufs_sysfs_read_desc_param()
Dufshcd.c3385 enum desc_idn desc_id, int desc_index, in ufshcd_update_desc_length() argument
3389 desc_id != QUERY_DESC_IDN_STRING && desc_index != UFS_RPMB_UNIT) in ufshcd_update_desc_length()
3411 int desc_index, in ufshcd_read_desc_param() argument
3450 desc_id, desc_index, 0, in ufshcd_read_desc_param()
3455 __func__, desc_id, desc_index, param_offset, ret); in ufshcd_read_desc_param()
3469 ufshcd_update_desc_length(hba, desc_id, desc_index, buff_len); in ufshcd_read_desc_param()
3518 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index, in ufshcd_read_string_desc() argument
3532 ret = ufshcd_read_desc_param(hba, QUERY_DESC_IDN_STRING, desc_index, 0, in ufshcd_read_string_desc()
/linux-6.1.9/drivers/net/ethernet/microchip/
Dlan743x_main.c1987 int desc_index; in lan743x_tx_frame_add_fragment() local
1990 desc_index = tx->frame_first; in lan743x_tx_frame_add_fragment()
1991 while (desc_index != tx->frame_tail) { in lan743x_tx_frame_add_fragment()
1992 lan743x_tx_release_desc(tx, desc_index, true); in lan743x_tx_frame_add_fragment()
1993 desc_index = lan743x_tx_next_index(tx, desc_index); in lan743x_tx_frame_add_fragment()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c1756 struct hclge_desc *desc_index = desc_src; in hclge_dbg_imp_info_data_print() local
1769 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print()
1771 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print()
1774 desc_index++; in hclge_dbg_imp_info_data_print()
Dhclge_main.c2776 u32 desc_index = 0; in hclge_parse_fec_stats_lanes() local
2782 desc_index++; in hclge_parse_fec_stats_lanes()
2786 if (desc_index >= desc_len) in hclge_parse_fec_stats_lanes()
2790 le32_to_cpu(desc[desc_index].data[data_index]); in hclge_parse_fec_stats_lanes()
12413 u32 entries_per_desc, desc_index, index, offset, i; in hclge_get_dfx_reg_bd_num() local
12428 desc_index = offset / entries_per_desc; in hclge_get_dfx_reg_bd_num()
12429 bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); in hclge_get_dfx_reg_bd_num()
12462 int entries_per_desc, reg_num, separator_num, desc_index, index, i; in hclge_dfx_reg_fetch_data() local
12471 desc_index = i / entries_per_desc; in hclge_dfx_reg_fetch_data()
12472 *reg++ = le32_to_cpu(desc[desc_index].data[index]); in hclge_dfx_reg_fetch_data()
/linux-6.1.9/include/ufs/
Dufshcd.h1186 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,