Home
last modified time | relevance | path

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

/openbmc/linux/net/ethtool/
H A Dstats.c9 DECLARE_BITMAP(stat_mask, __ETHTOOL_STATS_CNT);
96 err = ethnl_update_bitset(req_info->stat_mask, __ETHTOOL_STATS_CNT, in stats_parse_request()
148 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask) && in stats_prepare_data()
151 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask) && in stats_prepare_data()
154 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask) && in stats_prepare_data()
157 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask) && in stats_prepare_data()
175 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask)) { in stats_reply_size()
179 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask)) { in stats_reply_size()
183 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask)) { in stats_reply_size()
187 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask)) { in stats_reply_size()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dpciehp_hpc.c899 u16 stat_mask = 0, ctrl_mask = 0; in pciehp_reset_slot() local
909 stat_mask |= PCI_EXP_SLTSTA_PDC; in pciehp_reset_slot()
912 stat_mask |= PCI_EXP_SLTSTA_DLLSC; in pciehp_reset_slot()
920 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, stat_mask); in pciehp_reset_slot()
/openbmc/linux/drivers/edac/
H A 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()
/openbmc/linux/drivers/scsi/arm/
H A 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()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c11413 u64 changing_mask, ld_mask, stat_mask; in set_buffer_control() local
11469 stat_mask = in set_buffer_control()
11475 for (i = 0; i < NUM_USABLE_VLS; i++, stat_mask <<= 1) { in set_buffer_control()
11485 changing_mask |= stat_mask; in set_buffer_control()
11491 ld_mask |= stat_mask; in set_buffer_control()