| /Linux-v5.4/drivers/gpu/drm/vc4/ | 
| D | vc4_validate.c | 261 	uint32_t max_index = *(uint32_t *)(untrusted + 9);  in validate_indexed_prim_list()  local272 	if (max_index > shader_state->max_index)  in validate_indexed_prim_list()
 273 		shader_state->max_index = max_index;  in validate_indexed_prim_list()
 299 	uint32_t max_index;  in validate_gl_array_primitive()  local
 313 	max_index = length + base_index - 1;  in validate_gl_array_primitive()
 315 	if (max_index > shader_state->max_index)  in validate_gl_array_primitive()
 316 		shader_state->max_index = max_index;  in validate_gl_array_primitive()
 332 	exec->shader_state[i].max_index = 0;  in validate_gl_shader_state()
 893 		uint32_t max_index;  in validate_gl_shader_rec()  local
 909 			max_index = ((vbo->base.size - offset - attr_size) /  in validate_gl_shader_rec()
 [all …]
 
 | 
| D | vc4_drv.h | 544 		uint32_t max_index;  member
 | 
| /Linux-v5.4/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()
 456 				port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_apc_agent_validate_phy_configuration()
 459 				port_agent->phy_valid_port_range[phy_index].max_index = phy_index;  in sci_apc_agent_validate_phy_configuration()
 506 		     port_index <= port_agent->phy_valid_port_range[iphy->phy_index].max_index;  in sci_apc_agent_configure_ports()
 722 		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-v5.4/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-v5.4/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-v5.4/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-v5.4/drivers/infiniband/sw/rxe/ | 
| D | rxe_pool.c | 62 		.max_index	= RXE_MAX_SRQ_INDEX,70 		.max_index	= RXE_MAX_QP_INDEX,
 83 		.max_index	= RXE_MAX_MR_INDEX,
 90 		.max_index	= RXE_MAX_MW_INDEX,
 180 	pool->max_index = max;  in rxe_pool_init_index()
 224 					  rxe_type_info[type].max_index,  in rxe_pool_init()
 271 	u32 range = pool->max_index - pool->min_index + 1;  in alloc_index()
 
 | 
| D | rxe_pool.h | 68 	u32			max_index;  member109 	u32			max_index;  member
 
 | 
| /Linux-v5.4/drivers/net/wireless/ath/ | 
| D | spectral_common.h | 58 	u8 max_index;  member104 	s8 max_index;  member
 
 | 
| /Linux-v5.4/fs/ntfs/ | 
| D | super.c | 1584 	pgoff_t index, max_index;  in load_and_init_attrdef()  local1604 	max_index = i_size >> PAGE_SHIFT;  in load_and_init_attrdef()
 1606 	while (index < max_index) {  in load_and_init_attrdef()
 1649 	pgoff_t index, max_index;  in load_and_init_upcase()  local
 1673 	max_index = i_size >> PAGE_SHIFT;  in load_and_init_upcase()
 1675 	while (index < max_index) {  in load_and_init_upcase()
 2450 	pgoff_t index, max_index;  in get_nr_free_clusters()  local
 2460 	max_index = (((vol->nr_clusters + 7) >> 3) + PAGE_SIZE - 1) >>  in get_nr_free_clusters()
 2464 			max_index, PAGE_SIZE / 4);  in get_nr_free_clusters()
 2465 	for (index = 0; index < max_index; index++) {  in get_nr_free_clusters()
 [all …]
 
 | 
| /Linux-v5.4/drivers/staging/qlge/ | 
| D | qlge_dbg.c | 610 	u32 max_index;  in ql_get_mac_protocol_registers()  local618 			max_index = MAC_ADDR_MAX_CAM_ENTRIES;  in ql_get_mac_protocol_registers()
 622 			max_index = MAC_ADDR_MAX_CAM_WCOUNT;  in ql_get_mac_protocol_registers()
 627 			max_index = MAC_ADDR_MAX_CAM_WCOUNT;  in ql_get_mac_protocol_registers()
 631 			max_index = MAC_ADDR_MAX_FC_MAC_ENTRIES;  in ql_get_mac_protocol_registers()
 635 			max_index = MAC_ADDR_MAX_MGMT_MAC_ENTRIES;  in ql_get_mac_protocol_registers()
 639 			max_index = MAC_ADDR_MAX_MGMT_VLAN_ENTRIES;  in ql_get_mac_protocol_registers()
 643 			max_index = MAC_ADDR_MAX_MGMT_V4_ENTRIES;  in ql_get_mac_protocol_registers()
 647 			max_index = MAC_ADDR_MAX_MGMT_V6_ENTRIES;  in ql_get_mac_protocol_registers()
 651 			max_index = MAC_ADDR_MAX_MGMT_TU_DP_ENTRIES;  in ql_get_mac_protocol_registers()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ | 
| D | core_hwmon.c | 582 	int index, max_index, sensor_index;  in mlxsw_hwmon_gearbox_init()  local598 	max_index = mlxsw_hwmon->module_sensor_count + gbox_num;  in mlxsw_hwmon_gearbox_init()
 599 	while (index < max_index) {  in mlxsw_hwmon_gearbox_init()
 
 | 
| 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()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/ | 
| D | nfp_nsp.h | 152 	unsigned int max_index;  member
 | 
| D | nfp_nsp_eth.c | 181 		table->max_index = max(table->max_index, table->ports[i].index);  in nfp_eth_calc_port_geometry()
 | 
| /Linux-v5.4/drivers/media/dvb-frontends/ | 
| D | cxd2841er.c | 1673 	int min_index, max_index, index;  in cxd2841er_dvbs_read_snr()  local1693 			max_index = ARRAY_SIZE(s_cn_data) - 1;  in cxd2841er_dvbs_read_snr()
 1696 			max_index = ARRAY_SIZE(s2_cn_data) - 1;  in cxd2841er_dvbs_read_snr()
 1702 		if (value <= cn_data[max_index].value) {  in cxd2841er_dvbs_read_snr()
 1703 			res = cn_data[max_index].cnr_x1000;  in cxd2841er_dvbs_read_snr()
 1706 		while ((max_index - min_index) > 1) {  in cxd2841er_dvbs_read_snr()
 1707 			index = (max_index + min_index) / 2;  in cxd2841er_dvbs_read_snr()
 1712 				max_index = index;  in cxd2841er_dvbs_read_snr()
 1715 			if ((max_index - min_index) <= 1) {  in cxd2841er_dvbs_read_snr()
 1716 				if (value == cn_data[max_index].value) {  in cxd2841er_dvbs_read_snr()
 [all …]
 
 | 
| /Linux-v5.4/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 | 425 static unsigned long max_index(void *entry)  in max_index()  function573 	while (max > max_index(head)) {  in xas_expand()
 1161 		if (xas->xa_index > max_index(entry))  in xas_find_marked()
 
 | 
| /Linux-v5.4/drivers/md/ | 
| D | dm-clone-metadata.c | 640 	unsigned long max_index = min(cmd->nr_regions, (word + 1) * BITS_PER_LONG);  in __update_metadata_word()  local642 	while (index < max_index) {  in __update_metadata_word()
 
 | 
| /Linux-v5.4/drivers/vfio/pci/ | 
| D | vfio_pci.c | 1522 	int max_index;  member1531 	if (devs->cur_index == devs->max_index)  in vfio_pci_get_unused_devs()
 1587 	devs.max_index = i;  in vfio_pci_try_bus_reset()
 
 | 
| /Linux-v5.4/drivers/gpu/drm/amd/display/modules/color/ | 
| D | color_gamma.c | 629 	uint32_t max_index)  in calculate_mapped_value()  argument642 	if ((point->left_index < 0) || (point->left_index > max_index)) {  in calculate_mapped_value()
 647 	if ((point->right_index < 0) || (point->right_index > max_index)) {  in calculate_mapped_value()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/ | 
| D | nfp_net_main.c | 461 		min_size =  NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1);  in nfp_net_pci_map_mem()
 | 
| /Linux-v5.4/drivers/net/wireless/atmel/ | 
| D | atmel.c | 2944 	int max_index = -1;  in retrieve_bss()  local2961 				priv->current_BSS = max_index = i;  in retrieve_bss()
 2964 		return max_index;  in retrieve_bss()
 2974 				max_index = i;  in retrieve_bss()
 2978 	return max_index;  in retrieve_bss()
 
 |