/kernel/linux/linux-6.6/sound/core/ |
H A D | jack.c | 21 unsigned int mask_bits; /* only masked status bits are reported via kctl */ member 143 status & jack_kctl->mask_bits); in snd_jack_inject_report() 150 int testbit = ((SND_JACK_BTN_0 >> i) & jack_kctl->mask_bits); in snd_jack_inject_report() 158 int testbit = ((1 << i) & jack_kctl->mask_bits); in snd_jack_inject_report() 224 snd_jack_inject_report(jack_kctl, !!enable ? jack_kctl->mask_bits : 0); in jackin_inject_write() 251 static int parse_mask_bits(unsigned int mask_bits, char *buf, size_t buf_size) in parse_mask_bits() argument 255 scnprintf(buf, buf_size, "0x%04x", mask_bits); in parse_mask_bits() 258 if (mask_bits & (1 << i)) { in parse_mask_bits() 274 len = parse_mask_bits(jack_kctl->mask_bits, buf, sizeof(buf)); in jack_kctl_mask_bits_read() 377 debugfs_create_file("mask_bits", 044 in snd_jack_debugfs_add_inject_node() 653 unsigned int mask_bits = 0; snd_jack_report() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_if.c | 141 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()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_l3_sys.c | 392 "%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() 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() 409 qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto, u8 *addr, unsigned int *mask_bits) qeth_l3_parse_ipatoe() argument [all...] |
H A D | qeth_l3.h | 99 unsigned int mask_bits; member 113 unsigned int mask_bits);
|
H A D | qeth_l3_main.c | 108 rc = !memcmp(addr_bits, ipatoe_bits, ipatoe->mask_bits); in qeth_l3_is_addr_covered_by_ipato() 110 rc = !memcmp(addr_bits, ipatoe_bits, ipatoe->mask_bits); in qeth_l3_is_addr_covered_by_ipato() 547 (ipatoe->mask_bits == new->mask_bits)) { in qeth_l3_add_ipato_entry() 565 unsigned int mask_bits) in qeth_l3_del_ipato_entry() 579 (ipatoe->mask_bits == mask_bits)) { in qeth_l3_del_ipato_entry() 1347 do_strip_entries = (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) > 0; in qeth_l3_arp_query_cb() 1389 if (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) in qeth_l3_arp_query_cb() 1433 /* get size of userspace buffer and mask_bits in qeth_l3_arp_query() 563 qeth_l3_del_ipato_entry(struct qeth_card *card, enum qeth_prot_versions proto, u8 *addr, unsigned int mask_bits) qeth_l3_del_ipato_entry() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_l3_sys.c | 380 addr_str, ipatoe->mask_bits); in qeth_l3_dev_ipato_add_show() 396 u8 *addr, unsigned int *mask_bits) in qeth_l3_parse_ipatoe() 412 rc = kstrtouint(sep + 1, 10, mask_bits); in qeth_l3_parse_ipatoe() 416 if (*mask_bits > ((proto == QETH_PROT_IPV4) ? 32 : 128)) in qeth_l3_parse_ipatoe() 426 unsigned int mask_bits; in qeth_l3_dev_ipato_add_store() local 430 rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits); in qeth_l3_dev_ipato_add_store() 440 ipatoe->mask_bits = mask_bits; in qeth_l3_dev_ipato_add_store() 464 unsigned int mask_bits; in qeth_l3_dev_ipato_del_store() local 468 rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits); in qeth_l3_dev_ipato_del_store() 395 qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto, u8 *addr, unsigned int *mask_bits) qeth_l3_parse_ipatoe() argument [all...] |
H A D | qeth_l3.h | 99 unsigned int mask_bits; member 111 unsigned int mask_bits);
|
H A D | qeth_l3_main.c | 108 rc = !memcmp(addr_bits, ipatoe_bits, ipatoe->mask_bits); in qeth_l3_is_addr_covered_by_ipato() 546 (ipatoe->mask_bits == new->mask_bits)) { in qeth_l3_add_ipato_entry() 564 unsigned int mask_bits) in qeth_l3_del_ipato_entry() 578 (ipatoe->mask_bits == mask_bits)) { in qeth_l3_del_ipato_entry() 1327 do_strip_entries = (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) > 0; in qeth_l3_arp_query_cb() 1369 if (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) in qeth_l3_arp_query_cb() 1413 /* get size of userspace buffer and mask_bits -> 6 bytes */ in qeth_l3_arp_query() 1430 if (qinfo.mask_bits in qeth_l3_arp_query() 562 qeth_l3_del_ipato_entry(struct qeth_card *card, enum qeth_prot_versions proto, u8 *addr, unsigned int mask_bits) qeth_l3_del_ipato_entry() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | inflate.c | 198 x = b & mask_bits[j]; 227 STATIC const ush mask_bits[] = { variable 613 ml = mask_bits[bl]; /* precompute masks for speed */ in inflate_codes() 614 md = mask_bits[bd]; in inflate_codes() 625 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 645 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes() 657 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 660 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes() 913 m = mask_bits[bl]; in inflate_dynamic()
|
/kernel/linux/linux-6.6/lib/ |
H A D | inflate.c | 198 x = b & mask_bits[j]; 227 STATIC const ush mask_bits[] = { variable 613 ml = mask_bits[bl]; /* precompute masks for speed */ in inflate_codes() 614 md = mask_bits[bd]; in inflate_codes() 625 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 645 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes() 657 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes() 660 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes() 913 m = mask_bits[bl]; in inflate_dynamic()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_if.c | 176 u32 mask_bits; in hinic_set_msix_state() local 178 mask_bits = readl(hwif->intr_regs_base + offset); in hinic_set_msix_state() 179 mask_bits &= ~HINIC_PCI_MSIX_ENTRY_CTRL_MASKBIT; in hinic_set_msix_state() 182 mask_bits |= HINIC_PCI_MSIX_ENTRY_CTRL_MASKBIT; in hinic_set_msix_state() 184 writel(mask_bits, hwif->intr_regs_base + offset); in hinic_set_msix_state()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ip.c | 301 u8 mask_bits; in bitmap_ip_create() local 304 mask = range_to_mask(first_ip, last_ip, &mask_bits); in bitmap_ip_create() 307 netmask <= mask_bits) in bitmap_ip_create() 310 pr_debug("mask_bits %u, netmask %u\n", mask_bits, netmask); in bitmap_ip_create() 312 elements = 2UL << (netmask - mask_bits - 1); in bitmap_ip_create()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ip.c | 301 u8 mask_bits; in bitmap_ip_create() local 304 mask = range_to_mask(first_ip, last_ip, &mask_bits); in bitmap_ip_create() 307 netmask <= mask_bits) in bitmap_ip_create() 310 pr_debug("mask_bits %u, netmask %u\n", mask_bits, netmask); in bitmap_ip_create() 312 elements = 2UL << (netmask - mask_bits - 1); in bitmap_ip_create()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | jack.c | 18 unsigned int mask_bits; /* only masked status bits are reported via kctl */ member 159 jack_kctl->mask_bits = mask; in snd_jack_kctl_new() 376 status & jack_kctl->mask_bits); in snd_jack_report()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ntb.h | 328 int (*msg_set_mask)(struct ntb_dev *ntb, u64 mask_bits); 329 int (*msg_clear_mask)(struct ntb_dev *ntb, u64 mask_bits); 1494 * @mask_bits: Mask bits. 1500 static inline int ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_set_mask() argument 1505 return ntb->ops->msg_set_mask(ntb, mask_bits); in ntb_msg_set_mask() 1511 * @mask_bits: Mask bits to clear. 1517 static inline int ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_clear_mask() argument 1522 return ntb->ops->msg_clear_mask(ntb, mask_bits); in ntb_msg_clear_mask()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ntb.h | 328 int (*msg_set_mask)(struct ntb_dev *ntb, u64 mask_bits); 329 int (*msg_clear_mask)(struct ntb_dev *ntb, u64 mask_bits); 1494 * @mask_bits: Mask bits. 1500 static inline int ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_set_mask() argument 1505 return ntb->ops->msg_set_mask(ntb, mask_bits); in ntb_msg_set_mask() 1511 * @mask_bits: Mask bits to clear. 1517 static inline int ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_clear_mask() argument 1522 return ntb->ops->msg_clear_mask(ntb, mask_bits); in ntb_msg_clear_mask()
|
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
H A D | qeth.h | 106 __u16 mask_bits; member
|
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/ |
H A D | qeth.h | 106 __u16 mask_bits; member
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | msi.c | 213 u32 mask_bits = desc->masked; in __pci_msix_desc_mask_irq() local 223 mask_bits &= ~PCI_MSIX_ENTRY_CTRL_MASKBIT; in __pci_msix_desc_mask_irq() 225 mask_bits |= PCI_MSIX_ENTRY_CTRL_MASKBIT; in __pci_msix_desc_mask_irq() 227 writel(mask_bits, desc_addr + PCI_MSIX_ENTRY_VECTOR_CTRL); in __pci_msix_desc_mask_irq() 229 return mask_bits; in __pci_msix_desc_mask_irq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A D | smc91c92_cs.c | 263 #define mask_bits(v, p) outw(inw(p)&(v), (p)) macro 1097 mask_bits(0xff00, ioaddr + RCR); in smc_close() 1098 mask_bits(0xff00, ioaddr + TCR); in smc_close() 1438 mask_bits(0x00ff, ioaddr-0x10+OSITECH_RESET_ISR); in smc_interrupt() 1630 mask_bits(~OSI_AUI_PWR, ioaddr - 0x10 + OSITECH_AUI_PWR); in smc_set_xcvr()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/ |
H A D | smc91c92_cs.c | 263 #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()
|
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | linit.c | 1581 int mask_bits = 0; in aac_probe_one() local 1618 mask_bits = 31; in aac_probe_one() 1621 mask_bits = 32; in aac_probe_one() 1627 , mask_bits); in aac_probe_one()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_set_pipapo.c | 895 * @mask_bits: Length of mask; matches field length for non-ranged entry 898 * mask_bits. 903 int mask_bits) in pipapo_insert() 924 if (mask_bits >= (group + 1) * f->bb) { in pipapo_insert() 927 } else if (mask_bits <= group * f->bb) { in pipapo_insert() 934 mask >>= mask_bits - group * f->bb; in pipapo_insert() 902 pipapo_insert(struct nft_pipapo_field *f, const uint8_t *k, int mask_bits) pipapo_insert() argument
|
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/ |
H A D | ntb_hw_idt.c | 1706 * @mask_bits: Mask bits. 1712 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() 1724 * @mask_bits: Mask bits. 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()
|
/kernel/linux/linux-6.6/drivers/ntb/hw/idt/ |
H A D | ntb_hw_idt.c | 1706 * @mask_bits: Mask bits. 1712 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() 1724 * @mask_bits: Mask bits. 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()
|