Home
last modified time | relevance | path

Searched refs:mask_bits (Results 1 – 9 of 9) sorted by relevance

/drivers/s390/net/
Dqeth_l3_sys.c392 "%s/%i\n", addr_str, ipatoe->mask_bits); in qeth_l3_dev_ipato_add_show()
410 u8 *addr, unsigned int *mask_bits) in qeth_l3_parse_ipatoe() argument
426 rc = kstrtouint(sep + 1, 10, mask_bits); in qeth_l3_parse_ipatoe()
430 if (*mask_bits > ((proto == QETH_PROT_IPV4) ? 32 : 128)) in qeth_l3_parse_ipatoe()
440 unsigned int mask_bits; in qeth_l3_dev_ipato_add_store() local
444 rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits); in qeth_l3_dev_ipato_add_store()
454 ipatoe->mask_bits = mask_bits; in qeth_l3_dev_ipato_add_store()
478 unsigned int mask_bits; in qeth_l3_dev_ipato_del_store() local
482 rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits); in qeth_l3_dev_ipato_del_store()
484 rc = qeth_l3_del_ipato_entry(card, proto, addr, mask_bits); in qeth_l3_dev_ipato_del_store()
Dqeth_l3.h99 unsigned int mask_bits; member
111 unsigned int mask_bits);
Dqeth_l3_main.c107 rc = !memcmp(addr_bits, ipatoe_bits, ipatoe->mask_bits); in qeth_l3_is_addr_covered_by_ipato()
545 (ipatoe->mask_bits == new->mask_bits)) { in qeth_l3_add_ipato_entry()
563 unsigned int mask_bits) in qeth_l3_del_ipato_entry() argument
577 (ipatoe->mask_bits == mask_bits)) { in qeth_l3_del_ipato_entry()
1326 do_strip_entries = (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) > 0; in qeth_l3_arp_query_cb()
1368 if (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) in qeth_l3_arp_query_cb()
1429 if (qinfo.mask_bits & QETH_QARP_WITH_IPV6) { in qeth_l3_arp_query()
Dqeth_core_mpc.h389 __u16 mask_bits; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c141 u32 mask_bits; in hinic_set_msix_state() local
143 mask_bits = readl(hwif->intr_regs_base + offset); in hinic_set_msix_state()
144 mask_bits &= ~HINIC_PCI_MSIX_ENTRY_CTRL_MASKBIT; in hinic_set_msix_state()
147 mask_bits |= HINIC_PCI_MSIX_ENTRY_CTRL_MASKBIT; in hinic_set_msix_state()
149 writel(mask_bits, hwif->intr_regs_base + offset); in hinic_set_msix_state()
/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c263 #define mask_bits(v, p) outw(inw(p)&(v), (p)) macro
1100 mask_bits(0xff00, ioaddr + RCR); in smc_close()
1101 mask_bits(0xff00, ioaddr + TCR); in smc_close()
1441 mask_bits(0x00ff, ioaddr-0x10+OSITECH_RESET_ISR); in smc_interrupt()
1633 mask_bits(~OSI_AUI_PWR, ioaddr - 0x10 + OSITECH_AUI_PWR); in smc_set_xcvr()
/drivers/scsi/aacraid/
Dlinit.c1586 int mask_bits = 0; in aac_probe_one() local
1623 mask_bits = 31; in aac_probe_one()
1626 mask_bits = 32; in aac_probe_one()
1632 , mask_bits); in aac_probe_one()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c1712 static int idt_ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) in idt_ntb_msg_set_mask() argument
1717 IDT_MSG_MASK, mask_bits); in idt_ntb_msg_set_mask()
1730 static int idt_ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) in idt_ntb_msg_clear_mask() argument
1735 mask_bits); in idt_ntb_msg_clear_mask()
/drivers/edac/
Damd64_edac.c403 u64 csbase, csmask, base_bits, mask_bits; in get_cs_base_and_mask() local
410 mask_bits = GENMASK_ULL(29, 21) | GENMASK_ULL(15, 9); in get_cs_base_and_mask()
440 base_bits = mask_bits = in get_cs_base_and_mask()
443 base_bits = mask_bits = in get_cs_base_and_mask()
451 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask()
453 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()