Home
last modified time | relevance | path

Searched +full:enable +full:- +full:lpa (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/cxgb/common/
H A Dcxgb_vsc8211.c2 SPDX-License-Identifier: BSD-2-Clause
57 VSC_INTR_DESCRAMBL = 1 << 7, /* descrambler lock-lost */
64 VSC_INTR_ENABLE = 1 << 15, /* interrupt enable */
134 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status() local
135 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status()
145 * BMSR_LSTATUS is latch-low, so if it is 0 we need to read it in vsc8211_get_link_status()
178 err = mdio_read(cphy, 0, MII_LPA, &lpa); in vsc8211_get_link_status()
184 if (lpa & adv & ADVERTISE_PAUSE_CAP) in vsc8211_get_link_status()
186 else if ((lpa & ADVERTISE_PAUSE_CAP) && in vsc8211_get_link_status()
187 (lpa & ADVERTISE_PAUSE_ASYM) && in vsc8211_get_link_status()
[all …]
H A Dcxgb_tn1010.c2 SPDX-License-Identifier: BSD-2-Clause
42 /* IEEE auto-negotiation 10GBASE-T registers */
82 static int tn1010_power_down(struct cphy *phy, int enable) in tn1010_power_down() argument
85 BMCR_PDOWN, enable ? BMCR_PDOWN : 0); in tn1010_power_down()
115 return -EINVAL; /* PHY can't disable 1000BASE-T */ in tn1010_advertise()
134 unsigned int status, lpa, adv; in tn1010_get_link_status() local
135 int err, sp = -1, pause = 0; in tn1010_get_link_status()
149 err = mdio_read(phy, MDIO_DEV_ANEG, ANEG_LPA, &lpa); in tn1010_get_link_status()
156 if (lpa & adv & ADVERTISE_PAUSE_CAP) in tn1010_get_link_status()
158 else if ((lpa & ADVERTISE_PAUSE_CAP) && in tn1010_get_link_status()
[all …]
H A Dcxgb_aq100x.c2 SPDX-License-Identifier: BSD-2-Clause
181 CH_WARN(phy->adapter, "PHY%d: temperature is now %dC\n", in aq100x_vendor_intr()
182 phy->addr, aq100x_temperature(phy)); in aq100x_vendor_intr()
184 t3_set_reg_field(phy->adapter, A_T3DBG_GPIO_EN, in aq100x_vendor_intr()
185 phy->addr ? F_GPIO10_OUT_VAL : F_GPIO6_OUT_VAL, 0); in aq100x_vendor_intr()
194 CH_WARN(phy->adapter, "PHY%d: unhandled vendor interrupt" in aq100x_vendor_intr()
195 " (0x%x)\n", phy->addr, cause); in aq100x_vendor_intr()
219 CH_WARN(phy->adapter, "PHY%d: unhandled interrupt (0x%x)\n", in aq100x_intr_handler()
220 phy->addr, cause); in aq100x_intr_handler()
244 } while (v && --wait); in aq100x_power_down()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dfsl,rpmsg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
18 Cortex-A and Cortex-M.
21 - $ref: sound-card-common.yaml#
26 - fsl,imx7ulp-rpmsg-audio
27 - fsl,imx8mn-rpmsg-audio
28 - fsl,imx8mm-rpmsg-audio
29 - fsl,imx8mp-rpmsg-audio
[all …]
/freebsd/sys/dev/axgbe/
H A Dxgbe-phy-v2.c116 #include "xgbe-common.h"
142 /* Rate-change complete wait/retry count */
275 * Optical specification compliance - denotes wavelength
306 ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \
307 !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE))
314 #define XGBE_BEL_FUSE_VENDOR "BEL-FUSE "
315 #define XGBE_BEL_FUSE_PARTNO "1GBT-SFP06 "
334 /* Re-driver related definitions */
407 /* Re-driver support */
429 return (pdata->i2c_if.i2c_xfer(pdata, i2c_op)); in xgbe_phy_i2c_xfer()
[all …]
/freebsd/sys/dev/ppbus/
H A Dlpt.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
35 * ON-LINE 386BSD USER MANUAL BEFORE USE. A BOOK DISCUSSING THE INTERNALS
130 #define LP_ENABLE_IRQ 0x04 /* enable IRQ on open */
165 /* Printer Ready condition - from lpa.c */
202 if (sc->sc_state & HAVEBUS) in lpt_request_ppbus()
207 sc->sc_state |= HAVEBUS; in lpt_request_ppbus()
219 if (sc->sc_state & HAVEBUS) { in lpt_release_ppbus()
222 sc->sc_state &= ~HAVEBUS; in lpt_release_ppbus()
241 } while (temp != data && --timeout); in lpt_port_test()
[all …]
/freebsd/sys/dev/e1000/
H A De1000_ich8lan.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
36 * 82562G-2 10/100 Network Connection
38 * 82562GT-2 10/100 Network Connection
40 * 82562V-2 10/100 Network Connection
41 * 82566DC-2 Gigabit Network Connection
43 * 82566DM-2 Gigabit Network Connection
50 * 82567LM-2 Gigabit Network Connection
51 * 82567LF-2 Gigabit Network Connection
52 * 82567V-2 Gigabit Network Connection
[all …]
/freebsd/usr.sbin/bhyve/
H A Dpci_nvme.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
31 * bhyve PCIe-NVMe device emulation.
34 * -s <n>,nvme,devpath,maxq=#,qsz=#,ioslots=#,sectsz=#,ser=A-Z,eui64=#,dsm=<opt>
45 * ser = serial number (20-chars max)
47 * dsm = DataSet Management support. Option is one of auto, enable,disable
52 - create async event for smart and log
53 - intr coalesce
120 /* Convert a zero-based value into a one-based value */
122 /* Convert a one-based value into a zero-based value */
[all …]