Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/firmware/arm_scmi/
Dsensors.c121 u32 desc_index = 0; in scmi_sensor_description_get() local
135 put_unaligned_le32(desc_index, t->tx.buf); in scmi_sensor_description_get()
144 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()
156 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
168 desc_index += num_returned; in scmi_sensor_description_get()
/Linux-v5.10/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-v5.10/drivers/scsi/ufs/
Dufshcd.h1007 int desc_index,
1021 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
Dufs-sysfs.c210 u8 desc_index, in ufs_sysfs_read_desc_param() argument
222 ret = ufshcd_read_desc_param(hba, desc_id, desc_index, in ufs_sysfs_read_desc_param()
Dufshcd.c3159 enum desc_idn desc_id, int desc_index, in ufshcd_update_desc_length() argument
3163 desc_id != QUERY_DESC_IDN_STRING && desc_index != UFS_RPMB_UNIT) in ufshcd_update_desc_length()
3185 int desc_index, in ufshcd_read_desc_param() argument
3224 desc_id, desc_index, 0, in ufshcd_read_desc_param()
3229 __func__, desc_id, desc_index, param_offset, ret); in ufshcd_read_desc_param()
3243 ufshcd_update_desc_length(hba, desc_id, desc_index, buff_len); in ufshcd_read_desc_param()
3290 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index, in ufshcd_read_string_desc() argument
3304 ret = ufshcd_read_desc_param(hba, QUERY_DESC_IDN_STRING, desc_index, 0, in ufshcd_read_string_desc()
/Linux-v5.10/drivers/net/ethernet/microchip/
Dlan743x_main.c1527 int desc_index; in lan743x_tx_frame_add_fragment() local
1530 desc_index = tx->frame_first; in lan743x_tx_frame_add_fragment()
1531 while (desc_index != tx->frame_tail) { in lan743x_tx_frame_add_fragment()
1532 lan743x_tx_release_desc(tx, desc_index, true); in lan743x_tx_frame_add_fragment()
1533 desc_index = lan743x_tx_next_index(tx, desc_index); in lan743x_tx_frame_add_fragment()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c10862 u32 entries_per_desc, desc_index, index, offset, i; in hclge_get_dfx_reg_bd_num() local
10877 desc_index = offset / entries_per_desc; in hclge_get_dfx_reg_bd_num()
10878 bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); in hclge_get_dfx_reg_bd_num()
10911 int entries_per_desc, reg_num, separator_num, desc_index, index, i; in hclge_dfx_reg_fetch_data() local
10920 desc_index = i / entries_per_desc; in hclge_dfx_reg_fetch_data()
10921 *reg++ = le32_to_cpu(desc[desc_index].data[index]); in hclge_dfx_reg_fetch_data()