Home
last modified time | relevance | path

Searched refs:max_index (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/isci/scil/
H A Dscic_sds_port_configuration_agent.c227 (port_agent->phy_valid_port_range[0].max_index != 0) in scic_sds_port_configuration_agent_validate_ports()
228 || (port_agent->phy_valid_port_range[1].max_index != 1) in scic_sds_port_configuration_agent_validate_ports()
229 || (port_agent->phy_valid_port_range[2].max_index != 2) in scic_sds_port_configuration_agent_validate_ports()
230 || (port_agent->phy_valid_port_range[3].max_index != 3) in scic_sds_port_configuration_agent_validate_ports()
367 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in scic_sds_mpc_agent_validate_phy_configuration()
398 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in scic_sds_mpc_agent_validate_phy_configuration()
617 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in scic_sds_apc_agent_validate_phy_configuration()
622 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in scic_sds_apc_agent_validate_phy_configuration()
718 port_index <= port_agent->phy_valid_port_range[phy->phy_index].max_index; in scic_sds_apc_agent_configure_ports()
1002 port_agent->phy_valid_port_range[index].max_index = 0; in scic_sds_port_configuration_agent_construct()
H A Dscic_sds_port_configuration_agent.h86 U8 max_index; member
/freebsd/sys/contrib/dev/athk/
H A Dspectral_common.h59 u8 max_index; member
105 s8 max_index; member
117 s8 max_index; member
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp129 int16_t max_index = -1; in findPrefetchInfo() local
151 max_index = std::max(max_index, static_cast<int16_t>(index)); in findPrefetchInfo()
154 assert(max_index + 1 >= 0 && in findPrefetchInfo()
156 assert(static_cast<size_t>(max_index + 1) == Prefetches.size() && in findPrefetchInfo()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dspectral.c24 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len, in get_max_exp() argument
33 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()
/freebsd/sys/dev/qlxge/
H A Dqls_dump.c1454 uint32_t max_index; in qls_get_mac_proto_regs() local
1461 max_index = 512; in qls_get_mac_proto_regs()
1467 max_index = 32; in qls_get_mac_proto_regs()
1474 max_index = 4096; in qls_get_mac_proto_regs()
1480 max_index = 4; in qls_get_mac_proto_regs()
1486 max_index = 8; in qls_get_mac_proto_regs()
1492 max_index = 16; in qls_get_mac_proto_regs()
1498 max_index = 4; in qls_get_mac_proto_regs()
1504 max_index = 4; in qls_get_mac_proto_regs()
1510 max_index = 4; in qls_get_mac_proto_regs()
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_paprd.c1395 int max_index; in create_pa_curve() local
1441 max_index = 0; in create_pa_curve()
1490 max_index++; in create_pa_curve()
1515 for (bin = 0; bin <= max_index; bin++) { in create_pa_curve()
1539 for (bin = 0; bin <= max_index; bin++) { in create_pa_curve()
1546 for (bin = 0; bin <= max_index; bin++) { in create_pa_curve()
1563 for (bin = 0; bin <= max_index; bin++) { in create_pa_curve()
1570 if (y_est[max_index] == 0) { in create_pa_curve()
1574 (x_est_fxp1_nonlin[max_index] + y_est[max_index]) / y_est[max_index]; in create_pa_curve()
1583 half_lo = (max_index > 15) ? 7 : max_index >> 1; in create_pa_curve()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dspectral.c538 static u8 ath11k_spectral_get_max_exp(s8 max_index, u8 max_magnitude, in ath11k_spectral_get_max_exp() argument
547 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()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mesh.c1298 int max_index; in measure_geometry() local
1337 max_index = -1; in measure_geometry()
1342 max_index = i; in measure_geometry()
1346 mesh->dim_order[j] = max_index; in measure_geometry()
1347 size[max_index] = -1; in measure_geometry()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_app.c109 mpi3mr_mgmt_info.sc_ptr[mpi3mr_mgmt_info.max_index] = sc; in mpi3mr_app_attach()
110 mpi3mr_mgmt_info.max_index++; in mpi3mr_app_attach()
124 for (i = 0; i < mpi3mr_mgmt_info.max_index; i++) { in mpi3mr_app_detach()
169 if (mrioc_id >= mpi3mr_mgmt_info.max_index) in mpi3mr_app_get_adp_instance()
H A Dmpi3mr.h151 int max_index; member
/freebsd/sys/dev/mrsas/
H A Dmrsas.c1019 mrsas_mgmt_info.sc_ptr[mrsas_mgmt_info.max_index] = sc; in mrsas_ich_startup()
1020 mrsas_mgmt_info.max_index++; in mrsas_ich_startup()
1073 for (i = 0; i < mrsas_mgmt_info.max_index; i++) { in mrsas_detach()
1428 else if (user_ioc->host_no >= mrsas_mgmt_info.max_index) in mrsas_get_softc_instance()
H A Dmrsas.h2976 int max_index; member
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c4676 u_int32_t canuse, min_index, max_index; in nfsrv_nextstateindex() local
4689 max_index = 0xffffffff; in nfsrv_nextstateindex()
4693 if (stp->ls_stateid.other[2] < max_index) in nfsrv_nextstateindex()
4694 max_index = stp->ls_stateid.other[2]; in nfsrv_nextstateindex()
4705 if (min_index == 0x80000000 && max_index == 0x80000001) { in nfsrv_nextstateindex()
4730 clp->lc_statemaxindex = max_index; in nfsrv_nextstateindex()