Home
last modified time | relevance | path

Searched refs:data_index (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dpcd.c212 uint32_t data_index = 0; in core_link_read_dpcd() local
219 …status = internal_link_read_dpcd(link, partitioned_address, &extended_data[data_index], partition_… in core_link_read_dpcd()
223 data_index += partition_size; in core_link_read_dpcd()
237 uint32_t data_index = 0; in core_link_write_dpcd() local
242 status = internal_link_write_dpcd(link, address, &data[data_index], partition_size); in core_link_write_dpcd()
246 data_index += partition_size; in core_link_write_dpcd()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c759 u64 *data, int data_index) in __mlxsw_sp_port_get_stats() argument
773 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats()
776 data[data_index + i] = mlxsw_sp_cells_bytes(mlxsw_sp, in __mlxsw_sp_port_get_stats()
777 data[data_index + i]); in __mlxsw_sp_port_get_stats()
781 static void __mlxsw_sp_port_get_env_stats(struct net_device *dev, u64 *data, int data_index, in __mlxsw_sp_port_get_env_stats() argument
789 data[data_index + i] = port_stats[i].getter(mlxsw_sp_port); in __mlxsw_sp_port_get_env_stats()
796 int i, data_index = 0; in mlxsw_sp_port_get_stats() local
800 data, data_index); in mlxsw_sp_port_get_stats()
801 data_index = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_port_get_stats()
805 data, data_index); in mlxsw_sp_port_get_stats()
[all …]
H A Dspectrum_ptp.h50 u64 *data, int data_index);
156 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument
239 u64 *data, int data_index) in mlxsw_sp2_get_stats() argument
H A Dspectrum_ptp.c1338 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument
1344 data += data_index; in mlxsw_sp1_get_stats()
H A Dspectrum.h245 u64 *data, int data_index);
/linux/drivers/macintosh/
H A Dvia-macii.c118 static int data_index; /* index of the next byte to send from req->data */ variable
341 data_index = 2; in macii_start()
446 } else if (data_index >= req->nbytes) { in macii_interrupt()
484 via[SR] = req->data[data_index++]; in macii_interrupt()
H A Dvia-cuda.c171 static int data_index; variable
537 data_index = 0; in cuda_start()
543 out_8(&via[SR], current_req->data[data_index++]); in cuda_start()
624 out_8(&via[SR], current_req->data[data_index++]); in cuda_interrupt()
634 if (data_index >= req->nbytes) { in cuda_interrupt()
649 out_8(&via[SR], req->data[data_index++]); in cuda_interrupt()
H A Dvia-pmu.c146 static int data_index; variable
1242 data_index = 1; in pmu_start()
1496 if (data_index <= data_len) { in pmu_sr_intr()
1497 send_byte(req->data[data_index++]); in pmu_sr_intr()
1511 data_index = 0; in pmu_sr_intr()
1518 data_index = 0; in pmu_sr_intr()
1535 } else if (data_index < 32) { in pmu_sr_intr()
1536 reply_ptr[data_index++] = bite; in pmu_sr_intr()
1538 if (data_index < data_len) { in pmu_sr_intr()
1555 req->reply_len += data_index; in pmu_sr_intr()
/linux/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c132 static int ssp_print_mcu_debug(char *data_frame, int *data_index, in ssp_print_mcu_debug() argument
135 int length = data_frame[(*data_index)++]; in ssp_print_mcu_debug()
137 if (length > received_len - *data_index || length <= 0) { in ssp_print_mcu_debug()
143 ssp_dbg("[SSP]: MSG From MCU - %s\n", &data_frame[*data_index]); in ssp_print_mcu_debug()
145 *data_index += length; in ssp_print_mcu_debug()
/linux/arch/powerpc/include/asm/
H A Dnvram.h67 extern int nvram_get_partition_size(loff_t data_index);
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c838 int data_index = 0; in lan743x_ethtool_get_ethtool_stats() local
845 data[data_index++] = (u64)buf; in lan743x_ethtool_get_ethtool_stats()
848 data[data_index++] = (u64)(adapter->rx[i].frame_count); in lan743x_ethtool_get_ethtool_stats()
851 data[data_index++] = (u64)buf; in lan743x_ethtool_get_ethtool_stats()
856 data[data_index++] = pkt_cnt; in lan743x_ethtool_get_ethtool_stats()
859 data[data_index++] = total_queue_count; in lan743x_ethtool_get_ethtool_stats()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.h82 u32 data_index; member
/linux/include/uapi/drm/
H A Dpvr_drm.h1223 __u32 data_index; member
/linux/arch/powerpc/kernel/
H A Dnvram_64.c950 int nvram_get_partition_size(loff_t data_index) in nvram_get_partition_size() argument
955 if (part->index + NVRAM_HEADER_LEN == data_index) in nvram_get_partition_size()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c1796 int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); in radeon_atom_get_tv_timings() local
1800 if (!atom_parse_data_header(mode_info->atom_context, data_index, NULL, in radeon_atom_get_tv_timings()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c2742 u32 data_index = 0; in hclge_parse_fec_stats_lanes() local
2746 if (data_index >= HCLGE_DESC_DATA_LEN) { in hclge_parse_fec_stats_lanes()
2748 data_index = 0; in hclge_parse_fec_stats_lanes()
2755 le32_to_cpu(desc[desc_index].data[data_index]); in hclge_parse_fec_stats_lanes()
2756 data_index++; in hclge_parse_fec_stats_lanes()