Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c40 * @pf: NFP PF handle
48 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() argument
75 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() argument
77 return nfp_pf_rtsym_read_optional(pf, "nfd_cfg_pf%u_num_ports", 1); in nfp_net_pf_get_num_ports()
80 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() argument
83 nfp_app_vnic_free(pf->app, nn); in nfp_net_pf_free_vnic()
86 pf->num_vnics--; in nfp_net_pf_free_vnic()
90 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() argument
94 list_for_each_entry_safe(nn, next, &pf->vnics, vnic_list) in nfp_net_pf_free_vnics()
96 nfp_net_pf_free_vnic(pf, nn); in nfp_net_pf_free_vnics()
[all …]
Dnfp_main.c72 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 …]
Dnfp_shared_buf.c13 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) in nfp_shared_buf_pool_unit() argument
18 for (i = 0; i < pf->num_shared_bufs; i++) in nfp_shared_buf_pool_unit()
19 if (pf->shared_bufs[i].id == sb_id) in nfp_shared_buf_pool_unit()
20 return le32_to_cpu(pf->shared_bufs[i].pool_size_unit); in nfp_shared_buf_pool_unit()
26 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, in nfp_shared_buf_pool_get() argument
37 unit_size = nfp_shared_buf_pool_unit(pf, sb); in nfp_shared_buf_pool_get()
41 n = nfp_mbox_cmd(pf, NFP_MBOX_POOL_GET, &id, sizeof(id), in nfp_shared_buf_pool_get()
56 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, in nfp_shared_buf_pool_set() argument
69 unit_size = nfp_shared_buf_pool_unit(pf, sb); in nfp_shared_buf_pool_set()
74 return nfp_mbox_cmd(pf, NFP_MBOX_POOL_SET, &set_data, sizeof(set_data), in nfp_shared_buf_pool_set()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c54 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local
58 if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) { in otx2_change_mtu()
76 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() argument
78 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr()
81 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
82 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr()
83 free_irq(irq, pf); in otx2_disable_flr_me_intr()
86 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
87 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr()
88 free_irq(irq, pf); in otx2_disable_flr_me_intr()
[all …]
Dotx2_dmac_flt.c10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() argument
17 mutex_lock(&pf->mbox.lock); in otx2_dmacflt_do_add()
19 req = otx2_mbox_alloc_msg_cgx_mac_addr_add(&pf->mbox); in otx2_dmacflt_do_add()
21 mutex_unlock(&pf->mbox.lock); in otx2_dmacflt_do_add()
26 err = otx2_sync_mbox_msg(&pf->mbox); in otx2_dmacflt_do_add()
30 otx2_mbox_get_rsp(&pf->mbox.mbox, 0, &req->hdr); in otx2_dmacflt_do_add()
34 mutex_unlock(&pf->mbox.lock); in otx2_dmacflt_do_add()
38 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac() argument
44 mutex_lock(&pf->mbox.lock); in otx2_dmacflt_add_pfmac()
46 req = otx2_mbox_alloc_msg_cgx_mac_addr_set(&pf->mbox); in otx2_dmacflt_add_pfmac()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_eswitch.c14 * @pf: pointer to PF struct
22 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, const u8 *mac) in ice_eswitch_add_vf_mac_rule() argument
24 struct ice_vsi *ctrl_vsi = pf->switchdev.control_vsi; in ice_eswitch_add_vf_mac_rule()
27 struct ice_hw *hw = &pf->hw; in ice_eswitch_add_vf_mac_rule()
52 dev_err(ice_pf_to_dev(pf), "Unable to add VF mac rule in switchdev mode for VF %d", in ice_eswitch_add_vf_mac_rule()
71 if (!ice_is_switchdev_running(vf->pf)) in ice_eswitch_replay_vf_mac_rule()
75 err = ice_eswitch_add_vf_mac_rule(vf->pf, vf, in ice_eswitch_replay_vf_mac_rule()
78 dev_err(ice_pf_to_dev(vf->pf), "Failed to add MAC %pM for VF %d\n, error %d\n", in ice_eswitch_replay_vf_mac_rule()
97 if (!ice_is_switchdev_running(vf->pf)) in ice_eswitch_del_vf_mac_rule()
103 ice_rem_adv_rule_by_id(&vf->pf->hw, vf->repr->mac_rule); in ice_eswitch_del_vf_mac_rule()
[all …]
Dice_idc.c11 * @pf: pointer to PF struct
14 * pf->adev.dev to avoid race conditions.
16 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() argument
20 adev = pf->adev; in ice_get_auxiliary_drv()
30 * @pf: pointer to PF struct
33 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() argument
40 mutex_lock(&pf->adev_mutex); in ice_send_event_to_aux()
41 if (!pf->adev) in ice_send_event_to_aux()
44 device_lock(&pf->adev->dev); in ice_send_event_to_aux()
45 iadrv = ice_get_auxiliary_drv(pf); in ice_send_event_to_aux()
[all …]
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()
64 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local
82 last_vector_idx = vf->first_vector_idx + pf->vfs.num_msix_per - 1; in ice_free_vf_res()
90 wr32(&pf->hw, GLINT_DYN_CTL(i), GLINT_DYN_CTL_CLEARPBA_M); in ice_free_vf_res()
91 ice_flush(&pf->hw); in ice_free_vf_res()
104 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local
110 hw = &pf->hw; in ice_dis_vf_mappings()
115 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings()
[all …]
Dice_main.c61 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local
63 return &pf->pdev->dev; in ice_hw_to_dev()
70 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type);
72 static void ice_vsi_release_all(struct ice_pf *pf);
74 static int ice_rebuild_channels(struct ice_pf *pf);
107 * @pf: pointer to PF struct
109 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() argument
117 ice_for_each_vsi(pf, v) in ice_check_for_hang_subtask()
118 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask()
119 vsi = pf->vsi[v]; in ice_check_for_hang_subtask()
[all …]
Dice_ptp.c192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() local
193 struct ice_hw *hw = &pf->hw; in ice_ptp_set_sma_e810t()
260 * @pf: The PF pointer to search in
263 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp() argument
269 vsi = ice_get_main_vsi(pf); in ice_set_tx_tstamp()
281 val = rd32(&pf->hw, PFINT_OICR_ENA); in ice_set_tx_tstamp()
286 wr32(&pf->hw, PFINT_OICR_ENA, val); in ice_set_tx_tstamp()
288 pf->ptp.tstamp_config.tx_type = on ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in ice_set_tx_tstamp()
293 * @pf: The PF pointer to search in
296 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() argument
[all …]
Dice_devlink.c33 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() argument
38 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn()
43 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() argument
45 struct ice_hw *hw = &pf->hw; in ice_info_pba()
51 dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %d\n", in ice_info_pba()
55 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() argument
57 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt()
63 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() argument
65 struct ice_hw *hw = &pf->hw; in ice_info_fw_api()
71 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() argument
[all …]
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 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets()
75 mutex_lock(&pf->tc_mutex); in ice_dcbnl_setets()
[all …]
Dice_dcb_lib.c25 * @pf: pointer to PF structure
30 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() argument
37 vsi = ice_get_main_vsi(pf); in ice_is_pfc_causing_hung_q()
55 up2tc = rd32(&pf->hw, PRTDCB_TUP2TC); in ice_is_pfc_causing_hung_q()
69 ref_prio_xoff[i] = pf->stats.priority_xoff_rx[i]; in ice_is_pfc_causing_hung_q()
71 ice_update_dcb_stats(pf); in ice_is_pfc_causing_hung_q()
75 if (pf->stats.priority_xoff_rx[i] > ref_prio_xoff[i]) in ice_is_pfc_causing_hung_q()
254 * PF queues) should be the first drop TC of the main VSI in ice_vsi_cfg_dcb_rings()
272 * @pf: pointer to the PF instance
276 * Before a new DCB configuration can be applied, VSIs of type PF, SWITCHDEV
[all …]
Dice_gnss.c10 * @pf: board private structure
17 ice_gnss_do_write(struct ice_pf *pf, unsigned char *buf, unsigned int size) in ice_gnss_do_write() argument
20 struct ice_hw *hw = &pf->hw; in ice_gnss_do_write()
69 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", in ice_gnss_do_write()
83 struct ice_pf *pf = gnss->back; in ice_gnss_write_pending() local
92 bytes = ice_gnss_do_write(pf, write_buf->buf, write_buf->size); in ice_gnss_write_pending()
93 dev_dbg(ice_pf_to_dev(pf), "%u bytes written to GNSS\n", bytes); in ice_gnss_write_pending()
115 struct ice_pf *pf; in ice_gnss_read() local
122 pf = gnss->back; in ice_gnss_read()
123 if (!pf || !gnss->tty || !gnss->tty->port) { in ice_gnss_read()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c38 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local
41 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets()
44 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets()
76 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local
78 struct i40e_hw *hw = &pf->hw; in i40e_dcbnl_ieee_getpfc()
81 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc()
92 pfc->requests[i] = pf->stats.priority_xoff_tx[i]; in i40e_dcbnl_ieee_getpfc()
93 pfc->indications[i] = pf->stats.priority_xoff_rx[i]; in i40e_dcbnl_ieee_getpfc()
109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local
113 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setets()
[all …]
Di40e_main.c32 static void i40e_handle_reset_warning(struct i40e_pf *pf, bool lock_acquired);
35 static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit, bool lock_acquired);
36 static int i40e_setup_misc_vector(struct i40e_pf *pf);
37 static void i40e_determine_queue_usage(struct i40e_pf *pf);
38 static int i40e_setup_pf_filter_control(struct i40e_pf *pf);
39 static void i40e_prep_for_reset(struct i40e_pf *pf);
40 static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit,
42 static int i40e_reset(struct i40e_pf *pf);
43 static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired);
44 static int i40e_setup_misc_vector_for_recovery_mode(struct i40e_pf *pf);
[all …]
Di40e_ptp.c140 static int i40e_ptp_set_pins(struct i40e_pf *pf,
151 struct i40e_pf *pf = container_of(work, struct i40e_pf, in i40e_ptp_extts0_work() local
153 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work()
171 ptp_clock_event(pf->ptp_clock, &event); in i40e_ptp_extts0_work()
188 * @pf: board private structure
191 * Return CAN_SET_PINS if pins can be set on a specific PF or
195 static enum i40e_can_set_pins_t i40e_can_set_pins(struct i40e_pf *pf) in i40e_can_set_pins() argument
197 if (!i40e_is_ptp_pin_dev(&pf->hw)) { in i40e_can_set_pins()
198 dev_warn(&pf->pdev->dev, in i40e_can_set_pins()
203 if (!pf->ptp_pins) { in i40e_can_set_pins()
[all …]
Di40e_client.c85 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local
86 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_vf_msg()
91 dev_dbg(&pf->pdev->dev, in i40e_notify_client_of_vf_msg()
96 dev_dbg(&pf->pdev->dev, "Client is not open, abort virtchnl_receive\n"); in i40e_notify_client_of_vf_msg()
111 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local
112 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_l2_param_changes()
147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local
155 wr32(&pf->hw, reg_idx, I40E_PFINT_LNKLSTN_FIRSTQ_INDX_MASK); in i40e_client_release_qvlist()
170 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local
171 struct i40e_client_instance *cdev = pf->cinst; in i40e_notify_client_of_netdev_close()
[all …]
Di40e_debugfs.c21 * @pf: the PF structure to search for the vsi
24 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() argument
29 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi()
31 for (i = 0; i < pf->num_alloc_vsi; i++) in i40e_dbg_find_vsi()
32 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi()
33 return pf->vsi[i]; in i40e_dbg_find_vsi()
40 * @pf: the PF structure to search for the veb
43 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb() argument
48 if (pf->veb[i] && pf->veb[i]->seid == seid) in i40e_dbg_find_veb()
49 return pf->veb[i]; in i40e_dbg_find_veb()
[all …]
Di40e_virtchnl_pf.c10 * @pf: pointer to the PF structure
16 * send a message to all VFs on a given PF
18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() argument
23 struct i40e_hw *hw = &pf->hw; in i40e_vc_vf_broadcast()
24 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast()
27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
78 * @pfe: pointer to PF event structure
111 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local
112 struct i40e_hw *hw = &pf->hw; in i40e_vc_notify_vf_link_state()
113 struct i40e_link_status *ls = &pf->hw.phy.link_info; in i40e_vc_notify_vf_link_state()
[all …]
/Linux-v6.1/drivers/block/paride/
Dpf.c2 pf.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
12 The behaviour of the pf driver can be altered by setting
70 (default "pf").
91 pf.drive0
92 pf.drive1
93 pf.drive2
94 pf.drive3
95 pf.cluster
96 pf.nice
98 In addition, you can use the parameter pf.disable to disable
[all …]
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
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-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c15 #define ENETC_DRV_NAME_STR "ENETC PF driver"
58 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument
60 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc()
61 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc()
64 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument
66 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc()
67 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_disable_si_vlan_promisc()
153 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() argument
155 struct enetc_mac_filter *f = pf->mac_filter; in enetc_sync_mac_filters()
156 struct enetc_si *si = pf->si; in enetc_sync_mac_filters()
[all …]
/Linux-v6.1/net/lapb/
Dlapb_in.c44 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-v6.1/tools/perf/util/
Dprobe-finder.c565 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable() argument
573 ret = convert_variable_location(vr_die, pf->addr, pf->fb_ops, in convert_variable()
574 &pf->sp_die, pf->machine, pf->tvar); in convert_variable()
575 if (ret == -ENOENT && pf->skip_empty_arg) in convert_variable()
579 print_var_not_found(pf->pvar->var); in convert_variable()
582 else if (ret == 0 && pf->pvar->field) { in convert_variable()
583 ret = convert_variable_fields(vr_die, pf->pvar->var, in convert_variable()
584 pf->pvar->field, &pf->tvar->ref, in convert_variable()
585 &die_mem, pf->pvar->user_access); in convert_variable()
589 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type, in convert_variable()
[all …]

12345678910>>...43