Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/freebsd-14-stable/sys/dev/videomode/
HDpickmode.c118 sort_modes(struct videomode *modes, struct videomode **preferred, int nmodes) in sort_modes() argument
132 if (*preferred != modes) { in sort_modes()
133 swap_modes(*preferred, modes); in sort_modes()
134 *preferred = modes; in sort_modes()
145 if (modes[i].hdisplay > hbest) { in sort_modes()
146 hbest = modes[i].hdisplay; in sort_modes()
147 vbest = modes[i].vdisplay; in sort_modes()
148 mtemp = &modes[i]; in sort_modes()
149 } else if (modes[i].hdisplay == hbest && in sort_modes()
150 modes[i].vdisplay > vbest) { in sort_modes()
[all …]
/freebsd-14-stable/sys/dev/aic7xxx/
HDaic79xx.reg325 modes M_CCHAN
334 modes M_CCHAN
343 modes M_CCHAN
353 modes M_CCHAN
397 modes M_DFF0, M_DFF1
417 modes M_CFG
432 modes M_DFF0, M_DFF1
448 modes M_DFF0, M_DFF1
457 modes M_DFF0, M_DFF1
470 modes M_CFG
[all …]
/freebsd-14-stable/tools/regression/security/open_to_operation/
HDopen_to_operation.c180 check_directory_open_modes(const char *directory, const int *modes, in check_directory_open_modes() argument
190 mode = modes[i]; in check_directory_open_modes()
201 check_dup(const char *testname, const char *path, const int *modes, in check_dup() argument
210 mode = modes[i]; in check_dup()
227 check_dup2(const char *testname, const char *path, const int *modes, in check_dup2() argument
236 mode = modes[i]; in check_dup2()
253 check_fchdir(const char *testname, const char *path, const int *modes, in check_fchdir() argument
262 mode = modes[i]; in check_fchdir()
277 check_fchflags(const char *testname, const char *path, const int *modes, in check_fchflags() argument
286 mode = modes[i]; in check_fchflags()
[all …]
/freebsd-14-stable/sys/dev/sfxge/common/
HDefx_nic.c861 efx_qword_t modes; in efx_mcdi_get_loopback_modes() local
893 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_100M); in efx_mcdi_get_loopback_modes()
894 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
895 encp->enc_loopback_types[EFX_LINK_100FDX] = modes; in efx_mcdi_get_loopback_modes()
897 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_1G); in efx_mcdi_get_loopback_modes()
898 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
899 encp->enc_loopback_types[EFX_LINK_1000FDX] = modes; in efx_mcdi_get_loopback_modes()
901 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_10G); in efx_mcdi_get_loopback_modes()
902 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
903 encp->enc_loopback_types[EFX_LINK_10000FDX] = modes; in efx_mcdi_get_loopback_modes()
[all …]
/freebsd-14-stable/sys/contrib/openzfs/lib/libicp/
HDMakefile.am20 module/icp/algs/modes/modes.c \
21 module/icp/algs/modes/cbc.c \
22 module/icp/algs/modes/gcm_generic.c \
23 module/icp/algs/modes/gcm_pclmulqdq.c \
24 module/icp/algs/modes/gcm.c \
25 module/icp/algs/modes/ctr.c \
26 module/icp/algs/modes/ccm.c \
27 module/icp/algs/modes/ecb.c \
74 module/icp/asm-x86_64/modes/gcm_pclmulqdq.S \
75 module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S \
[all …]
/freebsd-14-stable/sys/contrib/device-tree/src/arm64/qcom/
HDsa8775p-ride.dts62 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
72 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
82 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
92 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
102 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
112 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
127 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
137 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
147 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
169 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
[all …]
/freebsd-14-stable/tests/sys/cddl/zfs/tests/delegate/
HDdelegate_common.kshlib516 set -A modes "on" "off"
524 user_run $user $ZFS set $perm=${modes[$n]} $dtst
525 if [[ ${modes[$n]} != $(get_prop $perm $dtst) ]]; then
540 set -A modes 1 2 3
550 user_run $user $ZFS set $perm=${modes[$n]} $dtst
551 if [[ ${modes[$n]} != $(get_prop $perm $dtst) ]]; then
1117 set -A modes "on" "off"
1125 user_run $user $ZFS set $perm=${modes[$n]} $fs
1126 if [[ ${modes[$n]} != $(get_prop $perm $fs) ]];
1137 set -A modes "on" "off"
[all …]
/freebsd-14-stable/sys/dev/drm2/
HDdrm_edid.c78 int modes; member
1098 int i, modes = 0; in drm_dmt_modes_for_range() local
1108 modes++; in drm_dmt_modes_for_range()
1113 return modes; in drm_dmt_modes_for_range()
1133 int i, modes = 0; in drm_gtf_modes_for_range() local
1141 return modes; in drm_gtf_modes_for_range()
1151 modes++; in drm_gtf_modes_for_range()
1154 return modes; in drm_gtf_modes_for_range()
1161 int i, modes = 0; in drm_cvt_modes_for_range() local
1170 return modes; in drm_cvt_modes_for_range()
[all …]
HDdrm_fb_helper.c1042 list_for_each_entry(mode, &fb_connector->connector->modes, head) { in drm_has_preferred_mode()
1075 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_pick_cmdline_mode()
1096 list_add(&mode->head, &fb_helper_conn->connector->modes); in drm_pick_cmdline_mode()
1137 struct drm_display_mode **modes, in drm_target_cloned() argument
1165 modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height); in drm_target_cloned()
1166 if (!modes[i]) { in drm_target_cloned()
1173 if (!drm_mode_equal(modes[j], modes[i])) in drm_target_cloned()
1193 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { in drm_target_cloned()
1195 modes[i] = mode; in drm_target_cloned()
1197 if (!modes[i]) in drm_target_cloned()
[all …]
/freebsd-14-stable/contrib/ntp/util/
HDntptime.c119 ntx.modes |= MOD_MICRO; in main()
124 ntx.modes |= MOD_NANO; in main()
129 ntx.modes = MOD_TAI; in main()
138 ntx.modes |= MOD_ESTERROR; in main()
143 ntx.modes |= MOD_FREQUENCY; in main()
148 ntx.modes |= MOD_MAXERROR; in main()
153 ntx.modes |= MOD_OFFSET; in main()
162 ntx.modes |= MOD_STATUS; in main()
169 ntx.modes |= MOD_TIMECONST; in main()
273 _ntx.modes = 0; /* Ensure nothing is set */ in main()
[all …]
/freebsd-14-stable/sys/dev/fb/
HDvesa.c774 int modes; in vesa_bios_init() local
876 for (i = 0, modes = 0; (i < (M_VESA_MODE_MAX - M_VESA_BASE + 1)) && in vesa_bios_init()
937 if (modes >= vesa_vmode_max) { in vesa_bios_init()
943 modes, vesa_vmode_max); in vesa_bios_init()
945 if (modes > 0) { in vesa_bios_init()
946 bcopy(vesa_vmode, p, sizeof(*vesa_vmode)*modes); in vesa_bios_init()
965 bzero(&vesa_vmode[modes], sizeof(vesa_vmode[modes])); in vesa_bios_init()
966 vesa_vmode[modes].vi_mode = vesa_vmodetab[i]; in vesa_bios_init()
967 vesa_vmode[modes].vi_width = vmode.v_width; in vesa_bios_init()
968 vesa_vmode[modes].vi_height = vmode.v_height; in vesa_bios_init()
[all …]
/freebsd-14-stable/contrib/wpa/src/drivers/
HDdriver_nl80211_capa.c1601 struct hostapd_hw_modes *modes; member
2056 mode = os_realloc_array(phy_info->modes, in phy_info_band()
2063 phy_info->modes = mode; in phy_info_band()
2065 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
2087 mode = &phy_info->modes[*(phy_info->num_modes) - 1]; in phy_info_band()
2154 wpa_driver_nl80211_postprocess_modes(struct hostapd_hw_modes *modes, in wpa_driver_nl80211_postprocess_modes() argument
2163 if (!modes[m].num_channels) in wpa_driver_nl80211_postprocess_modes()
2166 modes[m].is_6ghz = false; in wpa_driver_nl80211_postprocess_modes()
2168 if (modes[m].channels[0].freq < 2000) { in wpa_driver_nl80211_postprocess_modes()
2169 modes[m].num_channels = 0; in wpa_driver_nl80211_postprocess_modes()
[all …]
/freebsd-14-stable/usr.sbin/ppp/
HDdefs.c88 } modes[] = { variable
105 for (m = 0; modes[m].mode; m++) in mode2Nam()
106 if (modes[m].mode == mode) in mode2Nam()
107 return modes[m].name; in mode2Nam()
119 for (m = 0; modes[m].mode; m++) in Nam2mode()
120 if (!strncasecmp(name, modes[m].name, len)) { in Nam2mode()
121 if (modes[m].name[len] == '\0') in Nam2mode()
122 return modes[m].mode; in Nam2mode()
128 return got == -1 ? 0 : modes[got].mode; in Nam2mode()
/freebsd-14-stable/sys/kern/
HDkern_ntptime.c348 int modes; /* mode bits from structure */ in kern_ntp_adjtime() local
360 modes = ntv->modes; in kern_ntp_adjtime()
362 if (modes) in kern_ntp_adjtime()
367 if (modes & MOD_MAXERROR) in kern_ntp_adjtime()
369 if (modes & MOD_ESTERROR) in kern_ntp_adjtime()
371 if (modes & MOD_STATUS) { in kern_ntp_adjtime()
382 if (modes & MOD_TIMECONST) { in kern_ntp_adjtime()
390 if (modes & MOD_TAI) { in kern_ntp_adjtime()
395 if (modes & MOD_PPSMAX) { in kern_ntp_adjtime()
404 if (modes & MOD_NANO) in kern_ntp_adjtime()
[all …]
/freebsd-14-stable/usr.sbin/lpr/lpd/
HDmodes.c45 struct modes { struct
55 struct modes cmodes[] = { argument
97 struct modes imodes[] = {
133 struct modes lmodes[] = {
185 struct modes omodes[] = {
204 struct modes *mp; in msearch()
/freebsd-14-stable/crypto/openssl/crypto/evp/
HDbuild.info60 INCLUDE[e_camellia.o]=.. ../modes
65 INCLUDE[e_aes.o]=.. ../modes
66 INCLUDE[e_aes_cbc_hmac_sha1.o]=../modes
67 INCLUDE[e_aes_cbc_hmac_sha256.o]=../modes
68 INCLUDE[e_aria.o]=.. ../modes
69 INCLUDE[e_sm4.o]=.. ../modes
/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
HDdelegate_common.kshlib453 set -A modes "on" "off"
461 user_run $user zfs set $perm=${modes[$n]} $dtst
462 if [[ ${modes[$n]} != $(get_prop $perm $dtst) ]]; then
477 set -A modes 1 2 3
487 user_run $user zfs set $perm=${modes[$n]} $dtst
488 if [[ ${modes[$n]} != $(get_prop $perm $dtst) ]]; then
1018 set -A modes "on" "off"
1026 user_run $user zfs set $perm=${modes[$n]} $fs
1027 if [[ ${modes[$n]} != $(get_prop $perm $fs) ]]; then
1037 set -A modes "on" "off"
[all …]
/freebsd-14-stable/sys/contrib/device-tree/Bindings/arm/freescale/
Dfsl,imx7ulp-pm.txt5 the MCU into and out of all stop and run power modes. Specifically, it
6 monitors events to trigger transitions between power modes while
11 Standby modes for either Cortex family. Run, Wait, and Stop are the
12 common terms used for the primary operating modes of Kinetis
/freebsd-14-stable/tools/tools/ath/athrd/
HDathrd.c1016 int modes = 0; in main() local
1080 modes |= HAL_MODE_11A; in main()
1083 modes |= HAL_MODE_11B; in main()
1086 modes |= HAL_MODE_11G; in main()
1089 modes |= HAL_MODE_HT20; in main()
1092 modes |= HAL_MODE_HT40; in main()
1095 modes |= HAL_MODE_HT; in main()
1098 modes |= HAL_MODE_TURBO | HAL_MODE_108G; in main()
1156 if (modes == 0) { in main()
1158 modes = HAL_MODE_11A | HAL_MODE_11B | in main()
[all …]
/freebsd-14-stable/contrib/ntp/libntp/
HDtimexsup.c77 unsigned int * modes in var_long_from_dbl() argument
81 *modes |= MOD_NANO; in var_long_from_dbl()
84 UNUSED_ARG(modes); in var_long_from_dbl()
/freebsd-14-stable/sys/dev/ath/ath_hal/ar5312/
HDar5312_power.c75 static const char* modes[] = { in ar5312SetPowerMode() local
85 modes[ah->ah_powerMode], modes[mode], in ar5312SetPowerMode()
/freebsd-14-stable/sys/dev/syscons/plasma/
HDplasma_saver.c48 static int modes[] = { variable
188 for (i = 0; modes[i] >= 0; ++i) in plasma_init()
189 if (vidd_get_info(adp, modes[i], &info) == 0) in plasma_init()
191 if (modes[i] < 0) { in plasma_init()
195 scrmode = modes[i]; in plasma_init()
/freebsd-14-stable/sys/contrib/openzfs/
HDCOPYRIGHT23 * GCM Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams
24 * GCM Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl
25 * GHASH Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams
26 * GHASH Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl
/freebsd-14-stable/sys/contrib/device-tree/Bindings/regulator/
HDmcp16502-regulator.txt22 Regulator modes:
42 regulator-allowed-modes = <2>, <4>;
61 regulator-allowed-modes = <2>, <4>;
80 regulator-allowed-modes = <2>, <4>;
99 regulator-allowed-modes = <2>, <4>;
/freebsd-14-stable/sys/dev/qlnx/qlnxe/
HDecore_init_ops.c461 u16 *p_offset, int modes) argument
471 return ecore_init_cmd_mode_match(p_hwfn, p_offset, modes) ^ 1;
473 arg1 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
474 arg2 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
477 arg1 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
478 arg2 = ecore_init_cmd_mode_match(p_hwfn, p_offset, modes);
482 return (modes & (1 << tree_val)) ? 1 : 0;
487 const struct init_if_mode_op *p_cmd, int modes) argument
491 if (ecore_init_cmd_mode_match(p_hwfn, &offset, modes))
516 int modes) argument
[all …]

12345678910>>...19