Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
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()
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-6.12.1/drivers/net/ethernet/3com/
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-6.12.1/drivers/net/ethernet/packetengines/
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-6.12.1/drivers/net/can/ctucanfd/
Dctucanfd.h49 unsigned long drv_flags; member
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-6.12.1/drivers/net/wireless/mediatek/mt76/
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()
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()
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-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb.c32 .drv_flags = MT_DRV_SW_RX_AIRTIME, in mt76x2u_probe()
Dpci.c24 .drv_flags = MT_DRV_TX_ALIGNED4_SKBS | in mt76x2e_probe()
/linux-6.12.1/drivers/net/ethernet/dec/tulip/
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-6.12.1/drivers/scsi/
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()
Dinitio.h444 u16 drv_flags; member
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio.c81 .drv_flags = MT_DRV_RX_DMA_HDR, in mt7663s_probe()
Dmmio.c172 .drv_flags = MT_DRV_TXWI_NO_FREE | MT_DRV_HW_MGMT_TXQ, in mt7615_mmio_probe()
Dusb.c117 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ, in mt7663u_probe()
/linux-6.12.1/drivers/net/ethernet/adaptec/
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-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dusb.c134 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ | in mt7925u_probe()
Dpci.c270 .drv_flags = MT_DRV_TXWI_NO_FREE | MT_DRV_HW_MGMT_TXQ | in mt7925_pci_probe()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x0/
Dusb.c217 .drv_flags = MT_DRV_SW_RX_AIRTIME, in mt76x0u_probe()
Dpci.c158 .drv_flags = MT_DRV_TX_ALIGNED4_SKBS | in mt76x0e_probe()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dusb.c143 .drv_flags = MT_DRV_RX_DMA_HDR | MT_DRV_HW_MGMT_TXQ | in mt7921u_probe()
Dsdio.c93 .drv_flags = MT_DRV_AMSDU_OFFLOAD, in mt7921s_probe()
/linux-6.12.1/drivers/net/ethernet/realtek/
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