/linux-6.12.1/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 252 static int cpsw_ale_entry_get_fld(struct cpsw_ale *ale, in cpsw_ale_entry_get_fld() argument 260 if (!ale || !ale_entry) in cpsw_ale_entry_get_fld() 265 dev_err(ale->params.dev, "get: wrong ale fld id %d\n", fld_id); in cpsw_ale_entry_get_fld() 271 bits = ale->port_mask_bits; in cpsw_ale_entry_get_fld() 276 static void cpsw_ale_entry_set_fld(struct cpsw_ale *ale, in cpsw_ale_entry_set_fld() argument 285 if (!ale || !ale_entry) in cpsw_ale_entry_set_fld() 290 dev_err(ale->params.dev, "set: wrong ale fld id %d\n", fld_id); in cpsw_ale_entry_set_fld() 296 bits = ale->port_mask_bits; in cpsw_ale_entry_set_fld() 301 static int cpsw_ale_vlan_get_fld(struct cpsw_ale *ale, in cpsw_ale_vlan_get_fld() argument 305 return cpsw_ale_entry_get_fld(ale, ale_entry, in cpsw_ale_vlan_get_fld() [all …]
|
D | cpsw_ale.h | 161 void cpsw_ale_start(struct cpsw_ale *ale); 162 void cpsw_ale_stop(struct cpsw_ale *ale); 164 int cpsw_ale_flush_multicast(struct cpsw_ale *ale, int port_mask, int vid); 165 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port, 167 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port, 169 int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, 171 int cpsw_ale_del_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, 173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag, 175 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port); 176 void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port); [all …]
|
D | cpsw_new.c | 104 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious() 110 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious() 139 ret = cpsw_ale_add_mcast(cpsw->ale, addr, mask, flags, vid, 0); in cpsw_set_mc() 141 ret = cpsw_ale_del_mcast(cpsw->ale, addr, 0, flags, vid); in cpsw_set_mc() 259 cpsw_ale_set_allmulti(cpsw->ale, IFF_ALLMULTI, priv->emac_port); in cpsw_ndo_set_rx_mode() 267 cpsw_ale_set_allmulti(cpsw->ale, in cpsw_ndo_set_rx_mode() 414 ret = cpsw_ale_add_vlan(cpsw->ale, vid, port_mask, 0, port_mask, in cpsw_add_vlan_ale_entry() 419 ret = cpsw_ale_add_ucast(cpsw->ale, priv->mac_addr, in cpsw_add_vlan_ale_entry() 424 ret = cpsw_ale_add_mcast(cpsw->ale, priv->ndev->broadcast, in cpsw_add_vlan_ale_entry() 431 cpsw_ale_del_ucast(cpsw->ale, priv->mac_addr, in cpsw_add_vlan_ale_entry() [all …]
|
D | cpsw.c | 97 struct cpsw_ale *ale = cpsw->ale; in cpsw_set_promiscious() local 118 cpsw_ale_control_set(ale, 0, ALE_BYPASS, 1); in cpsw_set_promiscious() 123 cpsw_ale_control_set(ale, 0, ALE_BYPASS, 0); in cpsw_set_promiscious() 132 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() 134 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() 139 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_set_promiscious() 142 if (cpsw_ale_control_get(ale, 0, ALE_AGEOUT)) in cpsw_set_promiscious() 145 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_set_promiscious() 148 cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1); in cpsw_set_promiscious() 152 cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1); in cpsw_set_promiscious() [all …]
|
D | am65-cpsw-switchdev.c | 49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set() 71 cpsw_ale_set_unreg_mcast(cpsw->ale, BIT(port->port_id), in am65_cpsw_port_attr_br_flags_set() 176 ret = cpsw_ale_vlan_add_modify(cpsw->ale, vid, port_mask, untag_mask, in am65_cpsw_port_vlan_add() 184 cpsw_ale_add_ucast(cpsw->ale, port->slave.mac_addr, in am65_cpsw_port_vlan_add() 210 ret = cpsw_ale_del_vlan(cpsw->ale, vid, port_mask); in am65_cpsw_port_vlan_del() 218 cpsw_ale_del_ucast(cpsw->ale, port->slave.mac_addr, in am65_cpsw_port_vlan_del() 227 cpsw_ale_del_mcast(cpsw->ale, port->ndev->broadcast, port_mask, in am65_cpsw_port_vlan_del() 270 err = cpsw_ale_add_mcast(cpsw->ale, mdb->addr, port_mask, in am65_cpsw_port_mdb_add() 293 cpsw_ale_del_mcast(cpsw->ale, mdb->addr, del_mask, in am65_cpsw_port_mdb_del() 389 cpsw_ale_add_ucast(cpsw->ale, (u8 *)fdb->addr, port_id, in am65_cpsw_switchdev_event_work() [all …]
|
D | cpsw_switchdev.c | 51 ret = cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_stp_state_set() 73 cpsw_ale_set_unreg_mcast(cpsw->ale, BIT(priv->emac_port), in cpsw_port_attr_br_flags_set() 192 ret = cpsw_ale_vlan_add_modify(cpsw->ale, vid, port_mask, untag_mask, in cpsw_port_vlan_add() 200 cpsw_ale_add_ucast(cpsw->ale, priv->mac_addr, in cpsw_port_vlan_add() 225 ret = cpsw_ale_vlan_del_modify(cpsw->ale, vid, port_mask); in cpsw_port_vlan_del() 233 cpsw_ale_del_ucast(cpsw->ale, priv->mac_addr, in cpsw_port_vlan_del() 242 cpsw_ale_del_mcast(cpsw->ale, priv->ndev->broadcast, in cpsw_port_vlan_del() 278 err = cpsw_ale_add_mcast(cpsw->ale, mdb->addr, port_mask, in cpsw_port_mdb_add() 301 err = cpsw_ale_del_mcast(cpsw->ale, mdb->addr, del_mask, in cpsw_port_mdb_del() 399 cpsw_ale_add_ucast(cpsw->ale, (u8 *)fdb->addr, port, in cpsw_switchdev_event_work() [all …]
|
D | am65-cpsw-nuss.c | 221 ret = cpsw_ale_vlan_add_modify(common->ale, vid, port_mask, in am65_cpsw_nuss_ndo_slave_add_vid() 246 ret = cpsw_ale_del_vlan(common->ale, vid, in am65_cpsw_nuss_ndo_slave_kill_vid() 265 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc() 270 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc() 290 cpsw_ale_set_allmulti(common->ale, in am65_cpsw_nuss_ndo_slave_set_rx_mode() 295 cpsw_ale_flush_multicast(common->ale, port_mask, -1); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 302 cpsw_ale_add_mcast(common->ale, ha->addr, in am65_cpsw_nuss_ndo_slave_set_rx_mode() 659 cpsw_ale_start(common->ale); in am65_cpsw_nuss_common_open() 662 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open() 664 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open() [all …]
|
D | netcp_ethss.c | 738 struct cpsw_ale *ale; member 2089 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action() 2101 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action() 2257 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in gbe_slave_stop() 2259 cpsw_ale_del_mcast(gbe_dev->ale, intf->ndev->broadcast, in gbe_slave_stop() 2305 cpsw_ale_control_set(priv->ale, slave->port_num, in gbe_slave_open() 2307 cpsw_ale_add_mcast(priv->ale, gbe_intf->ndev->broadcast, in gbe_slave_open() 2368 cpsw_ale_start(priv->ale); in gbe_init_host_port() 2373 cpsw_ale_control_set(priv->ale, 0, ALE_BYPASS, bypass_en); in gbe_init_host_port() 2375 cpsw_ale_control_set(priv->ale, 0, ALE_NO_PORT_VLAN, 1); in gbe_init_host_port() [all …]
|
D | cpsw_priv.c | 256 if (!cpsw_ale_get_vlan_p0_untag(cpsw->ale, vid)) { in cpsw_rx_vlan_encap() 508 cpsw->ale = cpsw_ale_create(&ale_params); in cpsw_init_common() 509 if (IS_ERR(cpsw->ale)) { in cpsw_init_common() 511 return PTR_ERR(cpsw->ale); in cpsw_init_common() 1427 ret = cpsw_ale_rx_ratelimit_bc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer() 1435 ret = cpsw_ale_rx_ratelimit_mc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer() 1514 cpsw_ale_rx_ratelimit_bc(priv->cpsw->ale, port_id, 0); in cpsw_qos_delete_clsflower() 1520 cpsw_ale_rx_ratelimit_mc(priv->cpsw->ale, port_id, 0); in cpsw_qos_delete_clsflower() 1580 cpsw_ale_rx_ratelimit_bc(priv->cpsw->ale, port_id, in cpsw_qos_clsflower_resume() 1584 cpsw_ale_rx_ratelimit_mc(priv->cpsw->ale, port_id, in cpsw_qos_clsflower_resume()
|
/linux-6.12.1/drivers/isdn/hardware/mISDN/ |
D | mISDNinfineon.c | 724 hw->isac.a.io.ale = (u32)hw->cfg.start + DIVA_ISAC_ALE; in setup_io() 727 hw->hscx.a.io.ale = (u32)hw->cfg.start + DIVA_HSCX_ALE; in setup_io() 750 hw->isac.a.io.ale = (u32)hw->cfg.start + TIGER_IPAC_ALE; in setup_io() 753 hw->hscx.a.io.ale = (u32)hw->cfg.start + TIGER_IPAC_ALE; in setup_io() 765 hw->isac.a.io.ale = (u32)hw->addr.start; in setup_io() 768 hw->hscx.a.io.ale = (u32)hw->addr.start; in setup_io() 775 hw->isac.a.io.ale = (u32)hw->addr.start + NICCY_ISAC_ALE; in setup_io() 778 hw->hscx.a.io.ale = (u32)hw->addr.start + NICCY_HSCX_ALE; in setup_io() 784 hw->isac.a.io.ale = (u32)hw->addr.start; in setup_io() 785 hw->isac.a.io.port = hw->isac.a.io.ale + 4; in setup_io() [all …]
|
D | iohelper.h | 22 u32 ale; member 46 outb(off, hw->ap.ale); \ 51 outb(off, hw->ap.ale); \ 56 outb(off, hw->ap.ale); \ 61 outb(off, hw->ap.ale); \
|
/linux-6.12.1/drivers/bus/ |
D | ts-nbus.c | 34 struct gpio_desc *ale; member 66 ts_nbus->ale = devm_gpiod_get(&pdev->dev, "ts,ale", GPIOD_OUT_HIGH); in ts_nbus_init_pdata() 67 if (IS_ERR(ts_nbus->ale)) in ts_nbus_init_pdata() 68 return dev_err_probe(&pdev->dev, PTR_ERR(ts_nbus->ale), in ts_nbus_init_pdata() 112 gpiod_set_value_cansleep(ts_nbus->ale, 0); in ts_nbus_reset_bus() 180 gpiod_set_value_cansleep(ts_nbus->ale, 1); in ts_nbus_write_bus()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | gpio.c | 38 struct gpio_desc *ale; member 93 gpiod_set_value(gpiomtd->ale, 1); in gpio_nand_exec_instr() 98 gpiod_set_value(gpiomtd->ale, 0); in gpio_nand_exec_instr() 330 gpiomtd->ale = devm_gpiod_get(dev, "ale", GPIOD_OUT_LOW); in gpio_nand_probe() 331 if (IS_ERR(gpiomtd->ale)) { in gpio_nand_probe() 332 ret = PTR_ERR(gpiomtd->ale); in gpio_nand_probe()
|
D | orion_nand.c | 42 offs = (1 << board->ale); in orion_nand_cmd_ctrl() 136 board->ale = (u8)val; in orion_nand_probe() 138 board->ale = 1; in orion_nand_probe()
|
/linux-6.12.1/Documentation/devicetree/bindings/bus/ |
D | ts-nbus.txt | 15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA 42 ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
/linux-6.12.1/Documentation/devicetree/bindings/mtd/ |
D | orion-nand.txt | 10 - ale : Address line number connected to ALE. Default is 1 24 ale = <1>;
|
D | davinci-nand.txt | 27 - ti,davinci-mask-ale: mask for ALE. Needed for executing address 83 ti,davinci-mask-ale = <0>;
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | genex.S | 89 BUILD_HANDLER ale ale badv
|
/linux-6.12.1/arch/s390/kvm/ |
D | gaccess.c | 78 struct ale { struct 227 struct ale ale; in ar_translation() local 268 rc = read_guest_real(vcpu, ald.alo * 128 + alet.alen * 16, &ale, in ar_translation() 269 sizeof(struct ale)); in ar_translation() 273 if (ale.i == 1) in ar_translation() 275 if (ale.alesn != alet.alesn) in ar_translation() 278 rc = read_guest_real(vcpu, ale.asteo * 64, &aste, sizeof(struct aste)); in ar_translation() 284 if (aste.astesn != ale.astesn) in ar_translation() 287 if (ale.p == 1) { in ar_translation() 289 if (ale.aleax != eax) { in ar_translation() [all …]
|
/linux-6.12.1/include/linux/platform_data/ |
D | mtd-orion_nand.h | 16 u8 ale; /* address line number connected to ALE */ member
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | lantiq,pinctrl-xway.txt | 56 ebu wait, nand ale, nand cs1, nand cle, spi_di, spi_do, spi_clk, spi_cs1, 67 ebu cs1, ebu wait, nand ale, nand cs1, nand cle, nand rdy, nand rd, 79 ebu cs1, ebu wait, nand ale, nand cs1, nand cle, nand rdy, nand rd, 93 exin0, exin1, exin2, exin4, nand ale, nand cs0, nand cs1, nand cle,
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | orion5x-rd88f5182-nas.dts | 56 devbus,ale-wr-ps = <90000>; 78 devbus,ale-wr-ps = <90000>;
|
D | armada-xp-crs326-24g-2s.dtsi | 60 devbus,ale-wr-ps = <60000>;
|
/linux-6.12.1/arch/mips/boot/dts/ni/ |
D | 169445.dts | 69 <&gpio1 2 0>, /* ale */
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 496 uint64_t ale:1; member 512 uint64_t ale:1; 520 uint64_t ale:1; member 536 uint64_t ale:1; 543 uint64_t ale:1; member 557 uint64_t ale:1; 565 uint64_t ale:1; member 581 uint64_t ale:1; 601 uint64_t ale:1; member 609 uint64_t ale:1; [all …]
|