| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_main.c | 47 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() argument 74 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() argument 76 return nfp_pf_rtsym_read_optional(pf, "nfd_cfg_pf%u_num_ports", 1); in nfp_net_pf_get_num_ports() 79 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument 82 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic() 85 pf->num_vnics--; in nfp_net_pf_free_vnic() 89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() argument 93 list_for_each_entry_safe(nn, next, &pf->vnics, vnic_list) in nfp_net_pf_free_vnics() 95 nfp_net_pf_free_vnic(pf, nn); in nfp_net_pf_free_vnics() 99 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic() argument [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 58 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 62 if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) { in otx2_change_mtu() 80 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() argument 82 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() 85 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 86 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr() 87 free_irq(irq, pf); in otx2_disable_flr_me_intr() 90 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr() 91 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr() 92 free_irq(irq, pf); in otx2_disable_flr_me_intr() 106 otx2_flr_wq_destroy(struct otx2_nic * pf) otx2_flr_wq_destroy() argument 118 struct otx2_nic *pf = flrwork->pf; otx2_flr_handler() local 149 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; otx2_pf_flr_intr_handler() local 178 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; otx2_pf_me_intr_handler() local 201 otx2_register_flr_me_intr(struct otx2_nic * pf,int numvfs) otx2_register_flr_me_intr() argument 276 otx2_pf_flr_init(struct otx2_nic * pf,int num_vfs) otx2_pf_flr_init() argument 358 otx2_forward_vf_mbox_msgs(struct otx2_nic * pf,struct otx2_mbox * src_mbox,int dir,int vf,int num_msgs) otx2_forward_vf_mbox_msgs() argument 459 struct otx2_nic *pf; otx2_pfvf_mbox_handler() local 499 struct otx2_nic *pf = vf_mbox->pfvf; otx2_pfvf_mbox_up_handler() local 552 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); otx2_pfvf_mbox_intr_handler() local 579 cn20k_pfvf_mbox_alloc(struct otx2_nic * pf,int numvfs) cn20k_pfvf_mbox_alloc() argument 596 otx2_pfvf_mbox_init(struct otx2_nic * pf,int numvfs) otx2_pfvf_mbox_init() argument 668 otx2_pfvf_mbox_destroy(struct otx2_nic * pf) otx2_pfvf_mbox_destroy() argument 688 otx2_enable_pfvf_mbox_intr(struct otx2_nic * pf,int numvfs) otx2_enable_pfvf_mbox_intr() argument 703 otx2_disable_pfvf_mbox_intr(struct otx2_nic * pf,int numvfs) otx2_disable_pfvf_mbox_intr() argument 725 otx2_register_pfvf_mbox_intr(struct otx2_nic * pf,int numvfs) otx2_register_pfvf_mbox_intr() argument 774 otx2_process_pfaf_mbox_msg(struct otx2_nic * pf,struct mbox_msghdr * msg) otx2_process_pfaf_mbox_msg() argument 850 struct otx2_nic *pf; otx2_pfaf_mbox_handler() local 877 otx2_handle_link_event(struct otx2_nic * pf) otx2_handle_link_event() argument 897 otx2_mbox_up_handler_rep_event_up_notify(struct otx2_nic * pf,struct rep_event * info,struct msg_rsp * rsp) otx2_mbox_up_handler_rep_event_up_notify() argument 926 otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic * pf,struct mcs_intr_info * event,struct msg_rsp * rsp) otx2_mbox_up_handler_mcs_intr_notify() argument 935 otx2_mbox_up_handler_cgx_link_event(struct otx2_nic * pf,struct cgx_link_info_msg * msg,struct msg_rsp * rsp) otx2_mbox_up_handler_cgx_link_event() argument 963 otx2_process_mbox_msg_up(struct otx2_nic * pf,struct mbox_msghdr * req) otx2_process_mbox_msg_up() argument 1010 struct otx2_nic *pf = af_mbox->pfvf; otx2_pfaf_mbox_up_handler() local 1046 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; otx2_pfaf_mbox_intr_handler() local 1099 otx2_disable_mbox_intr(struct otx2_nic * pf) otx2_disable_mbox_intr() argument 1117 otx2_register_mbox_intr(struct otx2_nic * pf,bool probe_af) otx2_register_mbox_intr() argument 1179 otx2_pfaf_mbox_destroy(struct otx2_nic * pf) otx2_pfaf_mbox_destroy() argument 1196 otx2_pfaf_mbox_init(struct otx2_nic * pf) otx2_pfaf_mbox_init() argument 1252 otx2_cgx_config_linkevents(struct otx2_nic * pf,bool enable) otx2_cgx_config_linkevents() argument 1290 otx2_cgx_config_loopback(struct otx2_nic * pf,bool enable) otx2_cgx_config_loopback() argument 1392 struct otx2_nic *pf = data; otx2_q_intr_handler() local 1509 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; otx2_cq_intr_handler() local 1527 otx2_disable_napi(struct otx2_nic * pf) otx2_disable_napi() argument 1545 otx2_free_cq_res(struct otx2_nic * pf) otx2_free_cq_res() argument 1559 otx2_free_sq_res(struct otx2_nic * pf) otx2_free_sq_res() argument 1584 otx2_get_rbuf_size(struct otx2_nic * pf,int mtu) otx2_get_rbuf_size() argument 1612 otx2_init_hw_resources(struct otx2_nic * pf) otx2_init_hw_resources() argument 1746 otx2_free_hw_resources(struct otx2_nic * pf) otx2_free_hw_resources() argument 1842 otx2_do_set_rx_mode(struct otx2_nic * pf) otx2_do_set_rx_mode() argument 1921 otx2_alloc_queue_mem(struct otx2_nic * pf) otx2_alloc_queue_mem() argument 1967 struct otx2_nic *pf = netdev_priv(netdev); otx2_open() local 2152 struct otx2_nic *pf = netdev_priv(netdev); otx2_stop() local 2215 struct otx2_nic *pf = netdev_priv(netdev); otx2_xmit() local 2254 otx2_qos_select_htb_queue(struct otx2_nic * pf,struct sk_buff * skb,u16 htb_maj_id) otx2_qos_select_htb_queue() argument 2273 struct otx2_nic *pf = netdev_priv(netdev); otx2_select_queue() local 2330 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_rx_mode() local 2337 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); otx2_rx_mode_wrk_handler() local 2346 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_features() local 2365 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); otx2_reset_task() local 2517 otx2_do_set_vf_mac(struct otx2_nic * pf,int vf,const u8 * mac) otx2_do_set_vf_mac() argument 2579 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_vf_mac() local 2603 otx2_do_set_vf_vlan(struct otx2_nic * pf,int vf,u16 vlan,u8 qos,__be16 proto) otx2_do_set_vf_vlan() argument 2745 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_vf_vlan() local 2770 struct otx2_nic *pf = netdev_priv(netdev); otx2_get_vf_config() local 2789 otx2_xdp_xmit_tx(struct otx2_nic * pf,struct xdp_frame * xdpf,int qidx) otx2_xdp_xmit_tx() argument 2814 struct otx2_nic *pf = netdev_priv(netdev); otx2_xdp_xmit() local 2843 otx2_xdp_setup(struct otx2_nic * pf,struct bpf_prog * prog) otx2_xdp_setup() argument 2884 struct otx2_nic *pf = netdev_priv(netdev); otx2_xdp() local 2896 otx2_set_vf_permissions(struct otx2_nic * pf,int vf,int req_perm) otx2_set_vf_permissions() argument 2927 struct otx2_nic *pf = netdev_priv(netdev); otx2_ndo_set_vf_trust() local 2975 otx2_wq_init(struct otx2_nic * pf) otx2_wq_init() argument 3004 otx2_realloc_msix_vectors(struct otx2_nic * pf) otx2_realloc_msix_vectors() argument 3028 otx2_sriov_vfcfg_init(struct otx2_nic * pf) otx2_sriov_vfcfg_init() argument 3049 otx2_sriov_vfcfg_cleanup(struct otx2_nic * pf) otx2_sriov_vfcfg_cleanup() argument 3062 otx2_init_rsrc(struct pci_dev * pdev,struct otx2_nic * pf) otx2_init_rsrc() argument 3159 struct otx2_nic *pf; otx2_probe() local 3378 struct otx2_nic *pf; otx2_vf_link_event_task() local 3423 struct otx2_nic *pf = netdev_priv(netdev); otx2_sriov_enable() local 3462 struct otx2_nic *pf = netdev_priv(netdev); otx2_sriov_disable() local 3486 otx2_ndc_sync(struct otx2_nic * pf) otx2_ndc_sync() argument 3512 struct otx2_nic *pf; otx2_remove() local [all...] |
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() argument 18 pf->irq_tracker.num_entries = max_vectors; in ice_init_irq_tracker() 19 pf->irq_tracker.num_static = num_static; in ice_init_irq_tracker() 20 xa_init_flags(&pf->irq_tracker.entries, XA_FLAGS_ALLOC); in ice_init_irq_tracker() 24 ice_init_virt_irq_tracker(struct ice_pf *pf, u32 base, u32 num_entries) in ice_init_virt_irq_tracker() argument 26 pf->virt_irq_tracker.bm = bitmap_zalloc(num_entries, GFP_KERNEL); in ice_init_virt_irq_tracker() 27 if (!pf->virt_irq_tracker.bm) in ice_init_virt_irq_tracker() 30 pf->virt_irq_tracker.num_entries = num_entries; in ice_init_virt_irq_tracker() 31 pf->virt_irq_tracker.base = base; in ice_init_virt_irq_tracker() 40 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() argument [all …]
|
| H A D | ice_ptp.c | 64 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) 66 struct ice_pf *ctrl_pf = ice_get_ctrl_pf(pf); 73 * @pf: Board private structure in ice_ptp_find_pin_idx() argument 79 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx() 82 const struct ptp_clock_info *info = &pf->ptp.info; in ice_ptp_find_pin_idx() 96 * @pf: Board private structure in ice_ptp_cfg_tx_interrupt() 101 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt() 103 struct ice_hw *hw = &pf->hw; in ice_ptp_cfg_tx_interrupt() 107 switch (pf->ptp.tx_interrupt_mode) { in ice_ptp_cfg_tx_interrupt() 120 enable = pf in ice_ptp_cfg_tx_interrupt() 58 ice_get_ctrl_ptp(struct ice_pf * pf) ice_get_ctrl_ptp() argument 95 ice_ptp_cfg_tx_interrupt(struct ice_pf * pf) ice_ptp_cfg_tx_interrupt() argument 132 ice_set_rx_tstamp(struct ice_pf * pf,bool on) ice_set_rx_tstamp() argument 157 ice_ptp_disable_timestamp_mode(struct ice_pf * pf) ice_ptp_disable_timestamp_mode() argument 176 ice_ptp_restore_timestamp_mode(struct ice_pf * pf) ice_ptp_restore_timestamp_mode() argument 199 ice_ptp_read_src_clk_reg(struct ice_pf * pf,struct ptp_system_timestamp * sts) ice_ptp_read_src_clk_reg() argument 337 ice_ptp_extend_40b_ts(struct ice_pf * pf,u64 in_tstamp) ice_ptp_extend_40b_ts() argument 381 struct ice_pf *pf; ice_ptp_req_tx_single_tstamp() local 433 struct ice_pf *pf; ice_ptp_complete_tx_single_tstamp() local 561 struct ice_pf *pf; ice_ptp_process_tx_tstamp() local 676 ice_ptp_tx_tstamp_owner(struct ice_pf * pf) ice_ptp_tx_tstamp_owner() argument 736 ice_ptp_flush_tx_tracker(struct ice_pf * pf,struct ice_ptp_tx * tx) ice_ptp_flush_tx_tracker() argument 807 ice_ptp_flush_all_tx_tracker(struct ice_pf * pf) ice_ptp_flush_all_tx_tracker() argument 823 ice_ptp_release_tx_tracker(struct ice_pf * pf,struct ice_ptp_tx * tx) ice_ptp_release_tx_tracker() argument 861 ice_ptp_init_tx_e82x(struct ice_pf * pf,struct ice_ptp_tx * tx,u8 port) ice_ptp_init_tx_e82x() argument 883 ice_ptp_init_tx(struct ice_pf * pf,struct ice_ptp_tx * tx,u8 port) ice_ptp_init_tx() argument 915 ice_ptp_update_cached_phctime(struct ice_pf * pf) ice_ptp_update_cached_phctime() argument 976 ice_ptp_reset_cached_phctime(struct ice_pf * pf) ice_ptp_reset_cached_phctime() argument 1013 ice_ptp_write_init(struct ice_pf * pf,struct timespec64 * ts) ice_ptp_write_init() argument 1029 ice_ptp_write_adj(struct ice_pf * pf,s32 adj) ice_ptp_write_adj() argument 1045 ice_base_incval(struct ice_pf * pf) ice_base_incval() argument 1066 struct ice_pf *pf; ice_ptp_check_tx_fifo() local 1136 struct ice_pf *pf; ice_ptp_wait_for_offsets() local 1173 struct ice_pf *pf = ptp_port_to_pf(ptp_port); ice_ptp_port_phy_stop() local 1216 struct ice_pf *pf = ptp_port_to_pf(ptp_port); ice_ptp_port_phy_restart() local 1278 ice_ptp_link_change(struct ice_pf * pf,bool linkup) ice_ptp_link_change() argument 1362 ice_ptp_cfg_phy_interrupt(struct ice_pf * pf,bool ena,u32 threshold) ice_ptp_cfg_phy_interrupt() argument 1416 ice_ptp_reset_phy_timestamping(struct ice_pf * pf) ice_ptp_reset_phy_timestamping() argument 1425 ice_ptp_restart_all_phy(struct ice_pf * pf) ice_ptp_restart_all_phy() argument 1449 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_adjfine() local 1469 ice_ptp_extts_event(struct ice_pf * pf) ice_ptp_extts_event() argument 1523 ice_ptp_cfg_extts(struct ice_pf * pf,struct ptp_extts_request * rq,int on) ice_ptp_cfg_extts() argument 1591 ice_ptp_disable_all_extts(struct ice_pf * pf) ice_ptp_disable_all_extts() argument 1607 ice_ptp_enable_all_extts(struct ice_pf * pf) ice_ptp_enable_all_extts() argument 1694 ice_ptp_cfg_perout(struct ice_pf * pf,struct ptp_perout_request * rq,int on) ice_ptp_cfg_perout() argument 1757 ice_ptp_disable_all_perout(struct ice_pf * pf) ice_ptp_disable_all_perout() argument 1774 ice_ptp_enable_all_perout(struct ice_pf * pf) ice_ptp_enable_all_perout() argument 1795 struct ice_pf *pf = ptp_info_to_pf(info); ice_verify_pin() local 1831 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_gpio_enable() local 1880 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_gettimex64() local 1899 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_settime64() local 1968 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_adjtime() local 2074 struct ice_pf *pf; global() member 2096 struct ice_pf *pf; ice_capture_crosststamp() local 2178 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_getcrosststamp() local 2212 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_ptp_hwtstamp_get() local 2227 ice_ptp_set_timestamp_mode(struct ice_pf * pf,struct kernel_hwtstamp_config * config) ice_ptp_set_timestamp_mode() argument 2283 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_ptp_hwtstamp_set() local 2337 ice_ptp_setup_pin_cfg(struct ice_pf * pf) ice_ptp_setup_pin_cfg() argument 2364 ice_ptp_disable_pins(struct ice_pf * pf) ice_ptp_disable_pins() argument 2386 ice_ptp_parse_sdp_entries(struct ice_pf * pf,__le16 * entries,unsigned int num_entries,struct ice_ptp_pin_desc * pins) ice_ptp_parse_sdp_entries() argument 2448 ice_ptp_set_funcs_e82x(struct ice_pf * pf) ice_ptp_set_funcs_e82x() argument 2471 ice_ptp_set_funcs_e810(struct ice_pf * pf) ice_ptp_set_funcs_e810() argument 2523 ice_ptp_set_funcs_e830(struct ice_pf * pf) ice_ptp_set_funcs_e830() argument 2540 ice_ptp_set_caps(struct ice_pf * pf) ice_ptp_set_caps() argument 2588 ice_ptp_create_clock(struct ice_pf * pf) ice_ptp_create_clock() argument 2660 ice_ptp_process_ts(struct ice_pf * pf) ice_ptp_process_ts() argument 2695 ice_any_port_has_timestamps(struct ice_pf * pf) ice_any_port_has_timestamps() argument 2712 ice_ptp_tx_tstamps_pending(struct ice_pf * pf) ice_ptp_tx_tstamps_pending() argument 2758 ice_ptp_ts_irq(struct ice_pf * pf) ice_ptp_ts_irq() argument 2828 ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf * pf) ice_ptp_maybe_trigger_tx_interrupt() argument 2855 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); ice_ptp_periodic_work() local 2877 ice_ptp_queue_work(struct ice_pf * pf) ice_ptp_queue_work() argument 2890 ice_ptp_prepare_rebuild_sec(struct ice_pf * pf,bool rebuild,enum ice_reset_req reset_type) ice_ptp_prepare_rebuild_sec() argument 2920 ice_ptp_prepare_for_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_ptp_prepare_for_reset() argument 2963 ice_ptp_rebuild_owner(struct ice_pf * pf) ice_ptp_rebuild_owner() argument 3035 ice_ptp_rebuild(struct ice_pf * pf,enum ice_reset_req reset_type) ice_ptp_rebuild() argument 3069 ice_ptp_setup_adapter(struct ice_pf * pf) ice_ptp_setup_adapter() argument 3074 ice_ptp_setup_pf(struct ice_pf * pf) ice_ptp_setup_pf() argument 3113 ice_ptp_cleanup_pf(struct ice_pf * pf) ice_ptp_cleanup_pf() argument 3131 ice_ptp_clock_index(struct ice_pf * pf) ice_ptp_clock_index() argument 3151 ice_ptp_init_owner(struct ice_pf * pf) ice_ptp_init_owner() argument 3217 ice_ptp_init_work(struct ice_pf * pf,struct ice_ptp * ptp) ice_ptp_init_work() argument 3247 ice_ptp_init_port(struct ice_pf * pf,struct ice_ptp_port * ptp_port) ice_ptp_init_port() argument 3277 ice_ptp_init_tx_interrupt_mode(struct ice_pf * pf) ice_ptp_init_tx_interrupt_mode() argument 3308 ice_ptp_init(struct ice_pf * pf) ice_ptp_init() argument 3396 ice_ptp_release(struct ice_pf * pf) ice_ptp_release() argument [all...] |
| H A D | ice_dpll.c | 97 * @pf: private board structure 111 static bool ice_dpll_is_sw_pin(struct ice_pf *pf, u8 index, bool input) in ice_dpll_is_sw_pin() 113 if (input && pf->hw.device_id == ICE_DEV_ID_E810C_QSFP) in ice_dpll_is_sw_pin() 127 * @pf: private board structure 136 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() 138 if (ice_is_reset_in_progress(pf->state)) { in ice_dpll_is_reset() 147 * @pf: private board structure 155 * Context: Called under pf->dplls.lock 161 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() 171 ret = ice_aq_set_input_pin_cfg(&pf in ice_dpll_pin_freq_set() 108 ice_dpll_is_sw_pin(struct ice_pf * pf,u8 index,bool input) ice_dpll_is_sw_pin() argument 133 ice_dpll_is_reset(struct ice_pf * pf,struct netlink_ext_ack * extack) ice_dpll_is_reset() argument 158 ice_dpll_pin_freq_set(struct ice_pf * pf,struct ice_dpll_pin * pin,enum ice_dpll_pin_type pin_type,const u32 freq,struct netlink_ext_ack * extack) ice_dpll_pin_freq_set() argument 218 struct ice_pf *pf = d->pf; ice_dpll_frequency_set() local 306 struct ice_pf *pf = d->pf; ice_dpll_frequency_get() local 566 ice_dpll_rclk_update_e825c(struct ice_pf * pf,struct ice_dpll_pin * pin) ice_dpll_rclk_update_e825c() argument 608 ice_dpll_rclk_update(struct ice_pf * pf,struct ice_dpll_pin * pin,u8 port_num) ice_dpll_rclk_update() argument 642 ice_dpll_sw_pins_update(struct ice_pf * pf) ice_dpll_sw_pins_update() argument 707 ice_dpll_pin_state_update(struct ice_pf * pf,struct ice_dpll_pin * pin,enum ice_dpll_pin_type pin_type,struct netlink_ext_ack * extack) ice_dpll_pin_state_update() argument 821 ice_dpll_hw_input_prio_set(struct ice_pf * pf,struct ice_dpll * dpll,struct ice_dpll_pin * pin,const u32 prio,struct netlink_ext_ack * extack) ice_dpll_hw_input_prio_set() argument 863 struct ice_pf *pf = d->pf; ice_dpll_lock_status_get() local 891 struct ice_pf *pf = d->pf; ice_dpll_mode_get() local 918 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_monitor_set() local 949 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_monitor_get() local 986 struct ice_pf *pf = d->pf; ice_dpll_pin_state_set() local 1094 struct ice_pf *pf = d->pf; ice_dpll_pin_state_get() local 1300 struct ice_pf *pf = p->pf; ice_dpll_ufl_pin_state_set() local 1412 struct ice_pf *pf = p->pf; ice_dpll_sw_pin_state_get() local 1468 struct ice_pf *pf = sma->pf; ice_dpll_sma_pin_state_set() local 1531 struct ice_pf *pf = d->pf; ice_dpll_input_prio_get() local 1563 struct ice_pf *pf = d->pf; ice_dpll_input_prio_set() local 1583 struct ice_pf *pf = d->pf; ice_dpll_sw_input_prio_get() local 1602 struct ice_pf *pf = d->pf; ice_dpll_sw_input_prio_set() local 1690 struct ice_pf *pf = p->pf; ice_dpll_pin_sma_direction_set() local 1728 struct ice_pf *pf = p->pf; ice_dpll_pin_sw_direction_get() local 1762 struct ice_pf *pf = p->pf; ice_dpll_pin_phase_adjust_get() local 1798 struct ice_pf *pf = d->pf; ice_dpll_pin_phase_adjust_set() local 2000 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_get() local 2076 struct ice_pf *pf = d->pf; ice_dpll_output_esync_set() local 2132 struct ice_pf *pf = d->pf; ice_dpll_output_esync_get() local 2180 struct ice_pf *pf = d->pf; ice_dpll_input_esync_set() local 2236 struct ice_pf *pf = d->pf; ice_dpll_input_esync_get() local 2354 struct ice_pf *pf = p->pf; ice_dpll_input_ref_sync_set() local 2399 struct ice_pf *pf = p->pf; ice_dpll_input_ref_sync_get() local 2520 struct ice_pf *pf = p->pf; ice_dpll_rclk_state_on_pin_set() local 2589 struct ice_pf *pf = p->pf; ice_dpll_rclk_state_on_pin_get() local 2641 struct ice_pf *pf = container_of(dplls, struct ice_pf, dplls); ice_dpll_txclk_work() local 2716 struct ice_pf *pf = p->pf; ice_dpll_txclk_state_on_dpll_set() local 2790 struct ice_pf *pf = p->pf; ice_dpll_txclk_state_on_dpll_get() local 2900 ice_generate_clock_id(struct ice_pf * pf) ice_generate_clock_id() argument 2968 ice_dpll_is_pps_phase_monitor(struct ice_pf * pf) ice_dpll_is_pps_phase_monitor() argument 3016 ice_dpll_pps_update_phase_offsets(struct ice_pf * pf,u32 * phase_offset_pins_updated) ice_dpll_pps_update_phase_offsets() argument 3076 ice_dpll_update_state(struct ice_pf * pf,struct ice_dpll * d,bool init) ice_dpll_update_state() argument 3147 struct ice_pf *pf = container_of(d, struct ice_pf, dplls); ice_dpll_periodic_work() local 3201 ice_dpll_init_ref_sync_inputs(struct ice_pf * pf) ice_dpll_init_ref_sync_inputs() argument 3304 ice_dpll_get_pins(struct ice_pf * pf,struct ice_dpll_pin * pins,int start_idx,int count,u64 clock_id) ice_dpll_get_pins() argument 3435 ice_dpll_deinit_direct_pins(struct ice_pf * pf,bool cgu,struct ice_dpll_pin * pins,int count,const struct dpll_pin_ops * ops,struct dpll_device * first,struct dpll_device * second) ice_dpll_deinit_direct_pins() argument 3467 ice_dpll_init_direct_pins(struct ice_pf * pf,bool cgu,struct ice_dpll_pin * pins,int start_idx,int count,const struct dpll_pin_ops * ops,struct dpll_device * first,struct dpll_device * second) ice_dpll_init_direct_pins() argument 3501 ice_dpll_deinit_rclk_pin(struct ice_pf * pf) ice_dpll_deinit_rclk_pin() argument 3539 struct ice_pf *pf = parent->pf; ice_dpll_pin_notify_work() local 3679 ice_dpll_init_pin_common(struct ice_pf * pf,struct ice_dpll_pin * pin,int start_idx,const struct dpll_pin_ops * ops) ice_dpll_init_pin_common() argument 3737 ice_dpll_init_rclk_pin(struct ice_pf * pf,int start_idx,const struct dpll_pin_ops * ops) ice_dpll_init_rclk_pin() argument 3779 ice_dpll_deinit_fwnode_pins(struct ice_pf * pf,struct ice_dpll_pin * pins,int start_idx) ice_dpll_deinit_fwnode_pins() argument 3789 ice_dpll_deinit_txclk_pins(struct ice_pf * pf) ice_dpll_deinit_txclk_pins() argument 3817 ice_dpll_deinit_pins(struct ice_pf * pf,bool cgu) ice_dpll_deinit_pins() argument 3861 ice_dpll_pin_node_get(struct ice_pf * pf,const char * name) ice_dpll_pin_node_get() argument 3876 struct ice_pf *pf = pin->pf; ice_dpll_init_fwnode_pin() local 3934 ice_dpll_init_fwnode_pins(struct ice_pf * pf,struct ice_dpll_pin * pins,int start_idx) ice_dpll_init_fwnode_pins() argument 3967 ice_dpll_init_txclk_pins(struct ice_pf * pf,int start_idx) ice_dpll_init_txclk_pins() argument 4037 ice_dpll_init_pins_e825(struct ice_pf * pf) ice_dpll_init_pins_e825() argument 4079 ice_dpll_init_pins(struct ice_pf * pf,bool cgu) ice_dpll_init_pins() argument 4172 ice_dpll_deinit_dpll(struct ice_pf * pf,struct ice_dpll * d,bool cgu) ice_dpll_deinit_dpll() argument 4194 ice_dpll_init_dpll(struct ice_pf * pf,struct ice_dpll * d,bool cgu,enum dpll_type type) ice_dpll_init_dpll() argument 4234 ice_dpll_deinit_worker(struct ice_pf * pf) ice_dpll_deinit_worker() argument 4253 ice_dpll_init_worker(struct ice_pf * pf) ice_dpll_init_worker() argument 4293 ice_dpll_init_info_pins_generic(struct ice_pf * pf,bool input) ice_dpll_init_info_pins_generic() argument 4362 ice_dpll_init_info_direct_pins(struct ice_pf * pf,enum ice_dpll_pin_type pin_type) ice_dpll_init_info_direct_pins() argument 4446 ice_dpll_init_info_pin_on_pin_e825c(struct ice_pf * pf) ice_dpll_init_info_pin_on_pin_e825c() argument 4467 ice_dpll_init_info_rclk_pin(struct ice_pf * pf) ice_dpll_init_info_rclk_pin() argument 4490 ice_dpll_init_info_sw_pins(struct ice_pf * pf) ice_dpll_init_info_sw_pins() argument 4590 ice_dpll_init_info_txclk_pins_e825c(struct ice_pf * pf) ice_dpll_init_info_txclk_pins_e825c() argument 4623 ice_dpll_init_pins_info(struct ice_pf * pf,enum ice_dpll_pin_type pin_type) ice_dpll_init_pins_info() argument 4650 ice_dpll_deinit_info(struct ice_pf * pf) ice_dpll_deinit_info() argument 4673 ice_dpll_init_info_e825c(struct ice_pf * pf) ice_dpll_init_info_e825c() argument 4726 ice_dpll_init_info(struct ice_pf * pf,bool cgu) ice_dpll_init_info() argument 4829 ice_dpll_deinit(struct ice_pf * pf) ice_dpll_deinit() argument 4879 ice_dpll_init_e825(struct ice_pf * pf) ice_dpll_init_e825() argument 4937 ice_dpll_init_e810(struct ice_pf * pf) ice_dpll_init_e810() argument 4978 ice_dpll_init(struct ice_pf * pf) ice_dpll_init() argument [all...] |
| H A D | ice_idc.c | 38 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_rdma_event *event) in ice_send_event_to_aux() argument 46 cdev = pf->cdev_info; in ice_send_event_to_aux() 50 mutex_lock(&pf->adev_mutex); in ice_send_event_to_aux() 60 mutex_unlock(&pf->adev_mutex); in ice_send_event_to_aux() 76 struct ice_pf *pf; in ice_add_rdma_qset() local 85 pf = pci_get_drvdata(cdev->pdev); in ice_add_rdma_qset() 86 dev = ice_pf_to_dev(pf); in ice_add_rdma_qset() 88 if (!ice_is_rdma_ena(pf)) in ice_add_rdma_qset() 91 vsi = ice_get_main_vsi(pf); in ice_add_rdma_qset() 133 struct ice_pf *pf; in ice_del_rdma_qset() local [all …]
|
| H A D | ice_main.c | 69 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 71 return &pf->pdev->dev; in ice_hw_to_dev() 79 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 81 static void ice_vsi_release_all(struct ice_pf *pf); 83 static int ice_rebuild_channels(struct ice_pf *pf); 117 * @pf: pointer to PF struct 119 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 127 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask() 128 if (pf->vsi[v] && pf in ice_check_for_hang_subtask() 187 ice_init_mac_fltr(struct ice_pf * pf) ice_init_mac_fltr() argument 332 struct ice_pf *pf = vsi->back; ice_vsi_sync_fltr() local 489 ice_sync_fltr_subtask(struct ice_pf * pf) ice_sync_fltr_subtask() argument 512 ice_pf_dis_all_vsi(struct ice_pf * pf,bool locked) ice_pf_dis_all_vsi() argument 536 ice_prepare_for_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_prepare_for_reset() argument 629 ice_do_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_do_reset() argument 674 ice_reset_subtask(struct ice_pf * pf) ice_reset_subtask() argument 947 ice_set_dflt_mib(struct ice_pf * pf) ice_set_dflt_mib() argument 1031 ice_check_phy_fw_load(struct ice_pf * pf,u8 link_cfg_err) ice_check_phy_fw_load() argument 1055 ice_check_module_power(struct ice_pf * pf,u8 link_cfg_err) ice_check_module_power() argument 1087 ice_check_link_cfg_err(struct ice_pf * pf,u8 link_cfg_err) ice_check_link_cfg_err() argument 1103 ice_link_event(struct ice_pf * pf,struct ice_port_info * pi,bool link_up,u16 link_speed) ice_link_event() argument 1175 ice_watchdog_subtask(struct ice_pf * pf) ice_watchdog_subtask() argument 1235 ice_handle_link_event(struct ice_pf * pf,struct ice_rq_event_info * event) ice_handle_link_event() argument 1272 ice_aq_prep_for_event(struct ice_pf * pf,struct ice_aq_task * task,u16 opcode) ice_aq_prep_for_event() argument 1296 ice_aq_wait_for_event(struct ice_pf * pf,struct ice_aq_task * task,unsigned long timeout) ice_aq_wait_for_event() argument 1358 ice_aq_check_events(struct ice_pf * pf,u16 opcode,struct ice_rq_event_info * event) ice_aq_check_events() argument 1399 ice_aq_cancel_waiting_tasks(struct ice_pf * pf) ice_aq_cancel_waiting_tasks() argument 1418 __ice_clean_ctrlq(struct ice_pf * pf,enum ice_ctl_q q_type) __ice_clean_ctrlq() argument 1586 ice_clean_adminq_subtask(struct ice_pf * pf) ice_clean_adminq_subtask() argument 1613 ice_clean_mailboxq_subtask(struct ice_pf * pf) ice_clean_mailboxq_subtask() argument 1635 ice_clean_sbq_subtask(struct ice_pf * pf) ice_clean_sbq_subtask() argument 1667 ice_service_task_schedule(struct ice_pf * pf) ice_service_task_schedule() argument 1679 ice_service_task_complete(struct ice_pf * pf) ice_service_task_complete() argument 1695 ice_service_task_stop(struct ice_pf * pf) ice_service_task_stop() argument 1716 ice_service_task_restart(struct ice_pf * pf) ice_service_task_restart() argument 1728 struct ice_pf *pf = timer_container_of(pf, t, serv_tmr); ice_service_timer() local 1745 ice_mdd_maybe_reset_vf(struct ice_pf * pf,struct ice_vf * vf,bool reset_vf_tx,bool reset_vf_rx) ice_mdd_maybe_reset_vf() argument 1777 ice_handle_mdd_event(struct ice_pf * pf) ice_handle_mdd_event() argument 1934 struct ice_pf *pf = pi->hw->back; ice_init_nvm_phy_type() local 1966 struct ice_pf *pf = pi->hw->back; ice_init_link_dflt_override() local 2004 struct ice_pf *pf = pi->hw->back; ice_init_phy_cfg_dflt_override() local 2043 struct ice_pf *pf = pi->hw->back; ice_init_phy_user_cfg() local 2117 struct ice_pf *pf = vsi->back; ice_phy_cfg() local 2233 ice_check_media_subtask(struct ice_pf * pf) ice_check_media_subtask() argument 2278 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); ice_service_task_recovery_mode() local 2294 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); ice_service_task() local 2406 ice_schedule_reset(struct ice_pf * pf,enum ice_reset_req reset) ice_schedule_reset() argument 2463 struct ice_pf *pf = vsi->back; ice_vsi_req_irq_msix() local 2685 struct ice_pf *pf = vsi->back; ice_prepare_xdp_rings() local 2786 struct ice_pf *pf = vsi->back; ice_destroy_xdp_rings() local 3015 ice_ena_misc_vector(struct ice_pf * pf) ice_ena_misc_vector() argument 3062 struct ice_pf *pf = data; ice_ll_ts_intr() local 3099 struct ice_pf *pf = (struct ice_pf *)data; ice_misc_intr() local 3236 struct ice_pf *pf = data; ice_misc_intr_thread_fn() local 3290 ice_free_irq_msix_ll_ts(struct ice_pf * pf) ice_free_irq_msix_ll_ts() argument 3304 ice_free_irq_msix_misc(struct ice_pf * pf) ice_free_irq_msix_misc() argument 3364 ice_req_irq_msix_misc(struct ice_pf * pf) ice_req_irq_msix_misc() argument 3446 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_ops() local 3474 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_netdev_features() local 3590 ice_pf_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_pf_vsi_setup() argument 3602 ice_chnl_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi,struct ice_channel * ch) ice_chnl_vsi_setup() argument 3624 ice_ctrl_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_ctrl_vsi_setup() argument 3644 ice_lb_vsi_setup(struct ice_pf * pf,struct ice_port_info * pi) ice_lb_vsi_setup() argument 3852 ice_get_avail_txq_count(struct ice_pf * pf) ice_get_avail_txq_count() argument 3862 ice_get_avail_rxq_count(struct ice_pf * pf) ice_get_avail_rxq_count() argument 3872 ice_deinit_pf(struct ice_pf * pf) ice_deinit_pf() argument 3912 ice_set_pf_caps(struct ice_pf * pf) ice_set_pf_caps() argument 3957 ice_start_service_task(struct ice_pf * pf) ice_start_service_task() argument 3970 ice_init_pf(struct ice_pf * pf) ice_init_pf() argument 4066 struct ice_pf *pf = vsi->back; ice_vsi_recfg_qs() local 4130 ice_set_safe_mode_vlan_cfg(struct ice_pf * pf) ice_set_safe_mode_vlan_cfg() argument 4183 struct ice_pf *pf = hw->back; ice_log_pkg_init() local 4266 ice_load_pkg(const struct firmware * firmware,struct ice_pf * pf) ice_load_pkg() argument 4305 ice_verify_cacheline_size(struct ice_pf * pf) ice_verify_cacheline_size() argument 4318 ice_send_version(struct ice_pf * pf) ice_send_version() argument 4337 ice_init_fdir(struct ice_pf * pf) ice_init_fdir() argument 4378 ice_deinit_fdir(struct ice_pf * pf) ice_deinit_fdir() argument 4399 ice_get_opt_fw_name(struct ice_pf * pf) ice_get_opt_fw_name() argument 4432 ice_request_fw(struct ice_pf * pf,const struct firmware ** firmware) ice_request_fw() argument 4466 struct ice_pf *pf = hw->back; ice_init_tx_topology() local 4511 ice_init_supported_rxdids(struct ice_hw * hw,struct ice_pf * pf) ice_init_supported_rxdids() argument 4535 ice_init_ddp_config(struct ice_hw * hw,struct ice_pf * pf) ice_init_ddp_config() argument 4569 ice_print_wake_reason(struct ice_pf * pf) ice_print_wake_reason() argument 4671 ice_init_dev_hw(struct ice_pf * pf) ice_init_dev_hw() argument 4694 ice_init_dev(struct ice_pf * pf) ice_init_dev() argument 4711 ice_deinit_dev(struct ice_pf * pf) ice_deinit_dev() argument 4721 ice_init_features(struct ice_pf * pf) ice_init_features() argument 4757 ice_deinit_features(struct ice_pf * pf) ice_deinit_features() argument 4777 ice_init_wakeup(struct ice_pf * pf) ice_init_wakeup() argument 4792 ice_init_link(struct ice_pf * pf) ice_init_link() argument 4841 ice_init_pf_sw(struct ice_pf * pf) ice_init_pf_sw() argument 4880 ice_deinit_pf_sw(struct ice_pf * pf) ice_deinit_pf_sw() argument 4891 ice_alloc_vsis(struct ice_pf * pf) ice_alloc_vsis() argument 4921 ice_dealloc_vsis(struct ice_pf * pf) ice_dealloc_vsis() argument 4931 ice_init_devlink(struct ice_pf * pf) ice_init_devlink() argument 4946 ice_deinit_devlink(struct ice_pf * pf) ice_deinit_devlink() argument 4954 ice_init(struct ice_pf * pf) ice_init() argument 5013 ice_deinit(struct ice_pf * pf) ice_deinit() argument 5029 ice_load(struct ice_pf * pf) ice_load() argument 5102 ice_unload(struct ice_pf * pf) ice_unload() argument 5117 ice_probe_recovery_mode(struct ice_pf * pf) ice_probe_recovery_mode() argument 5160 struct ice_pf *pf; ice_probe() local 5299 ice_set_wake(struct ice_pf * pf) ice_set_wake() argument 5322 ice_setup_mc_magic_wake(struct ice_pf * pf) ice_setup_mc_magic_wake() argument 5360 struct ice_pf *pf = pci_get_drvdata(pdev); ice_remove() local 5412 struct ice_pf *pf = pci_get_drvdata(pdev); ice_shutdown() local 5428 ice_prepare_for_shutdown(struct ice_pf * pf) ice_prepare_for_shutdown() argument 5459 ice_reinit_interrupt_scheme(struct ice_pf * pf) ice_reinit_interrupt_scheme() argument 5519 struct ice_pf *pf; ice_suspend() local 5591 struct ice_pf *pf; ice_resume() local 5664 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_detected() local 5693 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_slot_reset() local 5728 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_resume() local 5755 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_reset_prepare() local 5944 struct ice_pf *pf = vsi->back; ice_set_mac_address() local 6447 struct ice_pf *pf = vsi->back; ice_set_features() local 6724 struct ice_pf *pf = vsi->back; ice_up_complete() local 6915 struct ice_pf *pf = vsi->back; ice_update_vsi_ring_stats() local 6970 struct ice_pf *pf = vsi->back; ice_update_vsi_stats() local 7005 ice_update_pf_stats(struct ice_pf * pf) ice_update_pf_stats() argument 7224 struct ice_pf *pf = vsi->back; ice_vsi_dis_irq() local 7420 struct ice_pf *pf = vsi->back; ice_vsi_open_ctrl() local 7476 struct ice_pf *pf = vsi->back; ice_vsi_open() local 7536 ice_vsi_release_all(struct ice_pf * pf) ice_vsi_release_all() argument 7564 ice_vsi_rebuild_by_type(struct ice_pf * pf,enum ice_vsi_type type) ice_vsi_rebuild_by_type() argument 7615 ice_update_pf_netdev_link(struct ice_pf * pf) ice_update_pf_netdev_link() argument 7647 ice_rebuild(struct ice_pf * pf,enum ice_reset_req reset_type) ice_rebuild() argument 7846 struct ice_pf *pf = vsi->back; ice_change_mtu() local 8096 struct ice_pf *pf = ice_netdev_to_pf(dev); ice_bridge_getlink() local 8166 struct ice_pf *pf = ice_netdev_to_pf(dev); ice_bridge_setlink() local 8227 struct ice_pf *pf = vsi->back; ice_tx_timeout() local 8392 struct ice_pf *pf = vsi->back; ice_validate_mqprio_qopt() local 8523 ice_add_vsi_to_fdir(struct ice_pf * pf,struct ice_vsi * vsi) ice_add_vsi_to_fdir() argument 8586 ice_add_channel(struct ice_pf * pf,u16 sw_id,struct ice_channel * ch) ice_add_channel() argument 8704 ice_setup_hw_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch,u16 sw_id,u8 type) ice_setup_hw_channel() argument 8742 ice_setup_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch) ice_setup_channel() argument 8795 struct ice_pf *pf = vsi->back; ice_create_q_channel() local 8843 ice_rem_all_chnl_fltrs(struct ice_pf * pf) ice_rem_all_chnl_fltrs() argument 8897 struct ice_pf *pf = vsi->back; ice_remove_q_channels() local 8971 ice_rebuild_channels(struct ice_pf * pf) ice_rebuild_channels() argument 9087 struct ice_pf *pf = vsi->back; ice_create_q_channels() local 9145 struct ice_pf *pf = vsi->back; ice_setup_tc_mqprio_qdisc() local 9321 struct ice_pf *pf; ice_cfg_txtime() local 9362 struct ice_pf *pf = np->vsi->back; ice_offload_txtime() local 9409 struct ice_pf *pf = np->vsi->back; ice_setup_tc() local 9600 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_open() local 9623 struct ice_pf *pf = vsi->back; ice_open_internal() local 9688 struct ice_pf *pf = vsi->back; ice_stop() local [all...] |
| H A D | ice_eswitch.c | 20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() argument 22 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_setup_env() 31 ice_remove_vsi_fltr(&pf->hw, uplink_vsi->idx); in ice_eswitch_setup_env() 89 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() argument 109 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() argument 111 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_setup_repr() 176 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local 180 if (!ice_is_switchdev_running(pf)) in ice_eswitch_update_repr() 183 repr = xa_load(&pf->eswitch.reprs, *repr_id); in ice_eswitch_update_repr() 195 dev_err(ice_pf_to_dev(pf), "Failed to update VSI of port representor %d", in ice_eswitch_update_repr() [all …]
|
| H A D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() local 18 while (ice_is_reset_in_progress(pf->state)) in ice_dcbnl_devreset() 35 struct ice_pf *pf; in ice_dcbnl_getets() local 37 pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getets() 38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets() 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() local 69 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_setets() 70 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ice_dcbnl_setets() 73 if (pf->lag && pf in ice_dcbnl_setets() 134 struct ice_pf *pf = ice_netdev_to_pf(dev); ice_dcbnl_getnumtcs() local 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_getdcbx() local 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_setdcbx() local 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_perm_hw_addr() local 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_getpfc() local 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_setpfc() local 308 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_pfc_cfg() local 331 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_set_pfc_cfg() local 364 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_getpfcstate() local 380 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_getstate() local 396 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_setstate() local 438 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_pg_tc_cfg_tx() local 468 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_set_pg_tc_cfg_tx() local 504 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_pg_bwg_cfg_tx() local 528 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_set_pg_bwg_cfg_tx() local 563 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_pg_tc_cfg_rx() local 595 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_set_pg_tc_cfg_rx() local 610 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_pg_bwg_cfg_rx() local 631 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_set_pg_bwg_cfg_rx() local 644 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_get_cap() local 692 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_getapp() local 735 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_setapp() local 869 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_delapp() local 977 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_dcbnl_cee_set_all() local 1044 struct ice_pf *pf; ice_dcbnl_set_all() local 1113 ice_dcbnl_flush_apps(struct ice_pf * pf,struct ice_dcbx_cfg * old_cfg,struct ice_dcbx_cfg * new_cfg) ice_dcbnl_flush_apps() argument 1138 struct ice_pf *pf; ice_dcbnl_setup() local [all...] |
| H A D | ice_sriov.c | 19 * @pf: pointer to the PF structure 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() argument 26 struct ice_vfs *vfs = &pf->vfs; in ice_free_vf_entries() 50 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 77 wr32(&pf->hw, GLINT_DYN_CTL(i), GLINT_DYN_CTL_CLEARPBA_M); in ice_free_vf_res() 78 ice_flush(&pf->hw); in ice_free_vf_res() 91 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 97 hw = &pf in ice_dis_vf_mappings() 131 ice_free_vfs(struct ice_pf * pf) ice_free_vfs() argument 200 struct ice_pf *pf = vf->pf; ice_vf_vsi_setup() local 234 struct ice_pf *pf = vf->pf; ice_ena_vf_msix_mappings() local 371 ice_set_per_vf_res(struct ice_pf * pf,u16 num_vfs) ice_set_per_vf_res() argument 440 struct ice_pf *pf = vf->pf; ice_init_vf_vsi_res() local 467 ice_start_vfs(struct ice_pf * pf) ice_start_vfs() argument 554 struct ice_pf *pf = vf->pf; ice_sriov_clear_mbx_register() local 569 struct ice_pf *pf = vf->pf; ice_sriov_trigger_reset_register() local 616 struct ice_pf *pf = vf->pf; ice_sriov_poll_reset_status() local 685 ice_create_vf_entries(struct ice_pf * pf,u16 num_vfs) ice_create_vf_entries() argument 744 ice_ena_vfs(struct ice_pf * pf,u16 num_vfs) ice_ena_vfs() argument 812 ice_pci_sriov_ena(struct ice_pf * pf,int num_vfs) ice_pci_sriov_ena() argument 843 ice_check_sriov_allowed(struct ice_pf * pf) ice_check_sriov_allowed() argument 873 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_get_vf_total_msix() local 878 ice_sriov_remap_vectors(struct ice_pf * pf,u16 restricted_id) ice_sriov_remap_vectors() argument 933 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_set_msix_vec_count() local 1043 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_configure() local 1075 ice_process_vflr_event(struct ice_pf * pf) ice_process_vflr_event() argument 1113 ice_get_vf_from_pfq(struct ice_pf * pf,u16 pfq) ice_get_vf_from_pfq() argument 1149 ice_globalq_to_pfq(struct ice_pf * pf,u32 globalq) ice_globalq_to_pfq() argument 1164 ice_vf_lan_overflow_event(struct ice_pf * pf,struct ice_rq_event_info * event) ice_vf_lan_overflow_event() argument 1195 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_spoofchk() local 1255 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_cfg() local 1301 __ice_set_vf_mac(struct ice_pf * pf,u16 vf_id,const u8 * mac) __ice_set_vf_mac() argument 1393 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_trust() local 1451 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_link_state() local 1491 ice_calc_all_vfs_min_tx_rate(struct ice_pf * pf) ice_calc_all_vfs_min_tx_rate() argument 1555 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_bw() local 1624 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_stats() local 1706 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_port_vlan() local 1767 struct ice_pf *pf = vf->pf; ice_print_vf_rx_mdd_event() local 1785 struct ice_pf *pf = vf->pf; ice_print_vf_tx_mdd_event() local 1803 ice_print_vfs_mdd_events(struct ice_pf * pf) ice_print_vfs_mdd_events() argument 1844 ice_restore_all_vfs_msi_state(struct ice_pf * pf) ice_restore_all_vfs_msi_state() argument [all...] |
| H A D | ice_gnss.c | 21 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write() argument 24 struct ice_hw *hw = &pf->hw; in ice_gnss_do_write() 73 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", in ice_gnss_do_write() 92 struct ice_pf *pf; in ice_gnss_read() local 99 pf = gnss->back; in ice_gnss_read() 100 if (!pf || !test_bit(ICE_FLAG_GNSS, pf->flags)) in ice_gnss_read() 103 hw = &pf->hw; in ice_gnss_read() 148 count = gnss_insert_raw(pf->gnss_dev, buf, i); in ice_gnss_read() 150 dev_warn(ice_pf_to_dev(pf), in ice_gnss_read() 159 dev_dbg(ice_pf_to_dev(pf), "GNSS failed to read err=%d\n", err); in ice_gnss_read() [all …]
|
| H A D | ice_dcb_lib.c | 31 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() argument 38 vsi = ice_get_main_vsi(pf); in ice_is_pfc_causing_hung_q() 56 up2tc = rd32(&pf->hw, PRTDCB_TUP2TC); in ice_is_pfc_causing_hung_q() 70 ref_prio_xoff[i] = pf->stats.priority_xoff_rx[i]; in ice_is_pfc_causing_hung_q() 72 ice_update_dcb_stats(pf); in ice_is_pfc_causing_hung_q() 76 if (pf->stats.priority_xoff_rx[i] > ref_prio_xoff[i]) in ice_is_pfc_causing_hung_q() 283 static void ice_dcb_ena_dis_vsi(struct ice_pf *pf, bool ena, bool locked) in ice_dcb_ena_dis_vsi() argument 287 ice_for_each_vsi(pf, i) { in ice_dcb_ena_dis_vsi() 288 struct ice_vsi *vsi = pf->vsi[i]; in ice_dcb_ena_dis_vsi() 312 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() argument [all …]
|
| H A D | ice_dcb_lib.h | 17 void ice_dcb_rebuild(struct ice_pf *pf); 18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked); 21 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue); 24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked); 25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg); 26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked); 28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked); 29 void ice_update_dcb_stats(struct ice_pf *pf); 34 ice_setup_dcb_qos_info(struct ice_pf *pf, 37 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 37 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local 40 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets() 43 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets() 75 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local 77 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc() 80 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc() 91 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in i40e_dcbnl_ieee_getpfc() 92 pfc->indications[i] = pf->stats.priority_xoff_rx[i]; in i40e_dcbnl_ieee_getpfc() 108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local 112 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setets() [all …]
|
| H A D | i40e_debugfs.c | 25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() argument 28 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi() 33 return i40e_pf_get_vsi_by_seid(pf, seid); in i40e_dbg_find_vsi() 58 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() argument 65 vsi = i40e_dbg_find_vsi(pf, seid); in i40e_dbg_dump_vsi_seid() 67 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid() 71 dev_info(&pf->pdev->dev, "vsi seid %d\n", seid); in i40e_dbg_dump_vsi_seid() 75 dev_info(&pf->pdev->dev, " netdev: name = %s, state = %lu, flags = 0x%08x\n", in i40e_dbg_dump_vsi_seid() 77 dev_info(&pf->pdev->dev, " features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid() 79 dev_info(&pf->pdev->dev, " hw_features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid() [all …]
|
| H A D | i40e_main.c | 37 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired); 40 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired); 41 static int i40e_setup_misc_vector(struct i40e_pf *pf); 42 static void i40e_determine_queue_usage(struct i40e_pf *pf); 43 static int i40e_setup_pf_filter_control(struct i40e_pf *pf); 44 static void i40e_prep_for_reset(struct i40e_pf *pf); 45 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit, 47 static int i40e_reset(struct i40e_pf *pf); 48 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired); 49 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf); 148 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_hw_to_dev() local 163 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_allocate_dma_mem() local 181 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_free_dma_mem() local 233 i40e_get_lump(struct i40e_pf * pf,struct i40e_lump_tracking * pile,u16 needed,u16 id) i40e_get_lump() argument 322 i40e_find_vsi_from_id(struct i40e_pf * pf,u16 id) i40e_find_vsi_from_id() argument 340 i40e_service_event_schedule(struct i40e_pf * pf) i40e_service_event_schedule() argument 361 struct i40e_pf *pf = vsi->back; i40e_tx_timeout() local 565 i40e_pf_reset_stats(struct i40e_pf * pf) i40e_pf_reset_stats() argument 727 struct i40e_pf *pf = vsi->back; i40e_update_eth_stats() local 789 struct i40e_pf *pf = veb->pf; i40e_update_veb_stats() local 875 struct i40e_pf *pf = vsi->back; i40e_update_vsi_stats() local 1014 i40e_update_pf_stats(struct i40e_pf * pf) i40e_update_pf_stats() argument 1246 struct i40e_pf *pf = vsi->back; i40e_update_stats() local 1513 struct i40e_pf *pf = vsi->back; i40e_get_vf_new_vlan() local 1613 struct i40e_pf *pf = vsi->back; i40e_rm_default_mac_filter() local 1808 struct i40e_pf *pf = vsi->back; i40e_set_mac() local 1865 struct i40e_pf *pf = vsi->back; i40e_config_rss_aq() local 1902 struct i40e_pf *pf = vsi->back; i40e_vsi_config_rss() local 2035 struct i40e_pf *pf = vsi->back; i40e_vsi_setup_queue_map() local 2485 i40e_set_promiscuous(struct i40e_pf * pf,bool promisc) i40e_set_promiscuous() argument 2564 struct i40e_pf *pf; i40e_sync_vsi_filters() local 2890 i40e_sync_filters_subtask(struct i40e_pf * pf) i40e_sync_filters_subtask() argument 2962 struct i40e_pf *pf = vsi->back; i40e_change_mtu() local 3820 i40e_reset_fdir_filter_cnt(struct i40e_pf * pf) i40e_reset_fdir_filter_cnt() argument 3842 struct i40e_pf *pf = vsi->back; i40e_fdir_filter_restore() local 3882 struct i40e_pf *pf = vsi->back; i40e_vsi_configure_msix() local 3971 i40e_enable_misc_int_causes(struct i40e_pf * pf) i40e_enable_misc_int_causes() argument 4013 struct i40e_pf *pf = vsi->back; i40e_configure_msi_and_legacy() local 4052 i40e_irq_dynamic_disable_icr0(struct i40e_pf * pf) i40e_irq_dynamic_disable_icr0() argument 4065 i40e_irq_dynamic_enable_icr0(struct i40e_pf * pf) i40e_irq_dynamic_enable_icr0() argument 4132 struct i40e_pf *pf = vsi->back; i40e_vsi_request_irq_msix() local 4205 struct i40e_pf *pf = vsi->back; i40e_vsi_disable_irq() local 4251 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_irq() local 4269 i40e_free_misc_vector(struct i40e_pf * pf) i40e_free_misc_vector() argument 4292 struct i40e_pf *pf = (struct i40e_pf *)data; i40e_intr() local 4612 struct i40e_pf *pf = vsi->back; i40e_vsi_request_irq() local 4642 struct i40e_pf *pf = vsi->back; i40e_netpoll() local 4671 i40e_pf_txq_wait(struct i40e_pf * pf,int pf_q,bool enable) i40e_pf_txq_wait() argument 4699 i40e_control_tx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_tx_q() argument 4741 i40e_control_wait_tx_q(int seid,struct i40e_pf * pf,int pf_q,bool is_xdp,bool enable) i40e_control_wait_tx_q() argument 4766 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_tx() local 4800 i40e_pf_rxq_wait(struct i40e_pf * pf,int pf_q,bool enable) i40e_pf_rxq_wait() argument 4828 i40e_control_rx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_rx_q() argument 4865 i40e_control_wait_rx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_wait_rx_q() argument 4879 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_rx() local 4921 struct i40e_pf *pf = vsi->back; i40e_vsi_stop_rings() local 4957 struct i40e_pf *pf = vsi->back; i40e_vsi_stop_rings_no_wait() local 4973 struct i40e_pf *pf = vsi->back; i40e_vsi_free_irq() local 5137 i40e_reset_interrupt_capability(struct i40e_pf * pf) i40e_reset_interrupt_capability() argument 5160 i40e_clear_interrupt_scheme(struct i40e_pf * pf) i40e_clear_interrupt_scheme() argument 5223 struct i40e_pf *pf = vsi->back; i40e_vsi_close() local 5270 i40e_pf_quiesce_all_vsi(struct i40e_pf * pf) i40e_pf_quiesce_all_vsi() argument 5283 i40e_pf_unquiesce_all_vsi(struct i40e_pf * pf) i40e_pf_unquiesce_all_vsi() argument 5300 struct i40e_pf *pf = vsi->back; i40e_vsi_wait_queues_disabled() local 5348 i40e_pf_wait_queues_disabled(struct i40e_pf * pf) i40e_pf_wait_queues_disabled() argument 5371 i40e_get_iscsi_tc_map(struct i40e_pf * pf) i40e_get_iscsi_tc_map() argument 5461 i40e_mqprio_get_enabled_tc(struct i40e_pf * pf) i40e_mqprio_get_enabled_tc() argument 5478 i40e_pf_get_num_tc(struct i40e_pf * pf) i40e_pf_get_num_tc() argument 5516 i40e_pf_get_tc_map(struct i40e_pf * pf) i40e_pf_get_tc_map() argument 5548 struct i40e_pf *pf = vsi->back; i40e_vsi_get_bw_info() local 5610 struct i40e_pf *pf = vsi->back; i40e_vsi_configure_bw_alloc() local 5653 struct i40e_pf *pf = vsi->back; i40e_vsi_config_netdev_tc() local 5727 struct i40e_pf *pf; i40e_update_adq_vsi_queues() local 5787 struct i40e_pf *pf = vsi->back; i40e_vsi_config_tc() local 5936 struct i40e_pf *pf = vsi->back; i40e_get_link_speed() local 5984 struct i40e_pf *pf = vsi->back; i40e_set_bw_limit() local 6026 struct i40e_pf *pf = vsi->back; i40e_remove_queue_channels() local 6136 i40e_validate_num_queues(struct i40e_pf * pf,int num_queues,struct i40e_vsi * vsi,bool * reconfig_rss) i40e_validate_num_queues() argument 6188 struct i40e_pf *pf = vsi->back; i40e_vsi_reconfig_rss() local 6244 i40e_channel_setup_queue_map(struct i40e_pf * pf,struct i40e_vsi_context * ctxt,struct i40e_channel * ch) i40e_channel_setup_queue_map() argument 6283 i40e_add_channel(struct i40e_pf * pf,u16 uplink_seid,struct i40e_channel * ch) i40e_add_channel() argument 6382 i40e_channel_config_tx_ring(struct i40e_pf * pf,struct i40e_vsi * vsi,struct i40e_channel * ch) i40e_channel_config_tx_ring() argument 6436 i40e_setup_hw_channel(struct i40e_pf * pf,struct i40e_vsi * vsi,struct i40e_channel * ch,u16 uplink_seid,u8 type) i40e_setup_hw_channel() argument 6487 i40e_setup_channel(struct i40e_pf * pf,struct i40e_vsi * vsi,struct i40e_channel * ch) i40e_setup_channel() argument 6527 struct i40e_pf *pf = vsi->back; i40e_validate_and_set_switch_mode() local 6583 struct i40e_pf *pf = vsi->back; i40e_create_queue_channel() local 6744 struct i40e_pf *pf = veb->pf; i40e_veb_config_tc() local 6791 i40e_dcb_reconfigure(struct i40e_pf * pf) i40e_dcb_reconfigure() argument 6846 i40e_resume_port_tx(struct i40e_pf * pf) i40e_resume_port_tx() argument 6871 i40e_suspend_port_tx(struct i40e_pf * pf) i40e_suspend_port_tx() argument 6897 i40e_hw_set_dcb_config(struct i40e_pf * pf,struct i40e_dcbx_config * new_cfg) i40e_hw_set_dcb_config() argument 6947 i40e_hw_dcb_config(struct i40e_pf * pf,struct i40e_dcbx_config * new_cfg) i40e_hw_dcb_config() argument 7120 i40e_dcb_sw_default_config(struct i40e_pf * pf) i40e_dcb_sw_default_config() argument 7179 i40e_init_pf_dcb(struct i40e_pf * pf) i40e_init_pf_dcb() argument 7272 struct i40e_pf *pf = vsi->back; i40e_print_link_message() local 7406 struct i40e_pf *pf = vsi->back; i40e_up_complete() local 7456 struct i40e_pf *pf = vsi->back; i40e_vsi_reinit_locked() local 7471 i40e_force_link_state(struct i40e_pf * pf,bool is_up) i40e_force_link_state() argument 7832 struct i40e_pf *pf = vsi->back; i40e_fwd_ring_up() local 7904 struct i40e_pf *pf = vsi->back; i40e_setup_macvlans() local 8006 struct i40e_pf *pf = vsi->back; i40e_fwd_add() local 8114 struct i40e_pf *pf = vsi->back; i40e_del_all_macvlans() local 8151 struct i40e_pf *pf = vsi->back; i40e_fwd_del() local 8191 struct i40e_pf *pf = vsi->back; i40e_setup_tc() local 8388 struct i40e_pf *pf = vsi->back; i40e_add_del_cloud_filter() local 8458 struct i40e_pf *pf = vsi->back; i40e_add_del_cloud_filter_big_buf() local 8568 struct i40e_pf *pf = vsi->back; i40e_parse_cls_flower() local 8811 struct i40e_pf *pf = vsi->back; i40e_configure_clsflower() local 8910 struct i40e_pf *pf = vsi->back; i40e_delete_clsflower() local 9019 struct i40e_pf *pf = vsi->back; i40e_open() local 9080 struct i40e_pf *pf = vsi->back; i40e_vsi_open() local 9148 i40e_fdir_filter_exit(struct i40e_pf * pf) i40e_fdir_filter_exit() argument 9227 i40e_cloud_filter_exit(struct i40e_pf * pf) i40e_cloud_filter_exit() argument 9278 i40e_do_reset(struct i40e_pf * pf,u32 reset_flags,bool lock_acquired) i40e_do_reset() argument 9370 i40e_dcb_need_reconfig(struct i40e_pf * pf,struct i40e_dcbx_config * old_cfg,struct i40e_dcbx_config * new_cfg) i40e_dcb_need_reconfig() argument 9424 i40e_handle_lldp_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_lldp_event() argument 9547 i40e_do_reset_safe(struct i40e_pf * pf,u32 reset_flags) i40e_do_reset_safe() argument 9562 i40e_handle_lan_overflow_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_lan_overflow_event() argument 9593 i40e_get_current_fd_count(struct i40e_pf * pf) i40e_get_current_fd_count() argument 9607 i40e_get_global_fd_count(struct i40e_pf * pf) i40e_get_global_fd_count() argument 9621 i40e_reenable_fdir_sb(struct i40e_pf * pf) i40e_reenable_fdir_sb() argument 9633 i40e_reenable_fdir_atr(struct i40e_pf * pf) i40e_reenable_fdir_atr() argument 9656 i40e_delete_invalid_filter(struct i40e_pf * pf,struct i40e_fdir_filter * filter) i40e_delete_invalid_filter() argument 9725 i40e_fdir_check_and_reenable(struct i40e_pf * pf) i40e_fdir_check_and_reenable() argument 9765 i40e_fdir_flush_and_replay(struct i40e_pf * pf) i40e_fdir_flush_and_replay() argument 9823 i40e_get_current_atr_cnt(struct i40e_pf * pf) i40e_get_current_atr_cnt() argument 9832 i40e_fdir_reinit_subtask(struct i40e_pf * pf) i40e_fdir_reinit_subtask() argument 9889 struct i40e_pf *pf; i40e_veb_link_event() local 9906 i40e_link_event(struct i40e_pf * pf) i40e_link_event() argument 9993 i40e_watchdog_subtask(struct i40e_pf * pf) i40e_watchdog_subtask() argument 10035 i40e_reset_subtask(struct i40e_pf * pf) i40e_reset_subtask() argument 10082 i40e_handle_link_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_link_event() argument 10121 i40e_clean_adminq_subtask(struct i40e_pf * pf) i40e_clean_adminq_subtask() argument 10253 i40e_verify_eeprom(struct i40e_pf * pf) i40e_verify_eeprom() argument 10280 i40e_enable_pf_switch_lb(struct i40e_pf * pf) i40e_enable_pf_switch_lb() argument 10314 i40e_disable_pf_switch_lb(struct i40e_pf * pf) i40e_disable_pf_switch_lb() argument 10352 struct i40e_pf *pf = veb->pf; i40e_config_bridge_mode() local 10374 struct i40e_pf *pf = veb->pf; i40e_reconstitute_veb() local 10450 i40e_get_capabilities(struct i40e_pf * pf,enum i40e_admin_queue_opc list_type) i40e_get_capabilities() argument 10530 i40e_fdir_sb_setup(struct i40e_pf * pf) i40e_fdir_sb_setup() argument 10574 i40e_fdir_teardown(struct i40e_pf * pf) i40e_fdir_teardown() argument 10595 struct i40e_pf *pf = vsi->back; i40e_rebuild_cloud_filters() local 10704 i40e_prep_for_reset(struct i40e_pf * pf) i40e_prep_for_reset() argument 10747 i40e_send_version(struct i40e_pf * pf) i40e_send_version() argument 10810 i40e_reset(struct i40e_pf * pf) i40e_reset() argument 10833 i40e_rebuild(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_rebuild() argument 11123 i40e_reset_and_rebuild(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_reset_and_rebuild() argument 11150 i40e_handle_reset_warning(struct i40e_pf * pf,bool lock_acquired) i40e_handle_reset_warning() argument 11162 i40e_print_vf_mdd_event(struct i40e_pf * pf,struct i40e_vf * vf,bool is_tx) i40e_print_vf_mdd_event() argument 11181 i40e_print_vfs_mdd_events(struct i40e_pf * pf) i40e_print_vfs_mdd_events() argument 11223 i40e_handle_mdd_event(struct i40e_pf * pf) i40e_handle_mdd_event() argument 11331 struct i40e_pf *pf = container_of(work, i40e_service_task() local 11389 struct i40e_pf *pf = timer_container_of(pf, t, service_timer); i40e_service_timer() local 11402 struct i40e_pf *pf = vsi->back; i40e_set_num_rings_in_vsi() local 11514 i40e_vsi_mem_alloc(struct i40e_pf * pf,enum i40e_vsi_type type) i40e_vsi_mem_alloc() argument 11641 struct i40e_pf *pf; i40e_vsi_clear() local 11712 struct i40e_pf *pf = vsi->back; i40e_alloc_rings() local 11782 i40e_reserve_msix_vectors(struct i40e_pf * pf,int vectors) i40e_reserve_msix_vectors() argument 11803 i40e_init_msix(struct i40e_pf * pf) i40e_init_msix() argument 12060 struct i40e_pf *pf = vsi->back; i40e_vsi_alloc_q_vectors() local 12090 i40e_init_interrupt_scheme(struct i40e_pf * pf) i40e_init_interrupt_scheme() argument 12152 i40e_restore_interrupt_scheme(struct i40e_pf * pf) i40e_restore_interrupt_scheme() argument 12207 i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf * pf) i40e_setup_misc_vector_for_recovery_mode() argument 12247 i40e_setup_misc_vector(struct i40e_pf * pf) i40e_setup_misc_vector() argument 12290 struct i40e_pf *pf = vsi->back; i40e_get_rss_aq() local 12334 struct i40e_pf *pf = vsi->back; i40e_config_rss_reg() local 12388 struct i40e_pf *pf = vsi->back; i40e_get_rss_reg() local 12421 struct i40e_pf *pf = vsi->back; i40e_config_rss() local 12440 struct i40e_pf *pf = vsi->back; i40e_get_rss() local 12455 i40e_fill_rss_lut(struct i40e_pf * pf,u8 * lut,u16 rss_table_size,u16 rss_size) i40e_fill_rss_lut() argument 12468 i40e_pf_config_rss(struct i40e_pf * pf) i40e_pf_config_rss() argument 12540 i40e_reconfig_rss_queues(struct i40e_pf * pf,int queue_count) i40e_reconfig_rss_queues() argument 12587 i40e_get_partition_bw_setting(struct i40e_pf * pf) i40e_get_partition_bw_setting() argument 12610 i40e_set_partition_bw_setting(struct i40e_pf * pf) i40e_set_partition_bw_setting() argument 12633 i40e_is_total_port_shutdown_enabled(struct i40e_pf * pf) i40e_is_total_port_shutdown_enabled() argument 12688 i40e_sw_init(struct i40e_pf * pf) i40e_sw_init() argument 12828 i40e_set_ntuple(struct i40e_pf * pf,netdev_features_t features) i40e_set_ntuple() argument 12874 struct i40e_pf *pf = vsi->back; i40e_clear_rss_lut() local 12924 struct i40e_pf *pf = vsi->back; i40e_set_features() local 13005 struct i40e_pf *pf = np->vsi->back; i40e_get_phys_port_id() local 13035 struct i40e_pf *pf = np->vsi->back; i40e_ndo_fdb_add() local 13091 struct i40e_pf *pf = vsi->back; i40e_ndo_bridge_setlink() local 13161 struct i40e_pf *pf = vsi->back; i40e_ndo_bridge_getlink() local 13245 struct i40e_pf *pf = vsi->back; i40e_xdp_setup() local 13312 struct i40e_pf *pf = vsi->back; i40e_enter_busy_conf() local 13331 struct i40e_pf *pf = vsi->back; i40e_exit_busy_conf() local 13406 struct i40e_pf *pf = vsi->back; i40e_queue_pair_toggle_rings() local 13457 struct i40e_pf *pf = vsi->back; i40e_queue_pair_enable_irq() local 13477 struct i40e_pf *pf = vsi->back; i40e_queue_pair_disable_irq() local 13633 struct i40e_pf *pf = vsi->back; i40e_config_netdev() local 13821 struct i40e_pf *pf = vsi->back; i40e_is_vsi_uplink_mode_veb() local 13856 struct i40e_pf *pf = vsi->back; i40e_add_vsi() local 14098 struct i40e_pf *pf; i40e_vsi_release() local 14199 struct i40e_pf *pf = vsi->back; i40e_vsi_setup_vectors() local 14256 struct i40e_pf *pf; i40e_vsi_reinit_setup() local 14333 i40e_vsi_setup(struct i40e_pf * pf,u8 type,u16 uplink_seid,u32 param1) i40e_vsi_setup() argument 14515 struct i40e_pf *pf = veb->pf; i40e_veb_get_bw_info() local 14563 i40e_veb_mem_alloc(struct i40e_pf * pf) i40e_veb_mem_alloc() argument 14611 struct i40e_pf *pf = branch->pf; i40e_switch_branch_release() local 14652 struct i40e_pf *pf = veb->pf; i40e_veb_clear() local 14670 struct i40e_pf *pf; i40e_veb_release() local 14711 struct i40e_pf *pf = veb->pf; i40e_add_veb() local 14769 i40e_veb_setup(struct i40e_pf * pf,u16 uplink_seid,u16 vsi_seid,u8 enabled_tc) i40e_veb_setup() argument 14829 i40e_setup_pf_switch_element(struct i40e_pf * pf,struct i40e_aqc_switch_config_element_resp * ele,u16 num_reported,bool printconfig) i40e_setup_pf_switch_element() argument 14913 i40e_fetch_switch_configuration(struct i40e_pf * pf,bool printconfig) i40e_fetch_switch_configuration() argument 14969 i40e_setup_pf_switch(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_setup_pf_switch() argument 15082 i40e_determine_queue_usage(struct i40e_pf * pf) i40e_determine_queue_usage() argument 15189 i40e_setup_pf_filter_control(struct i40e_pf * pf) i40e_setup_pf_filter_control() argument 15212 i40e_print_features(struct i40e_pf * pf) i40e_print_features() argument 15263 i40e_get_platform_mac_addr(struct pci_dev * pdev,struct i40e_pf * pf) i40e_get_platform_mac_addr() argument 15305 i40e_check_recovery_mode(struct i40e_pf * pf) i40e_check_recovery_mode() argument 15343 i40e_pf_loop_reset(struct i40e_pf * pf) i40e_pf_loop_reset() argument 15375 i40e_check_fw_empr(struct i40e_pf * pf) i40e_check_fw_empr() argument 15394 i40e_handle_resets(struct i40e_pf * pf) i40e_handle_resets() argument 15415 i40e_init_recovery_mode(struct i40e_pf * pf,struct i40e_hw * hw) i40e_init_recovery_mode() argument 15510 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_set_subsystem_device_id() local 15535 struct i40e_pf *pf; i40e_probe() local 16145 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_remove() local 16284 i40e_enable_mc_magic_wake(struct i40e_pf * pf) i40e_enable_mc_magic_wake() argument 16331 i40e_io_suspend(struct i40e_pf * pf) i40e_io_suspend() argument 16378 i40e_io_resume(struct i40e_pf * pf) i40e_io_resume() argument 16424 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_detected() local 16453 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_slot_reset() local 16484 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_reset_prepare() local 16495 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_reset_done() local 16515 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_resume() local 16530 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_shutdown() local 16582 struct i40e_pf *pf = dev_get_drvdata(dev); i40e_suspend() local 16596 struct i40e_pf *pf = dev_get_drvdata(dev); i40e_resume() local [all...] |
| H A D | i40e_client.c | 84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 85 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_vf_msg() 90 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_vf_msg() 95 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); in i40e_notify_client_of_vf_msg() 108 void i40e_notify_client_of_l2_param_changes(struct i40e_pf *pf) in i40e_notify_client_of_l2_param_changes() argument 110 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(pf); in i40e_notify_client_of_l2_param_changes() 111 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_l2_param_changes() 117 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_l2_param_changes() 122 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_l2_param_changes() 147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local [all …]
|
| H A D | i40e_virtchnl_pf.c | 12 * @pf: pointer to the PF structure 20 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() argument 25 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast() 26 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() 29 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast() 113 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 114 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state() 115 struct i40e_link_status *ls = &pf->hw.phy.link_info; in i40e_vc_notify_vf_link_state() 129 * @pf 133 i40e_vc_notify_link_state(struct i40e_pf * pf) i40e_vc_notify_link_state() argument 147 i40e_vc_notify_reset(struct i40e_pf * pf) i40e_vc_notify_reset() argument 221 struct i40e_pf *pf = vf->pf; i40e_vc_reset_vf() local 262 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_vsi_id() local 279 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_queue_id() local 294 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_vector_id() local 312 struct i40e_pf *pf = vf->pf; i40e_vc_get_pf_queue_id() local 374 struct i40e_pf *pf = vf->pf; i40e_config_irq_link_list() local 478 struct i40e_pf *pf = vf->pf; i40e_release_rdma_qvlist() local 530 struct i40e_pf *pf = vf->pf; i40e_config_rdma_qvlist() local 632 struct i40e_pf *pf = vf->pf; i40e_config_vsi_tx_queue() local 715 struct i40e_pf *pf = vf->pf; i40e_config_vsi_rx_queue() local 813 struct i40e_pf *pf = vf->pf; i40e_alloc_vsi_res() local 902 struct i40e_pf *pf = vf->pf; i40e_map_pf_queues_to_vsi() local 949 struct i40e_pf *pf = vf->pf; i40e_map_pf_to_vf_queues() local 987 struct i40e_pf *pf = vf->pf; i40e_enable_vf_mappings() local 1016 struct i40e_pf *pf = vf->pf; i40e_disable_vf_mappings() local 1036 struct i40e_pf *pf = vf->pf; i40e_free_vf_res() local 1117 struct i40e_pf *pf = vf->pf; i40e_alloc_vf_res() local 1192 struct i40e_pf *pf = vf->pf; i40e_quiesce_vf_pci() local 1292 struct i40e_pf *pf = vf->pf; i40e_set_vsi_promisc() local 1382 struct i40e_pf *pf = vf->pf; i40e_config_vf_promiscuous_mode() local 1451 struct i40e_pf *pf = vf->pf; i40e_trigger_vf_reset() local 1512 struct i40e_pf *pf = vf->pf; i40e_cleanup_reset_vf() local 1566 struct i40e_pf *pf = vf->pf; i40e_reset_vf() local 1635 i40e_reset_all_vfs(struct i40e_pf * pf,bool flr) i40e_reset_all_vfs() argument 1751 i40e_free_vfs(struct i40e_pf * pf) i40e_free_vfs() argument 1829 i40e_alloc_vfs(struct i40e_pf * pf,u16 num_alloc_vfs) i40e_alloc_vfs() argument 1894 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_sriov_enable() local 1943 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_sriov_configure() local 1989 struct i40e_pf *pf; i40e_vc_send_msg_to_vf() local 2083 struct i40e_pf *pf = vf->pf; i40e_del_qch() local 2127 struct i40e_pf *pf = vf->pf; i40e_vc_get_vf_resources_msg() local 2263 struct i40e_pf *pf = vf->pf; i40e_vc_config_promiscuous_mode_msg() local 2350 struct i40e_pf *pf = vf->pf; i40e_vc_config_queues_msg() local 2555 struct i40e_pf *pf = vsi->back; i40e_ctrl_vf_tx_rings() local 2578 struct i40e_pf *pf = vsi->back; i40e_ctrl_vf_rx_rings() local 2618 struct i40e_pf *pf = vf->pf; i40e_vc_enable_queues_msg() local 2684 struct i40e_pf *pf = vf->pf; i40e_vc_disable_queues_msg() local 2730 struct i40e_pf *pf = vf->pf; i40e_check_enough_queue() local 2788 struct i40e_pf *pf = vf->pf; i40e_vc_request_queues_msg() local 2834 struct i40e_pf *pf = vf->pf; i40e_vc_get_stats_msg() local 2900 struct i40e_pf *pf = vf->pf; i40e_check_vf_permission() local 3063 struct i40e_pf *pf = vf->pf; i40e_vc_add_mac_addr_msg() local 3132 struct i40e_pf *pf = vf->pf; i40e_vc_del_mac_addr_msg() local 3219 struct i40e_pf *pf = vf->pf; i40e_vc_add_vlan_msg() local 3290 struct i40e_pf *pf = vf->pf; i40e_vc_remove_vlan_msg() local 3346 struct i40e_pf *pf = vf->pf; i40e_vc_rdma_msg() local 3413 struct i40e_pf *pf = vf->pf; i40e_vc_config_rss_key() local 3443 struct i40e_pf *pf = vf->pf; i40e_vc_config_rss_lut() local 3479 struct i40e_pf *pf = vf->pf; i40e_vc_get_rss_hashcfg() local 3515 struct i40e_pf *pf = vf->pf; i40e_vc_set_rss_hashcfg() local 3597 struct i40e_pf *pf = vf->pf; i40e_validate_cloud_filter() local 3725 struct i40e_pf *pf = vf->pf; i40e_find_vsi_from_seid() local 3746 struct i40e_pf *pf = vf->pf; i40e_del_all_cloud_filters() local 3791 struct i40e_pf *pf = vf->pf; i40e_vc_del_cloud_filter() local 3925 struct i40e_pf *pf = vf->pf; i40e_vc_add_cloud_filter() local 4043 struct i40e_pf *pf = vf->pf; i40e_vc_add_qch_msg() local 4157 struct i40e_pf *pf = vf->pf; i40e_vc_del_qch_msg() local 4201 i40e_vc_process_vf_msg(struct i40e_pf * pf,s16 vf_id,u32 v_opcode,u32 __always_unused v_retval,u8 * msg,u16 msglen) i40e_vc_process_vf_msg() argument 4332 i40e_vc_process_vflr_event(struct i40e_pf * pf) i40e_vc_process_vflr_event() argument 4379 i40e_validate_vf(struct i40e_pf * pf,int vf_id) i40e_validate_vf() argument 4443 struct i40e_pf *pf = vsi->back; i40e_ndo_set_vf_mac() local 4535 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_port_vlan() local 4690 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_bw() local 4742 struct i40e_pf *pf = vsi->back; i40e_ndo_get_vf_config() local 4798 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_link_state() local 4900 struct i40e_pf *pf = vsi->back; i40e_ndo_set_vf_spoofchk() local 4971 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_trust() local 5033 struct i40e_pf *pf = np->vsi->back; i40e_get_vf_stats() local [all...] |
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf_common.c | 10 void enetc_set_si_hw_addr(struct enetc_pf *pf, int si, const u8 *mac_addr) in enetc_set_si_hw_addr() argument 12 struct enetc_hw *hw = &pf->si->hw; in enetc_set_si_hw_addr() 14 pf->ops->set_si_primary_mac(hw, si, mac_addr); in enetc_set_si_hw_addr() 18 static void enetc_get_si_hw_addr(struct enetc_pf *pf, int si, u8 *mac_addr) in enetc_get_si_hw_addr() argument 20 struct enetc_hw *hw = &pf->si->hw; in enetc_get_si_hw_addr() 22 pf->ops->get_si_primary_mac(hw, si, mac_addr); in enetc_get_si_hw_addr() 28 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_mac_addr() local 35 enetc_set_si_hw_addr(pf, 0, saddr->sa_data); in enetc_pf_set_mac_addr() 41 static int enetc_setup_mac_address(struct device_node *np, struct enetc_pf *pf, in enetc_setup_mac_address() argument 44 struct device *dev = &pf in enetc_setup_mac_address() 71 enetc_setup_mac_addresses(struct device_node * np,struct enetc_pf * pf) enetc_setup_mac_addresses() argument 200 struct enetc_pf *pf = enetc_si_priv(si); enetc_pf_netdev_setup() local 266 enetc_mdio_probe(struct enetc_pf * pf,struct device_node * np) enetc_mdio_probe() argument 302 enetc_mdio_remove(struct enetc_pf * pf) enetc_mdio_remove() argument 308 enetc_imdio_create(struct enetc_pf * pf) enetc_imdio_create() argument 368 enetc_imdio_remove(struct enetc_pf * pf) enetc_imdio_remove() argument 379 enetc_port_has_pcs(struct enetc_pf * pf) enetc_port_has_pcs() argument 388 enetc_mdiobus_create(struct enetc_pf * pf,struct device_node * node) enetc_mdiobus_create() argument 414 enetc_mdiobus_destroy(struct enetc_pf * pf) enetc_mdiobus_destroy() argument 424 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc_phylink_create() local 481 enetc_set_default_rss_key(struct enetc_pf * pf) enetc_set_default_rss_key() argument 502 enetc_refresh_vlan_ht_filter(struct enetc_pf * pf) enetc_refresh_vlan_ht_filter() argument 535 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc_vlan_rx_add_vid() local 551 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc_vlan_rx_del_vid() local 562 enetc_init_sriov_resources(struct enetc_pf * pf) enetc_init_sriov_resources() argument [all...] |
| H A D | enetc4_pf.c | 15 static void enetc4_get_port_caps(struct enetc_pf *pf) 17 struct enetc_hw *hw = &pf->si->hw; 21 pf->caps.num_msix = ((val & ECAPR1_NUM_MSIX) >> 12) + 1; in enetc4_get_port_caps() 24 pf->caps.num_rx_bdr = (val & ECAPR2_NUM_RX_BDR) >> 16; in enetc4_get_port_caps() 25 pf->caps.num_tx_bdr = val & ECAPR2_NUM_TX_BDR; in enetc4_get_port_caps() 81 static void enetc4_pf_clear_maft_entries(struct enetc_pf *pf) in enetc4_pf_set_loopback() 83 struct ntmp_user *user = &pf->si->ntmp_user; in enetc4_pf_set_loopback() 93 static int enetc4_pf_add_maft_entries(struct enetc_pf *pf, in enetc4_pf_clear_maft_entries() 96 struct ntmp_user *user = &pf->si->ntmp_user; in enetc4_pf_clear_maft_entries() 127 enetc4_pf_clear_maft_entries(pf); in enetc4_pf_add_maft_entries() 20 enetc4_get_port_caps(struct enetc_pf * pf) enetc4_get_port_caps() argument 86 enetc4_pf_clear_maft_entries(struct enetc_pf * pf) enetc4_pf_clear_maft_entries() argument 98 enetc4_pf_add_maft_entries(struct enetc_pf * pf,struct netdev_hw_addr_list * uc) enetc4_pf_add_maft_entries() argument 137 enetc4_pf_set_uc_hash_filter(struct enetc_pf * pf,struct netdev_hw_addr_list * uc) enetc4_pf_set_uc_hash_filter() argument 153 enetc4_pf_set_uc_exact_filter(struct enetc_pf * pf,struct netdev_hw_addr_list * uc) enetc4_pf_set_uc_exact_filter() argument 182 enetc4_pf_set_mc_hash_filter(struct enetc_pf * pf,struct netdev_hw_addr_list * mc) enetc4_pf_set_mc_hash_filter() argument 198 enetc4_pf_set_mac_filter(struct enetc_pf * pf,int type,struct netdev_hw_addr_list * uc,struct netdev_hw_addr_list * mc) enetc4_pf_set_mac_filter() argument 227 struct enetc_pf *pf = enetc_si_priv(si); enetc4_pf_struct_init() local 253 enetc4_default_rings_allocation(struct enetc_pf * pf) enetc4_default_rings_allocation() argument 293 enetc4_allocate_si_rings(struct enetc_pf * pf) enetc4_allocate_si_rings() argument 299 enetc4_set_si_msix_num(struct enetc_pf * pf) enetc4_set_si_msix_num() argument 358 enetc4_enable_all_si(struct enetc_pf * pf) enetc4_enable_all_si() argument 372 enetc4_configure_port_si(struct enetc_pf * pf) enetc4_configure_port_si() argument 404 enetc4_set_trx_frame_size(struct enetc_pf * pf) enetc4_set_trx_frame_size() argument 414 enetc4_configure_port(struct enetc_pf * pf) enetc4_configure_port() argument 478 enetc4_pf_init(struct enetc_pf * pf) enetc4_pf_init() argument 501 enetc4_pf_free(struct enetc_pf * pf) enetc4_pf_free() argument 511 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc4_pf_set_rx_mode() local 582 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_select_pcs() local 587 enetc4_mac_config(struct enetc_pf * pf,unsigned int mode,phy_interface_t phy_mode) enetc4_mac_config() argument 630 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_config() local 655 enetc4_set_rgmii_mac(struct enetc_pf * pf,int speed,int duplex) enetc4_set_rgmii_mac() argument 683 enetc4_set_rmii_mac(struct enetc_pf * pf,int speed,int duplex) enetc4_set_rmii_mac() argument 708 enetc4_set_rx_pause(struct enetc_pf * pf,bool rx_pause) enetc4_set_rx_pause() argument 721 enetc4_set_tx_pause(struct enetc_pf * pf,bool tx_pause) enetc4_set_tx_pause() argument 770 enetc4_mac_tx_graceful_stop(struct enetc_pf * pf) enetc4_mac_tx_graceful_stop() argument 792 enetc4_mac_tx_enable(struct enetc_pf * pf) enetc4_mac_tx_enable() argument 819 enetc4_mac_rx_graceful_stop(struct enetc_pf * pf) enetc4_mac_rx_graceful_stop() argument 852 enetc4_mac_rx_enable(struct enetc_pf * pf) enetc4_mac_rx_enable() argument 872 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_link_up() local 903 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_link_down() local 926 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc4_link_init() local 958 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc4_link_deinit() local 1045 struct enetc_pf *pf; enetc4_pf_probe() local 1097 struct enetc_pf *pf = enetc_si_priv(si); enetc4_pf_remove() local [all...] |
| /linux/net/lapb/ |
| H A D | lapb_in.c | 44 lapb_dbg(1, "(%p) S0 RX SABM(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 47 lapb->dev, frame->pf); in lapb_state0_machine() 48 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine() 52 lapb->dev, frame->pf); in lapb_state0_machine() 54 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() 69 lapb_dbg(1, "(%p) S0 RX SABME(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 72 lapb->dev, frame->pf); in lapb_state0_machine() 74 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() 87 lapb->dev, frame->pf); in lapb_state0_machine() 88 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine() [all …]
|
| /linux/tools/perf/util/ |
| H A D | probe-finder.c | 72 const struct probe_finder *pf, in convert_variable_location() argument 185 regs = get_dwarf_regstr(regn, pf->e_machine, pf->e_flags); in convert_variable_location() 472 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable() 480 ret = convert_variable_location(vr_die, pf->addr, pf->fb_ops, in convert_variable() 481 &pf->sp_die, pf, pf->tvar); in convert_variable() 482 if (ret == -ENOENT && pf in convert_variable() 458 convert_variable(Dwarf_Die * vr_die,struct probe_finder * pf) convert_variable() argument 489 find_variable(Dwarf_Die * sc_die,struct probe_finder * pf) find_variable() argument 585 call_probe_finder(Dwarf_Die * sc_die,struct probe_finder * pf) call_probe_finder() argument 692 find_best_scope(struct probe_finder * pf,Dwarf_Die * die_mem) find_best_scope() argument 713 verify_representive_line(struct probe_finder * pf,const char * fname,int lineno,Dwarf_Addr addr) verify_representive_line() argument 749 struct probe_finder *pf = data; probe_point_line_walker() local 773 find_probe_point_by_line(struct probe_finder * pf) find_probe_point_by_line() argument 821 struct probe_finder *pf = data; probe_point_lazy_walker() local 849 find_probe_point_lazy(Dwarf_Die * sp_die,struct probe_finder * pf) find_probe_point_lazy() argument 882 skip_prologue(Dwarf_Die * sp_die,struct probe_finder * pf) skip_prologue() argument 916 struct probe_finder *pf = data; probe_point_inline_cb() local 956 struct probe_finder *pf = param->data; probe_point_search_cb() local 1017 find_probe_point_by_func(struct probe_finder * pf) find_probe_point_by_func() argument 1061 debuginfo__find_probe_location(struct debuginfo * dbg,struct probe_finder * pf) debuginfo__find_probe_location() argument 1135 debuginfo__find_probes(struct debuginfo * dbg,struct probe_finder * pf) debuginfo__find_probes() argument 1170 struct probe_finder *pf; global() member 1182 struct probe_finder *pf = vf->pf; copy_variables_cb() local 1221 expand_probe_args(Dwarf_Die * sc_die,struct probe_finder * pf,struct perf_probe_arg * args) expand_probe_args() argument 1265 add_probe_trace_event(Dwarf_Die * sc_die,struct probe_finder * pf) add_probe_trace_event() argument 1497 add_available_vars(Dwarf_Die * sc_die,struct probe_finder * pf) add_available_vars() argument [all...] |
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 34 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() argument 39 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 44 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() argument 46 struct ice_hw *hw = &pf->hw; in ice_info_pba() 52 dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %d\n", in ice_info_pba() 56 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() argument 58 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt() 64 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() argument 66 struct ice_hw *hw = &pf->hw; in ice_info_fw_api() 72 static void ice_info_fw_build(struct ice_pf *pf, struc argument 79 ice_info_orom_ver(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_orom_ver() argument 88 ice_info_pending_orom_ver(struct ice_pf __always_unused * pf,struct ice_info_ctx * ctx) ice_info_pending_orom_ver() argument 98 ice_info_nvm_ver(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_nvm_ver() argument 106 ice_info_pending_nvm_ver(struct ice_pf __always_unused * pf,struct ice_info_ctx * ctx) ice_info_pending_nvm_ver() argument 116 ice_info_eetrack(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_eetrack() argument 124 ice_info_pending_eetrack(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_pending_eetrack() argument 132 ice_info_ddp_pkg_name(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_ddp_pkg_name() argument 140 ice_info_ddp_pkg_version(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_ddp_pkg_version() argument 149 ice_info_ddp_pkg_bundle_id(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_ddp_pkg_bundle_id() argument 154 ice_info_netlist_ver(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_netlist_ver() argument 165 ice_info_netlist_build(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_netlist_build() argument 173 ice_info_pending_netlist_ver(struct ice_pf __always_unused * pf,struct ice_info_ctx * ctx) ice_info_pending_netlist_ver() argument 187 ice_info_pending_netlist_build(struct ice_pf __always_unused * pf,struct ice_info_ctx * ctx) ice_info_pending_netlist_build() argument 196 ice_info_cgu_fw_build(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_cgu_fw_build() argument 207 ice_info_cgu_id(struct ice_pf * pf,struct ice_info_ctx * ctx) ice_info_cgu_id() argument 275 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_info_get() local 411 ice_devlink_reload_empr_start(struct ice_pf * pf,struct netlink_ext_ack * extack) ice_devlink_reload_empr_start() argument 455 ice_devlink_reinit_down(struct ice_pf * pf) ice_devlink_reinit_down() argument 481 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_reload_down() local 520 ice_devlink_reload_empr_finish(struct ice_pf * pf,struct netlink_ext_ack * extack) ice_devlink_reload_empr_finish() argument 543 ice_get_tx_topo_user_sel(struct ice_pf * pf,uint8_t * layers) ice_get_tx_topo_user_sel() argument 580 ice_update_tx_topo_user_sel(struct ice_pf * pf,int layers) ice_update_tx_topo_user_sel() argument 622 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_tx_sched_layers_get() local 645 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_tx_sched_layers_set() local 692 ice_tear_down_devlink_rate_tree(struct ice_pf * pf) ice_tear_down_devlink_rate_tree() argument 719 ice_enable_custom_tx(struct ice_pf * pf) ice_enable_custom_tx() argument 754 ice_traverse_tx_tree(struct devlink * devlink,struct ice_sched_node * node,struct ice_sched_node * tc_node,struct ice_pf * pf) ice_traverse_tx_tree() argument 814 struct ice_pf *pf = vsi->back; ice_devlink_rate_init_tx_topology() local 970 struct ice_pf *pf = devlink_priv(rate_node->devlink); ice_get_pi_from_dev_rate() local 1212 ice_set_min_max_msix(struct ice_pf * pf) ice_set_min_max_msix() argument 1235 ice_devlink_reinit_up(struct ice_pf * pf) ice_devlink_reinit_up() argument 1308 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_reload_up() local 1360 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_roce_get() local 1376 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_roce_set() local 1404 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_roce_validate() local 1427 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_iw_get() local 1443 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_iw_set() local 1471 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_iw_validate() local 1540 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_local_fwd_get() local 1565 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_local_fwd_set() local 1610 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_msix_max_pf_validate() local 1633 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_enable_rdma_validate() local 1723 ice_allocate_sf(struct device * dev,struct ice_pf * pf) ice_allocate_sf() argument 1750 ice_devlink_register(struct ice_pf * pf) ice_devlink_register() argument 1763 ice_devlink_unregister(struct ice_pf * pf) ice_devlink_unregister() argument 1768 ice_devlink_register_params(struct ice_pf * pf) ice_devlink_register_params() argument 1816 ice_devlink_unregister_params(struct ice_pf * pf) ice_devlink_unregister_params() argument 1857 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_nvm_snapshot() local 1938 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_nvm_read() local 1992 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_devcaps_snapshot() local 2044 ice_devlink_init_regions(struct ice_pf * pf) ice_devlink_init_regions() argument 2084 ice_devlink_destroy_regions(struct ice_pf * pf) ice_devlink_destroy_regions() argument [all...] |
| H A D | port.c | 51 static void ice_devlink_port_options_print(struct ice_pf *pf) in ice_devlink_port_options_print() argument 55 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print() 71 status = ice_aq_get_port_options(&pf->hw, opt, &options_count, in ice_devlink_port_options_print() 126 ice_devlink_aq_set_port_option(struct ice_pf *pf, u8 option_idx, in ice_devlink_aq_set_port_option() argument 129 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_aq_set_port_option() 132 status = ice_aq_set_port_option(&pf->hw, 0, true, option_idx); in ice_devlink_aq_set_port_option() 135 status, pf->hw.adminq.sq_last_status); in ice_devlink_aq_set_port_option() 140 status = ice_acquire_nvm(&pf->hw, ICE_RES_WRITE); in ice_devlink_aq_set_port_option() 143 status, pf->hw.adminq.sq_last_status); in ice_devlink_aq_set_port_option() 148 status = ice_nvm_write_activate(&pf->hw, ICE_AQC_NVM_ACTIV_REQ_EMPR, NULL); in ice_devlink_aq_set_port_option() [all …]
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_sriov_pf_service_kunit.c | 33 KUNIT_ASSERT_NE(test, 0, xe->sriov.pf.service.version.base.major); in pf_service_test_init() 34 KUNIT_ASSERT_NE(test, 0, xe->sriov.pf.service.version.latest.major); in pf_service_test_init() 35 KUNIT_ASSERT_LE(test, xe->sriov.pf.service.version.base.major, in pf_service_test_init() 36 xe->sriov.pf.service.version.latest.major); in pf_service_test_init() 37 if (xe->sriov.pf.service.version.base.major == xe->sriov.pf.service.version.latest.major) in pf_service_test_init() 38 KUNIT_ASSERT_LE(test, xe->sriov.pf.service.version.base.minor, in pf_service_test_init() 39 xe->sriov.pf.service.version.latest.minor); in pf_service_test_init() 52 KUNIT_ASSERT_EQ(test, major, xe->sriov.pf.service.version.latest.major); in pf_negotiate_any() 53 KUNIT_ASSERT_EQ(test, minor, xe->sriov.pf.service.version.latest.minor); in pf_negotiate_any() 63 xe->sriov.pf.service.version.base.major, in pf_negotiate_base_match() [all …]
|