Searched refs:port_mask (Results 1 – 12 of 12) sorted by relevance
/linux-4.19.296/drivers/gpio/ |
D | gpio-ep93xx.c | 71 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 …]
|
D | gpio-pcie-idio-24.c | 249 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()
|
D | gpio-104-idi-48.c | 103 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()
|
D | gpio-gpio-mm.c | 186 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()
|
D | gpio-pci-idio-16.c | 117 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()
|
D | gpio-ws16c48.c | 144 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()
|
D | gpio-104-dio-48e.c | 197 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/ |
D | xt_HMARK.h | 43 union hmark_ports port_mask; member
|
/linux-4.19.296/include/linux/ |
D | slimbus.h | 141 unsigned long port_mask; member
|
/linux-4.19.296/drivers/slimbus/ |
D | stream.c | 214 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/ |
D | device.h | 612 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/ |
D | ntb_hw_idt.c | 636 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()
|