/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-ep93xx.c | 100 int port_mask = BIT(offset); in ep93xx_gpio_int_debounce() local 103 eic->int_debounce |= port_mask; in ep93xx_gpio_int_debounce() 105 eic->int_debounce &= ~port_mask; in ep93xx_gpio_int_debounce() 162 int port_mask = BIT(d->irq & 7); in ep93xx_gpio_irq_ack() local 165 eic->int_type2 ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_ack() 169 writeb(port_mask, epg->base + eic->irq_offset + EP93XX_INT_EOI_OFFSET); in ep93xx_gpio_irq_ack() 177 int port_mask = BIT(d->irq & 7); in ep93xx_gpio_irq_mask_ack() local 180 eic->int_type2 ^= port_mask; /* switch edge direction */ in ep93xx_gpio_irq_mask_ack() 182 eic->int_unmasked &= ~port_mask; in ep93xx_gpio_irq_mask_ack() 185 writeb(port_mask, epg->base + eic->irq_offset + EP93XX_INT_EOI_OFFSET); in ep93xx_gpio_irq_mask_ack() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpsw_switchdev.c | 178 int port_mask; in cpsw_port_vlan_add() local 183 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_add() 185 unreg_mcast_mask = port_mask; in cpsw_port_vlan_add() 187 port_mask = BIT(priv->emac_port); in cpsw_port_vlan_add() 192 reg_mcast_mask = port_mask; in cpsw_port_vlan_add() 195 untag_mask = port_mask; in cpsw_port_vlan_add() 197 ret = cpsw_ale_vlan_add_modify(cpsw->ale, vid, port_mask, untag_mask, in cpsw_port_vlan_add() 213 priv->ndev->name, vid, port_mask); in cpsw_port_vlan_add() 222 int port_mask; in cpsw_port_vlan_del() local 226 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_del() [all …]
|
D | cpsw_ale.c | 205 DEFINE_ALE_FIELD1(port_mask, 66) 401 int port_mask) in cpsw_ale_flush_mcast() argument 407 if ((mask & port_mask) == 0) in cpsw_ale_flush_mcast() 409 mask &= ~port_mask; in cpsw_ale_flush_mcast() 419 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid) in cpsw_ale_flush_multicast() argument 446 cpsw_ale_flush_mcast(ale, ale_entry, port_mask); in cpsw_ale_flush_multicast() 506 int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, in cpsw_ale_add_mcast() argument 524 port_mask |= mask; in cpsw_ale_add_mcast() 525 cpsw_ale_set_port_mask(ale_entry, port_mask, in cpsw_ale_add_mcast() 539 int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, in cpsw_ale_del_mcast() argument [all …]
|
D | cpsw_ale.h | 110 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid); 115 int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, 117 int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, 135 int cpsw_ale_vlan_add_modify(struct cpsw_ale *ale, u16 vid, int port_mask,
|
D | am65-cpsw-nuss.c | 228 u32 port_mask, unreg_mcast = 0; in am65_cpsw_nuss_ndo_slave_add_vid() local 240 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_add_vid() 242 unreg_mcast = port_mask; in am65_cpsw_nuss_ndo_slave_add_vid() 244 ret = cpsw_ale_add_vlan(common->ale, vid, port_mask, in am65_cpsw_nuss_ndo_slave_add_vid() 245 unreg_mcast, port_mask, 0); in am65_cpsw_nuss_ndo_slave_add_vid() 295 u32 port_mask; in am65_cpsw_nuss_ndo_slave_set_rx_mode() local 308 port_mask = ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_set_rx_mode() 310 cpsw_ale_flush_multicast(common->ale, port_mask, -1); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 318 port_mask, 0, 0, 0); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 413 u32 val, port_mask; in am65_cpsw_nuss_common_open() local [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | ni_65xx.c | 303 unsigned int port_mask, port_rising, port_falling; in ni_65xx_update_edge_detection() local 309 port_mask = ~0U >> bitshift; in ni_65xx_update_edge_detection() 313 port_mask = ~0U << -bitshift; in ni_65xx_update_edge_detection() 317 if (port_mask & 0xff) { in ni_65xx_update_edge_detection() 318 if (~port_mask & 0xff) { in ni_65xx_update_edge_detection() 322 ~port_mask; in ni_65xx_update_edge_detection() 326 ~port_mask; in ni_65xx_update_edge_detection() 429 unsigned int port_mask, port_data, bits; in ni_65xx_dio_insn_bits() local 434 port_mask = data[0]; in ni_65xx_dio_insn_bits() 437 port_mask >>= bitshift; in ni_65xx_dio_insn_bits() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | qca8k.c | 297 fdb->port_mask = (reg[1] >> QCA8K_ATU_PORT_S) & QCA8K_ATU_PORT_M; in qca8k_fdb_read() 308 qca8k_fdb_write(struct qca8k_priv *priv, u16 vid, u8 port_mask, const u8 *mac, in qca8k_fdb_write() argument 319 reg[1] = (port_mask & QCA8K_ATU_PORT_M) << QCA8K_ATU_PORT_S; in qca8k_fdb_write() 368 qca8k_fdb_write(priv, fdb->vid, fdb->port_mask, fdb->mac, fdb->aging); in qca8k_fdb_next() 377 qca8k_fdb_add(struct qca8k_priv *priv, const u8 *mac, u16 port_mask, in qca8k_fdb_add() argument 383 qca8k_fdb_write(priv, vid, port_mask, mac, aging); in qca8k_fdb_add() 391 qca8k_fdb_del(struct qca8k_priv *priv, const u8 *mac, u16 port_mask, u16 vid) in qca8k_fdb_del() argument 396 qca8k_fdb_write(priv, vid, port_mask, mac, 0); in qca8k_fdb_del() 1143 int port_mask = BIT(QCA8K_CPU_PORT); in qca8k_port_bridge_join() local 1156 port_mask |= BIT(i); in qca8k_port_bridge_join() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_vl.c | 317 num_virtual_links += hweight_long(rule->port_mask); in sja1105_init_virtual_links() 389 for_each_set_bit(port, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_init_virtual_links() 523 rule->port_mask |= BIT(port); in sja1105_vl_redirect() 531 rule->port_mask &= ~BIT(port); in sja1105_vl_redirect() 532 if (!rule->port_mask) { in sja1105_vl_redirect() 546 rule->port_mask &= ~BIT(port); in sja1105_vl_delete() 547 if (!rule->port_mask) { in sja1105_vl_delete() 689 rule->port_mask |= BIT(port); in sja1105_vl_gate() 707 rule->port_mask &= ~BIT(port); in sja1105_vl_gate() 708 if (!rule->port_mask) { in sja1105_vl_gate()
|
D | sja1105_flower.c | 69 rule->port_mask |= BIT(port); in sja1105_setup_bcast_policer() 74 for_each_set_bit(p, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_setup_bcast_policer() 141 rule->port_mask |= BIT(port); in sja1105_setup_tc_policer() 146 for_each_set_bit(p, &rule->port_mask, SJA1105_NUM_PORTS) { in sja1105_setup_tc_policer() 446 rule->port_mask &= ~BIT(port); in sja1105_cls_flower_del() 447 if (!rule->port_mask) { in sja1105_cls_flower_del()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-gpio.c | 20 unsigned int port_mask, unsigned int mode) in solo_gpio_mode() argument 29 if (!((1 << port) & port_mask)) in solo_gpio_mode() 42 if (!((1UL << (port + 16)) & port_mask)) in solo_gpio_mode()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
D | qcom.c | 511 unsigned long *port_mask; in qcom_swrm_stream_free_ports() local 517 port_mask = &ctrl->dout_port_mask; in qcom_swrm_stream_free_ports() 519 port_mask = &ctrl->din_port_mask; in qcom_swrm_stream_free_ports() 522 clear_bit(p_rt->num - 1, port_mask); in qcom_swrm_stream_free_ports() 538 unsigned long *port_mask; in qcom_swrm_stream_alloc_ports() local 545 port_mask = &ctrl->dout_port_mask; in qcom_swrm_stream_alloc_ports() 548 port_mask = &ctrl->din_port_mask; in qcom_swrm_stream_alloc_ports() 554 pn = find_first_zero_bit(port_mask, maxport); in qcom_swrm_stream_alloc_ports() 560 set_bit(pn, port_mask); in qcom_swrm_stream_alloc_ports() 583 clear_bit(pconfig[i].num - 1, port_mask); in qcom_swrm_stream_alloc_ports()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | ahci_brcm.c | 86 u32 port_mask; member 135 if (priv->port_mask & BIT(i)) in brcm_sata_alpm_init() 203 if (priv->port_mask & BIT(i)) in brcm_sata_phys_enable() 212 if (priv->port_mask & BIT(i)) in brcm_sata_phys_disable() 509 priv->port_mask = brcm_ahci_get_portmask(hpriv, priv); in brcm_ahci_probe() 510 if (!priv->port_mask) { in brcm_ahci_probe()
|
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()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 142 u16 port_mask; in opa_vnic_process_vema_config() local 169 port_mask = info->vesw.def_port_mask; in opa_vnic_process_vema_config() 171 if (port_mask & 1) in opa_vnic_process_vema_config() 173 port_mask >>= 1; in opa_vnic_process_vema_config()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.h | 185 u8 port_mask; member 253 unsigned char port_mask; member
|
D | pinctrl-mt8167.c | 325 .port_mask = 0xf, 328 .port_mask = 7,
|
D | pinctrl-mt8127.c | 293 .port_mask = 0xf, 296 .port_mask = 7,
|
D | pinctrl-mt8516.c | 325 .port_mask = 0xf, 328 .port_mask = 7,
|
D | pinctrl-mt6397.c | 34 .port_mask = 0x3,
|
D | mtk-eint.h | 36 u8 port_mask; member
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
D | xt_HMARK.h | 43 union hmark_ports port_mask; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
D | xt_HMARK.h | 43 union hmark_ports port_mask; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
D | xt_HMARK.h | 56 union hmark_ports port_mask; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads_termtbl.c | 197 u16 port_mask, port_value; in mlx5_eswitch_offload_is_uplink_port() local 203 port_mask = MLX5_GET(fte_match_param, spec->match_criteria, in mlx5_eswitch_offload_is_uplink_port() 207 return (port_mask & port_value) == MLX5_VPORT_UPLINK; in mlx5_eswitch_offload_is_uplink_port()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | core.c | 176 u32 ctrl, port_mask, epn_mask; in ast_vhub_init_hw() local 216 port_mask = GENMASK(vhub->max_ports, 1); in ast_vhub_init_hw() 220 port_mask, vhub->regs + AST_VHUB_SW_RESET); in ast_vhub_init_hw()
|