Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h65 u64 *data, int data_index);
143 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument
214 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.h217 u64 *data, int data_index);
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-macii.c120 static int data_index; /* index of the next byte to send from req->data */ variable
348 data_index = 2; in macii_start()
453 } else if (data_index >= req->nbytes) { in macii_interrupt()
491 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
1251 data_index = 1; in pmu_start()
1505 if (data_index <= data_len) { in pmu_sr_intr()
1506 send_byte(req->data[data_index++]); in pmu_sr_intr()
1520 data_index = 0; in pmu_sr_intr()
1527 data_index = 0; in pmu_sr_intr()
1544 } else if (data_index < 32) { in pmu_sr_intr()
1545 reply_ptr[data_index++] = bite; in pmu_sr_intr()
1547 if (data_index < data_len) { in pmu_sr_intr()
1564 req->reply_len += data_index; in pmu_sr_intr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dnvram.h67 extern int nvram_get_partition_size(loff_t data_index);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c948 int nvram_get_partition_size(loff_t data_index) in nvram_get_partition_size() argument
953 if (part->index + NVRAM_HEADER_LEN == data_index) in nvram_get_partition_size()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c1798 int data_index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); in radeon_atom_get_tv_timings() local
1802 if (!atom_parse_data_header(mode_info->atom_context, data_index, NULL, in radeon_atom_get_tv_timings()