Lines Matching refs:cpsw_slave_index
34 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv); variable
557 struct cpsw_slave *slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v1()
584 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_hwtstamp_v2()
710 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_ndo_ioctl()
798 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_shp_is_off()
814 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_fifo_shp_on()
835 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_fifo_bw()
893 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_fifo_rlimit()
959 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_cbs()
1039 slave = &cpsw->slaves[cpsw_slave_index(cpsw, priv)]; in cpsw_set_mqprio()
1423 port_id = cpsw_slave_index(priv->cpsw, priv) + 1; in cpsw_qos_clsflower_add_policer()
1509 u32 port_id = cpsw_slave_index(priv->cpsw, priv) + 1; in cpsw_qos_delete_clsflower()
1577 u32 port_id = cpsw_slave_index(priv->cpsw, priv) + 1; in cpsw_qos_clsflower_resume()