Home
last modified time | relevance | path

Searched refs:attr1 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c195 u32 addr, attr1; in hwif_ready() local
198 attr1 = hinic_hwif_read_reg(hwif, addr); in hwif_ready()
200 if (!HINIC_FA1_GET(attr1, MGMT_INIT_STATUS)) in hwif_ready()
204 if (!HINIC_FA1_GET(attr1, PF_INIT_STATUS)) in hwif_ready()
235 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1, in set_hwif_attr() argument
243 hwif->attr.num_aeqs = BIT(HINIC_FA1_GET(attr1, AEQS_PER_FUNC)); in set_hwif_attr()
244 hwif->attr.num_ceqs = BIT(HINIC_FA1_GET(attr1, CEQS_PER_FUNC)); in set_hwif_attr()
245 hwif->attr.num_irqs = BIT(HINIC_FA1_GET(attr1, IRQS_PER_FUNC)); in set_hwif_attr()
246 hwif->attr.num_dma_attr = BIT(HINIC_FA1_GET(attr1, DMA_ATTR_PER_FUNC)); in set_hwif_attr()
257 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local
[all …]
/drivers/ps3/
Dps3-lpm.c749 u64 signal_select, u64 attr1, u64 attr2, u64 attr3) in __ps3_set_signal() argument
754 signal_select, attr1, attr2, attr3); in __ps3_set_signal()
759 signal_select, attr1, attr2, attr3); in __ps3_set_signal()
771 u64 attr1, attr2, attr3; in ps3_set_signal() local
799 attr1 = 1; in ps3_set_signal()
817 attr1, attr2, attr3); in ps3_set_signal()