Searched refs:drv_flags (Results 1 - 11 of 11) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h1291 if (SHMEM2_HAS(bp, drv_flags)) { bnx2x_update_drv_flags()
1292 u32 drv_flags; bnx2x_update_drv_flags() local
1294 drv_flags = SHMEM2_RD(bp, drv_flags); bnx2x_update_drv_flags()
1297 SET_FLAGS(drv_flags, flags); bnx2x_update_drv_flags()
1299 RESET_FLAGS(drv_flags, flags); bnx2x_update_drv_flags()
1301 SHMEM2_WR(bp, drv_flags, drv_flags); bnx2x_update_drv_flags()
1302 DP(NETIF_MSG_IFUP, "drv_flags 0x%08x\n", drv_flags); bnx2x_update_drv_flags()
H A Dbnx2x_dcb.c411 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && bnx2x_pfc_set_pfc()
412 GET_FLAGS(SHMEM2_RD(bp, drv_flags), bnx2x_pfc_set_pfc()
576 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && bnx2x_dcbx_update_ets_params()
577 GET_FLAGS(SHMEM2_RD(bp, drv_flags), bnx2x_dcbx_update_ets_params()
1825 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && bnx2x_dcbx_fw_struct()
1826 GET_FLAGS(SHMEM2_RD(bp, drv_flags), bnx2x_dcbx_fw_struct()
1866 if (SHMEM2_HAS(bp, drv_flags) && bnx2x_dcbx_pmf_update()
1867 GET_FLAGS(SHMEM2_RD(bp, drv_flags), 1 << DRV_FLAGS_DCB_CONFIGURED)) { bnx2x_dcbx_pmf_update()
H A Dbnx2x_hsi.h2164 u32 drv_flags; member in struct:shmem2_region
/linux-4.1.27/drivers/net/ethernet/packetengines/
H A Dyellowfin.c228 int drv_flags; /* Driver use, intended as capability flags. */ member in struct:pci_id_info
321 int chip_id, drv_flags; member in struct:yellowfin_private
380 int drv_flags = pci_id_tbl[chip_idx].drv_flags; yellowfin_init_one() local
418 if (drv_flags & DontUseEeprom) yellowfin_init_one()
435 np->drv_flags = drv_flags; yellowfin_init_one()
490 if (np->drv_flags & HasMII) { yellowfin_init_one()
614 if (yp->drv_flags & IsGigabit) { yellowfin_open()
1081 } else if ((yp->drv_flags & IsGigabit) && (frame_status & 0x0038)) { yellowfin_rx()
1091 } else if ( !(yp->drv_flags & IsGigabit) && yellowfin_rx()
1306 if (yp->drv_flags & HasMulticastBug) { netdev_for_each_mc_addr()
/linux-4.1.27/drivers/net/ethernet/3com/
H A D3c59x.c278 int drv_flags; member in struct:vortex_chip_info
640 int drv_flags; member in struct:vortex_private
1023 pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; vortex_init_one()
1174 vp->drv_flags = vci->drv_flags; vortex_probe1()
1175 vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; vortex_probe1()
1191 if (vci->drv_flags & IS_VORTEX) { vortex_probe1()
1265 if (vci->drv_flags & EEPROM_8BIT) vortex_probe1()
1267 else if (vci->drv_flags & EEPROM_OFFSET) vortex_probe1()
1293 if ((checksum != 0x00) && !(vci->drv_flags & IS_TORNADO)) vortex_probe1()
1324 if (pdev && vci->drv_flags & HAS_CB_FNS) { vortex_probe1()
1341 if (vp->drv_flags & INVERT_LED_PWR) vortex_probe1()
1343 if (vp->drv_flags & INVERT_MII_PWR) vortex_probe1()
1346 if (vp->drv_flags & WNO_XCVR_PWR) { vortex_probe1()
1394 if ((vp->available_media & 0x40) || (vci->drv_flags & HAS_NWAY) || vortex_probe1()
1398 if (vp->drv_flags & EXTRA_PREAMBLE) vortex_probe1()
1456 ((hw_checksums[card_idx] == -1 && (vp->drv_flags & HAS_HWCKSM)) || vortex_probe1()
1657 if (vp->drv_flags & INVERT_LED_PWR) vortex_up()
1659 if (vp->drv_flags & INVERT_MII_PWR) vortex_up()
1695 if (vp->drv_flags & IS_BOOMERANG) vortex_up()
1941 if (vp->drv_flags & IS_BOOMERANG) vortex_tx_timeout()
1989 } else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */ vortex_error()
2752 (vp->drv_flags & HAS_HWCKSM) == 0 && vortex_close()
3088 if ((vp->drv_flags&IS_CYCLONE) || (vp->drv_flags&IS_TORNADO)) { set_8021q_mode()
3282 iowrite16(TotalReset | ((vp->drv_flags & EEPROM_RESET) ? 0x04 : 0x14), vortex_remove_one()
/linux-4.1.27/drivers/scsi/
H A Dinitio.c652 host->targets[i].drv_flags = TCF_DRV_255_63; initio_init()
654 host->targets[i].drv_flags = 0; initio_init()
659 host->targets[i].drv_flags = TCF_DRV_255_63; initio_init()
661 host->targets[i].drv_flags = 0; initio_init()
1219 active_tc->drv_flags |= TCF_DRV_EN_TAG; tulip_scsi()
1221 active_tc->drv_flags &= ~TCF_DRV_EN_TAG; tulip_scsi()
1952 if (active_tc->drv_flags & TCF_DRV_EN_TAG) { int_initio_resel()
1993 if (!(active_tc->drv_flags & TCF_DRV_EN_TAG)) { int_initio_resel()
2708 if (tc->drv_flags & TCF_DRV_255_63) { i91u_biosparam()
H A Dinitio.h469 u16 drv_flags; member in struct:target_control
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c236 int drv_flags; /* Driver use, intended as capability flags. */ member in struct:pci_id_info
308 int chip_id, drv_flags; member in struct:netdev_private
405 np->drv_flags = pci_id_tbl[chip_idx].drv_flags; w840_probe1()
444 if (np->drv_flags & CanHaveMII) { w840_probe1()
1047 ((np->drv_flags & HasBrokenTx) && np->tx_q_bytes > TX_BUG_FIFO_LIMIT)) { start_tx()
/linux-4.1.27/drivers/net/ethernet/adaptec/
H A Dstarfire.c297 int drv_flags; member in struct:chip_info
655 int drv_flags, io_size; starfire_init_one() local
757 drv_flags = netdrv_tbl[chip_idx].drv_flags; starfire_init_one()
801 if (drv_flags & CanHaveMII) { starfire_init_one()
/linux-4.1.27/drivers/net/ethernet/realtek/
H A D8139too.c580 int drv_flags; member in struct:rtl8139_private
1029 tp->drv_flags = board_info[ent->driver_data].hw_flags; rtl8139_init_one()
1061 if (tp->drv_flags & HAS_MII_XCVR) { rtl8139_init_one()
1644 else if (tp->drv_flags & HAS_LNK_CHNG) rtl8139_start_thread()
2107 (tp->drv_flags & HAS_LNK_CHNG)) { rtl8139_weird_interrupt()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Depic100.c164 int drv_flags; /* Driver use, intended as capability flags. */ member in struct:epic_chip_info
432 ep->chip_flags = pci_id_tbl[chip_idx].drv_flags; epic_init_one()

Completed in 522 milliseconds