/linux-3.4.99/drivers/gpio/ |
D | gpio-ep93xx.c | 70 int port_mask = 1 << (line & 7); in ep93xx_gpio_int_debounce() local 73 gpio_int_debounce[port] |= port_mask; in ep93xx_gpio_int_debounce() 75 gpio_int_debounce[port] &= ~port_mask; in ep93xx_gpio_int_debounce() 120 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_ack() local 123 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_ack() 127 __raw_writeb(port_mask, EP93XX_GPIO_REG(eoi_register_offset[port])); in ep93xx_gpio_irq_ack() 134 int port_mask = 1 << (line & 7); in ep93xx_gpio_irq_mask_ack() local 137 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_mask_ack() 139 gpio_int_unmasked[port] &= ~port_mask; in ep93xx_gpio_irq_mask_ack() 142 __raw_writeb(port_mask, EP93XX_GPIO_REG(eoi_register_offset[port])); in ep93xx_gpio_irq_mask_ack() [all …]
|
/linux-3.4.99/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 90 DEFINE_ALE_FIELD(port_mask, 66, 3) 204 int port_mask) in cpsw_ale_flush_mcast() argument 209 if ((mask & port_mask) == 0) in cpsw_ale_flush_mcast() 211 mask &= ~port_mask; in cpsw_ale_flush_mcast() 221 int port_mask) in cpsw_ale_flush_ucast() argument 226 if ((BIT(port) & port_mask) == 0) in cpsw_ale_flush_ucast() 231 int cpsw_ale_flush(struct cpsw_ale *ale, int port_mask) in cpsw_ale_flush() argument 243 cpsw_ale_flush_mcast(ale, ale_entry, port_mask); in cpsw_ale_flush() 245 cpsw_ale_flush_ucast(ale, ale_entry, port_mask); in cpsw_ale_flush() 290 int cpsw_ale_add_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, in cpsw_ale_add_mcast() argument [all …]
|
D | cpsw_ale.h | 82 int cpsw_ale_flush(struct cpsw_ale *ale, int port_mask); 85 int cpsw_ale_add_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, 87 int cpsw_ale_del_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask);
|
/linux-3.4.99/drivers/staging/media/solo6x10/ |
D | gpio.c | 26 unsigned int port_mask, unsigned int mode) in solo_gpio_mode() argument 35 if (!((1 << port) & port_mask)) in solo_gpio_mode() 48 if (!((1 << (port + 16)) & port_mask)) in solo_gpio_mode()
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | ni_65xx.c | 426 unsigned port_mask, port_data, port_read_bits; in ni_65xx_dio_insn_bits() local 431 port_mask = data[0]; in ni_65xx_dio_insn_bits() 434 port_mask >>= bitshift; in ni_65xx_dio_insn_bits() 437 port_mask <<= -bitshift; in ni_65xx_dio_insn_bits() 440 port_mask &= 0xff; in ni_65xx_dio_insn_bits() 442 if (port_mask) { in ni_65xx_dio_insn_bits() 444 private(dev)->output_bits[port] &= ~port_mask; in ni_65xx_dio_insn_bits() 446 port_data & port_mask; in ni_65xx_dio_insn_bits()
|
/linux-3.4.99/drivers/ata/ |
D | pata_jmicron.c | 48 int port_mask = 1<< (4 * ap->port_no); in jmicron_pre_reset() local 54 if ((control & port_mask) == 0) in jmicron_pre_reset()
|
D | sata_mv.c | 2875 u32 port_mask, ack_irqs; in mv_host_intr() local 2901 port_mask = (DONE_IRQ | ERR_IRQ) << (p * 2); in mv_host_intr() 2902 if (hc_cause & port_mask) in mv_host_intr()
|
/linux-3.4.99/include/linux/mlx4/ |
D | device.h | 310 u32 port_mask[MLX4_MAX_PORTS + 1]; member 516 if ((type) == (dev)->caps.port_mask[(port)]) 520 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
|
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 1158 if (dev->caps.port_mask[port] == MLX4_PORT_TYPE_IB) in mlx4_INIT_PORT_wrapper() 1242 if (dev->caps.port_mask[port] == MLX4_PORT_TYPE_IB) in mlx4_CLOSE_PORT_wrapper()
|
D | main.c | 182 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask() 485 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_slave_cap()
|
/linux-3.4.99/drivers/net/usb/ |
D | hso.c | 2925 unsigned char port_mask; in hso_probe() local 2963 if (hso_get_mux_ports(interface, &port_mask)) in hso_probe() 2972 if (port_mask & i) { in hso_probe()
|
/linux-3.4.99/drivers/infiniband/hw/mlx4/ |
D | main.c | 180 return dev->caps.port_mask[port_num] == MLX4_PORT_TYPE_IB ? in mlx4_ib_port_link_layer()
|