Home
last modified time | relevance | path

Searched full:pf (Results 1 – 25 of 970) sorted by relevance

12345678910>>...39

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_main.c39 * @pf: NFP PF handle
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()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c58 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
1100 otx2_disable_mbox_intr(struct otx2_nic * pf) otx2_disable_mbox_intr() argument
1118 otx2_register_mbox_intr(struct otx2_nic * pf,bool probe_af) otx2_register_mbox_intr() argument
1182 otx2_pfaf_mbox_destroy(struct otx2_nic * pf) otx2_pfaf_mbox_destroy() argument
1199 otx2_pfaf_mbox_init(struct otx2_nic * pf) otx2_pfaf_mbox_init() argument
1255 otx2_cgx_config_linkevents(struct otx2_nic * pf,bool enable) otx2_cgx_config_linkevents() argument
1293 otx2_cgx_config_loopback(struct otx2_nic * pf,bool enable) otx2_cgx_config_loopback() argument
1395 struct otx2_nic *pf = data; otx2_q_intr_handler() local
1512 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; otx2_cq_intr_handler() local
1530 otx2_disable_napi(struct otx2_nic * pf) otx2_disable_napi() argument
1548 otx2_free_cq_res(struct otx2_nic * pf) otx2_free_cq_res() argument
1562 otx2_free_sq_res(struct otx2_nic * pf) otx2_free_sq_res() argument
1586 otx2_get_rbuf_size(struct otx2_nic * pf,int mtu) otx2_get_rbuf_size() argument
1614 otx2_init_hw_resources(struct otx2_nic * pf) otx2_init_hw_resources() argument
1749 otx2_free_hw_resources(struct otx2_nic * pf) otx2_free_hw_resources() argument
1845 otx2_do_set_rx_mode(struct otx2_nic * pf) otx2_do_set_rx_mode() argument
1924 otx2_alloc_queue_mem(struct otx2_nic * pf) otx2_alloc_queue_mem() argument
1971 struct otx2_nic *pf = netdev_priv(netdev); otx2_open() local
2156 struct otx2_nic *pf = netdev_priv(netdev); otx2_stop() local
2219 struct otx2_nic *pf = netdev_priv(netdev); otx2_xmit() local
2258 otx2_qos_select_htb_queue(struct otx2_nic * pf,struct sk_buff * skb,u16 htb_maj_id) otx2_qos_select_htb_queue() argument
2277 struct otx2_nic *pf = netdev_priv(netdev); otx2_select_queue() local
2334 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_rx_mode() local
2341 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); otx2_rx_mode_wrk_handler() local
2350 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_features() local
2369 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); otx2_reset_task() local
2521 otx2_do_set_vf_mac(struct otx2_nic * pf,int vf,const u8 * mac) otx2_do_set_vf_mac() argument
2551 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_vf_mac() local
2576 otx2_do_set_vf_vlan(struct otx2_nic * pf,int vf,u16 vlan,u8 qos,__be16 proto) otx2_do_set_vf_vlan() argument
2718 struct otx2_nic *pf = netdev_priv(netdev); otx2_set_vf_vlan() local
2743 struct otx2_nic *pf = netdev_priv(netdev); otx2_get_vf_config() local
2762 otx2_xdp_xmit_tx(struct otx2_nic * pf,struct xdp_frame * xdpf,int qidx) otx2_xdp_xmit_tx() argument
2787 struct otx2_nic *pf = netdev_priv(netdev); otx2_xdp_xmit() local
2816 otx2_xdp_setup(struct otx2_nic * pf,struct bpf_prog * prog) otx2_xdp_setup() argument
2857 struct otx2_nic *pf = netdev_priv(netdev); otx2_xdp() local
2869 otx2_set_vf_permissions(struct otx2_nic * pf,int vf,int req_perm) otx2_set_vf_permissions() argument
2900 struct otx2_nic *pf = netdev_priv(netdev); otx2_ndo_set_vf_trust() local
2948 otx2_wq_init(struct otx2_nic * pf) otx2_wq_init() argument
2977 otx2_realloc_msix_vectors(struct otx2_nic * pf) otx2_realloc_msix_vectors() argument
3001 otx2_sriov_vfcfg_init(struct otx2_nic * pf) otx2_sriov_vfcfg_init() argument
3022 otx2_sriov_vfcfg_cleanup(struct otx2_nic * pf) otx2_sriov_vfcfg_cleanup() argument
3035 otx2_init_rsrc(struct pci_dev * pdev,struct otx2_nic * pf) otx2_init_rsrc() argument
3132 struct otx2_nic *pf; otx2_probe() local
3351 struct otx2_nic *pf; otx2_vf_link_event_task() local
3396 struct otx2_nic *pf = netdev_priv(netdev); otx2_sriov_enable() local
3435 struct otx2_nic *pf = netdev_priv(netdev); otx2_sriov_disable() local
3459 otx2_ndc_sync(struct otx2_nic * pf) otx2_ndc_sync() argument
3485 struct otx2_nic *pf; otx2_remove() local
[all...]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c10 * @pf: board private structure
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()
[all …]
H A Dice_eswitch.c15 * @pf: pointer to PF struct
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()
85 * @pf: poiner to PF struct
89 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() argument
106 * @pf: pointer to PF struc
109 ice_eswitch_setup_repr(struct ice_pf * pf,struct ice_repr * repr) ice_eswitch_setup_repr() argument
178 struct ice_pf *pf = vsi->back; ice_eswitch_update_repr() local
270 ice_eswitch_release_env(struct ice_pf * pf) ice_eswitch_release_env() argument
293 ice_eswitch_enable_switchdev(struct ice_pf * pf) ice_eswitch_enable_switchdev() argument
328 ice_eswitch_disable_switchdev(struct ice_pf * pf) ice_eswitch_disable_switchdev() argument
346 struct ice_pf *pf = devlink_priv(devlink); ice_eswitch_mode_set() local
394 struct ice_pf *pf = devlink_priv(devlink); ice_eswitch_mode_get() local
407 ice_is_eswitch_mode_switchdev(struct ice_pf * pf) ice_is_eswitch_mode_switchdev() argument
416 ice_eswitch_start_all_tx_queues(struct ice_pf * pf) ice_eswitch_start_all_tx_queues() argument
432 ice_eswitch_stop_all_tx_queues(struct ice_pf * pf) ice_eswitch_stop_all_tx_queues() argument
444 ice_eswitch_stop_reprs(struct ice_pf * pf) ice_eswitch_stop_reprs() argument
449 ice_eswitch_start_reprs(struct ice_pf * pf) ice_eswitch_start_reprs() argument
455 ice_eswitch_attach(struct ice_pf * pf,struct ice_repr * repr,unsigned long * id) ice_eswitch_attach() argument
509 ice_eswitch_attach_vf(struct ice_pf * pf,struct ice_vf * vf) ice_eswitch_attach_vf() argument
540 ice_eswitch_attach_sf(struct ice_pf * pf,struct ice_dynamic_port * sf) ice_eswitch_attach_sf() argument
555 ice_eswitch_detach(struct ice_pf * pf,struct ice_repr * repr) ice_eswitch_detach() argument
586 ice_eswitch_detach_vf(struct ice_pf * pf,struct ice_vf * vf) ice_eswitch_detach_vf() argument
604 ice_eswitch_detach_sf(struct ice_pf * pf,struct ice_dynamic_port * sf) ice_eswitch_detach_sf() argument
[all...]
H A Dice_idc.c35 * @pf: pointer to PF struct
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()
[all …]
H A Dice_dpll.c94 * @pf: private board structure
108 static bool ice_dpll_is_sw_pin(struct ice_pf *pf, u8 index, bool input) in ice_dpll_is_sw_pin()
110 if (input && pf->hw.device_id == ICE_DEV_ID_E810C_QSFP) in ice_dpll_is_sw_pin()
124 * @pf: private board structure in ice_dpll_is_reset() argument
133 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack)
135 if (ice_is_reset_in_progress(pf->state)) {
136 NL_SET_ERR_MSG(extack, "PF reset in progress");
144 * @pf: private board structure
152 * Context: Called under pf->dplls.lock in ice_dpll_pin_freq_set()
158 ice_dpll_pin_freq_set(struct ice_pf *pf, struc in ice_dpll_pin_freq_set()
99 ice_dpll_is_sw_pin(struct ice_pf * pf,u8 index,bool input) ice_dpll_is_sw_pin() argument
149 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
209 struct ice_pf *pf = d->pf; ice_dpll_frequency_set() local
297 struct ice_pf *pf = d->pf; ice_dpll_frequency_get() local
557 ice_dpll_rclk_update_e825c(struct ice_pf * pf,struct ice_dpll_pin * pin) ice_dpll_rclk_update_e825c() argument
599 ice_dpll_rclk_update(struct ice_pf * pf,struct ice_dpll_pin * pin,u8 port_num) ice_dpll_rclk_update() argument
633 ice_dpll_sw_pins_update(struct ice_pf * pf) ice_dpll_sw_pins_update() argument
698 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
812 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
854 struct ice_pf *pf = d->pf; ice_dpll_lock_status_get() local
882 struct ice_pf *pf = d->pf; ice_dpll_mode_get() local
909 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_monitor_set() local
940 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_monitor_get() local
977 struct ice_pf *pf = d->pf; ice_dpll_pin_state_set() local
1085 struct ice_pf *pf = d->pf; ice_dpll_pin_state_get() local
1291 struct ice_pf *pf = p->pf; ice_dpll_ufl_pin_state_set() local
1403 struct ice_pf *pf = p->pf; ice_dpll_sw_pin_state_get() local
1459 struct ice_pf *pf = sma->pf; ice_dpll_sma_pin_state_set() local
1522 struct ice_pf *pf = d->pf; ice_dpll_input_prio_get() local
1554 struct ice_pf *pf = d->pf; ice_dpll_input_prio_set() local
1574 struct ice_pf *pf = d->pf; ice_dpll_sw_input_prio_get() local
1593 struct ice_pf *pf = d->pf; ice_dpll_sw_input_prio_set() local
1681 struct ice_pf *pf = p->pf; ice_dpll_pin_sma_direction_set() local
1719 struct ice_pf *pf = p->pf; ice_dpll_pin_sw_direction_get() local
1753 struct ice_pf *pf = p->pf; ice_dpll_pin_phase_adjust_get() local
1789 struct ice_pf *pf = d->pf; ice_dpll_pin_phase_adjust_set() local
1991 struct ice_pf *pf = d->pf; ice_dpll_phase_offset_get() local
2067 struct ice_pf *pf = d->pf; ice_dpll_output_esync_set() local
2123 struct ice_pf *pf = d->pf; ice_dpll_output_esync_get() local
2171 struct ice_pf *pf = d->pf; ice_dpll_input_esync_set() local
2227 struct ice_pf *pf = d->pf; ice_dpll_input_esync_get() local
2345 struct ice_pf *pf = p->pf; ice_dpll_input_ref_sync_set() local
2390 struct ice_pf *pf = p->pf; ice_dpll_input_ref_sync_get() local
2511 struct ice_pf *pf = p->pf; ice_dpll_rclk_state_on_pin_set() local
2580 struct ice_pf *pf = p->pf; ice_dpll_rclk_state_on_pin_get() local
2695 ice_generate_clock_id(struct ice_pf * pf) ice_generate_clock_id() argument
2763 ice_dpll_is_pps_phase_monitor(struct ice_pf * pf) ice_dpll_is_pps_phase_monitor() argument
2811 ice_dpll_pps_update_phase_offsets(struct ice_pf * pf,u32 * phase_offset_pins_updated) ice_dpll_pps_update_phase_offsets() argument
2870 ice_dpll_update_state(struct ice_pf * pf,struct ice_dpll * d,bool init) ice_dpll_update_state() argument
2939 struct ice_pf *pf = container_of(d, struct ice_pf, dplls); ice_dpll_periodic_work() local
2991 ice_dpll_init_ref_sync_inputs(struct ice_pf * pf) ice_dpll_init_ref_sync_inputs() argument
3094 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
3221 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
3253 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
3287 ice_dpll_deinit_rclk_pin(struct ice_pf * pf) ice_dpll_deinit_rclk_pin() argument
3318 struct ice_pf *pf = parent->pf; ice_dpll_pin_notify_work() local
3417 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
3475 ice_dpll_init_rclk_pin(struct ice_pf * pf,int start_idx,const struct dpll_pin_ops * ops) ice_dpll_init_rclk_pin() argument
3504 ice_dpll_deinit_fwnode_pins(struct ice_pf * pf,struct ice_dpll_pin * pins,int start_idx) ice_dpll_deinit_fwnode_pins() argument
3522 ice_dpll_deinit_pins(struct ice_pf * pf,bool cgu) ice_dpll_deinit_pins() argument
3564 ice_dpll_pin_node_get(struct ice_pf * pf,const char * name) ice_dpll_pin_node_get() argument
3579 struct ice_pf *pf = pin->pf; ice_dpll_init_fwnode_pin() local
3637 ice_dpll_init_fwnode_pins(struct ice_pf * pf,struct ice_dpll_pin * pins,int start_idx) ice_dpll_init_fwnode_pins() argument
3677 ice_dpll_init_pins_e825(struct ice_pf * pf) ice_dpll_init_pins_e825() argument
3710 ice_dpll_init_pins(struct ice_pf * pf,bool cgu) ice_dpll_init_pins() argument
3803 ice_dpll_deinit_dpll(struct ice_pf * pf,struct ice_dpll * d,bool cgu) ice_dpll_deinit_dpll() argument
3825 ice_dpll_init_dpll(struct ice_pf * pf,struct ice_dpll * d,bool cgu,enum dpll_type type) ice_dpll_init_dpll() argument
3864 ice_dpll_deinit_worker(struct ice_pf * pf) ice_dpll_deinit_worker() argument
3883 ice_dpll_init_worker(struct ice_pf * pf) ice_dpll_init_worker() argument
3923 ice_dpll_init_info_pins_generic(struct ice_pf * pf,bool input) ice_dpll_init_info_pins_generic() argument
3992 ice_dpll_init_info_direct_pins(struct ice_pf * pf,enum ice_dpll_pin_type pin_type) ice_dpll_init_info_direct_pins() argument
4076 ice_dpll_init_info_pin_on_pin_e825c(struct ice_pf * pf) ice_dpll_init_info_pin_on_pin_e825c() argument
4097 ice_dpll_init_info_rclk_pin(struct ice_pf * pf) ice_dpll_init_info_rclk_pin() argument
4120 ice_dpll_init_info_sw_pins(struct ice_pf * pf) ice_dpll_init_info_sw_pins() argument
4223 ice_dpll_init_pins_info(struct ice_pf * pf,enum ice_dpll_pin_type pin_type) ice_dpll_init_pins_info() argument
4247 ice_dpll_deinit_info(struct ice_pf * pf) ice_dpll_deinit_info() argument
4266 ice_dpll_init_info_e825c(struct ice_pf * pf) ice_dpll_init_info_e825c() argument
4310 ice_dpll_init_info(struct ice_pf * pf,bool cgu) ice_dpll_init_info() argument
4409 ice_dpll_deinit(struct ice_pf * pf) ice_dpll_deinit() argument
4436 ice_dpll_init_e825(struct ice_pf * pf) ice_dpll_init_e825() argument
4472 ice_dpll_init_e810(struct ice_pf * pf) ice_dpll_init_e810() argument
4513 ice_dpll_init(struct ice_pf * pf) ice_dpll_init() argument
[all...]
H A Dice_ptp.c58 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_pf()
60 struct ice_pf *ctrl_pf = ice_get_ctrl_pf(pf); in ice_get_ctrl_pf()
67 * @pf: Board private structure in ice_get_ctrl_ptp()
73 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func,
76 const struct ptp_clock_info *info = &pf->ptp.info;
90 * @pf: Board private structure in ice_ptp_find_pin_idx()
95 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf)
97 struct ice_hw *hw = &pf->hw;
101 switch (pf->ptp.tx_interrupt_mode) { in ice_ptp_cfg_tx_interrupt()
114 enable = pf in ice_ptp_cfg_tx_interrupt()
57 ice_get_ctrl_pf(struct ice_pf * pf) ice_get_ctrl_pf() argument
62 ice_get_ctrl_ptp(struct ice_pf * pf) ice_get_ctrl_ptp() argument
77 ice_ptp_find_pin_idx(struct ice_pf * pf,enum ptp_pin_function func,unsigned int chan) ice_ptp_find_pin_idx() argument
99 ice_ptp_cfg_tx_interrupt(struct ice_pf * pf) ice_ptp_cfg_tx_interrupt() argument
136 ice_set_rx_tstamp(struct ice_pf * pf,bool on) ice_set_rx_tstamp() argument
161 ice_ptp_disable_timestamp_mode(struct ice_pf * pf) ice_ptp_disable_timestamp_mode() argument
180 ice_ptp_restore_timestamp_mode(struct ice_pf * pf) ice_ptp_restore_timestamp_mode() argument
203 ice_ptp_read_src_clk_reg(struct ice_pf * pf,struct ptp_system_timestamp * sts) ice_ptp_read_src_clk_reg() argument
341 ice_ptp_extend_40b_ts(struct ice_pf * pf,u64 in_tstamp) ice_ptp_extend_40b_ts() argument
385 struct ice_pf *pf; ice_ptp_req_tx_single_tstamp() local
437 struct ice_pf *pf; ice_ptp_complete_tx_single_tstamp() local
565 struct ice_pf *pf; ice_ptp_process_tx_tstamp() local
680 ice_ptp_tx_tstamp_owner(struct ice_pf * pf) ice_ptp_tx_tstamp_owner() argument
740 ice_ptp_flush_tx_tracker(struct ice_pf * pf,struct ice_ptp_tx * tx) ice_ptp_flush_tx_tracker() argument
811 ice_ptp_flush_all_tx_tracker(struct ice_pf * pf) ice_ptp_flush_all_tx_tracker() argument
827 ice_ptp_release_tx_tracker(struct ice_pf * pf,struct ice_ptp_tx * tx) ice_ptp_release_tx_tracker() argument
865 ice_ptp_init_tx_e82x(struct ice_pf * pf,struct ice_ptp_tx * tx,u8 port) ice_ptp_init_tx_e82x() argument
887 ice_ptp_init_tx(struct ice_pf * pf,struct ice_ptp_tx * tx,u8 port) ice_ptp_init_tx() argument
919 ice_ptp_update_cached_phctime(struct ice_pf * pf) ice_ptp_update_cached_phctime() argument
980 ice_ptp_reset_cached_phctime(struct ice_pf * pf) ice_ptp_reset_cached_phctime() argument
1017 ice_ptp_write_init(struct ice_pf * pf,struct timespec64 * ts) ice_ptp_write_init() argument
1033 ice_ptp_write_adj(struct ice_pf * pf,s32 adj) ice_ptp_write_adj() argument
1049 ice_base_incval(struct ice_pf * pf) ice_base_incval() argument
1070 struct ice_pf *pf; ice_ptp_check_tx_fifo() local
1140 struct ice_pf *pf; ice_ptp_wait_for_offsets() local
1177 struct ice_pf *pf = ptp_port_to_pf(ptp_port); ice_ptp_port_phy_stop() local
1220 struct ice_pf *pf = ptp_port_to_pf(ptp_port); ice_ptp_port_phy_restart() local
1282 ice_ptp_link_change(struct ice_pf * pf,bool linkup) ice_ptp_link_change() argument
1363 ice_ptp_cfg_phy_interrupt(struct ice_pf * pf,bool ena,u32 threshold) ice_ptp_cfg_phy_interrupt() argument
1417 ice_ptp_reset_phy_timestamping(struct ice_pf * pf) ice_ptp_reset_phy_timestamping() argument
1426 ice_ptp_restart_all_phy(struct ice_pf * pf) ice_ptp_restart_all_phy() argument
1450 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_adjfine() local
1470 ice_ptp_extts_event(struct ice_pf * pf) ice_ptp_extts_event() argument
1524 ice_ptp_cfg_extts(struct ice_pf * pf,struct ptp_extts_request * rq,int on) ice_ptp_cfg_extts() argument
1592 ice_ptp_disable_all_extts(struct ice_pf * pf) ice_ptp_disable_all_extts() argument
1608 ice_ptp_enable_all_extts(struct ice_pf * pf) ice_ptp_enable_all_extts() argument
1695 ice_ptp_cfg_perout(struct ice_pf * pf,struct ptp_perout_request * rq,int on) ice_ptp_cfg_perout() argument
1758 ice_ptp_disable_all_perout(struct ice_pf * pf) ice_ptp_disable_all_perout() argument
1775 ice_ptp_enable_all_perout(struct ice_pf * pf) ice_ptp_enable_all_perout() argument
1796 struct ice_pf *pf = ptp_info_to_pf(info); ice_verify_pin() local
1832 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_gpio_enable() local
1881 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_gettimex64() local
1900 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_settime64() local
1969 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_adjtime() local
2073 struct ice_pf *pf; global() member
2095 struct ice_pf *pf; ice_capture_crosststamp() local
2177 struct ice_pf *pf = ptp_info_to_pf(info); ice_ptp_getcrosststamp() local
2210 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_ptp_hwtstamp_get() local
2225 ice_ptp_set_timestamp_mode(struct ice_pf * pf,struct kernel_hwtstamp_config * config) ice_ptp_set_timestamp_mode() argument
2281 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_ptp_hwtstamp_set() local
2335 ice_ptp_setup_pin_cfg(struct ice_pf * pf) ice_ptp_setup_pin_cfg() argument
2362 ice_ptp_disable_pins(struct ice_pf * pf) ice_ptp_disable_pins() argument
2384 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
2446 ice_ptp_set_funcs_e82x(struct ice_pf * pf) ice_ptp_set_funcs_e82x() argument
2469 ice_ptp_set_funcs_e810(struct ice_pf * pf) ice_ptp_set_funcs_e810() argument
2521 ice_ptp_set_funcs_e830(struct ice_pf * pf) ice_ptp_set_funcs_e830() argument
2538 ice_ptp_set_caps(struct ice_pf * pf) ice_ptp_set_caps() argument
2586 ice_ptp_create_clock(struct ice_pf * pf) ice_ptp_create_clock() argument
2658 ice_ptp_process_ts(struct ice_pf * pf) ice_ptp_process_ts() argument
2693 ice_any_port_has_timestamps(struct ice_pf * pf) ice_any_port_has_timestamps() argument
2710 ice_ptp_tx_tstamps_pending(struct ice_pf * pf) ice_ptp_tx_tstamps_pending() argument
2756 ice_ptp_ts_irq(struct ice_pf * pf) ice_ptp_ts_irq() argument
2826 ice_ptp_maybe_trigger_tx_interrupt(struct ice_pf * pf) ice_ptp_maybe_trigger_tx_interrupt() argument
2853 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); ice_ptp_periodic_work() local
2875 ice_ptp_queue_work(struct ice_pf * pf) ice_ptp_queue_work() argument
2888 ice_ptp_prepare_rebuild_sec(struct ice_pf * pf,bool rebuild,enum ice_reset_req reset_type) ice_ptp_prepare_rebuild_sec() argument
2918 ice_ptp_prepare_for_reset(struct ice_pf * pf,enum ice_reset_req reset_type) ice_ptp_prepare_for_reset() argument
2961 ice_ptp_rebuild_owner(struct ice_pf * pf) ice_ptp_rebuild_owner() argument
3033 ice_ptp_rebuild(struct ice_pf * pf,enum ice_reset_req reset_type) ice_ptp_rebuild() argument
3062 ice_ptp_setup_adapter(struct ice_pf * pf) ice_ptp_setup_adapter() argument
3072 ice_ptp_setup_pf(struct ice_pf * pf) ice_ptp_setup_pf() argument
3096 ice_ptp_cleanup_pf(struct ice_pf * pf) ice_ptp_cleanup_pf() argument
3114 ice_ptp_clock_index(struct ice_pf * pf) ice_ptp_clock_index() argument
3134 ice_ptp_init_owner(struct ice_pf * pf) ice_ptp_init_owner() argument
3200 ice_ptp_init_work(struct ice_pf * pf,struct ice_ptp * ptp) ice_ptp_init_work() argument
3230 ice_ptp_init_port(struct ice_pf * pf,struct ice_ptp_port * ptp_port) ice_ptp_init_port() argument
3260 ice_ptp_init_tx_interrupt_mode(struct ice_pf * pf) ice_ptp_init_tx_interrupt_mode() argument
3291 ice_ptp_init(struct ice_pf * pf) ice_ptp_init() argument
3367 ice_ptp_release(struct ice_pf * pf) ice_ptp_release() argument
[all...]
H A Dice_main.c69 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 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
4845 ice_init_pf_sw(struct ice_pf * pf) ice_init_pf_sw() argument
4884 ice_deinit_pf_sw(struct ice_pf * pf) ice_deinit_pf_sw() argument
4895 ice_alloc_vsis(struct ice_pf * pf) ice_alloc_vsis() argument
4925 ice_dealloc_vsis(struct ice_pf * pf) ice_dealloc_vsis() argument
4935 ice_init_devlink(struct ice_pf * pf) ice_init_devlink() argument
4950 ice_deinit_devlink(struct ice_pf * pf) ice_deinit_devlink() argument
4958 ice_init(struct ice_pf * pf) ice_init() argument
5019 ice_deinit(struct ice_pf * pf) ice_deinit() argument
5035 ice_load(struct ice_pf * pf) ice_load() argument
5108 ice_unload(struct ice_pf * pf) ice_unload() argument
5123 ice_probe_recovery_mode(struct ice_pf * pf) ice_probe_recovery_mode() argument
5166 struct ice_pf *pf; ice_probe() local
5305 ice_set_wake(struct ice_pf * pf) ice_set_wake() argument
5328 ice_setup_mc_magic_wake(struct ice_pf * pf) ice_setup_mc_magic_wake() argument
5366 struct ice_pf *pf = pci_get_drvdata(pdev); ice_remove() local
5418 struct ice_pf *pf = pci_get_drvdata(pdev); ice_shutdown() local
5434 ice_prepare_for_shutdown(struct ice_pf * pf) ice_prepare_for_shutdown() argument
5465 ice_reinit_interrupt_scheme(struct ice_pf * pf) ice_reinit_interrupt_scheme() argument
5525 struct ice_pf *pf; ice_suspend() local
5597 struct ice_pf *pf; ice_resume() local
5660 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_detected() local
5689 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_slot_reset() local
5724 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_resume() local
5751 struct ice_pf *pf = pci_get_drvdata(pdev); ice_pci_err_reset_prepare() local
5940 struct ice_pf *pf = vsi->back; ice_set_mac_address() local
6443 struct ice_pf *pf = vsi->back; ice_set_features() local
6720 struct ice_pf *pf = vsi->back; ice_up_complete() local
6911 struct ice_pf *pf = vsi->back; ice_update_vsi_ring_stats() local
6966 struct ice_pf *pf = vsi->back; ice_update_vsi_stats() local
7001 ice_update_pf_stats(struct ice_pf * pf) ice_update_pf_stats() argument
7220 struct ice_pf *pf = vsi->back; ice_vsi_dis_irq() local
7416 struct ice_pf *pf = vsi->back; ice_vsi_open_ctrl() local
7472 struct ice_pf *pf = vsi->back; ice_vsi_open() local
7532 ice_vsi_release_all(struct ice_pf * pf) ice_vsi_release_all() argument
7560 ice_vsi_rebuild_by_type(struct ice_pf * pf,enum ice_vsi_type type) ice_vsi_rebuild_by_type() argument
7611 ice_update_pf_netdev_link(struct ice_pf * pf) ice_update_pf_netdev_link() argument
7643 ice_rebuild(struct ice_pf * pf,enum ice_reset_req reset_type) ice_rebuild() argument
7842 struct ice_pf *pf = vsi->back; ice_change_mtu() local
8092 struct ice_pf *pf = ice_netdev_to_pf(dev); ice_bridge_getlink() local
8162 struct ice_pf *pf = ice_netdev_to_pf(dev); ice_bridge_setlink() local
8223 struct ice_pf *pf = vsi->back; ice_tx_timeout() local
8388 struct ice_pf *pf = vsi->back; ice_validate_mqprio_qopt() local
8519 ice_add_vsi_to_fdir(struct ice_pf * pf,struct ice_vsi * vsi) ice_add_vsi_to_fdir() argument
8582 ice_add_channel(struct ice_pf * pf,u16 sw_id,struct ice_channel * ch) ice_add_channel() argument
8700 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
8738 ice_setup_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch) ice_setup_channel() argument
8791 struct ice_pf *pf = vsi->back; ice_create_q_channel() local
8839 ice_rem_all_chnl_fltrs(struct ice_pf * pf) ice_rem_all_chnl_fltrs() argument
8893 struct ice_pf *pf = vsi->back; ice_remove_q_channels() local
8967 ice_rebuild_channels(struct ice_pf * pf) ice_rebuild_channels() argument
9083 struct ice_pf *pf = vsi->back; ice_create_q_channels() local
9141 struct ice_pf *pf = vsi->back; ice_setup_tc_mqprio_qdisc() local
9317 struct ice_pf *pf; ice_cfg_txtime() local
9358 struct ice_pf *pf = np->vsi->back; ice_offload_txtime() local
9405 struct ice_pf *pf = np->vsi->back; ice_setup_tc() local
9596 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_open() local
9619 struct ice_pf *pf = vsi->back; ice_open_internal() local
9684 struct ice_pf *pf = vsi->back; ice_stop() local
[all...]
H A Dice_sriov.c19 * @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->hw; in ice_dis_vf_mappings()
102 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings()
129 * @pf: pointer to the PF structure
[all …]
H A Dice_dcb_nl.c16 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->lag->bonded) { in ice_dcbnl_setets()
78 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets()
[all …]
H A Dice_gnss.c9 * @pf: board private structure
20 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write() argument
23 struct ice_hw *hw = &pf->hw; in ice_gnss_do_write()
72 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", in ice_gnss_do_write()
91 struct ice_pf *pf; in ice_gnss_read() local
98 pf = gnss->back; in ice_gnss_read()
99 if (!pf || !test_bit(ICE_FLAG_GNSS, pf->flags)) in ice_gnss_read()
102 hw = &pf->hw; in ice_gnss_read()
147 count = gnss_insert_raw(pf->gnss_dev, buf, i); in ice_gnss_read()
149 dev_warn(ice_pf_to_dev(pf), in ice_gnss_read()
[all …]
H A Dice_dcb_lib.c26 * @pf: pointer to PF structure
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()
256 * PF queues) should be the first drop TC of the main VSI in ice_vsi_cfg_dcb_rings()
274 * @pf: pointer to the PF instance
278 * Before a new DCB configuration can be applied, VSIs of type PF, SWITCHDEV
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c84 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()
104 * @pf: PF device pointer
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()
[all …]
H A Di40e_dcb_nl.c37 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 Di40e_ptp.c138 static int i40e_ptp_set_pins(struct i40e_pf *pf,
149 struct i40e_pf *pf = container_of(work, struct i40e_pf,
151 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work()
169 ptp_clock_event(pf->ptp_clock, &event); in i40e_ptp_extts0_work()
186 * @pf: board private structure
189 * Return CAN_SET_PINS if pins can be set on a specific PF or
193 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf)
195 if (!i40e_is_ptp_pin_dev(&pf->hw)) {
196 dev_warn(&pf->pdev->dev, in i40e_can_set_pins() argument
201 if (!pf in i40e_can_set_pins()
152 struct i40e_pf *pf = container_of(work, struct i40e_pf, i40e_ptp_extts0_work() local
225 i40_ptp_reset_timing_events(struct i40e_pf * pf) i40_ptp_reset_timing_events() argument
281 i40e_ptp_read(struct i40e_pf * pf,struct timespec64 * ts,struct ptp_system_timestamp * sts) i40e_ptp_read() argument
308 i40e_ptp_write(struct i40e_pf * pf,const struct timespec64 * ts) i40e_ptp_write() argument
349 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_ptp_adjfine() local
370 i40e_ptp_set_1pps_signal_hw(struct i40e_pf * pf) i40e_ptp_set_1pps_signal_hw() argument
404 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_ptp_adjtime() local
452 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_ptp_gettimex() local
472 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_ptp_settime() local
494 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_pps_configure() local
536 i40e_ptp_enable_pin(struct i40e_pf * pf,unsigned int chan,enum ptp_pin_function func,int on) i40e_ptp_enable_pin() argument
599 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); i40e_ptp_feature_enable() local
635 i40e_ptp_get_rx_events(struct i40e_pf * pf) i40e_ptp_get_rx_events() argument
673 i40e_ptp_rx_hang(struct i40e_pf * pf) i40e_ptp_rx_hang() argument
732 i40e_ptp_tx_hang(struct i40e_pf * pf) i40e_ptp_tx_hang() argument
766 i40e_ptp_tx_hwtstamp(struct i40e_pf * pf) i40e_ptp_tx_hwtstamp() argument
812 i40e_ptp_rx_hwtstamp(struct i40e_pf * pf,struct sk_buff * skb,u8 index) i40e_ptp_rx_hwtstamp() argument
858 i40e_ptp_set_increment(struct i40e_pf * pf) i40e_ptp_set_increment() argument
927 struct i40e_pf *pf = np->vsi->back; i40e_ptp_hwtstamp_get() local
943 i40e_ptp_free_pins(struct i40e_pf * pf) i40e_ptp_free_pins() argument
1041 i40e_ptp_set_pins_hw(struct i40e_pf * pf) i40e_ptp_set_pins_hw() argument
1075 i40e_ptp_set_pins(struct i40e_pf * pf,struct i40e_ptp_pins_settings * pins) i40e_ptp_set_pins() argument
1130 i40e_ptp_alloc_pins(struct i40e_pf * pf) i40e_ptp_alloc_pins() argument
1173 i40e_ptp_set_timestamp_mode(struct i40e_pf * pf,struct kernel_hwtstamp_config * config) i40e_ptp_set_timestamp_mode() argument
1316 struct i40e_pf *pf = np->vsi->back; i40e_ptp_hwtstamp_set() local
1339 i40e_init_pin_config(struct i40e_pf * pf) i40e_init_pin_config() argument
1380 i40e_ptp_create_clock(struct i40e_pf * pf) i40e_ptp_create_clock() argument
1429 i40e_ptp_save_hw_time(struct i40e_pf * pf) i40e_ptp_save_hw_time() argument
1452 i40e_ptp_restore_hw_time(struct i40e_pf * pf) i40e_ptp_restore_hw_time() argument
1476 i40e_ptp_init(struct i40e_pf * pf) i40e_ptp_init() argument
1541 i40e_ptp_stop(struct i40e_pf * pf) i40e_ptp_stop() argument
[all...]
H A Di40e_debugfs.c22 * @pf: the PF structure to search for the vsi
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()
55 * @pf: the i40e_pf created in command write
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()
[all …]
H A Di40e_main.c36 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired);
39 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired);
40 static int i40e_setup_misc_vector(struct i40e_pf *pf);
41 static void i40e_determine_queue_usage(struct i40e_pf *pf);
42 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
43 static void i40e_prep_for_reset(struct i40e_pf *pf);
44 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit,
46 static int i40e_reset(struct i40e_pf *pf);
47 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
48 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
145 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_hw_to_dev() local
160 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_allocate_dma_mem() local
178 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_free_dma_mem() local
230 i40e_get_lump(struct i40e_pf * pf,struct i40e_lump_tracking * pile,u16 needed,u16 id) i40e_get_lump() argument
319 i40e_find_vsi_from_id(struct i40e_pf * pf,u16 id) i40e_find_vsi_from_id() argument
337 i40e_service_event_schedule(struct i40e_pf * pf) i40e_service_event_schedule() argument
358 struct i40e_pf *pf = vsi->back; i40e_tx_timeout() local
562 i40e_pf_reset_stats(struct i40e_pf * pf) i40e_pf_reset_stats() argument
724 struct i40e_pf *pf = vsi->back; i40e_update_eth_stats() local
786 struct i40e_pf *pf = veb->pf; i40e_update_veb_stats() local
872 struct i40e_pf *pf = vsi->back; i40e_update_vsi_stats() local
1011 i40e_update_pf_stats(struct i40e_pf * pf) i40e_update_pf_stats() argument
1243 struct i40e_pf *pf = vsi->back; i40e_update_stats() local
1510 struct i40e_pf *pf = vsi->back; i40e_get_vf_new_vlan() local
1610 struct i40e_pf *pf = vsi->back; i40e_rm_default_mac_filter() local
1805 struct i40e_pf *pf = vsi->back; i40e_set_mac() local
1862 struct i40e_pf *pf = vsi->back; i40e_config_rss_aq() local
1899 struct i40e_pf *pf = vsi->back; i40e_vsi_config_rss() local
2032 struct i40e_pf *pf = vsi->back; i40e_vsi_setup_queue_map() local
2482 i40e_set_promiscuous(struct i40e_pf * pf,bool promisc) i40e_set_promiscuous() argument
2561 struct i40e_pf *pf; i40e_sync_vsi_filters() local
2887 i40e_sync_filters_subtask(struct i40e_pf * pf) i40e_sync_filters_subtask() argument
2959 struct i40e_pf *pf = vsi->back; i40e_change_mtu() local
3817 i40e_reset_fdir_filter_cnt(struct i40e_pf * pf) i40e_reset_fdir_filter_cnt() argument
3839 struct i40e_pf *pf = vsi->back; i40e_fdir_filter_restore() local
3879 struct i40e_pf *pf = vsi->back; i40e_vsi_configure_msix() local
3968 i40e_enable_misc_int_causes(struct i40e_pf * pf) i40e_enable_misc_int_causes() argument
4010 struct i40e_pf *pf = vsi->back; i40e_configure_msi_and_legacy() local
4049 i40e_irq_dynamic_disable_icr0(struct i40e_pf * pf) i40e_irq_dynamic_disable_icr0() argument
4062 i40e_irq_dynamic_enable_icr0(struct i40e_pf * pf) i40e_irq_dynamic_enable_icr0() argument
4129 struct i40e_pf *pf = vsi->back; i40e_vsi_request_irq_msix() local
4202 struct i40e_pf *pf = vsi->back; i40e_vsi_disable_irq() local
4248 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_irq() local
4266 i40e_free_misc_vector(struct i40e_pf * pf) i40e_free_misc_vector() argument
4289 struct i40e_pf *pf = (struct i40e_pf *)data; i40e_intr() local
4609 struct i40e_pf *pf = vsi->back; i40e_vsi_request_irq() local
4639 struct i40e_pf *pf = vsi->back; i40e_netpoll() local
4668 i40e_pf_txq_wait(struct i40e_pf * pf,int pf_q,bool enable) i40e_pf_txq_wait() argument
4696 i40e_control_tx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_tx_q() argument
4738 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
4763 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_tx() local
4797 i40e_pf_rxq_wait(struct i40e_pf * pf,int pf_q,bool enable) i40e_pf_rxq_wait() argument
4825 i40e_control_rx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_rx_q() argument
4862 i40e_control_wait_rx_q(struct i40e_pf * pf,int pf_q,bool enable) i40e_control_wait_rx_q() argument
4882 struct i40e_pf *pf = vsi->back; i40e_vsi_enable_rx() local
4924 struct i40e_pf *pf = vsi->back; i40e_vsi_stop_rings() local
4960 struct i40e_pf *pf = vsi->back; i40e_vsi_stop_rings_no_wait() local
4976 struct i40e_pf *pf = vsi->back; i40e_vsi_free_irq() local
5140 i40e_reset_interrupt_capability(struct i40e_pf * pf) i40e_reset_interrupt_capability() argument
5163 i40e_clear_interrupt_scheme(struct i40e_pf * pf) i40e_clear_interrupt_scheme() argument
5226 struct i40e_pf *pf = vsi->back; i40e_vsi_close() local
5273 i40e_pf_quiesce_all_vsi(struct i40e_pf * pf) i40e_pf_quiesce_all_vsi() argument
5286 i40e_pf_unquiesce_all_vsi(struct i40e_pf * pf) i40e_pf_unquiesce_all_vsi() argument
5303 struct i40e_pf *pf = vsi->back; i40e_vsi_wait_queues_disabled() local
5351 i40e_pf_wait_queues_disabled(struct i40e_pf * pf) i40e_pf_wait_queues_disabled() argument
5374 i40e_get_iscsi_tc_map(struct i40e_pf * pf) i40e_get_iscsi_tc_map() argument
5464 i40e_mqprio_get_enabled_tc(struct i40e_pf * pf) i40e_mqprio_get_enabled_tc() argument
5481 i40e_pf_get_num_tc(struct i40e_pf * pf) i40e_pf_get_num_tc() argument
5519 i40e_pf_get_tc_map(struct i40e_pf * pf) i40e_pf_get_tc_map() argument
5551 struct i40e_pf *pf = vsi->back; i40e_vsi_get_bw_info() local
5613 struct i40e_pf *pf = vsi->back; i40e_vsi_configure_bw_alloc() local
5656 struct i40e_pf *pf = vsi->back; i40e_vsi_config_netdev_tc() local
5730 struct i40e_pf *pf; i40e_update_adq_vsi_queues() local
5790 struct i40e_pf *pf = vsi->back; i40e_vsi_config_tc() local
5939 struct i40e_pf *pf = vsi->back; i40e_get_link_speed() local
5987 struct i40e_pf *pf = vsi->back; i40e_set_bw_limit() local
6029 struct i40e_pf *pf = vsi->back; i40e_remove_queue_channels() local
6139 i40e_validate_num_queues(struct i40e_pf * pf,int num_queues,struct i40e_vsi * vsi,bool * reconfig_rss) i40e_validate_num_queues() argument
6191 struct i40e_pf *pf = vsi->back; i40e_vsi_reconfig_rss() local
6247 i40e_channel_setup_queue_map(struct i40e_pf * pf,struct i40e_vsi_context * ctxt,struct i40e_channel * ch) i40e_channel_setup_queue_map() argument
6286 i40e_add_channel(struct i40e_pf * pf,u16 uplink_seid,struct i40e_channel * ch) i40e_add_channel() argument
6385 i40e_channel_config_tx_ring(struct i40e_pf * pf,struct i40e_vsi * vsi,struct i40e_channel * ch) i40e_channel_config_tx_ring() argument
6439 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
6490 i40e_setup_channel(struct i40e_pf * pf,struct i40e_vsi * vsi,struct i40e_channel * ch) i40e_setup_channel() argument
6530 struct i40e_pf *pf = vsi->back; i40e_validate_and_set_switch_mode() local
6586 struct i40e_pf *pf = vsi->back; i40e_create_queue_channel() local
6747 struct i40e_pf *pf = veb->pf; i40e_veb_config_tc() local
6794 i40e_dcb_reconfigure(struct i40e_pf * pf) i40e_dcb_reconfigure() argument
6849 i40e_resume_port_tx(struct i40e_pf * pf) i40e_resume_port_tx() argument
6874 i40e_suspend_port_tx(struct i40e_pf * pf) i40e_suspend_port_tx() argument
6900 i40e_hw_set_dcb_config(struct i40e_pf * pf,struct i40e_dcbx_config * new_cfg) i40e_hw_set_dcb_config() argument
6950 i40e_hw_dcb_config(struct i40e_pf * pf,struct i40e_dcbx_config * new_cfg) i40e_hw_dcb_config() argument
7123 i40e_dcb_sw_default_config(struct i40e_pf * pf) i40e_dcb_sw_default_config() argument
7182 i40e_init_pf_dcb(struct i40e_pf * pf) i40e_init_pf_dcb() argument
7275 struct i40e_pf *pf = vsi->back; i40e_print_link_message() local
7409 struct i40e_pf *pf = vsi->back; i40e_up_complete() local
7459 struct i40e_pf *pf = vsi->back; i40e_vsi_reinit_locked() local
7474 i40e_force_link_state(struct i40e_pf * pf,bool is_up) i40e_force_link_state() argument
7835 struct i40e_pf *pf = vsi->back; i40e_fwd_ring_up() local
7907 struct i40e_pf *pf = vsi->back; i40e_setup_macvlans() local
8009 struct i40e_pf *pf = vsi->back; i40e_fwd_add() local
8117 struct i40e_pf *pf = vsi->back; i40e_del_all_macvlans() local
8154 struct i40e_pf *pf = vsi->back; i40e_fwd_del() local
8194 struct i40e_pf *pf = vsi->back; i40e_setup_tc() local
8391 struct i40e_pf *pf = vsi->back; i40e_add_del_cloud_filter() local
8461 struct i40e_pf *pf = vsi->back; i40e_add_del_cloud_filter_big_buf() local
8571 struct i40e_pf *pf = vsi->back; i40e_parse_cls_flower() local
8814 struct i40e_pf *pf = vsi->back; i40e_configure_clsflower() local
8913 struct i40e_pf *pf = vsi->back; i40e_delete_clsflower() local
9022 struct i40e_pf *pf = vsi->back; i40e_open() local
9083 struct i40e_pf *pf = vsi->back; i40e_vsi_open() local
9151 i40e_fdir_filter_exit(struct i40e_pf * pf) i40e_fdir_filter_exit() argument
9230 i40e_cloud_filter_exit(struct i40e_pf * pf) i40e_cloud_filter_exit() argument
9281 i40e_do_reset(struct i40e_pf * pf,u32 reset_flags,bool lock_acquired) i40e_do_reset() argument
9373 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
9427 i40e_handle_lldp_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_lldp_event() argument
9550 i40e_do_reset_safe(struct i40e_pf * pf,u32 reset_flags) i40e_do_reset_safe() argument
9565 i40e_handle_lan_overflow_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_lan_overflow_event() argument
9596 i40e_get_current_fd_count(struct i40e_pf * pf) i40e_get_current_fd_count() argument
9610 i40e_get_global_fd_count(struct i40e_pf * pf) i40e_get_global_fd_count() argument
9624 i40e_reenable_fdir_sb(struct i40e_pf * pf) i40e_reenable_fdir_sb() argument
9636 i40e_reenable_fdir_atr(struct i40e_pf * pf) i40e_reenable_fdir_atr() argument
9659 i40e_delete_invalid_filter(struct i40e_pf * pf,struct i40e_fdir_filter * filter) i40e_delete_invalid_filter() argument
9728 i40e_fdir_check_and_reenable(struct i40e_pf * pf) i40e_fdir_check_and_reenable() argument
9768 i40e_fdir_flush_and_replay(struct i40e_pf * pf) i40e_fdir_flush_and_replay() argument
9826 i40e_get_current_atr_cnt(struct i40e_pf * pf) i40e_get_current_atr_cnt() argument
9835 i40e_fdir_reinit_subtask(struct i40e_pf * pf) i40e_fdir_reinit_subtask() argument
9892 struct i40e_pf *pf; i40e_veb_link_event() local
9909 i40e_link_event(struct i40e_pf * pf) i40e_link_event() argument
9996 i40e_watchdog_subtask(struct i40e_pf * pf) i40e_watchdog_subtask() argument
10038 i40e_reset_subtask(struct i40e_pf * pf) i40e_reset_subtask() argument
10085 i40e_handle_link_event(struct i40e_pf * pf,struct i40e_arq_event_info * e) i40e_handle_link_event() argument
10124 i40e_clean_adminq_subtask(struct i40e_pf * pf) i40e_clean_adminq_subtask() argument
10256 i40e_verify_eeprom(struct i40e_pf * pf) i40e_verify_eeprom() argument
10283 i40e_enable_pf_switch_lb(struct i40e_pf * pf) i40e_enable_pf_switch_lb() argument
10317 i40e_disable_pf_switch_lb(struct i40e_pf * pf) i40e_disable_pf_switch_lb() argument
10355 struct i40e_pf *pf = veb->pf; i40e_config_bridge_mode() local
10377 struct i40e_pf *pf = veb->pf; i40e_reconstitute_veb() local
10453 i40e_get_capabilities(struct i40e_pf * pf,enum i40e_admin_queue_opc list_type) i40e_get_capabilities() argument
10533 i40e_fdir_sb_setup(struct i40e_pf * pf) i40e_fdir_sb_setup() argument
10577 i40e_fdir_teardown(struct i40e_pf * pf) i40e_fdir_teardown() argument
10598 struct i40e_pf *pf = vsi->back; i40e_rebuild_cloud_filters() local
10707 i40e_prep_for_reset(struct i40e_pf * pf) i40e_prep_for_reset() argument
10750 i40e_send_version(struct i40e_pf * pf) i40e_send_version() argument
10813 i40e_reset(struct i40e_pf * pf) i40e_reset() argument
10836 i40e_rebuild(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_rebuild() argument
11126 i40e_reset_and_rebuild(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_reset_and_rebuild() argument
11153 i40e_handle_reset_warning(struct i40e_pf * pf,bool lock_acquired) i40e_handle_reset_warning() argument
11165 i40e_print_vf_mdd_event(struct i40e_pf * pf,struct i40e_vf * vf,bool is_tx) i40e_print_vf_mdd_event() argument
11184 i40e_print_vfs_mdd_events(struct i40e_pf * pf) i40e_print_vfs_mdd_events() argument
11226 i40e_handle_mdd_event(struct i40e_pf * pf) i40e_handle_mdd_event() argument
11334 struct i40e_pf *pf = container_of(work, i40e_service_task() local
11392 struct i40e_pf *pf = timer_container_of(pf, t, service_timer); i40e_service_timer() local
11405 struct i40e_pf *pf = vsi->back; i40e_set_num_rings_in_vsi() local
11517 i40e_vsi_mem_alloc(struct i40e_pf * pf,enum i40e_vsi_type type) i40e_vsi_mem_alloc() argument
11644 struct i40e_pf *pf; i40e_vsi_clear() local
11715 struct i40e_pf *pf = vsi->back; i40e_alloc_rings() local
11785 i40e_reserve_msix_vectors(struct i40e_pf * pf,int vectors) i40e_reserve_msix_vectors() argument
11806 i40e_init_msix(struct i40e_pf * pf) i40e_init_msix() argument
12063 struct i40e_pf *pf = vsi->back; i40e_vsi_alloc_q_vectors() local
12093 i40e_init_interrupt_scheme(struct i40e_pf * pf) i40e_init_interrupt_scheme() argument
12155 i40e_restore_interrupt_scheme(struct i40e_pf * pf) i40e_restore_interrupt_scheme() argument
12210 i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf * pf) i40e_setup_misc_vector_for_recovery_mode() argument
12250 i40e_setup_misc_vector(struct i40e_pf * pf) i40e_setup_misc_vector() argument
12293 struct i40e_pf *pf = vsi->back; i40e_get_rss_aq() local
12337 struct i40e_pf *pf = vsi->back; i40e_config_rss_reg() local
12391 struct i40e_pf *pf = vsi->back; i40e_get_rss_reg() local
12424 struct i40e_pf *pf = vsi->back; i40e_config_rss() local
12443 struct i40e_pf *pf = vsi->back; i40e_get_rss() local
12458 i40e_fill_rss_lut(struct i40e_pf * pf,u8 * lut,u16 rss_table_size,u16 rss_size) i40e_fill_rss_lut() argument
12471 i40e_pf_config_rss(struct i40e_pf * pf) i40e_pf_config_rss() argument
12543 i40e_reconfig_rss_queues(struct i40e_pf * pf,int queue_count) i40e_reconfig_rss_queues() argument
12590 i40e_get_partition_bw_setting(struct i40e_pf * pf) i40e_get_partition_bw_setting() argument
12613 i40e_set_partition_bw_setting(struct i40e_pf * pf) i40e_set_partition_bw_setting() argument
12636 i40e_is_total_port_shutdown_enabled(struct i40e_pf * pf) i40e_is_total_port_shutdown_enabled() argument
12691 i40e_sw_init(struct i40e_pf * pf) i40e_sw_init() argument
12831 i40e_set_ntuple(struct i40e_pf * pf,netdev_features_t features) i40e_set_ntuple() argument
12877 struct i40e_pf *pf = vsi->back; i40e_clear_rss_lut() local
12927 struct i40e_pf *pf = vsi->back; i40e_set_features() local
13008 struct i40e_pf *pf = np->vsi->back; i40e_get_phys_port_id() local
13038 struct i40e_pf *pf = np->vsi->back; i40e_ndo_fdb_add() local
13094 struct i40e_pf *pf = vsi->back; i40e_ndo_bridge_setlink() local
13164 struct i40e_pf *pf = vsi->back; i40e_ndo_bridge_getlink() local
13248 struct i40e_pf *pf = vsi->back; i40e_xdp_setup() local
13315 struct i40e_pf *pf = vsi->back; i40e_enter_busy_conf() local
13334 struct i40e_pf *pf = vsi->back; i40e_exit_busy_conf() local
13409 struct i40e_pf *pf = vsi->back; i40e_queue_pair_toggle_rings() local
13460 struct i40e_pf *pf = vsi->back; i40e_queue_pair_enable_irq() local
13480 struct i40e_pf *pf = vsi->back; i40e_queue_pair_disable_irq() local
13636 struct i40e_pf *pf = vsi->back; i40e_config_netdev() local
13824 struct i40e_pf *pf = vsi->back; i40e_is_vsi_uplink_mode_veb() local
13859 struct i40e_pf *pf = vsi->back; i40e_add_vsi() local
14101 struct i40e_pf *pf; i40e_vsi_release() local
14202 struct i40e_pf *pf = vsi->back; i40e_vsi_setup_vectors() local
14259 struct i40e_pf *pf; i40e_vsi_reinit_setup() local
14336 i40e_vsi_setup(struct i40e_pf * pf,u8 type,u16 uplink_seid,u32 param1) i40e_vsi_setup() argument
14518 struct i40e_pf *pf = veb->pf; i40e_veb_get_bw_info() local
14566 i40e_veb_mem_alloc(struct i40e_pf * pf) i40e_veb_mem_alloc() argument
14614 struct i40e_pf *pf = branch->pf; i40e_switch_branch_release() local
14655 struct i40e_pf *pf = veb->pf; i40e_veb_clear() local
14673 struct i40e_pf *pf; i40e_veb_release() local
14714 struct i40e_pf *pf = veb->pf; i40e_add_veb() local
14772 i40e_veb_setup(struct i40e_pf * pf,u16 uplink_seid,u16 vsi_seid,u8 enabled_tc) i40e_veb_setup() argument
14832 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
14916 i40e_fetch_switch_configuration(struct i40e_pf * pf,bool printconfig) i40e_fetch_switch_configuration() argument
14972 i40e_setup_pf_switch(struct i40e_pf * pf,bool reinit,bool lock_acquired) i40e_setup_pf_switch() argument
15085 i40e_determine_queue_usage(struct i40e_pf * pf) i40e_determine_queue_usage() argument
15192 i40e_setup_pf_filter_control(struct i40e_pf * pf) i40e_setup_pf_filter_control() argument
15215 i40e_print_features(struct i40e_pf * pf) i40e_print_features() argument
15266 i40e_get_platform_mac_addr(struct pci_dev * pdev,struct i40e_pf * pf) i40e_get_platform_mac_addr() argument
15308 i40e_check_recovery_mode(struct i40e_pf * pf) i40e_check_recovery_mode() argument
15346 i40e_pf_loop_reset(struct i40e_pf * pf) i40e_pf_loop_reset() argument
15378 i40e_check_fw_empr(struct i40e_pf * pf) i40e_check_fw_empr() argument
15397 i40e_handle_resets(struct i40e_pf * pf) i40e_handle_resets() argument
15418 i40e_init_recovery_mode(struct i40e_pf * pf,struct i40e_hw * hw) i40e_init_recovery_mode() argument
15513 struct i40e_pf *pf = i40e_hw_to_pf(hw); i40e_set_subsystem_device_id() local
15538 struct i40e_pf *pf; i40e_probe() local
16148 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_remove() local
16287 i40e_enable_mc_magic_wake(struct i40e_pf * pf) i40e_enable_mc_magic_wake() argument
16334 i40e_io_suspend(struct i40e_pf * pf) i40e_io_suspend() argument
16381 i40e_io_resume(struct i40e_pf * pf) i40e_io_resume() argument
16427 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_detected() local
16456 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_slot_reset() local
16487 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_reset_prepare() local
16498 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_reset_done() local
16518 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_error_resume() local
16533 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_shutdown() local
16585 struct i40e_pf *pf = dev_get_drvdata(dev); i40e_suspend() local
16599 struct i40e_pf *pf = dev_get_drvdata(dev); i40e_resume() local
[all...]
H A Di40e_virtchnl_pf.c12 * @pf: pointer to the PF structure
18 * send a message to all VFs on a given PF
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()
80 * @pfe: pointer to PF event structure
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()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc4_pf.c20 static void enetc4_get_port_caps(struct enetc_pf *pf)
22 struct enetc_hw *hw = &pf->si->hw;
26 pf->caps.num_vsi = (val & ECAPR1_NUM_VSI) >> 24; in enetc4_get_port_caps()
27 pf->caps.num_msix = ((val & ECAPR1_NUM_MSIX) >> 12) + 1; in enetc4_get_port_caps()
30 pf->caps.num_rx_bdr = (val & ECAPR2_NUM_RX_BDR) >> 16; in enetc4_get_port_caps()
31 pf->caps.num_tx_bdr = val & ECAPR2_NUM_TX_BDR; in enetc4_get_port_caps()
34 pf->caps.half_duplex = (val & PMCAPR_HD) ? 1 : 0; in enetc4_get_port_caps()
37 pf->caps.mac_filter_num = val & PSIMAFCAPR_NUM_MAC_AFTE; in enetc4_get_port_caps()
125 static void enetc4_pf_clear_maft_entries(struct enetc_pf *pf) in enetc4_pf_set_loopback()
129 for (i = 0; i < pf argument
24 enetc4_get_port_caps(struct enetc_pf * pf) enetc4_get_port_caps() argument
139 enetc4_pf_add_maft_entries(struct enetc_pf * pf,struct enetc_mac_addr * mac,int mac_cnt) enetc4_pf_add_maft_entries() argument
167 enetc4_pf_set_uc_exact_filter(struct enetc_pf * pf) enetc4_pf_set_uc_exact_filter() argument
227 enetc4_pf_set_mac_hash_filter(struct enetc_pf * pf,int type) enetc4_pf_set_mac_hash_filter() argument
257 enetc4_pf_set_mac_filter(struct enetc_pf * pf,int type) enetc4_pf_set_mac_filter() argument
283 struct enetc_pf *pf = enetc_si_priv(si); enetc4_pf_struct_init() local
309 enetc4_default_rings_allocation(struct enetc_pf * pf) enetc4_default_rings_allocation() argument
345 enetc4_allocate_si_rings(struct enetc_pf * pf) enetc4_allocate_si_rings() argument
362 enetc4_set_default_si_vlan_promisc(struct enetc_pf * pf) enetc4_set_default_si_vlan_promisc() argument
374 enetc4_set_si_msix_num(struct enetc_pf * pf) enetc4_set_si_msix_num() argument
393 enetc4_enable_all_si(struct enetc_pf * pf) enetc4_enable_all_si() argument
407 enetc4_configure_port_si(struct enetc_pf * pf) enetc4_configure_port_si() argument
437 enetc4_set_trx_frame_size(struct enetc_pf * pf) enetc4_set_trx_frame_size() argument
447 enetc4_configure_port(struct enetc_pf * pf) enetc4_configure_port() argument
469 enetc4_pf_init(struct enetc_pf * pf) enetc4_pf_init() argument
492 enetc4_pf_free(struct enetc_pf * pf) enetc4_pf_free() argument
500 struct enetc_pf *pf = enetc_si_priv(si); enetc4_psi_do_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
636 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_config() local
668 enetc4_set_rgmii_mac(struct enetc_pf * pf,int speed,int duplex) enetc4_set_rgmii_mac() argument
696 enetc4_set_rmii_mac(struct enetc_pf * pf,int speed,int duplex) enetc4_set_rmii_mac() argument
721 enetc4_set_hd_flow_control(struct enetc_pf * pf,bool enable) enetc4_set_hd_flow_control() argument
737 enetc4_set_rx_pause(struct enetc_pf * pf,bool rx_pause) enetc4_set_rx_pause() argument
750 enetc4_set_tx_pause(struct enetc_pf * pf,int num_rxbdr,bool tx_pause) enetc4_set_tx_pause() argument
807 enetc4_mac_tx_graceful_stop(struct enetc_pf * pf) enetc4_mac_tx_graceful_stop() argument
829 enetc4_mac_tx_enable(struct enetc_pf * pf) enetc4_mac_tx_enable() argument
856 enetc4_mac_rx_graceful_stop(struct enetc_pf * pf) enetc4_mac_rx_graceful_stop() argument
889 enetc4_mac_rx_enable(struct enetc_pf * pf) enetc4_mac_rx_enable() argument
909 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_link_up() local
952 struct enetc_pf *pf = phylink_to_enetc_pf(config); enetc4_pl_mac_link_down() local
975 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc4_link_init() local
1007 struct enetc_pf *pf = enetc_si_priv(priv->si); enetc4_link_deinit() local
1117 struct enetc_pf *pf; enetc4_pf_probe() local
1169 struct enetc_pf *pf = enetc_si_priv(si); enetc4_pf_remove() local
[all...]
H A Denetc_msg.c11 static void enetc_msg_disable_mr_int(struct enetc_pf *pf) in enetc_msg_disable_mr_int()
13 struct enetc_hw *hw = &pf->si->hw; in enetc_msg_disable_mr_int()
16 psiier = enetc_rd(hw, ENETC_PSIIER) & ~ENETC_PSIMR_MASK(pf->num_vfs);
22 static void enetc_msg_enable_mr_int(struct enetc_pf *pf) in enetc_msg_enable_mr_int()
24 struct enetc_hw *hw = &pf->si->hw; in enetc_msg_enable_mr_int()
27 psiier = enetc_rd(hw, ENETC_PSIIER) | ENETC_PSIMR_MASK(pf->num_vfs); in enetc_msg_psi_msix()
35 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_psi_msix()
37 enetc_msg_disable_mr_int(pf);
38 schedule_work(&pf->msg_task); in enetc_msg_task()
58 static u16 enetc_msg_set_vf_primary_mac_addr(struct enetc_pf *pf, in in enetc_msg_task()
6 enetc_msg_disable_mr_int(struct enetc_pf * pf) enetc_msg_disable_mr_int() argument
17 enetc_msg_enable_mr_int(struct enetc_pf * pf) enetc_msg_enable_mr_int() argument
30 struct enetc_pf *pf = enetc_si_priv(si); enetc_msg_psi_msix() local
40 struct enetc_pf *pf = container_of(work, struct enetc_pf, msg_task); enetc_msg_task() local
75 struct enetc_pf *pf = enetc_si_priv(si); enetc_msg_alloc_mbx() local
104 struct enetc_pf *pf = enetc_si_priv(si); enetc_msg_free_mbx() local
116 enetc_msg_psi_init(struct enetc_pf * pf) enetc_msg_psi_init() argument
156 enetc_msg_psi_free(struct enetc_pf * pf) enetc_msg_psi_free() argument
[all...]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_sriov_pf_service_kunit.c30 * - all supported platforms VF/PF ABI versions must be defined in pf_service_test_init()
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()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h11 HCLGE_MBX_RESET = 0x01, /* (VF -> PF) assert reset */
12 HCLGE_MBX_ASSERTING_RESET, /* (PF -> VF) PF is asserting reset */
13 HCLGE_MBX_SET_UNICAST, /* (VF -> PF) set UC addr */
14 HCLGE_MBX_SET_MULTICAST, /* (VF -> PF) set MC addr */
15 HCLGE_MBX_SET_VLAN, /* (VF -> PF) set VLAN */
16 HCLGE_MBX_MAP_RING_TO_VECTOR, /* (VF -> PF) map ring-to-vector */
17 HCLGE_MBX_UNMAP_RING_TO_VECTOR, /* (VF -> PF) unamp ring-to-vector */
18 HCLGE_MBX_SET_PROMISC_MODE, /* (VF -> PF) set promiscuous mode */
19 HCLGE_MBX_SET_MACVLAN, /* (VF -> PF) set unicast filter */
20 HCLGE_MBX_API_NEGOTIATE, /* (VF -> PF) negotiate API version */
[all …]
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c34 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
1946 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_nvm_read() local
2010 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_devcaps_snapshot() local
2062 ice_devlink_init_regions(struct ice_pf * pf) ice_devlink_init_regions() argument
2102 ice_devlink_destroy_regions(struct ice_pf * pf) ice_devlink_destroy_regions() argument
[all...]
H A Dport.c47 * @pf: the PF to print split port options
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()
118 * @pf: the PF to print split port options
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()
[all …]
/linux/tools/perf/util/
H A Dprobe-finder.c72 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...]

12345678910>>...39