• Home
  • Raw
  • Download

Lines Matching refs:dev_ops

1502 	if (dev->dev_ops->get_caps)  in ksz_phylink_get_caps()
1503 dev->dev_ops->get_caps(dev, port, config); in ksz_phylink_get_caps()
1648 dev->dev_ops->cfg_port_member(dev, i, val | cpu_port); in ksz_update_port_member()
1651 dev->dev_ops->cfg_port_member(dev, port, port_member | cpu_port); in ksz_update_port_member()
1663 ret = dev->dev_ops->r_phy(dev, addr, regnum, &val); in ksz_sw_mdio_read()
1678 return dev->dev_ops->w_phy(dev, addr, regnum, val); in ksz_sw_mdio_write()
1912 pirq->reg_mask = dev->dev_ops->get_port_addr(p, REG_PORT_INT_MASK); in ksz_pirq_setup()
1913 pirq->reg_status = dev->dev_ops->get_port_addr(p, REG_PORT_INT_STATUS); in ksz_pirq_setup()
1938 ret = dev->dev_ops->reset(dev); in ksz_setup()
1950 dev->dev_ops->config_cpu_port(ds); in ksz_setup()
1952 dev->dev_ops->enable_stp_addr(dev); in ksz_setup()
1961 if (dev->dev_ops->setup) { in ksz_setup()
1962 ret = dev->dev_ops->setup(ds); in ksz_setup()
2022 if (dev->dev_ops->teardown) in ksz_teardown()
2023 dev->dev_ops->teardown(ds); in ksz_teardown()
2033 dev->dev_ops->r_mib_cnt(dev, port, mib->cnt_ptr, in port_r_cnt()
2043 dev->dev_ops->r_mib_pkt(dev, port, mib->cnt_ptr, in port_r_cnt()
2078 if (dev->dev_ops->r_mib_stat64) in ksz_mib_read_work()
2079 dev->dev_ops->r_mib_stat64(dev, i); in ksz_mib_read_work()
2096 dev->dev_ops->port_init_cnt(dev, i); in ksz_init_mib_timer()
2109 ret = dev->dev_ops->r_phy(dev, addr, reg, &val); in ksz_phy_read16()
2121 ret = dev->dev_ops->w_phy(dev, addr, reg, val); in ksz_phy_write16()
2209 dev->dev_ops->flush_dyn_mac_table(dev, port); in ksz_port_fast_age()
2216 if (!dev->dev_ops->set_ageing_time) in ksz_set_ageing_time()
2219 return dev->dev_ops->set_ageing_time(dev, msecs); in ksz_set_ageing_time()
2228 if (!dev->dev_ops->fdb_add) in ksz_port_fdb_add()
2231 return dev->dev_ops->fdb_add(dev, port, addr, vid, db); in ksz_port_fdb_add()
2240 if (!dev->dev_ops->fdb_del) in ksz_port_fdb_del()
2243 return dev->dev_ops->fdb_del(dev, port, addr, vid, db); in ksz_port_fdb_del()
2251 if (!dev->dev_ops->fdb_dump) in ksz_port_fdb_dump()
2254 return dev->dev_ops->fdb_dump(dev, port, cb, data); in ksz_port_fdb_dump()
2263 if (!dev->dev_ops->mdb_add) in ksz_port_mdb_add()
2266 return dev->dev_ops->mdb_add(dev, port, mdb, db); in ksz_port_mdb_add()
2275 if (!dev->dev_ops->mdb_del) in ksz_port_mdb_del()
2278 return dev->dev_ops->mdb_del(dev, port, mdb, db); in ksz_port_mdb_del()
2290 dev->dev_ops->port_setup(dev, port, false); in ksz_enable_port()
2406 if (!dev->dev_ops->vlan_filtering) in ksz_port_vlan_filtering()
2409 return dev->dev_ops->vlan_filtering(dev, port, flag, extack); in ksz_port_vlan_filtering()
2418 if (!dev->dev_ops->vlan_add) in ksz_port_vlan_add()
2421 return dev->dev_ops->vlan_add(dev, port, vlan, extack); in ksz_port_vlan_add()
2429 if (!dev->dev_ops->vlan_del) in ksz_port_vlan_del()
2432 return dev->dev_ops->vlan_del(dev, port, vlan); in ksz_port_vlan_del()
2441 if (!dev->dev_ops->mirror_add) in ksz_port_mirror_add()
2444 return dev->dev_ops->mirror_add(dev, port, mirror, ingress, extack); in ksz_port_mirror_add()
2452 if (dev->dev_ops->mirror_del) in ksz_port_mirror_del()
2453 dev->dev_ops->mirror_del(dev, port, mirror); in ksz_port_mirror_del()
2460 if (!dev->dev_ops->change_mtu) in ksz_change_mtu()
2463 return dev->dev_ops->change_mtu(dev, port, mtu); in ksz_change_mtu()
2470 if (!dev->dev_ops->max_mtu) in ksz_max_mtu()
2473 return dev->dev_ops->max_mtu(dev, port); in ksz_max_mtu()
2578 if (dev->dev_ops->phylink_mac_config) in ksz_phylink_mac_config()
2579 dev->dev_ops->phylink_mac_config(dev, port, mode, state); in ksz_phylink_mac_config()
2581 if (dev->dev_ops->setup_rgmii_delay) in ksz_phylink_mac_config()
2582 dev->dev_ops->setup_rgmii_delay(dev, port); in ksz_phylink_mac_config()
2708 if (dev->dev_ops->phylink_mac_link_up) in ksz_phylink_mac_link_up()
2709 dev->dev_ops->phylink_mac_link_up(dev, port, mode, interface, in ksz_phylink_mac_link_up()
2941 dev->dev_ops = dev->info->ops; in ksz_switch_register()
2943 ret = dev->dev_ops->init(dev); in ksz_switch_register()
3011 dev->dev_ops->exit(dev); in ksz_switch_register()
3033 dev->dev_ops->exit(dev); in ksz_switch_remove()