Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/firmware/arm_scmi/
Dsensors.c109 u32 desc_index = 0; in scmi_sensor_description_get() local
123 put_unaligned_le32(desc_index, t->tx.buf); in scmi_sensor_description_get()
132 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()
144 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
156 desc_index += num_returned; in scmi_sensor_description_get()
/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c460 int desc_index; in init_rx_ring() local
502 for (desc_index = 0; desc_index < rx_rsize; desc_index++) { in init_rx_ring()
504 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
505 ret = sxgbe_init_rx_buffers(dev, p, desc_index, in init_rx_ring()
513 rx_ring->dirty_rx = (unsigned int)(desc_index - rx_rsize); in init_rx_ring()
519 while (--desc_index >= 0) { in init_rx_ring()
522 p = rx_ring->dma_rx + desc_index; in init_rx_ring()
523 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring()
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.h910 int desc_index,
921 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
Dufs-sysfs.c219 u8 desc_index, in ufs_sysfs_read_desc_param() argument
230 ret = ufshcd_read_desc_param(hba, desc_id, desc_index, in ufs_sysfs_read_desc_param()
Dufshcd.c3043 int desc_index, in ufshcd_read_desc_length() argument
3054 desc_id, desc_index, 0, header, in ufshcd_read_desc_length()
3134 int desc_index, in ufshcd_read_desc_param() argument
3172 desc_id, desc_index, 0, in ufshcd_read_desc_param()
3177 __func__, desc_id, desc_index, param_offset, ret); in ufshcd_read_desc_param()
3203 int desc_index, in ufshcd_read_desc() argument
3207 return ufshcd_read_desc_param(hba, desc_id, desc_index, 0, buf, size); in ufshcd_read_desc()
3255 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index, in ufshcd_read_string_desc() argument
3270 desc_index, uc_str, in ufshcd_read_string_desc()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_main.c1466 int desc_index; in lan743x_tx_frame_add_fragment() local
1469 desc_index = tx->frame_first; in lan743x_tx_frame_add_fragment()
1470 while (desc_index != tx->frame_tail) { in lan743x_tx_frame_add_fragment()
1471 lan743x_tx_release_desc(tx, desc_index, true); in lan743x_tx_frame_add_fragment()
1472 desc_index = lan743x_tx_next_index(tx, desc_index); in lan743x_tx_frame_add_fragment()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c9767 u32 entries_per_desc, desc_index, index, offset, i; in hclge_get_dfx_reg_bd_num() local
9782 desc_index = offset / entries_per_desc; in hclge_get_dfx_reg_bd_num()
9783 bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); in hclge_get_dfx_reg_bd_num()
9816 int entries_per_desc, reg_num, separator_num, desc_index, index, i; in hclge_dfx_reg_fetch_data() local
9825 desc_index = i / entries_per_desc; in hclge_dfx_reg_fetch_data()
9826 *reg++ = le32_to_cpu(desc[desc_index].data[index]); in hclge_dfx_reg_fetch_data()