| /kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
| D | ocelot.c | 31 static inline u32 ocelot_mact_read_macaccess(struct ocelot *ocelot) in ocelot_mact_read_macaccess() 37 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion() 49 static void ocelot_mact_select(struct ocelot *ocelot, in ocelot_mact_select() 71 static int __ocelot_mact_learn(struct ocelot *ocelot, int port, in __ocelot_mact_learn() 103 int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn() 117 int ocelot_mact_forget(struct ocelot *ocelot, in ocelot_mact_forget() 139 int ocelot_mact_lookup(struct ocelot *ocelot, int *dst_idx, in ocelot_mact_lookup() 174 int ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx, in ocelot_mact_learn_streamdata() 199 static void ocelot_mact_init(struct ocelot *ocelot) in ocelot_mact_init() 217 void ocelot_pll5_init(struct ocelot *ocelot) in ocelot_pll5_init() [all …]
|
| D | ocelot_fdma.c | 22 static void ocelot_fdma_writel(struct ocelot *ocelot, u32 reg, u32 data) in ocelot_fdma_writel() 27 static u32 ocelot_fdma_readl(struct ocelot *ocelot, u32 reg) in ocelot_fdma_readl() 85 static void ocelot_fdma_activate_chan(struct ocelot *ocelot, dma_addr_t dma, in ocelot_fdma_activate_chan() 96 static u32 ocelot_fdma_read_ch_safe(struct ocelot *ocelot) in ocelot_fdma_read_ch_safe() 101 static int ocelot_fdma_wait_chan_safe(struct ocelot *ocelot, int chan) in ocelot_fdma_wait_chan_safe() 122 static bool ocelot_fdma_rx_alloc_page(struct ocelot *ocelot, in ocelot_fdma_rx_alloc_page() 146 static int ocelot_fdma_alloc_rx_buffs(struct ocelot *ocelot, u16 alloc_cnt) in ocelot_fdma_alloc_rx_buffs() 186 static bool ocelot_fdma_tx_dcb_set_skb(struct ocelot *ocelot, in ocelot_fdma_tx_dcb_set_skb() 208 static bool ocelot_fdma_check_stop_rx(struct ocelot *ocelot) in ocelot_fdma_check_stop_rx() 234 static void ocelot_fdma_rx_restart(struct ocelot *ocelot) in ocelot_fdma_rx_restart() [all …]
|
| D | ocelot_mrp.c | 18 static int ocelot_mrp_find_partner_port(struct ocelot *ocelot, in ocelot_mrp_find_partner_port() 36 static int ocelot_mrp_del_vcap(struct ocelot *ocelot, int id) in ocelot_mrp_del_vcap() 50 static int ocelot_mrp_redirect_add_vcap(struct ocelot *ocelot, int src_port, in ocelot_mrp_redirect_add_vcap() 91 static int ocelot_mrp_trap_add(struct ocelot *ocelot, int port) in ocelot_mrp_trap_add() 99 static int ocelot_mrp_trap_del(struct ocelot *ocelot, int port) in ocelot_mrp_trap_del() 106 static void ocelot_mrp_save_mac(struct ocelot *ocelot, in ocelot_mrp_save_mac() 115 static void ocelot_mrp_del_mac(struct ocelot *ocelot, in ocelot_mrp_del_mac() 122 int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add() 144 int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del() 161 int ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role() [all …]
|
| D | ocelot_ptp.c | 19 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_gettime64() local 54 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_settime64() local 90 struct ocelot *ocelot = container_of(ptp, struct ocelot, in ocelot_ptp_adjtime() local 138 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_adjfine() local 200 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_enable() local 364 static int ocelot_l2_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_l2_ptp_trap_add() 372 static int ocelot_l2_ptp_trap_del(struct ocelot *ocelot, int port) in ocelot_l2_ptp_trap_del() 379 static int ocelot_ipv4_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_ipv4_ptp_trap_add() 398 static int ocelot_ipv4_ptp_trap_del(struct ocelot *ocelot, int port) in ocelot_ipv4_ptp_trap_del() 409 static int ocelot_ipv6_ptp_trap_add(struct ocelot *ocelot, int port) in ocelot_ipv6_ptp_trap_add() [all …]
|
| D | ocelot_net.c | 39 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in devlink_port_to_port() local 48 struct ocelot *ocelot = devlink_priv(dl); in ocelot_devlink_sb_pool_get() local 58 struct ocelot *ocelot = devlink_priv(dl); in ocelot_devlink_sb_pool_set() local 68 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_get() local 80 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_port_pool_set() local 93 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_tc_pool_bind_get() local 108 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_tc_pool_bind_set() local 119 struct ocelot *ocelot = devlink_priv(dl); in ocelot_devlink_sb_occ_snapshot() local 127 struct ocelot *ocelot = devlink_priv(dl); in ocelot_devlink_sb_occ_max_clear() local 137 struct ocelot *ocelot = devlink_port_to_ocelot(dlp); in ocelot_devlink_sb_occ_port_pool_get() local [all …]
|
| D | ocelot_devlink.c | 221 static u32 ocelot_wm_read(struct ocelot *ocelot, int index) in ocelot_wm_read() 228 static void ocelot_wm_write(struct ocelot *ocelot, int index, u32 val) in ocelot_wm_write() 235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, in ocelot_wm_status() 252 static void ocelot_disable_reservation_watermarks(struct ocelot *ocelot, in ocelot_disable_reservation_watermarks() 289 static void ocelot_disable_tc_sharing_watermarks(struct ocelot *ocelot) in ocelot_disable_tc_sharing_watermarks() 301 static void ocelot_get_buf_rsrv(struct ocelot *ocelot, u32 *buf_rsrv_i, in ocelot_get_buf_rsrv() 325 static void ocelot_get_ref_rsrv(struct ocelot *ocelot, u32 *ref_rsrv_i, in ocelot_get_ref_rsrv() 349 static void ocelot_setup_sharing_watermarks(struct ocelot *ocelot) in ocelot_setup_sharing_watermarks() 382 static int ocelot_watermark_validate(struct ocelot *ocelot, in ocelot_watermark_validate() 476 static void ocelot_watermark_init(struct ocelot *ocelot) in ocelot_watermark_init() [all …]
|
| D | ocelot_stats.c | 312 ocelot_get_stats_layout(struct ocelot *ocelot) in ocelot_get_stats_layout() 323 static int ocelot_port_update_stats(struct ocelot *ocelot, int port) in ocelot_port_update_stats() 344 static void ocelot_port_transfer_stats(struct ocelot *ocelot, int port) in ocelot_port_transfer_stats() 367 struct ocelot *ocelot = container_of(del_work, struct ocelot, in ocelot_check_stats_work() local 395 void ocelot_get_strings(struct ocelot *ocelot, int port, u32 sset, u8 *data) in ocelot_get_strings() 416 static void ocelot_port_stats_run(struct ocelot *ocelot, int port, void *priv, in ocelot_port_stats_run() 417 void (*cb)(struct ocelot *ocelot, int port, in ocelot_port_stats_run() 442 int ocelot_get_sset_count(struct ocelot *ocelot, int port, int sset) in ocelot_get_sset_count() 461 static void ocelot_port_ethtool_stats_cb(struct ocelot *ocelot, int port, in ocelot_port_ethtool_stats_cb() 481 void ocelot_get_ethtool_stats(struct ocelot *ocelot, int port, u64 *data) in ocelot_get_ethtool_stats() [all …]
|
| D | ocelot_io.c | 13 int __ocelot_bulk_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, in __ocelot_bulk_read_ix() 27 u32 __ocelot_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, u32 offset) in __ocelot_read_ix() 40 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, enum ocelot_reg reg, in __ocelot_write_ix() 53 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, in __ocelot_rmw_ix() 68 struct ocelot *ocelot = port->ocelot; in ocelot_port_readl() local 81 struct ocelot *ocelot = port->ocelot; in ocelot_port_writel() local 99 u32 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, in __ocelot_target_read_ix() 109 void __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, in __ocelot_target_write_ix() 116 int ocelot_regfields_init(struct ocelot *ocelot, in ocelot_regfields_init() 156 struct regmap *ocelot_regmap_init(struct ocelot *ocelot, struct resource *res) in ocelot_regmap_init()
|
| D | ocelot_mm.c | 52 void ocelot_port_update_active_preemptible_tcs(struct ocelot *ocelot, int port) in ocelot_port_update_active_preemptible_tcs() 90 void ocelot_port_change_fp(struct ocelot *ocelot, int port, in ocelot_port_change_fp() 105 static void ocelot_mm_update_port_status(struct ocelot *ocelot, int port) in ocelot_mm_update_port_status() 155 void ocelot_mm_irq(struct ocelot *ocelot) in ocelot_mm_irq() 168 int ocelot_port_set_mm(struct ocelot *ocelot, int port, in ocelot_port_set_mm() 234 int ocelot_port_get_mm(struct ocelot *ocelot, int port, in ocelot_port_get_mm() 272 int ocelot_mm_init(struct ocelot *ocelot) in ocelot_mm_init()
|
| D | ocelot_vsc7514.c | 29 static int ocelot_chip_init(struct ocelot *ocelot, const struct ocelot_ops *ops) in ocelot_chip_init() 51 struct ocelot *ocelot = arg; in ocelot_xtr_irq_handler() local 77 struct ocelot *ocelot = arg; in ocelot_ptp_rdy_irq_handler() local 116 static void mscc_ocelot_teardown_devlink_ports(struct ocelot *ocelot) in mscc_ocelot_teardown_devlink_ports() 124 static void mscc_ocelot_release_ports(struct ocelot *ocelot) in mscc_ocelot_release_ports() 143 struct ocelot *ocelot = platform_get_drvdata(pdev); in mscc_ocelot_init_ports() local 236 struct ocelot *ocelot; in mscc_ocelot_probe() local 397 struct ocelot *ocelot = platform_get_drvdata(pdev); in mscc_ocelot_remove() local
|
| D | ocelot_vcap.c | 49 static u32 vcap_read_update_ctrl(struct ocelot *ocelot, in vcap_read_update_ctrl() 55 static void vcap_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_cmd() 82 static void vcap_row_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_row_cmd() 88 static void vcap_entry2cache(struct ocelot *ocelot, in vcap_entry2cache() 105 static void vcap_cache2entry(struct ocelot *ocelot, in vcap_cache2entry() 123 static void vcap_action2cache(struct ocelot *ocelot, in vcap_action2cache() 148 static void vcap_cache2action(struct ocelot *ocelot, in vcap_cache2action() 330 static void is2_action_set(struct ocelot *ocelot, struct vcap_data *data, in is2_action_set() 345 static void is2_entry_set(struct ocelot *ocelot, int ix, in is2_entry_set() 646 static void is1_action_set(struct ocelot *ocelot, struct vcap_data *data, in is1_action_set() [all …]
|
| D | ocelot_flower.c | 145 ocelot_find_vcap_filter_that_points_at(struct ocelot *ocelot, int chain) in ocelot_find_vcap_filter_that_points_at() 172 ocelot_flower_parse_ingress_vlan_modify(struct ocelot *ocelot, int port, in ocelot_flower_parse_ingress_vlan_modify() 231 static int ocelot_flower_parse_action(struct ocelot *ocelot, int port, in ocelot_flower_parse_action() 520 static int ocelot_flower_parse_indev(struct ocelot *ocelot, int port, in ocelot_flower_parse_indev() 572 ocelot_flower_parse_key(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse_key() 782 static int ocelot_flower_parse(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse() 804 *ocelot_vcap_filter_create(struct ocelot *ocelot, int port, bool ingress, in ocelot_vcap_filter_create() 826 static int ocelot_vcap_dummy_filter_add(struct ocelot *ocelot, in ocelot_vcap_dummy_filter_add() 834 static int ocelot_vcap_dummy_filter_del(struct ocelot *ocelot, in ocelot_vcap_dummy_filter_del() 868 int ocelot_cls_flower_replace(struct ocelot *ocelot, int port, in ocelot_cls_flower_replace() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
| D | ocelot.c | 21 static inline u32 ocelot_mact_read_macaccess(struct ocelot *ocelot) in ocelot_mact_read_macaccess() 26 static inline int ocelot_mact_wait_for_completion(struct ocelot *ocelot) in ocelot_mact_wait_for_completion() 37 static void ocelot_mact_select(struct ocelot *ocelot, in ocelot_mact_select() 59 int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn() 89 int ocelot_mact_forget(struct ocelot *ocelot, in ocelot_mact_forget() 103 static void ocelot_mact_init(struct ocelot *ocelot) in ocelot_mact_init() 119 static void ocelot_vcap_enable(struct ocelot *ocelot, int port) in ocelot_vcap_enable() 133 static inline u32 ocelot_vlant_read_vlanaccess(struct ocelot *ocelot) in ocelot_vlant_read_vlanaccess() 138 static inline int ocelot_vlant_wait_for_completion(struct ocelot *ocelot) in ocelot_vlant_wait_for_completion() 150 static int ocelot_vlant_set_mask(struct ocelot *ocelot, u16 vid, u32 mask) in ocelot_vlant_set_mask() [all …]
|
| D | ocelot_net.c | 15 struct ocelot *ocelot = priv->port.ocelot; in ocelot_setup_tc_cls_flower() local 38 struct ocelot *ocelot = priv->port.ocelot; in ocelot_setup_tc_cls_matchall() local 203 struct ocelot *ocelot = priv->port.ocelot; in ocelot_port_adjust_link() local 214 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_vlan_vid_add() local 232 struct ocelot *ocelot = priv->port.ocelot; in ocelot_vlan_vid_del() local 257 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_port_open() local 290 struct ocelot *ocelot = priv->port.ocelot; in ocelot_port_stop() local 327 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_port_xmit() local 410 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_mc_unsync() local 419 struct ocelot *ocelot = ocelot_port->ocelot; in ocelot_mc_sync() local [all …]
|
| D | ocelot_io.c | 13 u32 __ocelot_read_ix(struct ocelot *ocelot, u32 reg, u32 offset) in __ocelot_read_ix() 26 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, u32 reg, u32 offset) in __ocelot_write_ix() 37 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, u32 reg, in __ocelot_rmw_ix() 52 struct ocelot *ocelot = port->ocelot; in ocelot_port_readl() local 65 struct ocelot *ocelot = port->ocelot; in ocelot_port_writel() local 82 u32 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target, in __ocelot_target_read_ix() 92 void __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target, in __ocelot_target_write_ix() 99 int ocelot_regfields_init(struct ocelot *ocelot, in ocelot_regfields_init() 139 struct regmap *ocelot_regmap_init(struct ocelot *ocelot, struct resource *res) in ocelot_regmap_init()
|
| D | ocelot_vcap.c | 49 static u32 vcap_read_update_ctrl(struct ocelot *ocelot, in vcap_read_update_ctrl() 55 static void vcap_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_cmd() 82 static void vcap_row_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_row_cmd() 88 static void vcap_entry2cache(struct ocelot *ocelot, in vcap_entry2cache() 105 static void vcap_cache2entry(struct ocelot *ocelot, in vcap_cache2entry() 123 static void vcap_action2cache(struct ocelot *ocelot, in vcap_action2cache() 148 static void vcap_cache2action(struct ocelot *ocelot, in vcap_cache2action() 330 static void is2_action_set(struct ocelot *ocelot, struct vcap_data *data, in is2_action_set() 344 static void is2_entry_set(struct ocelot *ocelot, int ix, in is2_entry_set() 645 static void is1_action_set(struct ocelot *ocelot, struct vcap_data *data, in is1_action_set() [all …]
|
| D | ocelot_ptp.c | 13 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_gettime64() local 48 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_settime64() local 80 struct ocelot *ocelot = container_of(ptp, struct ocelot, in ocelot_ptp_adjtime() local 124 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_adjfine() local 186 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_enable() local 303 int ocelot_init_timestamp(struct ocelot *ocelot, in ocelot_init_timestamp() 345 int ocelot_deinit_timestamp(struct ocelot *ocelot) in ocelot_deinit_timestamp()
|
| D | ocelot_flower.c | 133 ocelot_find_vcap_filter_that_points_at(struct ocelot *ocelot, int chain) in ocelot_find_vcap_filter_that_points_at() 159 static int ocelot_flower_parse_action(struct ocelot *ocelot, int port, in ocelot_flower_parse_action() 383 static int ocelot_flower_parse_indev(struct ocelot *ocelot, int port, in ocelot_flower_parse_indev() 435 ocelot_flower_parse_key(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse_key() 635 static int ocelot_flower_parse(struct ocelot *ocelot, int port, bool ingress, in ocelot_flower_parse() 652 *ocelot_vcap_filter_create(struct ocelot *ocelot, int port, bool ingress, in ocelot_vcap_filter_create() 674 static int ocelot_vcap_dummy_filter_add(struct ocelot *ocelot, in ocelot_vcap_dummy_filter_add() 682 static int ocelot_vcap_dummy_filter_del(struct ocelot *ocelot, in ocelot_vcap_dummy_filter_del() 691 int ocelot_cls_flower_replace(struct ocelot *ocelot, int port, in ocelot_cls_flower_replace() 724 int ocelot_cls_flower_destroy(struct ocelot *ocelot, int port, in ocelot_cls_flower_destroy() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
| D | felix.c | 48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_master() local 71 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_rx() local 112 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_rx() local 134 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_tx() local 201 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_tx() local 308 struct ocelot *ocelot = ds->priv; in felix_update_trapping_destinations() local 371 static void felix_npi_port_init(struct ocelot *ocelot, int port) in felix_npi_port_init() 389 static void felix_npi_port_deinit(struct ocelot *ocelot, int port) in felix_npi_port_deinit() 411 struct ocelot *ocelot = ds->priv; in felix_tag_npi_setup() local 432 struct ocelot *ocelot = ds->priv; in felix_tag_npi_teardown() local [all …]
|
| D | felix_vsc9959.c | 879 static int vsc9959_gcb_soft_rst_status(struct ocelot *ocelot) in vsc9959_gcb_soft_rst_status() 888 static int vsc9959_sys_ram_init_status(struct ocelot *ocelot) in vsc9959_sys_ram_init_status() 896 static int vsc9959_reset(struct ocelot *ocelot) in vsc9959_reset() 956 static int vsc9959_mdio_bus_alloc(struct ocelot *ocelot) in vsc9959_mdio_bus_alloc() 1044 static void vsc9959_mdio_bus_free(struct ocelot *ocelot) in vsc9959_mdio_bus_free() 1144 static void vsc9959_port_qmaxsdu_set(struct ocelot *ocelot, int port, int tc, in vsc9959_port_qmaxsdu_set() 1183 static u32 vsc9959_port_qmaxsdu_get(struct ocelot *ocelot, int port, int tc) in vsc9959_port_qmaxsdu_get() 1213 static void vsc9959_tas_guard_bands_update(struct ocelot *ocelot, int port) in vsc9959_tas_guard_bands_update() 1343 static void vsc9959_sched_speed_set(struct ocelot *ocelot, int port, in vsc9959_sched_speed_set() 1380 static void vsc9959_new_base_time(struct ocelot *ocelot, ktime_t base_time, in vsc9959_new_base_time() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ocelot/ |
| D | felix.c | 37 struct ocelot *ocelot = ds->priv; in felix_set_ageing_time() local 47 struct ocelot *ocelot = ds->priv; in felix_fdb_dump() local 55 struct ocelot *ocelot = ds->priv; in felix_fdb_add() local 63 struct ocelot *ocelot = ds->priv; in felix_fdb_del() local 78 struct ocelot *ocelot = ds->priv; in felix_mdb_add() local 86 struct ocelot *ocelot = ds->priv; in felix_mdb_del() local 94 struct ocelot *ocelot = ds->priv; in felix_bridge_stp_state_set() local 102 struct ocelot *ocelot = ds->priv; in felix_bridge_join() local 110 struct ocelot *ocelot = ds->priv; in felix_bridge_leave() local 125 struct ocelot *ocelot = ds->priv; in felix_vlan_filtering() local [all …]
|
| D | felix_vsc9959.c | 891 static int vsc9959_gcb_soft_rst_status(struct ocelot *ocelot) in vsc9959_gcb_soft_rst_status() 900 static int vsc9959_sys_ram_init_status(struct ocelot *ocelot) in vsc9959_sys_ram_init_status() 908 static int vsc9959_reset(struct ocelot *ocelot) in vsc9959_reset() 938 static void vsc9959_phylink_validate(struct ocelot *ocelot, int port, in vsc9959_phylink_validate() 975 static int vsc9959_prevalidate_phy_mode(struct ocelot *ocelot, int port, in vsc9959_prevalidate_phy_mode() 1017 static int vsc9959_mdio_bus_alloc(struct ocelot *ocelot) in vsc9959_mdio_bus_alloc() 1108 static void vsc9959_mdio_bus_free(struct ocelot *ocelot) in vsc9959_mdio_bus_free() 1125 static void vsc9959_sched_speed_set(struct ocelot *ocelot, int port, in vsc9959_sched_speed_set() 1154 static void vsc9959_new_base_time(struct ocelot *ocelot, ktime_t base_time, in vsc9959_new_base_time() 1176 static u32 vsc9959_tas_read_cfg_status(struct ocelot *ocelot) in vsc9959_tas_read_cfg_status() [all …]
|
| D | seville_vsc9953.c | 862 static int vsc9953_gcb_soft_rst_status(struct ocelot *ocelot) in vsc9953_gcb_soft_rst_status() 871 static int vsc9953_sys_ram_init_status(struct ocelot *ocelot) in vsc9953_sys_ram_init_status() 880 static int vsc9953_gcb_miim_pending_status(struct ocelot *ocelot) in vsc9953_gcb_miim_pending_status() 889 static int vsc9953_gcb_miim_busy_status(struct ocelot *ocelot) in vsc9953_gcb_miim_busy_status() 901 struct ocelot *ocelot = bus->priv; in vsc9953_mdio_write() local 925 struct ocelot *ocelot = bus->priv; in vsc9953_mdio_read() local 961 static int vsc9953_reset(struct ocelot *ocelot) in vsc9953_reset() 993 static void vsc9953_phylink_validate(struct ocelot *ocelot, int port, in vsc9953_phylink_validate() 1027 static int vsc9953_prevalidate_phy_mode(struct ocelot *ocelot, int port, in vsc9953_prevalidate_phy_mode() 1067 static int vsc9953_mdio_bus_alloc(struct ocelot *ocelot) in vsc9953_mdio_bus_alloc() [all …]
|
| /kernel/linux/linux-5.10/include/soc/mscc/ |
| D | ocelot.h | 68 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument 73 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument 78 #define for_each_aggr_pgid(ocelot, pgid) \ argument 575 struct ocelot *ocelot; member 597 struct ocelot { struct 600 const struct ocelot_ops *ops; argument 604 const struct ocelot_stat_layout *stats_layout; argument 614 struct ocelot_port **ports; argument 632 enum ocelot_tag_prefix inj_prefix; argument 633 enum ocelot_tag_prefix xtr_prefix; argument [all …]
|
| /kernel/linux/linux-6.6/include/soc/mscc/ |
| D | ocelot.h | 73 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument 78 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument 83 #define for_each_aggr_pgid(ocelot, pgid) \ argument 765 struct ocelot *ocelot; member 805 struct ocelot { struct 810 const struct ocelot_ops *ops; argument 821 struct ocelot_port **ports; argument 840 enum ocelot_tag_prefix npi_inj_prefix; argument 841 enum ocelot_tag_prefix npi_xtr_prefix; argument 849 struct ocelot_vcap_block block[3]; argument [all …]
|