link_ok           464 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c 				    pcsx_anx_results_reg.s.link_ok;
link_ok           423 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t link_ok:1;
link_ok           425 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t link_ok:1;
link_ok           249 drivers/misc/cxl/context.c 		cxl_ops->link_ok(ctx->afu->adapter, ctx->afu));
link_ok          1084 drivers/misc/cxl/cxl.h 	bool (*link_ok)(struct cxl *cxl, struct cxl_afu *afu);
link_ok            77 drivers/misc/cxl/file.c 	if (!cxl_ops->link_ok(adapter, afu)) {
link_ok           317 drivers/misc/cxl/file.c 	if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok           347 drivers/misc/cxl/file.c 	if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok           434 drivers/misc/cxl/file.c 	if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok           447 drivers/misc/cxl/file.c 		if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) {
link_ok           647 drivers/misc/cxl/guest.c 	if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok          1183 drivers/misc/cxl/guest.c 	.link_ok = guest_link_ok,
link_ok            50 drivers/misc/cxl/main.c 		if (!cxl_ops->link_ok(afu->adapter, afu))
link_ok            44 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok           121 drivers/misc/cxl/native.c 	if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok           149 drivers/misc/cxl/native.c 	if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok           171 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok           308 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(adapter, NULL))
link_ok           329 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(adapter, NULL))
link_ok           340 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(adapter, NULL))
link_ok           374 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(adapter, NULL)) {
link_ok           421 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(adapter, NULL))
link_ok           452 drivers/misc/cxl/native.c 		if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) {
link_ok           508 drivers/misc/cxl/native.c 	if (cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok           527 drivers/misc/cxl/native.c 	if (cxl_ops->link_ok(ctx->afu->adapter, ctx->afu))
link_ok           994 drivers/misc/cxl/native.c 	if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok          1011 drivers/misc/cxl/native.c 	if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) {
link_ok          1089 drivers/misc/cxl/native.c 	if (!cxl_ops->link_ok(afu->adapter, afu))
link_ok          1475 drivers/misc/cxl/native.c 	if (unlikely(!cxl_ops->link_ok(afu->adapter, afu)))
link_ok          1486 drivers/misc/cxl/native.c 	if (unlikely(!cxl_ops->link_ok(afu->adapter, afu)))
link_ok          1521 drivers/misc/cxl/native.c 	if (unlikely(!cxl_ops->link_ok(afu->adapter, afu)))
link_ok          1581 drivers/misc/cxl/native.c 	.link_ok = cxl_adapter_link_ok,
link_ok            37 drivers/misc/cxl/vphb.c 	if (!cxl_ops->link_ok(afu->adapter, afu)) {
link_ok            84 drivers/net/ethernet/chelsio/cxgb/cphy.h 	int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
link_ok           241 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok,
link_ok           263 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c 	if (link_ok)
link_ok           264 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c 		*link_ok = (status & V_PSSR_LINK) != 0;
link_ok           171 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c static int mv88x201x_get_link_status(struct cphy *cphy, int *link_ok,
link_ok           176 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c 	if (link_ok) {
link_ok           180 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c 		*link_ok = (val == MDIO_STAT1_LSTATUS);
link_ok           182 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c 		led_link(cphy, *link_ok);
link_ok           111 drivers/net/ethernet/chelsio/cxgb/my3126.c 			int *link_ok, int *speed, int *duplex, int *fc)
link_ok           125 drivers/net/ethernet/chelsio/cxgb/my3126.c 	*link_ok = (val16 & MDIO_STAT1_LSTATUS);
link_ok           127 drivers/net/ethernet/chelsio/cxgb/my3126.c 	if (*link_ok) {
link_ok           152 drivers/net/ethernet/chelsio/cxgb/subr.c 	int link_ok, speed, duplex, fc;
link_ok           156 drivers/net/ethernet/chelsio/cxgb/subr.c 	phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
link_ok           163 drivers/net/ethernet/chelsio/cxgb/subr.c 	if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
link_ok           170 drivers/net/ethernet/chelsio/cxgb/subr.c 	t1_link_negotiated(adapter, port_id, link_ok, speed, duplex, fc);
link_ok           176 drivers/net/ethernet/chelsio/cxgb3/ael1002.c static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed,
link_ok           179 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	if (link_ok) {
link_ok           192 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 		*link_ok = (stat0 & stat1 & (stat2 >> 12)) & 1;
link_ok           641 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	int err, link_ok = 0;
link_ok           648 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	err = get_link_status_r(phy, &link_ok, NULL, NULL, NULL);
link_ok           651 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	if (link_ok)
link_ok           834 drivers/net/ethernet/chelsio/cxgb3/ael1002.c static int get_link_status_x(struct cphy *phy, int *link_ok, int *speed,
link_ok           837 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	if (link_ok) {
link_ok           850 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 		*link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1;
link_ok           895 drivers/net/ethernet/chelsio/cxgb3/ael1002.c static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok,
link_ok           898 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 	if (link_ok) {
link_ok           910 drivers/net/ethernet/chelsio/cxgb3/ael1002.c 		*link_ok = !(status & F_LOWSIG0);
link_ok           207 drivers/net/ethernet/chelsio/cxgb3/aq100x.c static int aq100x_get_link_status(struct cphy *phy, int *link_ok,
link_ok           213 drivers/net/ethernet/chelsio/cxgb3/aq100x.c 	if (link_ok) {
link_ok           218 drivers/net/ethernet/chelsio/cxgb3/aq100x.c 		*link_ok = v & 1;
link_ok           219 drivers/net/ethernet/chelsio/cxgb3/aq100x.c 		if (!*link_ok)
link_ok           436 drivers/net/ethernet/chelsio/cxgb3/common.h 	unsigned int link_ok;	/* link up? */
link_ok           531 drivers/net/ethernet/chelsio/cxgb3/common.h 	int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
link_ok          1242 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	int link_ok, speed, duplex, fc;
link_ok          1248 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
link_ok          1250 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (!lc->link_ok && link_ok) {
link_ok          1272 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (link_ok == lc->link_ok && speed == lc->speed &&
link_ok          1276 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (link_ok != lc->link_ok && adapter->params.rev > 0 &&
link_ok          1278 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (link_ok)
link_ok          1281 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 			     link_ok ? F_TXACTENABLE | F_RXEN : 0);
link_ok          1283 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	lc->link_ok = link_ok;
link_ok          1287 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	if (link_ok && speed >= 0 && lc->autoneg == AUTONEG_ENABLE) {
link_ok          1293 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	t3_os_link_changed(adapter, port_id, link_ok && !pi->link_fault,
link_ok          1303 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	int link_ok, speed, duplex, fc, link_fault;
link_ok          1320 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	link_ok = lc->link_ok;
link_ok          1325 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
link_ok          1328 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		lc->link_ok = 0;
link_ok          1335 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (link_ok)
link_ok          1338 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		if (link_ok)
link_ok          1343 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		lc->link_ok = (unsigned char)link_ok;
link_ok          1346 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 		t3_os_link_fault(adapter, port_id, link_ok);
link_ok          1367 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	lc->link_ok = 0;
link_ok           130 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok,
link_ok           142 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 	if (link_ok) {
link_ok           152 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 		*link_ok = (status & BMSR_LSTATUS) != 0;
link_ok           206 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok,
link_ok           218 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 	if (link_ok) {
link_ok           228 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 		*link_ok = (status & BMSR_LSTATUS) != 0;
link_ok           513 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	unsigned char  link_ok;          /* link up? */
link_ok          2856 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	unsigned int link_ok, speed, mtu;
link_ok          2893 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	ret = t4_get_link_params(pi, &link_ok, &speed, &mtu);
link_ok          2900 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	if (!link_ok) {
link_ok          8273 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 			   rx_en && tx_en && pi->link_cfg.link_ok);
link_ok          8572 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	int action, link_ok, linkdnrc;
link_ok          8582 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0;
link_ok          8597 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		link_ok = (lstatus32 & FW_PORT_CMD_LSTATUS32_F) != 0;
link_ok          8671 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	if (link_ok != lc->link_ok || speed != lc->speed ||
link_ok          8675 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		if (!link_ok && lc->link_ok) {
link_ok          8682 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		lc->link_ok = link_ok;
link_ok          8710 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		t4_os_link_changed(adapter, pi->port_id, link_ok);
link_ok          8786 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	unsigned int action, link_ok, mtu;
link_ok          8808 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		link_ok = !!(lstatus & FW_PORT_CMD_LSTATUS_F);
link_ok          8815 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		link_ok = !!(lstatus32 & FW_PORT_CMD_LSTATUS32_F);
link_ok          8821 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	*link_okp = link_ok;
link_ok           138 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok)
link_ok           146 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	if (!netif_running(dev) || link_ok == netif_carrier_ok(dev))
link_ok           153 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	if (link_ok) {
link_ok           146 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h 	unsigned char	link_ok;	/* link up? */
link_ok          1432 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 			     rx_en && tx_en && pi->link_cfg.link_ok);
link_ok          1921 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 	int action, link_ok, linkdnrc;
link_ok          1930 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		link_ok = (lstatus & FW_PORT_CMD_LSTATUS_F) != 0;
link_ok          1967 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		link_ok = (lstatus32 & FW_PORT_CMD_LSTATUS32_F) != 0;
link_ok          2015 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 	if (link_ok != lc->link_ok || speed != lc->speed ||
link_ok          2019 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		if (!link_ok && lc->link_ok) {
link_ok          2026 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		lc->link_ok = link_ok;
link_ok          2055 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		t4vf_os_link_changed(adapter, pi->pidx, link_ok);
link_ok          1132 drivers/net/ethernet/dec/tulip/dmfe.c 	int link_ok, link_ok_phy;
link_ok          1203 drivers/net/ethernet/dec/tulip/dmfe.c 			link_ok = 0;
link_ok          1205 drivers/net/ethernet/dec/tulip/dmfe.c 			link_ok = 1;
link_ok          1210 drivers/net/ethernet/dec/tulip/dmfe.c 		link_ok = (tmp_cr12 & 0x43) ? 1 : 0;
link_ok          1223 drivers/net/ethernet/dec/tulip/dmfe.c 	if (link_ok_phy != link_ok) {
link_ok          1225 drivers/net/ethernet/dec/tulip/dmfe.c 		link_ok = link_ok | link_ok_phy;
link_ok          1228 drivers/net/ethernet/dec/tulip/dmfe.c 	if ( !link_ok && netif_carrier_ok(dev)) {
link_ok          1064 drivers/net/ethernet/sfc/falcon/falcon.c 	bool align_done, link_ok = false;
link_ok          1073 drivers/net/ethernet/sfc/falcon/falcon.c 		link_ok = true;
link_ok          1081 drivers/net/ethernet/sfc/falcon/falcon.c 	return link_ok;
link_ok           253 drivers/net/ethernet/sfc/falcon/tenxpress.c static void sfx7101_check_bad_lp(struct ef4_nic *efx, bool link_ok)
link_ok           259 drivers/net/ethernet/sfc/falcon/tenxpress.c 	if (link_ok) {
link_ok          1064 drivers/net/ethernet/sun/niu.c 	int link_ok = 1;
link_ok          1079 drivers/net/ethernet/sun/niu.c 		link_ok = 0;
link_ok          1081 drivers/net/ethernet/sun/niu.c 	if ((val & 0x1000ULL) && link_ok) {
link_ok            64 drivers/net/usb/smsc95xx.c 	bool link_ok;
link_ok           623 drivers/net/usb/smsc95xx.c 	if (pdata->link_ok == link)
link_ok           626 drivers/net/usb/smsc95xx.c 	pdata->link_ok = link;
link_ok          1729 drivers/scsi/csiostor/csio_hw.c 	lc->link_ok = 0;
link_ok           311 drivers/scsi/csiostor/csio_hw.h 	unsigned char  link_ok;		/* link up? */