/linux/drivers/firmware/arm_scmi/ |
H A D | sensors.c | 72 __le32 desc_index; member 279 unsigned int desc_index, in iter_intervals_prepare_message() argument 288 msg->index = cpu_to_le32(desc_index); in iter_intervals_prepare_message() 348 s->intervals.desc[st->desc_index + st->loop_idx] = in iter_intervals_process_response() 384 const unsigned int desc_index, in iter_axes_desc_prepare_message() argument 392 msg->axis_desc_index = cpu_to_le32(desc_index); in iter_axes_desc_prepare_message() 425 a = &apriv->s->axis[st->desc_index + st->loop_idx]; in iter_axes_desc_process_response() 566 unsigned int desc_index, in iter_sens_descr_prepare_message() argument 571 msg->desc_index = cpu_to_le32(desc_index); in iter_sens_descr_prepare_message() 599 s = &si->sensors[st->desc_index + st->loop_idx]; in iter_sens_descr_process_response()
|
H A D | pinctrl.c | 250 u32 desc_index, in iter_pinctrl_assoc_prepare_message() argument 258 msg->index = cpu_to_le32(desc_index); in iter_pinctrl_assoc_prepare_message() 280 p->array[st->desc_index + st->loop_idx] = in iter_pinctrl_assoc_process_response() 331 iter_pinctrl_settings_get_prepare_message(void *message, u32 desc_index, in iter_pinctrl_settings_get_prepare_message() argument 342 FIELD_PREP(SKIP_CONFIGS_MASK, desc_index); in iter_pinctrl_settings_get_prepare_message() 381 p->config_types[st->desc_index + st->loop_idx] = type; in iter_pinctrl_settings_get_process_response() 387 p->config_values[st->desc_index + st->loop_idx] = val; in iter_pinctrl_settings_get_process_response()
|
H A D | protocols.h | 199 unsigned int desc_index; member 220 void (*prepare_message)(void *message, unsigned int desc_index,
|
H A D | clock.c | 232 static void iter_clk_possible_parents_prepare_message(void *message, unsigned int desc_index, in iter_clk_possible_parents_prepare_message() argument 240 msg->skip_parents = cpu_to_le32(desc_index); in iter_clk_possible_parents_prepare_message() 282 u32 *parent = &p->clk->parents[st->desc_index + st->loop_idx]; in iter_clk_possible_parents_process_response() 421 const unsigned int desc_index, in iter_clk_describe_prepare_message() argument 429 msg->rate_index = cpu_to_le32(desc_index); in iter_clk_describe_prepare_message() 481 switch (st->desc_index + st->loop_idx) { in iter_clk_describe_process_response() 496 u64 *rate = &p->clk->list.rates[st->desc_index + st->loop_idx]; in iter_clk_describe_process_response()
|
H A D | voltage.c | 130 unsigned int desc_index, in iter_volt_levels_prepare_message() argument 137 msg->level_index = cpu_to_le32(desc_index); in iter_volt_levels_prepare_message() 174 p->v->levels_uv[st->desc_index + st->loop_idx] = val; in iter_volt_levels_process_response()
|
H A D | perf.c | 354 unsigned int desc_index, in iter_perf_levels_prepare_message() argument 362 msg->level_index = cpu_to_le32(desc_index); in iter_perf_levels_prepare_message()
|
H A D | driver.c | 1771 iops->prepare_message(i->msg, st->desc_index, i->priv); in scmi_iterator_run() 1781 if (st->num_returned > st->max_resources - st->desc_index) { in scmi_iterator_run() 1796 st->desc_index += st->num_returned; in scmi_iterator_run()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_regs.c | 302 u32 entries_per_desc, desc_index, index, offset, i; in hclge_get_dfx_reg_bd_num() local 317 desc_index = offset / entries_per_desc; in hclge_get_dfx_reg_bd_num() 318 bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); in hclge_get_dfx_reg_bd_num() 373 int entries_per_desc, reg_num, desc_index, index, i; in hclge_dfx_reg_fetch_data() local 381 desc_index = i / entries_per_desc; in hclge_dfx_reg_fetch_data() 382 *reg++ = le32_to_cpu(desc[desc_index].data[index]); in hclge_dfx_reg_fetch_data()
|
H A D | hclge_debugfs.c | 2421 struct hclge_desc *desc_index = desc_src; in hclge_dbg_imp_info_data_print() local 2434 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print() 2436 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print() 2439 desc_index++; in hclge_dbg_imp_info_data_print()
|
H A D | hclge_main.c | 2741 u32 desc_index = 0; in hclge_parse_fec_stats_lanes() local 2747 desc_index++; in hclge_parse_fec_stats_lanes() 2751 if (desc_index >= desc_len) in hclge_parse_fec_stats_lanes() 2755 le32_to_cpu(desc[desc_index].data[data_index]); in hclge_parse_fec_stats_lanes()
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 464 int desc_index; in init_rx_ring() local 506 for (desc_index = 0; desc_index < rx_rsize; desc_index++) { in init_rx_ring() 508 p = rx_ring->dma_rx + desc_index; in init_rx_ring() 509 ret = sxgbe_init_rx_buffers(dev, p, desc_index, in init_rx_ring() 517 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); in init_rx_ring() 523 while (--desc_index >= 0) { in init_rx_ring() 526 p = rx_ring->dma_rx + desc_index; in init_rx_ring() 527 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring()
|
/linux/drivers/ufs/core/ |
H A D | ufshcd-priv.h | 52 int desc_index, 83 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
|
H A D | ufs-sysfs.c | 896 u8 desc_index, in ufs_sysfs_read_desc_param() argument 914 ret = ufshcd_read_desc_param(hba, desc_id, desc_index, in ufs_sysfs_read_desc_param()
|
H A D | ufshcd.c | 3615 int desc_index, in ufshcd_read_desc_param() argument 3641 desc_id, desc_index, 0, in ufshcd_read_desc_param() 3645 __func__, desc_id, desc_index, param_offset, ret); in ufshcd_read_desc_param() 3714 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index, in ufshcd_read_string_desc() argument 3728 ret = ufshcd_read_desc_param(hba, QUERY_DESC_IDN_STRING, desc_index, 0, in ufshcd_read_string_desc()
|
/linux/drivers/gpio/ |
H A D | gpiolib.c | 924 unsigned int desc_index; in gpiochip_add_data_with_key() local 1054 for (desc_index = 0; desc_index < gc->ngpio; desc_index++) { in gpiochip_add_data_with_key() 1055 struct gpio_desc *desc = &gdev->descs[desc_index]; in gpiochip_add_data_with_key() 1059 if (gc->get_direction && gpiochip_line_is_valid(gc, desc_index)) { in gpiochip_add_data_with_key() 1061 &desc->flags, !gc->get_direction(gc, desc_index)); in gpiochip_add_data_with_key()
|
/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 1874 int desc_index; in lan743x_tx_frame_add_fragment() local 1877 desc_index = tx->frame_first; in lan743x_tx_frame_add_fragment() 1878 while (desc_index != tx->frame_tail) { in lan743x_tx_frame_add_fragment() 1879 lan743x_tx_release_desc(tx, desc_index, true); in lan743x_tx_frame_add_fragment() 1880 desc_index = lan743x_tx_next_index(tx, desc_index); in lan743x_tx_frame_add_fragment()
|
/linux/include/ufs/ |
H A D | ufshcd.h | 1437 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
|