Lines Matching +defs:val +defs:pf

14 static void enetc4_get_port_caps(struct enetc_pf *pf)  in enetc4_get_port_caps()
17 u32 val; in enetc4_get_port_caps() local
66 struct enetc_pf *pf = enetc_si_priv(si); in enetc4_pf_struct_init() local
79 u32 val; in enetc4_psicfgr0_val_construct() local
91 static void enetc4_default_rings_allocation(struct enetc_pf *pf) in enetc4_default_rings_allocation()
94 u32 num_rx_bdr, num_tx_bdr, val; in enetc4_default_rings_allocation() local
127 static void enetc4_allocate_si_rings(struct enetc_pf *pf) in enetc4_allocate_si_rings()
134 u32 val = enetc_port_rd(hw, ENETC4_PSIPVMR); in enetc4_pf_set_si_vlan_promisc() local
144 static void enetc4_set_default_si_vlan_promisc(struct enetc_pf *pf) in enetc4_set_default_si_vlan_promisc()
156 static void enetc4_set_si_msix_num(struct enetc_pf *pf) in enetc4_set_si_msix_num()
160 u32 val; in enetc4_set_si_msix_num() local
175 static void enetc4_enable_all_si(struct enetc_pf *pf) in enetc4_enable_all_si()
189 static void enetc4_configure_port_si(struct enetc_pf *pf) in enetc4_configure_port_si()
210 u32 val = ENETC_MAC_MAXFRM_SIZE; in enetc4_pf_reset_tc_msdu() local
219 static void enetc4_set_trx_frame_size(struct enetc_pf *pf) in enetc4_set_trx_frame_size()
237 static void enetc4_set_default_rss_key(struct enetc_pf *pf) in enetc4_set_default_rss_key()
247 static void enetc4_enable_trx(struct enetc_pf *pf) in enetc4_enable_trx()
255 static void enetc4_configure_port(struct enetc_pf *pf) in enetc4_configure_port()
263 static int enetc4_pf_init(struct enetc_pf *pf) in enetc4_pf_init()
291 struct enetc_pf *pf = phylink_to_enetc_pf(config); in enetc4_pl_mac_select_pcs() local
296 static void enetc4_mac_config(struct enetc_pf *pf, unsigned int mode, in enetc4_mac_config()
301 u32 val; in enetc4_mac_config() local
342 struct enetc_pf *pf = phylink_to_enetc_pf(config); in enetc4_pl_mac_config() local
350 u32 val; in enetc4_set_port_speed() local
374 static void enetc4_set_rgmii_mac(struct enetc_pf *pf, int speed, int duplex) in enetc4_set_rgmii_mac()
377 u32 old_val, val; in enetc4_set_rgmii_mac() local
402 static void enetc4_set_rmii_mac(struct enetc_pf *pf, int speed, int duplex) in enetc4_set_rmii_mac()
405 u32 old_val, val; in enetc4_set_rmii_mac() local
427 static void enetc4_set_hd_flow_control(struct enetc_pf *pf, bool enable) in enetc4_set_hd_flow_control()
430 u32 old_val, val; in enetc4_set_hd_flow_control() local
443 static void enetc4_set_rx_pause(struct enetc_pf *pf, bool rx_pause) in enetc4_set_rx_pause()
446 u32 old_val, val; in enetc4_set_rx_pause() local
456 static void enetc4_set_tx_pause(struct enetc_pf *pf, int num_rxbdr, bool tx_pause) in enetc4_set_tx_pause()
501 static void enetc4_enable_mac(struct enetc_pf *pf, bool en) in enetc4_enable_mac()
504 u32 val; in enetc4_enable_mac() local
518 struct enetc_pf *pf = phylink_to_enetc_pf(config); in enetc4_pl_mac_link_up() local
560 struct enetc_pf *pf = phylink_to_enetc_pf(config); in enetc4_pl_mac_link_down() local
582 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc4_link_init() local
614 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc4_link_deinit() local
696 struct enetc_pf *pf; in enetc4_pf_probe() local