Searched refs:data_index (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ethtool.c | 752 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 …]
|
D | spectrum_ptp.h | 58 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
|
D | spectrum_ptp.c | 1136 u64 *data, int data_index) in mlxsw_sp1_get_stats() argument 1142 data += data_index; in mlxsw_sp1_get_stats()
|
D | spectrum.h | 236 u64 *data, int data_index);
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dpcd.c | 205 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()
|
/drivers/macintosh/ |
D | via-macii.c | 118 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()
|
D | via-cuda.c | 168 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()
|
D | via-pmu.c | 147 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()
|
/drivers/iio/common/ssp_sensors/ |
D | ssp_spi.c | 132 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()
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 489 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()
|
/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 1792 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()
|