Home
last modified time | relevance | path

Searched refs:cur_mode (Results 1 – 9 of 9) sorted by relevance

/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_002_pos.ksh168 typeset cur_mode=$(get_mode $node)
169 cur_mode=$(get_substr $cur_mode 2 9)
171 if [[ $cur_mode == $u_bits$g_bits$o_bits ]]; then
172 log_note "SUCCESS: Current map($cur_mode) ==" \
175 log_fail "FAIL: Current map($cur_mode) != " \
/freebsd/sys/dev/axgbe/
H A Dxgbe-phy-v2.c364 enum xgbe_mode cur_mode; member
2328 phy_data->cur_mode = XGBE_MODE_UNKNOWN; in xgbe_phy_power_off()
2355 phy_data->cur_mode = XGBE_MODE_SFI; in xgbe_phy_sfi_mode()
2370 phy_data->cur_mode = XGBE_MODE_X; in xgbe_phy_x_mode()
2415 phy_data->cur_mode = XGBE_MODE_KR; in xgbe_phy_kr_mode()
2455 return (phy_data->cur_mode); in xgbe_phy_cur_mode()
2710 enum xgbe_mode cur_mode; in xgbe_phy_check_mode() local
2713 if (cur_mode == mode) in xgbe_phy_check_mode()
3672 enum xgbe_mode cur_mode; in xgbe_phy_reset() local
3676 cur_mode = phy_data->cur_mode; in xgbe_phy_reset()
[all …]
H A Dxgbe-phy-v1.c534 enum xgbe_mode cur_mode; in xgbe_phy_check_mode() local
536 cur_mode = xgbe_phy_get_mode(pdata, pdata->phy.speed); in xgbe_phy_check_mode()
537 if (cur_mode == mode) in xgbe_phy_check_mode()
692 phy_impl->cur_mode = xgbe_phy_cur_mode; in xgbe_init_function_ptrs_phy_v1()
H A Dxgbe.h868 enum xgbe_mode (*cur_mode)(struct xgbe_prv_data *); member
H A Dxgbe-mdio.c277 return (pdata->phy_if.phy_impl.cur_mode(pdata)); in xgbe_cur_mode()
H A Dif_axgbe_pci.c2475 pdata->phy_if.phy_impl.cur_mode(pdata)); in axgbe_if_media_status()
/freebsd/sys/dev/drm2/
H A Ddrm_edid.c499 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
513 list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) { in edid_fixup_preferred()
514 cur_mode->type &= ~DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred()
516 if (cur_mode == preferred_mode) in edid_fixup_preferred()
520 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred()
521 preferred_mode = cur_mode; in edid_fixup_preferred()
524 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred()
525 MODE_REFRESH_DIFF(cur_mode, target_refresh) < in edid_fixup_preferred()
527 preferred_mode = cur_mode; in edid_fixup_preferred()
/freebsd/usr.sbin/vidcontrol/
H A Dvidcontrol.c744 int cur_mode; in video_mode() local
749 if (ioctl(0, CONS_GET, &cur_mode) < 0) in video_mode()
844 if (cur_mode >= M_VESA_BASE) in video_mode()
846 _IO('V', cur_mode - M_VESA_BASE), in video_mode()
849 ioctl(0, _IO('S', cur_mode), NULL); in video_mode()
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c2201 uint32_t new_mode, cur_mode; in elink_set_mdio_clk() local
2206 cur_mode = REG_RD(sc, emac_base + EMAC_REG_EMAC_MDIO_MODE); in elink_set_mdio_clk()
2213 if (((cur_mode & EMAC_MDIO_MODE_CLOCK_CNT) == clc_cnt) && in elink_set_mdio_clk()
2214 (cur_mode & (EMAC_MDIO_MODE_CLAUSE_45))) in elink_set_mdio_clk()
2217 new_mode = cur_mode & in elink_set_mdio_clk()
2223 cur_mode, new_mode); in elink_set_mdio_clk()