/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_main.c | 39 * @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 …]
|
H A D | nfp_main.c | 72 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() argument 79 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional() 81 val = nfp_rtsym_read_le(pf->rtbl, name, &err); in nfp_pf_rtsym_read_optional() 85 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional() 93 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() argument 99 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym() 101 return nfp_rtsym_map(pf->rtbl, pf_symbol, name, min_size, area); in nfp_pf_map_rtsym() 105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() argument 113 if (!pf->mbox) in nfp_mbox_cmd() 116 max_data_sz = nfp_rtsym_size(pf->mbox) - NFP_MBOX_SYM_MIN_SIZE; in nfp_mbox_cmd() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_idc.c | 13 * @pf: pointer to PF struct 16 * pf->adev.dev to avoid race conditions. 18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() argument 22 adev = pf->adev; in ice_get_auxiliary_drv() 32 * @pf: pointer to PF struct 35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() argument 42 mutex_lock(&pf->adev_mutex); in ice_send_event_to_aux() 43 if (!pf->adev) in ice_send_event_to_aux() 46 device_lock(&pf->adev->dev); in ice_send_event_to_aux() 47 iadrv = ice_get_auxiliary_drv(pf); in ice_send_event_to_aux() [all …]
|
H A D | ice_irq.c | 10 * @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() 25 * @pf: board private structure 27 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() argument 29 xa_destroy(&pf->irq_tracker.entries); in ice_deinit_irq_tracker() 34 * @pf: board private structure 37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() argument [all …]
|
H A D | ice_eswitch.c | 15 * @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() 90 * @pf: poiner to PF struct 94 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() argument 111 * @pf: pointer to PF struct 114 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() argument 116 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_setup_repr() 183 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local [all …]
|
H A D | ice_dpll.c | 41 * @pf: private board structure 50 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() argument 52 if (ice_is_reset_in_progress(pf->state)) { in ice_dpll_is_reset() 53 NL_SET_ERR_MSG(extack, "PF reset in progress"); in ice_dpll_is_reset() 61 * @pf: private board structure 69 * Context: Called under pf->dplls.lock 75 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() argument 85 ret = ice_aq_set_input_pin_cfg(&pf->hw, pin->idx, flags, in ice_dpll_pin_freq_set() 90 ret = ice_aq_set_output_pin_cfg(&pf->hw, pin->idx, flags, in ice_dpll_pin_freq_set() 100 ice_aq_str(pf->hw.adminq.sq_last_status), in ice_dpll_pin_freq_set() [all …]
|
H A D | ice_ptp.c | 60 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf() argument 62 return !pf->adapter ? NULL : pf->adapter->ctrl_pf; in ice_get_ctrl_pf() 65 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp() argument 67 struct ice_pf *ctrl_pf = ice_get_ctrl_pf(pf); in ice_get_ctrl_ptp() 74 * @pf: Board private structure 80 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx() argument 83 const struct ptp_clock_info *info = &pf->ptp.info; in ice_ptp_find_pin_idx() 97 * @pf: Board private structure 101 static void ice_ptp_update_sma_data(struct ice_pf *pf, unsigned int sma_pins[], in ice_ptp_update_sma_data() argument 147 dev_dbg(ice_pf_to_dev(pf), "%s, %s\n", state1, state2); in ice_ptp_update_sma_data() [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() 49 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 75 wr32(&pf->hw, GLINT_DYN_CTL(i), GLINT_DYN_CTL_CLEARPBA_M); in ice_free_vf_res() 76 ice_flush(&pf->hw); in ice_free_vf_res() 89 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 95 hw = &pf->hw; in ice_dis_vf_mappings() 100 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings() 127 * @pf: pointer to the PF structure [all …]
|
H A D | ice_main.c | 65 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 67 return &pf->pdev->dev; in ice_hw_to_dev() 75 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 77 static void ice_vsi_release_all(struct ice_pf *pf); 79 static int ice_rebuild_channels(struct ice_pf *pf); 113 * @pf: pointer to PF struct 115 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument 123 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask() 124 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 125 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() [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->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 D | ice_dcb_lib.c | 26 * @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 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_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() 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 D | i40e_ptp.c | 141 static int i40e_ptp_set_pins(struct i40e_pf *pf, 152 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local 154 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work() 172 ptp_clock_event(pf->ptp_clock, &event); in i40e_ptp_extts0_work() 189 * @pf: board private structure 192 * Return CAN_SET_PINS if pins can be set on a specific PF or 196 static enum i40e_can_set_pins i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins() argument 198 if (!i40e_is_ptp_pin_dev(&pf->hw)) { in i40e_can_set_pins() 199 dev_warn(&pf->pdev->dev, in i40e_can_set_pins() 204 if (!pf->ptp_pins) { in i40e_can_set_pins() [all …]
|
H A D | i40e_debugfs.c | 22 * @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 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read() local 72 main_vsi = i40e_pf_get_main_vsi(pf); in i40e_dbg_command_read() 97 * @pf: the i40e_pf created in command write 100 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() argument 107 vsi = i40e_dbg_find_vsi(pf, seid); in i40e_dbg_dump_vsi_seid() 109 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid() [all …]
|
H A D | i40e_main.c | 35 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired); 38 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired); 39 static int i40e_setup_misc_vector(struct i40e_pf *pf); 40 static void i40e_determine_queue_usage(struct i40e_pf *pf); 41 static int i40e_setup_pf_filter_control(struct i40e_pf *pf); 42 static void i40e_prep_for_reset(struct i40e_pf *pf); 43 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit, 45 static int i40e_reset(struct i40e_pf *pf); 46 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired); 47 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf); [all …]
|
H A D | i40e_devlink.c | 8 static void i40e_info_get_dsn(struct i40e_pf *pf, char *buf, size_t len) in i40e_info_get_dsn() argument 12 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in i40e_info_get_dsn() 70 struct i40e_pf *pf = devlink_priv(dl); in i40e_devlink_info_get() local 71 struct i40e_hw *hw = &pf->hw; in i40e_devlink_info_get() 75 i40e_info_get_dsn(pf, buf, sizeof(buf)); in i40e_devlink_info_get() 149 * @pf: the PF structure 153 void i40e_free_pf(struct i40e_pf *pf) in i40e_free_pf() argument 155 struct devlink *devlink = priv_to_devlink(pf); in i40e_free_pf() 161 * i40e_devlink_register - Register devlink interface for this PF 162 * @pf: the PF to register the devlink for. [all …]
|
H A D | i40e_virtchnl_pf.c | 12 * @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/hisilicon/hns3/ |
H A D | hclge_mbx.h | 11 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/gpu/drm/xe/tests/ |
H A D | xe_gt_sriov_pf_service_test.c | 33 * - all supported platforms VF/PF ABI versions must be defined in pf_service_test_init() 36 KUNIT_ASSERT_NE(test, 0, gt->sriov.pf.service.version.base.major); in pf_service_test_init() 37 KUNIT_ASSERT_NE(test, 0, gt->sriov.pf.service.version.latest.major); in pf_service_test_init() 38 KUNIT_ASSERT_LE(test, gt->sriov.pf.service.version.base.major, in pf_service_test_init() 39 gt->sriov.pf.service.version.latest.major); in pf_service_test_init() 40 if (gt->sriov.pf.service.version.base.major == gt->sriov.pf.service.version.latest.major) in pf_service_test_init() 41 KUNIT_ASSERT_LE(test, gt->sriov.pf.service.version.base.minor, in pf_service_test_init() 42 gt->sriov.pf.service.version.latest.minor); in pf_service_test_init() 57 KUNIT_ASSERT_EQ(test, major, gt->sriov.pf.service.version.latest.major); in pf_negotiate_any() 58 KUNIT_ASSERT_EQ(test, minor, gt->sriov.pf.service.version.latest.minor); in pf_negotiate_any() [all …]
|
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink_port.c | 45 * @pf: the PF to print split port options 49 static void ice_devlink_port_options_print(struct ice_pf *pf) in ice_devlink_port_options_print() argument 53 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print() 69 status = ice_aq_get_port_options(&pf->hw, opt, &options_count, in ice_devlink_port_options_print() 116 * @pf: the PF to print split port options 124 ice_devlink_aq_set_port_option(struct ice_pf *pf, u8 option_idx, in ice_devlink_aq_set_port_option() argument 127 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_aq_set_port_option() 130 status = ice_aq_set_port_option(&pf->hw, 0, true, option_idx); in ice_devlink_aq_set_port_option() 133 status, pf->hw.adminq.sq_last_status); in ice_devlink_aq_set_port_option() 138 status = ice_acquire_nvm(&pf->hw, ICE_RES_WRITE); in ice_devlink_aq_set_port_option() [all …]
|
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, struct ice_info_ctx *ctx) in ice_info_fw_build() argument [all …]
|
/linux/tools/perf/util/ |
H A D | probe-finder.c | 59 const struct probe_finder *pf, in convert_variable_location() 169 regs = get_dwarf_regstr(regn, pf->e_machine, pf->e_flags); in convert_variable_location() 445 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable() argument 453 ret = convert_variable_location(vr_die, pf->addr, pf->fb_ops, in convert_variable() 454 &pf->sp_die, pf, pf->tvar); in convert_variable() 455 if (ret == -ENOENT && pf in convert_variable() 476 find_variable(Dwarf_Die * sc_die,struct probe_finder * pf) find_variable() argument 572 call_probe_finder(Dwarf_Die * sc_die,struct probe_finder * pf) call_probe_finder() argument 681 find_best_scope(struct probe_finder * pf,Dwarf_Die * die_mem) find_best_scope() argument 702 verify_representive_line(struct probe_finder * pf,const char * fname,int lineno,Dwarf_Addr addr) verify_representive_line() argument 738 struct probe_finder *pf = data; probe_point_line_walker() local 762 find_probe_point_by_line(struct probe_finder * pf) find_probe_point_by_line() argument 810 struct probe_finder *pf = data; probe_point_lazy_walker() local 838 find_probe_point_lazy(Dwarf_Die * sp_die,struct probe_finder * pf) find_probe_point_lazy() argument 870 skip_prologue(Dwarf_Die * sp_die,struct probe_finder * pf) skip_prologue() argument 904 struct probe_finder *pf = data; probe_point_inline_cb() local 944 struct probe_finder *pf = param->data; probe_point_search_cb() local 1004 find_probe_point_by_func(struct probe_finder * pf) find_probe_point_by_func() argument 1048 debuginfo__find_probe_location(struct debuginfo * dbg,struct probe_finder * pf) debuginfo__find_probe_location() argument 1122 debuginfo__find_probes(struct debuginfo * dbg,struct probe_finder * pf) debuginfo__find_probes() argument 1158 struct probe_finder *pf; global() member 1170 struct probe_finder *pf = vf->pf; copy_variables_cb() local 1195 expand_probe_args(Dwarf_Die * sc_die,struct probe_finder * pf,struct perf_probe_arg * args) expand_probe_args() argument 1239 add_probe_trace_event(Dwarf_Die * sc_die,struct probe_finder * pf) add_probe_trace_event() argument 1467 add_available_vars(Dwarf_Die * sc_die,struct probe_finder * pf) add_available_vars() argument [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/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 13 #define ENETC_DRV_NAME_STR "ENETC PF driver" 34 static struct phylink_pcs *enetc_pf_create_pcs(struct enetc_pf *pf, in enetc_pf_create_pcs() argument 53 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument 55 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc() 56 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc() 59 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument 61 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc() 62 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_disable_si_vlan_promisc() 148 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() argument 150 struct enetc_mac_filter *f = pf->mac_filter; in enetc_sync_mac_filters() [all …]
|