Searched refs:max_index (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_pool.c18 u32 max_index; member in struct:rxe_type_info
26 .max_index = RXE_MAX_UCONTEXT,
34 .max_index = RXE_MAX_PD,
42 .max_index = RXE_MAX_AH_INDEX,
51 .max_index = RXE_MAX_SRQ_INDEX,
60 .max_index = RXE_MAX_QP_INDEX,
69 .max_index = RXE_MAX_CQ,
78 .max_index = RXE_MAX_MR_INDEX,
87 .max_index = RXE_MAX_MW_INDEX,
111 pool->limit.max = info->max_index;
[all...]
/linux-master/drivers/net/wireless/ath/
H A Dspectral_common.h59 u8 max_index; member in struct:fft_sample_ht20
105 s8 max_index; member in struct:fft_sample_ath10k
117 s8 max_index; member in struct:fft_sample_ath11k
/linux-master/drivers/scsi/isci/
H A Dport_config.c169 if (port_agent->phy_valid_port_range[0].max_index != 0 ||
170 port_agent->phy_valid_port_range[1].max_index != 1 ||
171 port_agent->phy_valid_port_range[2].max_index != 2 ||
172 port_agent->phy_valid_port_range[3].max_index != 3)
280 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
308 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
457 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
460 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
507 port_index <= port_agent->phy_valid_port_range[iphy->phy_index].max_index;
723 port_agent->phy_valid_port_range[index].max_index
[all...]
H A Dhost.h120 u8 max_index; member in struct:sci_port_configuration_agent::__anon87
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_validate.c269 uint32_t max_index = *(uint32_t *)(untrusted + 9); local
280 if (max_index > shader_state->max_index)
281 shader_state->max_index = max_index;
307 uint32_t max_index; local
321 max_index = length + base_index - 1;
323 if (max_index > shader_state->max_index)
324 shader_state->max_index
905 uint32_t max_index; local
[all...]
H A Dvc4_drv.h705 uint32_t max_index; member in struct:vc4_exec_info::vc4_shader_state
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c426 int max_index, scale_factor; local
441 max_index = 0;
457 max_index++;
473 x_est[max_index] =
477 Y[max_index] =
485 theta[max_index] =
503 for (i = 0; i <= max_index; i++)
526 for (i = 0; i <= max_index; i++)
534 if (y_est[max_index] == 0)
538 x_est[max_index]
[all...]
H A Dcommon-spectral.c48 u8 max_index; local
62 max_index = spectral_max_index_ht20(mag_info->all_bins);
71 if (bytes_read < SPECTRAL_HT20_SAMPLE_LEN && max_index < 1)
74 if ((sample[max_index] & 0xf8) != ((max_magnitude >> max_exp) & 0xf8))
145 u8 max_index, bitmap_w, max_exp; local
160 max_index = spectral_max_index_ht20(mag_info->all_bins);
161 fft_sample_20.max_index = max_index;
176 max_index);
178 if ((fft_sample_20.data[max_index]
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.c24 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len, argument
33 if (dc_pos < max_index || -dc_pos >= max_index)
37 if (data[dc_pos + max_index] == (max_magnitude >> max_exp))
42 if (data[dc_pos + max_index] != (max_magnitude >> max_exp))
119 fft_sample->max_index = MS(reg0, SEARCH_FFT_REPORT_REG0_PEAK_SIDX);
144 fft_sample->max_exp = get_max_exp(fft_sample->max_index, peak_mag,
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dspectral.c529 static u8 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, argument
538 if (dc_pos <= max_index || -dc_pos >= max_index)
542 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp))
547 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp))
655 fft_sample->max_index = FIELD_GET(SPECTRAL_FFT_REPORT_INFO0_PEAK_SIGNED_IDX,
682 fft_sample->max_exp = ath11k_spectral_get_max_exp(fft_sample->max_index,
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.h172 * @max_index: max of @index fields of all @ports
207 unsigned int max_index; member in struct:nfp_eth_table
H A Dnfp_nsp_eth.c204 table->max_index = max(table->max_index, table->ports[i].index);
/linux-master/fs/nls/
H A Dnls_euc-jp.c307 int index, min_index, max_index; local
311 max_index = ARRAY_SIZE(euc2sjisibm_jisx0212_map) - 1;
314 while (min_index <= max_index) {
315 index = (min_index + max_index) / 2;
317 max_index = index - 1;
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c284 * @max_index: Maximum instances currently present
290 int max_index; member in struct:tpmi_sst_common_struct
399 if (pkg_id < 0 || pkg_id > isst_common.max_index ||
1355 if (isst_common.max_index < pkg)
1356 isst_common.max_index = pkg;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h208 u16 max_index, be_index; local
220 max_index = (item->size.bytes << 3) / item->element_size - 1;
221 be_index = max_index - index;
H A Dcore_hwmon.c739 int index, max_index, sensor_index; local
757 max_index = mlxsw_hwmon_dev->module_sensor_max + gbox_num;
758 while (index < max_index) {
/linux-master/lib/
H A Dobjagg.c761 int max_index = -1; local
771 max_index = i;
774 return max_index;
H A Dxarray.c430 static unsigned long max_index(void *entry) function
578 while (max > max_index(head)) {
1324 if (xas->xa_index > max_index(entry))
/linux-master/drivers/iio/adc/
H A Dat91-sama5d2_adc.c445 * @max_index: highest channel index (highest index may be higher
463 unsigned int max_index; member in struct:at91_adc_platform
713 .max_index = AT91_SAMA5D2_MAX_CHAN_IDX,
735 .max_index = AT91_SAMA7G5_MAX_CHAN_IDX,
1286 st->soc_info.platform->max_index + 1);
1623 st->soc_info.platform->max_index + 1) {
2144 st->soc_info.platform->max_index + 1))
2151 st->soc_info.platform->max_index + 1))
/linux-master/drivers/media/dvb-frontends/
H A Dcxd2841er.c1674 int min_index, max_index, index; local
1694 max_index = ARRAY_SIZE(s_cn_data) - 1;
1697 max_index = ARRAY_SIZE(s2_cn_data) - 1;
1703 if (value <= cn_data[max_index].value) {
1704 res = cn_data[max_index].cnr_x1000;
1707 while ((max_index - min_index) > 1) {
1708 index = (max_index + min_index) / 2;
1713 max_index = index;
1716 if ((max_index - min_index) <= 1) {
1717 if (value == cn_data[max_index]
[all...]
/linux-master/drivers/md/
H A Ddm-clone-metadata.c670 unsigned long max_index = min(cmd->nr_regions, (word + 1) * BITS_PER_LONG); local
672 while (index < max_index) {
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c786 uint32_t max_index)
799 if ((point->left_index < 0) || (point->left_index > max_index)) {
804 if ((point->right_index < 0) || (point->right_index > max_index)) {
782 calculate_mapped_value( struct pwl_float_data *rgb, const struct pixel_gamma_point *coeff, enum channel_name channel, uint32_t max_index) argument
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c509 reprs = nfp_reprs_alloc(eth_tbl->max_index + 1);
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_main.c453 min_size = NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1);
/linux-master/fs/btrfs/
H A Dblock-group.c566 * Get an arbitrary extent item index / max_index through the block group
570 * @max_index: the granularity of the sampling
574 * 0 <= index <= max_index
575 * 0 < max_index
582 int index, int max_index,
594 ASSERT(index <= max_index);
595 ASSERT(max_index > 0);
610 search_offset = index * div_u64(block_group->length, max_index);
580 sample_block_group_extent_item(struct btrfs_caching_control *caching_ctl, struct btrfs_block_group *block_group, int index, int max_index, struct btrfs_key *found_key) argument

Completed in 246 milliseconds

12