Home
last modified time | relevance | path

Searched refs:drv_flags (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h1350 if (SHMEM2_HAS(bp, drv_flags)) { in bnx2x_update_drv_flags()
1351 u32 drv_flags; in bnx2x_update_drv_flags() local
1353 drv_flags = SHMEM2_RD(bp, drv_flags); in bnx2x_update_drv_flags()
1356 SET_FLAGS(drv_flags, flags); in bnx2x_update_drv_flags()
1358 RESET_FLAGS(drv_flags, flags); in bnx2x_update_drv_flags()
1360 SHMEM2_WR(bp, drv_flags, drv_flags); in bnx2x_update_drv_flags()
1361 DP(NETIF_MSG_IFUP, "drv_flags 0x%08x\n", drv_flags); in bnx2x_update_drv_flags()
H A Dbnx2x_dcb.c442 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && in bnx2x_pfc_set_pfc()
443 GET_FLAGS(SHMEM2_RD(bp, drv_flags), in bnx2x_pfc_set_pfc()
607 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && in bnx2x_dcbx_update_ets_params()
608 GET_FLAGS(SHMEM2_RD(bp, drv_flags), in bnx2x_dcbx_update_ets_params()
1855 int mfw_configured = SHMEM2_HAS(bp, drv_flags) && in bnx2x_dcbx_fw_struct()
1856 GET_FLAGS(SHMEM2_RD(bp, drv_flags), in bnx2x_dcbx_fw_struct()
1898 if (SHMEM2_HAS(bp, drv_flags) && in bnx2x_dcbx_pmf_update()
1899 GET_FLAGS(SHMEM2_RD(bp, drv_flags), 1 << DRV_FLAGS_DCB_CONFIGURED)) { in bnx2x_dcbx_pmf_update()
/linux/drivers/net/ethernet/3com/
H A D3c59x.c278 int drv_flags; member
639 int drv_flags; member
1016 pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; in vortex_init_one()
1166 vp->drv_flags = vci->drv_flags; in vortex_probe1()
1167 vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; in vortex_probe1()
1183 if (vci->drv_flags & IS_VORTEX) { in vortex_probe1()
1257 if (vci->drv_flags & EEPROM_8BIT) in vortex_probe1()
1259 else if (vci->drv_flags & EEPROM_OFFSET) in vortex_probe1()
1285 if ((checksum != 0x00) && !(vci->drv_flags & IS_TORNADO)) in vortex_probe1()
1317 if (pdev && vci->drv_flags & HAS_CB_FNS) { in vortex_probe1()
[all …]
/linux/drivers/net/ethernet/packetengines/
H A Dyellowfin.c228 int drv_flags; /* Driver use, intended as capability flags. */ member
321 int chip_id, drv_flags; member
379 int drv_flags = pci_id_tbl[chip_idx].drv_flags; in yellowfin_init_one() local
418 if (drv_flags & DontUseEeprom) in yellowfin_init_one()
436 np->drv_flags = drv_flags; in yellowfin_init_one()
494 if (np->drv_flags & HasMII) { in yellowfin_init_one()
620 if (yp->drv_flags & IsGigabit) { in yellowfin_open()
1091 } else if ((yp->drv_flags & IsGigabit) && (frame_status & 0x0038)) { in yellowfin_rx()
1101 } else if ( !(yp->drv_flags & IsGigabit) && in yellowfin_rx()
1317 if (yp->drv_flags & HasMulticastBug) { in set_rx_mode()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dusb.c461 if (dev->drv->drv_flags & MT_DRV_RX_DMA_HDR) in mt76u_get_rx_entry_len()
476 int head_room, drv_flags = dev->drv->drv_flags; in mt76u_build_rx_skb() local
479 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb()
517 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
527 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
H A Dmac80211.c470 if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD) && in mt76_phy_init()
921 if (dev->drv->drv_flags & MT_DRV_SW_RX_AIRTIME) { in mt76_update_survey()
1027 if (dev->drv->drv_flags & MT_DRV_SW_RX_AIRTIME) in mt76_get_survey()
1277 if (!(dev->drv->drv_flags & MT_DRV_SW_RX_AIRTIME)) in mt76_airtime_check()
H A Ddma.c401 if (!(dev->drv->drv_flags & MT_DRV_TXWI_NO_FREE)) in mt76_dma_tx_cleanup()
563 if (dev->drv->drv_flags & MT_DRV_TX_ALIGNED4_SKBS) in mt76_dma_tx_queue_skb()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd.h49 unsigned long drv_flags; member
H A Dctucanfd_base.c181 clear_bit(CTUCANFD_FLAG_RX_FFW_BUFFERED, &priv->drv_flags); in ctucan_reset()
717 if (test_bit(CTUCANFD_FLAG_RX_FFW_BUFFERED, &priv->drv_flags)) { in ctucan_rx()
719 clear_bit(CTUCANFD_FLAG_RX_FFW_BUFFERED, &priv->drv_flags); in ctucan_rx()
734 set_bit(CTUCANFD_FLAG_RX_FFW_BUFFERED, &priv->drv_flags); in ctucan_rx()
/linux/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c226 int drv_flags; /* Driver use, intended as capability flags. */ member
298 int chip_id, drv_flags; member
396 np->drv_flags = pci_id_tbl[chip_idx].drv_flags; in w840_probe1()
435 if (np->drv_flags & CanHaveMII) { in w840_probe1()
1031 ((np->drv_flags & HasBrokenTx) && np->tx_q_bytes > TX_BUG_FIFO_LIMIT)) { in start_tx()
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb.c32 .drv_flags = MT_DRV_SW_RX_AIRTIME, in mt76x2u_probe()
H A Dpci.c24 .drv_flags = MT_DRV_TX_ALIGNED4_SKBS | in mt76x2e_probe()
/linux/drivers/scsi/
H A Dinitio.c620 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
622 host->targets[i].drv_flags = 0; in initio_init()
627 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
629 host->targets[i].drv_flags = 0; in initio_init()
1186 active_tc->drv_flags |= TCF_DRV_EN_TAG; in tulip_scsi()
1188 active_tc->drv_flags &= ~TCF_DRV_EN_TAG; in tulip_scsi()
1920 if (active_tc->drv_flags & TCF_DRV_EN_TAG) { in int_initio_resel()
1962 if (!(active_tc->drv_flags & TCF_DRV_EN_TAG)) { in int_initio_resel()
2672 if (tc->drv_flags & TCF_DRV_255_63) { in i91u_biosparam()
H A Dinitio.h444 u16 drv_flags; member
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmmio.c172 .drv_flags = MT_DRV_TXWI_NO_FREE | MT_DRV_HW_MGMT_TXQ, in mt7615_mmio_probe()
H A Dsdio.c81 .drv_flags = MT_DRV_RX_DMA_HDR, in mt7663s_probe()
H A Dusb.c117 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ, in mt7663u_probe()
/linux/drivers/net/ethernet/adaptec/
H A Dstarfire.c289 int drv_flags; member
639 int drv_flags, io_size; in starfire_init_one() local
735 drv_flags = netdrv_tbl[chip_idx].drv_flags; in starfire_init_one()
779 if (drv_flags & CanHaveMII) { in starfire_init_one()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dusb.c134 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ | in mt7925u_probe()
H A Dpci.c270 .drv_flags = MT_DRV_TXWI_NO_FREE | MT_DRV_HW_MGMT_TXQ | in mt7925_pci_probe()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dsdio.c93 .drv_flags = MT_DRV_AMSDU_OFFLOAD, in mt7921s_probe()
H A Dusb.c143 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ | in mt7921u_probe()
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dusb.c217 .drv_flags = MT_DRV_SW_RX_AIRTIME, in mt76x0u_probe()
H A Dpci.c158 .drv_flags = MT_DRV_TX_ALIGNED4_SKBS | in mt76x0e_probe()
/linux/drivers/net/ethernet/realtek/
H A D8139too.c581 int drv_flags; member
1025 tp->drv_flags = board_info[ent->driver_data].hw_flags; in rtl8139_init_one()
1057 if (tp->drv_flags & HAS_MII_XCVR) { in rtl8139_init_one()
1638 else if (tp->drv_flags & HAS_LNK_CHNG) in rtl8139_start_thread()
2105 (tp->drv_flags & HAS_LNK_CHNG)) { in rtl8139_weird_interrupt()

12