Home
last modified time | relevance | path

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

/linux/drivers/firmware/arm_scmi/
A Dsensors.c244 u32 desc_index = 0; in scmi_sensor_update_intervals() local
262 msg->index = cpu_to_le32(desc_index); in scmi_sensor_update_intervals()
313 s->intervals.desc[desc_index + cnt] = in scmi_sensor_update_intervals()
316 desc_index += num_returned; in scmi_sensor_update_intervals()
333 u32 desc_index = 0; in scmi_sensor_axis_description() local
381 a = &s->axis[desc_index + cnt]; in scmi_sensor_axis_description()
408 desc_index += num_returned; in scmi_sensor_axis_description()
425 u32 desc_index = 0; in scmi_sensor_description_get() local
441 put_unaligned_le32(desc_index, t->tx.buf); in scmi_sensor_description_get()
462 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
[all …]
A Dvoltage.c135 u32 desc_index = 0; in scmi_voltage_descriptors_get() local
159 cmd->level_index = cpu_to_le32(desc_index); in scmi_voltage_descriptors_get()
178 if (desc_index + num_returned > v->num_levels) { in scmi_voltage_descriptors_get()
191 v->levels_uv[desc_index + cnt] = val; in scmi_voltage_descriptors_get()
196 desc_index += num_returned; in scmi_voltage_descriptors_get()
/linux/drivers/net/ethernet/samsung/sxgbe/
A 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/drivers/scsi/ufs/
A Dufshcd.h1175 int desc_index,
1192 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
A Dufs-sysfs.c519 u8 desc_index, in ufs_sysfs_read_desc_param() argument
537 ret = ufshcd_read_desc_param(hba, desc_id, desc_index, in ufs_sysfs_read_desc_param()
A Dufshcd.c3314 enum desc_idn desc_id, int desc_index, in ufshcd_update_desc_length() argument
3318 desc_id != QUERY_DESC_IDN_STRING && desc_index != UFS_RPMB_UNIT) in ufshcd_update_desc_length()
3340 int desc_index, in ufshcd_read_desc_param() argument
3379 desc_id, desc_index, 0, in ufshcd_read_desc_param()
3384 __func__, desc_id, desc_index, param_offset, ret); in ufshcd_read_desc_param()
3398 ufshcd_update_desc_length(hba, desc_id, desc_index, buff_len); in ufshcd_read_desc_param()
3447 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index, in ufshcd_read_string_desc() argument
3461 ret = ufshcd_read_desc_param(hba, QUERY_DESC_IDN_STRING, desc_index, 0, in ufshcd_read_string_desc()
/linux/drivers/net/ethernet/microchip/
A Dlan743x_main.c1494 int desc_index; in lan743x_tx_frame_add_fragment() local
1497 desc_index = tx->frame_first; in lan743x_tx_frame_add_fragment()
1498 while (desc_index != tx->frame_tail) { in lan743x_tx_frame_add_fragment()
1499 lan743x_tx_release_desc(tx, desc_index, true); in lan743x_tx_frame_add_fragment()
1500 desc_index = lan743x_tx_next_index(tx, desc_index); in lan743x_tx_frame_add_fragment()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_debugfs.c1702 struct hclge_desc *desc_index = desc_src; in hclge_dbg_imp_info_data_print() local
1715 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print()
1717 le32_to_cpu(desc_index->data[j++])); in hclge_dbg_imp_info_data_print()
1720 desc_index++; in hclge_dbg_imp_info_data_print()
A Dhclge_main.c12524 u32 entries_per_desc, desc_index, index, offset, i; in hclge_get_dfx_reg_bd_num() local
12539 desc_index = offset / entries_per_desc; in hclge_get_dfx_reg_bd_num()
12540 bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); in hclge_get_dfx_reg_bd_num()
12573 int entries_per_desc, reg_num, separator_num, desc_index, index, i; in hclge_dfx_reg_fetch_data() local
12582 desc_index = i / entries_per_desc; in hclge_dfx_reg_fetch_data()
12583 *reg++ = le32_to_cpu(desc[desc_index].data[index]); in hclge_dfx_reg_fetch_data()

Completed in 75 milliseconds