| /Linux-v6.6/drivers/infiniband/sw/rxe/ | 
| D | rxe_pool.c | 18 	u32 max_index;  member26 		.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;  in rxe_pool_init()
 
 | 
| /Linux-v6.6/drivers/gpu/drm/vc4/ | 
| D | vc4_validate.c | 269 	uint32_t max_index = *(uint32_t *)(untrusted + 9);  in validate_indexed_prim_list()  local280 	if (max_index > shader_state->max_index)  in validate_indexed_prim_list()
 281 		shader_state->max_index = max_index;  in validate_indexed_prim_list()
 307 	uint32_t max_index;  in validate_gl_array_primitive()  local
 321 	max_index = length + base_index - 1;  in validate_gl_array_primitive()
 323 	if (max_index > shader_state->max_index)  in validate_gl_array_primitive()
 324 		shader_state->max_index = max_index;  in validate_gl_array_primitive()
 340 	exec->shader_state[i].max_index = 0;  in validate_gl_shader_state()
 905 		uint32_t max_index;  in validate_gl_shader_rec()  local
 921 			max_index = ((vbo->base.size - offset - attr_size) /  in validate_gl_shader_rec()
 [all …]
 
 | 
| D | vc4_drv.h | 705 		uint32_t max_index;  member
 | 
| /Linux-v6.6/drivers/scsi/isci/ | 
| D | port_config.c | 169 	if (port_agent->phy_valid_port_range[0].max_index != 0 ||  in sci_port_configuration_agent_validate_ports()170 	    port_agent->phy_valid_port_range[1].max_index != 1 ||  in sci_port_configuration_agent_validate_ports()
 171 	    port_agent->phy_valid_port_range[2].max_index != 2 ||  in sci_port_configuration_agent_validate_ports()
 172 	    port_agent->phy_valid_port_range[3].max_index != 3)  in sci_port_configuration_agent_validate_ports()
 280 			port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_mpc_agent_validate_phy_configuration()
 308 			port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_mpc_agent_validate_phy_configuration()
 457 				port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_apc_agent_validate_phy_configuration()
 460 				port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_apc_agent_validate_phy_configuration()
 507 		     port_index <= port_agent->phy_valid_port_range[iphy->phy_index].max_index;  in sci_apc_agent_configure_ports()
 723 		port_agent->phy_valid_port_range[index].max_index = 0;  in sci_port_configuration_agent_construct()
 
 | 
| D | host.h | 120 		u8 max_index;  member
 | 
| /Linux-v6.6/drivers/net/wireless/ath/ | 
| D | spectral_common.h | 59 	u8 max_index;  member105 	s8 max_index;  member
 117 	s8 max_index;  member
 
 | 
| /Linux-v6.6/drivers/net/wireless/ath/ath9k/ | 
| D | ar9003_paprd.c | 426 	int max_index, scale_factor;  in create_pa_curve()  local441 	max_index = 0;  in create_pa_curve()
 457 		max_index++;  in create_pa_curve()
 473 		x_est[max_index] =  in create_pa_curve()
 477 		Y[max_index] =  in create_pa_curve()
 485 		theta[max_index] =  in create_pa_curve()
 503 	for (i = 0; i <= max_index; i++)  in create_pa_curve()
 526 	for (i = 0; i <= max_index; i++)  in create_pa_curve()
 534 	if (y_est[max_index] == 0)  in create_pa_curve()
 538 	    x_est[max_index] - ((1 << scale_factor) * y_est[max_index] +  in create_pa_curve()
 [all …]
 
 | 
| D | common-spectral.c | 48 	u8 max_index;  in ath_cmn_max_idx_verify_ht20_fft()  local62 	max_index = spectral_max_index_ht20(mag_info->all_bins);  in ath_cmn_max_idx_verify_ht20_fft()
 71 	if (bytes_read < SPECTRAL_HT20_SAMPLE_LEN && max_index < 1)  in ath_cmn_max_idx_verify_ht20_fft()
 74 	if ((sample[max_index] & 0xf8) != ((max_magnitude >> max_exp) & 0xf8))  in ath_cmn_max_idx_verify_ht20_fft()
 145 	u8 max_index, bitmap_w, max_exp;  in ath_cmn_process_ht20_fft()  local
 160 	max_index = spectral_max_index_ht20(mag_info->all_bins);  in ath_cmn_process_ht20_fft()
 161 	fft_sample_20.max_index = max_index;  in ath_cmn_process_ht20_fft()
 176 					max_index);  in ath_cmn_process_ht20_fft()
 178 	if ((fft_sample_20.data[max_index] & 0xf8) !=  in ath_cmn_process_ht20_fft()
 194 	if (max_index == dc_pos) {  in ath_cmn_process_ht20_fft()
 [all …]
 
 | 
| /Linux-v6.6/fs/nls/ | 
| D | nls_euc-jp.c | 307 	int index, min_index, max_index;  in euc2sjisibm_jisx0212()  local311 	max_index = ARRAY_SIZE(euc2sjisibm_jisx0212_map) - 1;  in euc2sjisibm_jisx0212()
 314 	while (min_index <= max_index) {  in euc2sjisibm_jisx0212()
 315 		index = (min_index + max_index) / 2;  in euc2sjisibm_jisx0212()
 317 			max_index = index - 1;  in euc2sjisibm_jisx0212()
 
 | 
| /Linux-v6.6/drivers/net/wireless/ath/ath10k/ | 
| D | spectral.c | 24 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len,  in get_max_exp()  argument33 	if (dc_pos < max_index || -dc_pos >= max_index)  in get_max_exp()
 37 		if (data[dc_pos + max_index] == (max_magnitude >> max_exp))  in get_max_exp()
 42 	if (data[dc_pos + max_index] != (max_magnitude >> max_exp))  in get_max_exp()
 119 	fft_sample->max_index = MS(reg0, SEARCH_FFT_REPORT_REG0_PEAK_SIDX);  in ath10k_spectral_process_fft()
 144 	fft_sample->max_exp = get_max_exp(fft_sample->max_index, peak_mag,  in ath10k_spectral_process_fft()
 
 | 
| /Linux-v6.6/drivers/staging/qlge/ | 
| D | qlge_dbg.c | 602 	u32 max_index;  in qlge_get_mac_protocol_registers()  local609 			max_index = MAC_ADDR_MAX_CAM_ENTRIES;  in qlge_get_mac_protocol_registers()
 613 			max_index = MAC_ADDR_MAX_CAM_WCOUNT;  in qlge_get_mac_protocol_registers()
 618 			max_index = MAC_ADDR_MAX_CAM_WCOUNT;  in qlge_get_mac_protocol_registers()
 622 			max_index = MAC_ADDR_MAX_FC_MAC_ENTRIES;  in qlge_get_mac_protocol_registers()
 626 			max_index = MAC_ADDR_MAX_MGMT_MAC_ENTRIES;  in qlge_get_mac_protocol_registers()
 630 			max_index = MAC_ADDR_MAX_MGMT_VLAN_ENTRIES;  in qlge_get_mac_protocol_registers()
 634 			max_index = MAC_ADDR_MAX_MGMT_V4_ENTRIES;  in qlge_get_mac_protocol_registers()
 638 			max_index = MAC_ADDR_MAX_MGMT_V6_ENTRIES;  in qlge_get_mac_protocol_registers()
 642 			max_index = MAC_ADDR_MAX_MGMT_TU_DP_ENTRIES;  in qlge_get_mac_protocol_registers()
 [all …]
 
 | 
| /Linux-v6.6/fs/ntfs/ | 
| D | super.c | 1592 	pgoff_t index, max_index;  in load_and_init_attrdef()  local1612 	max_index = i_size >> PAGE_SHIFT;  in load_and_init_attrdef()
 1614 	while (index < max_index) {  in load_and_init_attrdef()
 1657 	pgoff_t index, max_index;  in load_and_init_upcase()  local
 1681 	max_index = i_size >> PAGE_SHIFT;  in load_and_init_upcase()
 1683 	while (index < max_index) {  in load_and_init_upcase()
 2459 	pgoff_t index, max_index;  in get_nr_free_clusters()  local
 2469 	max_index = (((vol->nr_clusters + 7) >> 3) + PAGE_SIZE - 1) >>  in get_nr_free_clusters()
 2473 			max_index, PAGE_SIZE / 4);  in get_nr_free_clusters()
 2474 	for (index = 0; index < max_index; index++) {  in get_nr_free_clusters()
 [all …]
 
 | 
| /Linux-v6.6/drivers/net/wireless/ath/ath11k/ | 
| D | spectral.c | 538 static u8 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude,  in ath11k_spectral_get_max_exp()  argument547 	if (dc_pos <= max_index || -dc_pos >= max_index)  in ath11k_spectral_get_max_exp()
 551 		if (bins[dc_pos + max_index] == (max_magnitude >> max_exp))  in ath11k_spectral_get_max_exp()
 556 	if (bins[dc_pos + max_index] != (max_magnitude >> max_exp))  in ath11k_spectral_get_max_exp()
 664 	fft_sample->max_index = FIELD_GET(SPECTRAL_FFT_REPORT_INFO0_PEAK_SIGNED_IDX,  in ath11k_spectral_process_fft()
 691 	fft_sample->max_exp = ath11k_spectral_get_max_exp(fft_sample->max_index,  in ath11k_spectral_process_fft()
 
 | 
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ | 
| D | item.h | 208 	u16 max_index, be_index;  in __mlxsw_item_bit_array_offset()  local220 	max_index = (item->size.bytes << 3) / item->element_size - 1;  in __mlxsw_item_bit_array_offset()
 221 	be_index = max_index - index;  in __mlxsw_item_bit_array_offset()
 
 | 
| D | core_hwmon.c | 739 	int index, max_index, sensor_index;  in mlxsw_hwmon_gearbox_init()  local757 	max_index = mlxsw_hwmon_dev->module_sensor_max + gbox_num;  in mlxsw_hwmon_gearbox_init()
 758 	while (index < max_index) {  in mlxsw_hwmon_gearbox_init()
 
 | 
| /Linux-v6.6/drivers/media/dvb-frontends/ | 
| D | cxd2841er.c | 1674 	int min_index, max_index, index;  in cxd2841er_dvbs_read_snr()  local1694 			max_index = ARRAY_SIZE(s_cn_data) - 1;  in cxd2841er_dvbs_read_snr()
 1697 			max_index = ARRAY_SIZE(s2_cn_data) - 1;  in cxd2841er_dvbs_read_snr()
 1703 		if (value <= cn_data[max_index].value) {  in cxd2841er_dvbs_read_snr()
 1704 			res = cn_data[max_index].cnr_x1000;  in cxd2841er_dvbs_read_snr()
 1707 		while ((max_index - min_index) > 1) {  in cxd2841er_dvbs_read_snr()
 1708 			index = (max_index + min_index) / 2;  in cxd2841er_dvbs_read_snr()
 1713 				max_index = index;  in cxd2841er_dvbs_read_snr()
 1716 			if ((max_index - min_index) <= 1) {  in cxd2841er_dvbs_read_snr()
 1717 				if (value == cn_data[max_index].value) {  in cxd2841er_dvbs_read_snr()
 [all …]
 
 | 
| /Linux-v6.6/drivers/iio/adc/ | 
| D | at91-sama5d2_adc.c | 463 	unsigned int				max_index;  member713 	.max_index = AT91_SAMA5D2_MAX_CHAN_IDX,
 735 	.max_index = AT91_SAMA7G5_MAX_CHAN_IDX,
 1286 			       st->soc_info.platform->max_index + 1);  in at91_adc_current_chan_is_touch()
 1623 			 st->soc_info.platform->max_index + 1) {  in at91_adc_touch_data_handler()
 2144 			  st->soc_info.platform->max_index + 1))  in at91_adc_update_scan_mode()
 2151 			      st->soc_info.platform->max_index + 1))  in at91_adc_update_scan_mode()
 
 | 
| /Linux-v6.6/lib/ | 
| D | objagg.c | 761 	int max_index = -1;  in objagg_tmp_graph_node_max_weight()  local771 			max_index = i;  in objagg_tmp_graph_node_max_weight()
 774 	return max_index;  in objagg_tmp_graph_node_max_weight()
 
 | 
| D | xarray.c | 430 static unsigned long max_index(void *entry)  in max_index()  function578 	while (max > max_index(head)) {  in xas_expand()
 1324 		if (xas->xa_index > max_index(entry))  in xas_find_marked()
 
 | 
| /Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ | 
| D | nfp_nsp.h | 205 	unsigned int max_index;  member
 | 
| D | nfp_nsp_eth.c | 191 		table->max_index = max(table->max_index, table->ports[i].index);  in nfp_eth_calc_port_geometry()
 | 
| /Linux-v6.6/drivers/platform/x86/intel/speed_select_if/ | 
| D | isst_tpmi_core.c | 287 	int max_index;  member392 	if (pkg_id < 0 || pkg_id > isst_common.max_index ||  in get_instance()
 1325 	if (isst_common.max_index < pkg)  in tpmi_sst_dev_add()
 1326 		isst_common.max_index = pkg;  in tpmi_sst_dev_add()
 
 | 
| /Linux-v6.6/drivers/md/ | 
| D | dm-clone-metadata.c | 670 	unsigned long max_index = min(cmd->nr_regions, (word + 1) * BITS_PER_LONG);  in __update_metadata_word()  local672 	while (index < max_index) {  in __update_metadata_word()
 
 | 
| /Linux-v6.6/drivers/gpu/drm/amd/display/modules/color/ | 
| D | color_gamma.c | 682 	uint32_t max_index)  in calculate_mapped_value()  argument695 	if ((point->left_index < 0) || (point->left_index > max_index)) {  in calculate_mapped_value()
 700 	if ((point->right_index < 0) || (point->right_index > max_index)) {  in calculate_mapped_value()
 
 | 
| /Linux-v6.6/drivers/net/ethernet/netronome/nfp/ | 
| D | nfp_net_main.c | 453 		min_size =  NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1);  in nfp_net_pci_map_mem()
 |