Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dpcd.c205 uint32_t data_index = 0; in core_link_read_dpcd() local
212 …status = internal_link_read_dpcd(link, partitioned_address, &extended_data[data_index], partition_… in core_link_read_dpcd()
216 data_index += partition_size; in core_link_read_dpcd()
230 uint32_t data_index = 0; in core_link_write_dpcd() local
235 status = internal_link_write_dpcd(link, address, &data[data_index], partition_size); in core_link_write_dpcd()
239 data_index += partition_size; in core_link_write_dpcd()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c752 u64 *data, int data_index) in __mlxsw_sp_port_get_stats() argument
766 data[data_index + i] = hw_stats[i].getter(ppcnt_pl); in __mlxsw_sp_port_get_stats()
769 data[data_index + i] = mlxsw_sp_cells_bytes(mlxsw_sp, in __mlxsw_sp_port_get_stats()
770 data[data_index + i]); in __mlxsw_sp_port_get_stats()
774 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
782 data[data_index + i] = port_stats[i].getter(mlxsw_sp_port); in __mlxsw_sp_port_get_env_stats()
789 int i, data_index = 0; in mlxsw_sp_port_get_stats() local
793 data, data_index); in mlxsw_sp_port_get_stats()
794 data_index = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_port_get_stats()
798 data, data_index); in mlxsw_sp_port_get_stats()
[all …]
Dspectrum_ptp.h58 u64 *data, int data_index);
136 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument
207 u64 *data, int data_index) in mlxsw_sp2_get_stats() argument
Dspectrum_ptp.c1136 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument
1142 data += data_index; in mlxsw_sp1_get_stats()
Dspectrum.h236 u64 *data, int data_index);
/Linux-v5.15/drivers/macintosh/
Dvia-macii.c118 static int data_index; /* index of the next byte to send from req->data */ variable
346 data_index = 2; in macii_start()
451 } else if (data_index >= req->nbytes) { in macii_interrupt()
489 via[SR] = req->data[data_index++]; in macii_interrupt()
Dvia-cuda.c168 static int data_index; variable
540 data_index = 0; in cuda_start()
546 out_8(&via[SR], current_req->data[data_index++]); in cuda_start()
627 out_8(&via[SR], current_req->data[data_index++]); in cuda_interrupt()
637 if (data_index >= req->nbytes) { in cuda_interrupt()
652 out_8(&via[SR], req->data[data_index++]); in cuda_interrupt()
Dvia-pmu.c147 static int data_index; variable
1250 data_index = 1; in pmu_start()
1504 if (data_index <= data_len) { in pmu_sr_intr()
1505 send_byte(req->data[data_index++]); in pmu_sr_intr()
1519 data_index = 0; in pmu_sr_intr()
1526 data_index = 0; in pmu_sr_intr()
1543 } else if (data_index < 32) { in pmu_sr_intr()
1544 reply_ptr[data_index++] = bite; in pmu_sr_intr()
1546 if (data_index < data_len) { in pmu_sr_intr()
1563 req->reply_len += data_index; in pmu_sr_intr()
/Linux-v5.15/drivers/iio/common/ssp_sensors/
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-v5.15/arch/powerpc/include/asm/
Dnvram.h67 extern int nvram_get_partition_size(loff_t data_index);
/Linux-v5.15/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c489 int data_index = 0; in lan743x_ethtool_get_ethtool_stats() local
495 data[data_index++] = (u64)buf; in lan743x_ethtool_get_ethtool_stats()
498 data[data_index++] = (u64)(adapter->rx[i].frame_count); in lan743x_ethtool_get_ethtool_stats()
501 data[data_index++] = (u64)buf; in lan743x_ethtool_get_ethtool_stats()
/Linux-v5.15/arch/powerpc/kernel/
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-v5.15/drivers/gpu/drm/radeon/
Dradeon_atombios.c1792 int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); in radeon_atom_get_tv_timings() local
1796 if (!atom_parse_data_header(mode_info->atom_context, data_index, NULL, in radeon_atom_get_tv_timings()