Home
last modified time | relevance | path

Searched refs:stat_mask (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/ethtool/
Dstats.c9 DECLARE_BITMAP(stat_mask, __ETHTOOL_STATS_CNT);
92 err = ethnl_update_bitset(req_info->stat_mask, __ETHTOOL_STATS_CNT, in stats_parse_request()
124 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask) && in stats_prepare_data()
127 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask) && in stats_prepare_data()
130 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask) && in stats_prepare_data()
133 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask) && in stats_prepare_data()
149 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask)) { in stats_reply_size()
153 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask)) { in stats_reply_size()
157 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask)) { in stats_reply_size()
161 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask)) { in stats_reply_size()
[all …]
/linux-6.1.9/drivers/pci/hotplug/
Dpciehp_hpc.c906 u16 stat_mask = 0, ctrl_mask = 0; in pciehp_reset_slot() local
916 stat_mask |= PCI_EXP_SLTSTA_PDC; in pciehp_reset_slot()
919 stat_mask |= PCI_EXP_SLTSTA_DLLSC; in pciehp_reset_slot()
927 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, stat_mask); in pciehp_reset_slot()
/linux-6.1.9/drivers/edac/
Daltera_edac.c929 u32 init_mask, stat_mask, clear_mask; in altr_init_memory_port() local
934 stat_mask = ALTR_A10_ECC_INITCOMPLETEB; in altr_init_memory_port()
938 stat_mask = ALTR_A10_ECC_INITCOMPLETEA; in altr_init_memory_port()
944 if (ecc_test_bits(stat_mask, in altr_init_memory_port()
/linux-6.1.9/drivers/scsi/arm/
Dacornscsi.c259 acornscsi_sbic_wait(AS_Host *host, int stat_mask, int stat, int timeout, char *msg) in acornscsi_sbic_wait() argument
266 if ((asr & stat_mask) == stat) in acornscsi_sbic_wait()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c11411 u64 changing_mask, ld_mask, stat_mask; in set_buffer_control() local
11467 stat_mask = in set_buffer_control()
11473 for (i = 0; i < NUM_USABLE_VLS; i++, stat_mask <<= 1) { in set_buffer_control()
11483 changing_mask |= stat_mask; in set_buffer_control()
11489 ld_mask |= stat_mask; in set_buffer_control()