Home
last modified time | relevance | path

Searched refs:port_mask (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-ep93xx.c71 int port_mask = 1 << (line & 7); in ep93xx_gpio_int_debounce() local
74 gpio_int_debounce[port] |= port_mask; in ep93xx_gpio_int_debounce()
76 gpio_int_debounce[port] &= ~port_mask; in ep93xx_gpio_int_debounce()
122 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_ack() local
125 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_ack()
129 writeb(port_mask, EP93XX_GPIO_REG(eoi_register_offset[port])); in ep93xx_gpio_irq_ack()
136 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_mask_ack() local
139 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_mask_ack()
141 gpio_int_unmasked[port] &= ~port_mask; in ep93xx_gpio_irq_mask_ack()
144 writeb(port_mask, EP93XX_GPIO_REG(eoi_register_offset[port])); in ep93xx_gpio_irq_mask_ack()
[all …]
Dgpio-pcie-idio-24.c249 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in idio_24_gpio_get_multiple() local
273 word_mask = mask[word_index] & (port_mask << word_offset); in idio_24_gpio_get_multiple()
343 const unsigned long port_mask = GENMASK(gpio_reg_size, 0); in idio_24_gpio_set_multiple() local
354 const unsigned long ttl_mask = (mask[ttl_i] >> word_offset) & port_mask; in idio_24_gpio_set_multiple()
363 gpio_mask = (*mask >> bits_offset) & port_mask; in idio_24_gpio_set_multiple()
Dgpio-104-idi-48.c103 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in idi_48_gpio_get_multiple() local
121 word_mask = mask[word_index] & (port_mask << word_offset); in idi_48_gpio_get_multiple()
Dgpio-gpio-mm.c186 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in gpiomm_gpio_get_multiple() local
204 word_mask = mask[word_index] & (port_mask << word_offset); in gpiomm_gpio_get_multiple()
Dgpio-pci-idio-16.c117 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in idio_16_gpio_get_multiple() local
139 word_mask = mask[word_index] & (port_mask << word_offset); in idio_16_gpio_get_multiple()
Dgpio-ws16c48.c144 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in ws16c48_gpio_get_multiple() local
162 word_mask = mask[word_index] & (port_mask << word_offset); in ws16c48_gpio_get_multiple()
Dgpio-104-dio-48e.c197 const unsigned long port_mask = GENMASK(gpio_reg_size - 1, 0); in dio48e_gpio_get_multiple() local
215 word_mask = mask[word_index] & (port_mask << word_offset); in dio48e_gpio_get_multiple()
/linux-4.19.296/include/uapi/linux/netfilter/
Dxt_HMARK.h43 union hmark_ports port_mask; member
/linux-4.19.296/include/linux/
Dslimbus.h141 unsigned long port_mask; member
/linux-4.19.296/drivers/slimbus/
Dstream.c214 num_ports = hweight32(cfg->port_mask); in slim_stream_prepare()
240 for_each_set_bit(port_id, &cfg->port_mask, SLIM_DEVICE_MAX_PORTS) { in slim_stream_prepare()
/linux-4.19.296/include/linux/mlx4/
Ddevice.h612 u32 port_mask[MLX4_MAX_PORTS + 1]; member
1029 if ((type) == (dev)->caps.port_mask[(port)])
1033 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
1034 ((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_ETH))
/linux-4.19.296/drivers/ntb/hw/idt/
Dntb_hw_idt.c636 u32 part_mask, port_mask, se_mask; in idt_init_link() local
643 port_mask = ~BIT(ndev->port); in idt_init_link()
646 port_mask &= ~BIT(ndev->peers[pidx].port); in idt_init_link()
659 idt_sw_write(ndev, IDT_SW_SELINKUPMSK, port_mask); in idt_init_link()
662 idt_sw_write(ndev, IDT_SW_SELINKDNMSK, port_mask); in idt_init_link()