/linux-master/drivers/net/ethernet/intel/ice/ |
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) argument 38 vsi = ice_get_main_vsi(pf); 56 up2tc = rd32(&pf->hw, PRTDCB_TUP2TC); 70 ref_prio_xoff[i] = pf->stats.priority_xoff_rx[i]; 72 ice_update_dcb_stats(pf); 76 if (pf->stats.priority_xoff_rx[i] > ref_prio_xoff[i]) 273 * @pf: pointer to the PF instance 282 static void ice_dcb_ena_dis_vsi(struct ice_pf *pf, bool ena, bool locked) argument 286 ice_for_each_vsi(pf, 311 ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) argument 349 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) argument 484 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, struct ice_dcbx_cfg *new_cfg) argument 532 ice_dcb_rebuild(struct ice_pf *pf) argument 604 ice_dcb_init_cfg(struct ice_pf *pf, bool locked) argument 633 ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) argument 708 ice_dcb_noncontig_cfg(struct ice_pf *pf) argument 739 ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) argument 802 ice_init_pf_dcb(struct ice_pf *pf, bool locked) argument 874 ice_update_dcb_stats(struct ice_pf *pf) argument 962 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, struct ice_rq_event_info *event) argument [all...] |
H A D | ice_lag.c | 34 struct ice_pf *pf = lag->pf; local 36 if (!pf) 40 dev_warn(ice_pf_to_dev(pf), "%s: Attempt to be Primary, but incompatible state.\n", 54 struct ice_pf *pf = lag->pf; local 56 if (!pf) 60 dev_dbg(ice_pf_to_dev(pf), "%s: Attempt to be Backup, but incompatible state\n", 70 * @pf: local PF struct 73 static bool netif_is_same_ice(struct ice_pf *pf, struc argument 407 struct ice_pf *pf; local 693 struct ice_pf *pf; local 735 struct ice_pf *pf; local 973 struct ice_pf *pf; local 992 struct ice_pf *pf = lag->pf; local 1010 struct ice_pf *pf = lag->pf; local 1257 ice_lag_init_feature_support_flag(struct ice_pf *pf) argument 1341 struct ice_pf *pf; local 1388 struct ice_pf *pf, *event_pf; local 1644 struct ice_pf *pf; local 1661 struct ice_pf *pf; local 1995 struct ice_pf *pf; local 2016 ice_init_lag(struct ice_pf *pf) argument 2100 ice_deinit_lag(struct ice_pf *pf) argument 2136 ice_lag_rebuild(struct ice_pf *pf) argument 2191 ice_lag_is_switchdev_running(struct ice_pf *pf) argument [all...] |
H A D | ice_arfs.h | 50 void ice_sync_arfs_fltrs(struct ice_pf *pf); 52 void ice_remove_arfs(struct ice_pf *pf); 53 void ice_rebuild_arfs(struct ice_pf *pf); 61 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } argument 62 static inline void ice_remove_arfs(struct ice_pf *pf) { } argument 63 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } argument
|
H A D | ice_dpll.h | 13 * @pf: pointer to pf, which has registered the dpll_pin 25 struct ice_pf *pf; member in struct:ice_dpll_pin 38 * @pf: pointer to pf, which has registered the dpll_device 54 struct ice_pf *pf; member in struct:ice_dpll 106 void ice_dpll_init(struct ice_pf *pf); 107 void ice_dpll_deinit(struct ice_pf *pf); 109 static inline void ice_dpll_init(struct ice_pf *pf) { } argument 110 static inline void ice_dpll_deinit(struct ice_pf *pf) { } argument [all...] |
H A D | ice_ptp.h | 305 int ice_ptp_clock_index(struct ice_pf *pf); 307 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr); 308 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr); 309 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf); 311 void ice_ptp_extts_event(struct ice_pf *pf); 315 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf); 319 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 320 void ice_ptp_prepare_for_reset(struct ice_pf *pf, 322 void ice_ptp_init(struct ice_pf *pf); 323 void ice_ptp_release(struct ice_pf *pf); 326 ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) argument 331 ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) argument 336 ice_ptp_restore_timestamp_mode(struct ice_pf *pf) argument 337 ice_ptp_extts_event(struct ice_pf *pf) argument 349 ice_ptp_process_ts(struct ice_pf *pf) argument 361 ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type) argument 366 ice_ptp_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) argument 370 ice_ptp_init(struct ice_pf *pf) argument 371 ice_ptp_release(struct ice_pf *pf) argument 372 ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) argument 376 ice_ptp_clock_index(struct ice_pf *pf) argument [all...] |
H A D | ice_fw_update.c | 14 struct ice_pf *pf; member in struct:ice_fwu_priv 53 struct ice_pf *pf = priv->pf; local 54 struct ice_hw *hw = &pf->hw; 80 * @pf: device private data structure 94 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, argument 97 struct device *dev = ice_pf_to_dev(pf); 215 struct ice_pf *pf = priv->pf; local 216 struct ice_hw *hw = &pf 289 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, u16 block_size, u8 *block, bool last_cmd, u8 *reset_level, struct netlink_ext_ack *extack) argument 399 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, const u8 *image, u32 length, u8 *reset_level, struct netlink_ext_ack *extack) argument 478 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, struct netlink_ext_ack *extack) argument 562 ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, u8 *emp_reset_available, struct netlink_ext_ack *extack) argument 635 struct ice_pf *pf = priv->pf; local 696 struct ice_pf *pf = priv->pf; local 848 ice_get_pending_updates(struct ice_pf *pf, u8 *pending, struct netlink_ext_ack *extack) argument 906 ice_cancel_pending_update(struct ice_pf *pf, const char *component, struct netlink_ext_ack *extack) argument 985 struct ice_pf *pf = devlink_priv(devlink); local [all...] |
H A D | ice_lag.h | 34 struct ice_pf *pf; /* backlink to PF struct */ member in struct:ice_lag 68 int ice_init_lag(struct ice_pf *pf); 69 void ice_deinit_lag(struct ice_pf *pf); 70 void ice_lag_rebuild(struct ice_pf *pf); 71 bool ice_lag_is_switchdev_running(struct ice_pf *pf);
|
H A D | ice_vf_lib.c | 14 * @pf: the PF private structure 25 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) argument 30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) { 82 * @pf: the PF private structure 89 bool ice_has_vfs(struct ice_pf *pf) argument 94 return !hash_empty(pf->vfs.table); 99 * @pf: the PF private structure 105 u16 ice_get_num_vfs(struct ice_pf *pf) argument 112 ice_for_each_vf_rcu(pf, bkt, vf) 128 return vf->pf 145 struct ice_pf *pf = vf->pf; local 262 struct ice_pf *pf = vf->pf; local 296 struct ice_pf *pf = vf->pf; local 458 struct ice_pf *pf = vsi->back; local 568 ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) argument 621 struct ice_pf *pf = vf->pf; local 723 ice_reset_all_vfs(struct ice_pf *pf) argument 836 struct ice_pf *pf = vf->pf; local 986 struct ice_pf *pf = vf->pf; local 1058 struct ice_pf *pf = vf->pf; local 1240 struct ice_pf *pf = vf->pf; local 1269 struct ice_pf *pf = vf->pf; local 1352 ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi) argument [all...] |
H A D | ice_vf_lib.h | 83 struct ice_pf *pf; member in struct:ice_vf 178 * @pf: pointer to the PF private structure 189 #define ice_for_each_vf(pf, bkt, vf) \ 190 hash_for_each((pf)->vfs.table, (bkt), (vf), entry) 194 * @pf: pointer to the PF private structure 206 #define ice_for_each_vf_rcu(pf, bkt, vf) \ 207 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry) 210 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id); 212 bool ice_has_vfs(struct ice_pf *pf); 213 u16 ice_get_num_vfs(struct ice_pf *pf); 230 ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) argument 239 ice_has_vfs(struct ice_pf *pf) argument 244 ice_get_num_vfs(struct ice_pf *pf) argument 268 ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) argument 290 ice_reset_all_vfs(struct ice_pf *pf) argument 295 ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_sriov_pf_helpers.h | 37 return xe->sriov.pf.driver_max_vfs; 43 return &xe->sriov.pf.master_lock;
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e.h | 36 #define i40e_default_queues_per_vmdq(pf) \ 37 (test_bit(I40E_HW_CAP_RSS_AQ, (pf)->hw.caps) ? 4 : 1) 40 #define i40e_pf_get_max_q_per_tc(pf) \ 41 (test_bit(I40E_HW_CAP_128_QP_RSS, (pf)->hw.caps) ? 128 : 64) 691 * @pf: pointer to the PF struct 694 * Find and return next non-NULL VSI pointer in pf->vsi array and 698 __i40e_pf_next_vsi(struct i40e_pf *pf, int *idx) argument 700 while (*idx < pf->num_alloc_vsi) { 701 if (pf->vsi[*idx]) 702 return pf 722 __i40e_pf_next_veb(struct i40e_pf *pf, int *idx) argument 784 struct i40e_pf *pf; member in struct:i40e_veb 964 struct i40e_pf *pf; member in struct:i40e_device 1094 i40e_get_fd_cnt_all(struct i40e_pf *pf) argument 1107 i40e_read_fd_input_set(struct i40e_pf *pf, u16 addr) argument 1127 i40e_write_fd_input_set(struct i40e_pf *pf, u16 addr, u64 val) argument 1168 i40e_find_vsi_by_type(struct i40e_pf *pf, u16 type) argument 1230 i40e_dbg_pf_init(struct i40e_pf *pf) argument 1231 i40e_dbg_pf_exit(struct i40e_pf *pf) argument 1252 struct i40e_pf *pf = vsi->back; local 1281 i40e_is_sw_dcb(struct i40e_pf *pf) argument 1341 i40e_is_tc_mqprio_enabled(struct i40e_pf *pf) argument 1363 i40e_pf_get_vsi_by_seid(struct i40e_pf *pf, u16 seid) argument 1381 i40e_pf_get_main_vsi(struct i40e_pf *pf) argument 1392 i40e_pf_get_veb_by_seid(struct i40e_pf *pf, u16 seid) argument 1410 i40e_pf_get_main_veb(struct i40e_pf *pf) argument [all...] |
H A D | i40e_virtchnl_pf.h | 69 struct i40e_pf *pf; member in struct:i40e_vf 117 void i40e_free_vfs(struct i40e_pf *pf); 119 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs); 120 int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode, 122 int i40e_vc_process_vflr_event(struct i40e_pf *pf); 124 bool i40e_reset_all_vfs(struct i40e_pf *pf, bool flr); 139 void i40e_vc_notify_link_state(struct i40e_pf *pf); 140 void i40e_vc_notify_reset(struct i40e_pf *pf);
|
H A D | i40e_ethtool.c | 476 * @pf: the PF struct 478 static void i40e_partition_setting_complaint(struct i40e_pf *pf) argument 480 dev_info(&pf->pdev->dev, 486 * @pf: PF struct with phy_types 490 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, argument 493 struct i40e_link_status *hw_link_info = &pf->hw.phy.link_info; 494 u64 phy_types = pf->hw.phy.phy_types; 505 if (test_bit(I40E_HW_CAP_100M_SGMII, pf->hw.caps)) { 604 !test_bit(I40E_HW_CAP_CRT_RETIMER, pf->hw.caps)) { 612 !test_bit(I40E_HW_CAP_CRT_RETIMER, pf 769 i40e_get_settings_link_up(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct net_device *netdev, struct i40e_pf *pf) argument 1044 i40e_get_settings_link_down(struct i40e_hw *hw, struct ethtool_link_ksettings *ks, struct i40e_pf *pf) argument 1069 struct i40e_pf *pf = np->vsi->back; local 1226 struct i40e_pf *pf = np->vsi->back; local 1488 struct i40e_pf *pf = np->vsi->back; local 1546 struct i40e_pf *pf = np->vsi->back; local 1588 struct i40e_pf *pf = np->vsi->back; local 1632 struct i40e_pf *pf = np->vsi->back; local 1659 struct i40e_pf *pf = np->vsi->back; local 1694 struct i40e_pf *pf = np->vsi->back; local 1787 struct i40e_pf *pf = np->vsi->back; local 1799 struct i40e_pf *pf = np->vsi->back; local 1822 struct i40e_pf *pf = np->vsi->back; local 1854 struct i40e_pf *pf = np->vsi->back; local 1967 struct i40e_pf *pf = np->vsi->back; local 2001 struct i40e_pf *pf = vsi->back; local 2013 i40e_get_max_num_descriptors(struct i40e_pf *pf) argument 2031 struct i40e_pf *pf = np->vsi->back; local 2065 struct i40e_pf *pf = vsi->back; local 2292 struct i40e_pf *pf = vsi->back; local 2323 struct i40e_pf *pf = vsi->back; local 2371 i40e_get_pfc_stats(struct i40e_pf *pf, unsigned int i) argument 2405 struct i40e_pf *pf = vsi->back; local 2480 struct i40e_pf *pf = vsi->back; local 2517 struct i40e_pf *pf = vsi->back; local 2551 struct i40e_pf *pf = i40e_netdev_to_pf(dev); local 2592 struct i40e_pf *pf = np->vsi->back; local 2615 struct i40e_pf *pf = np->vsi->back; local 2626 struct i40e_pf *pf = np->vsi->back; local 2640 struct i40e_pf *pf = np->vsi->back; local 2656 i40e_active_vfs(struct i40e_pf *pf) argument 2667 i40e_active_vmdqs(struct i40e_pf *pf) argument 2677 struct i40e_pf *pf = np->vsi->back; local 2758 struct i40e_pf *pf = np->vsi->back; local 2781 struct i40e_pf *pf = np->vsi->back; local 2817 struct i40e_pf *pf = np->vsi->back; local 2972 struct i40e_pf *pf = vsi->back; local 3022 struct i40e_pf *pf = vsi->back; local 3141 i40e_get_rss_hash_opts(struct i40e_pf *pf, struct ethtool_rxnfc *cmd) argument 3327 i40e_get_ethtool_fdir_all(struct i40e_pf *pf, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument 3362 i40e_get_ethtool_fdir_entry(struct i40e_pf *pf, struct ethtool_rxnfc *cmd) argument 3532 struct i40e_pf *pf = vsi->back; local 3623 i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) argument 3754 struct i40e_pf *pf = vsi->back; local 3810 i40e_prune_flex_pit_list(struct i40e_pf *pf) argument 3880 struct i40e_pf *pf = vsi->back; local 3907 i40e_unused_pit_index(struct i40e_pf *pf) argument 4043 __i40e_reprogram_flex_pit(struct i40e_pf *pf, struct list_head *flex_pit_list, int flex_pit_start) argument 4118 i40e_reprogram_flex_pit(struct i40e_pf *pf) argument 4212 struct i40e_pf *pf = vsi->back; local 4306 struct i40e_pf *pf = vsi->back; local 4762 struct i40e_pf *pf = vsi->back; local 4805 struct i40e_pf *pf; local 4959 struct i40e_pf *pf = vsi->back; local 5004 struct i40e_pf *pf = vsi->back; local 5032 struct i40e_pf *pf = vsi->back; local 5168 struct i40e_pf *pf = vsi->back; local 5218 struct i40e_pf *pf = vsi->back; local 5258 struct i40e_pf *pf = vsi->back; local 5496 struct i40e_pf *pf = vsi->back; local 5603 struct i40e_pf *pf = vsi->back; local 5649 struct i40e_pf *pf = vsi->back; local 5682 struct i40e_pf *pf = vsi->back; local 5710 struct i40e_pf *pf = vsi->back; local 5831 struct i40e_pf *pf = np->vsi->back; local [all...] |
/linux-master/net/ax25/ |
H A D | ax25_ds_in.c | 32 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 38 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 44 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 48 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); 82 if (pf) 87 if (pf) 100 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 110 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 117 if (pf) { 127 if (pf) { 145 ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 281 int queued = 0, frametype, ns, nr, pf; local [all...] |
H A D | ax25_std_in.c | 39 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 45 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 51 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 55 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); 59 if (pf) { 81 if (pf) { 103 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 108 ax25_send_control(ax25, AX25_DM, pf, AX25_RESPONSE); 112 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 118 if (pf) 141 ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 266 ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 421 int queued = 0, frametype, ns, nr, pf; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_sriov.c | 22 if (!app || !app->pf->vfcfg_tbl2) 25 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); 28 nfp_warn(app->pf->cpp, "ndo_set_vf_%s not supported\n", msg); 32 if (vf < 0 || vf >= app->pf->num_vfs) { 34 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); 48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); 49 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); 51 nn = list_first_entry(&app->pf->vnics, struct nfp_net, vnic_list); 57 ret = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_RET); 59 nfp_warn(app->pf [all...] |
H A D | nfp_devlink.c | 29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, argument 39 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) argument 44 nsp = nfp_eth_config_start(pf->cpp, idx); 60 return nfp_net_refresh_port_table_sync(pf); 67 struct nfp_pf *pf = devlink_priv(devlink); local 73 ret = nfp_devlink_fill_eth_port_from_id(pf, port, ð_port); 88 return nfp_devlink_set_lanes(pf, eth_port.index, lanes); 95 struct nfp_pf *pf = devlink_priv(devlink); local 101 ret = nfp_devlink_fill_eth_port_from_id(pf, port, ð_port); 116 return nfp_devlink_set_lanes(pf, eth_por 123 struct nfp_pf *pf = devlink_priv(devlink); local 134 struct nfp_pf *pf = devlink_priv(devlink); local 142 struct nfp_pf *pf = devlink_priv(devlink); local 150 struct nfp_pf *pf = devlink_priv(devlink); local 167 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) argument 241 struct nfp_pf *pf = devlink_priv(devlink); local [all...] |
H A D | devlink_param.c | 87 struct nfp_pf *pf = devlink_priv(devlink); local 98 nsp = nfp_nsp_open(pf->cpp); 101 nfp_warn(pf->cpp, "can't access NSP: %d\n", err); 109 nfp_warn(pf->cpp, "HWinfo lookup failed: %d\n", err); 115 nfp_warn(pf->cpp, "HWinfo '%s' value %li invalid\n", 139 struct nfp_pf *pf = devlink_priv(devlink); local 149 nsp = nfp_nsp_open(pf->cpp); 152 nfp_warn(pf->cpp, "can't access NSP: %d\n", err); 161 nfp_warn(pf->cpp, "HWinfo set failed: %d\n", err); 208 static int nfp_devlink_supports_params(struct nfp_pf *pf) argument 228 nfp_devlink_params_register(struct nfp_pf *pf) argument 241 nfp_devlink_params_unregister(struct nfp_pf *pf) argument [all...] |
H A D | nfp_port.c | 125 n = snprintf(name, len, "pf%d", port->pf_id); 127 n = snprintf(name, len, "pf%ds%d", port->pf_id, 131 n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id); 172 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, argument 176 if (!pf->eth_tbl || id >= pf->eth_tbl->count) { 182 if (pf->eth_tbl->ports[id].override_changed) { 185 pf->eth_tbl->ports[id].index); 190 port->eth_port = &pf->eth_tbl->ports[id]; 191 port->eth_id = pf [all...] |
/linux-master/net/netfilter/ |
H A D | nf_sockopt.c | 32 if (ops->pf == reg->pf 62 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, argument 69 if (ops->pf == pf) { 92 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, sockptr_t opt, argument 98 ops = nf_sockopt_find(sk, pf, val, 0); 107 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, argument 113 ops = nf_sockopt_find(sk, pf, val, 1);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 44 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) argument 49 if (!is_pf_cgxmapped(rvu, pf)) 52 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx_id, &lmac_id); 71 /* Assumes only one pf mapped to a cgx lmac port */ 108 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, argument 111 struct rvu_pfvf *pfvf = &rvu->pf[pf]; 125 int pf = PF_CGXMAP_BASE; local 167 rvu->pf2cgxlmac_map[pf] = cgxlmac_id_to_bmap(cgx, lmac); 168 rvu->cgxlmac2pf_map[CGX_OFFSET(cgx) + lmac] = 1 << pf; 439 rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) argument 461 int pf = rvu_get_pf(pcifunc); local 478 int pf = rvu_get_pf(pcifunc); local 503 int pf = rvu_get_pf(pcifunc); local 554 int pf = rvu_get_pf(req->hdr.pcifunc); local 610 int pf = rvu_get_pf(req->hdr.pcifunc); local 640 int pf = rvu_get_pf(req->hdr.pcifunc); local 658 int pf = rvu_get_pf(req->hdr.pcifunc); local 678 int pf = rvu_get_pf(req->hdr.pcifunc); local 702 int pf = rvu_get_pf(req->hdr.pcifunc); local 720 int pf = rvu_get_pf(req->hdr.pcifunc); local 746 int pf = rvu_get_pf(req->hdr.pcifunc); local 767 int pf = rvu_get_pf(pcifunc); local 786 int pf = rvu_get_pf(req->hdr.pcifunc); local 805 int pf = rvu_get_pf(pcifunc); local 855 int pf = rvu_get_pf(pcifunc); local 892 int pf, err; local 910 int pf = rvu_get_pf(req->hdr.pcifunc); local 953 int pf = rvu_get_pf(pcifunc); local 983 int pf = rvu_get_pf(pcifunc); local 1024 int pf = rvu_get_pf(req->hdr.pcifunc); local 1051 int pf = rvu_get_pf(req->hdr.pcifunc); local 1070 int pf, lf; local 1157 int pf = rvu_get_pf(req->hdr.pcifunc); local 1173 int pf = rvu_get_pf(req->hdr.pcifunc); local 1200 int pf = rvu_get_pf(req->hdr.pcifunc); local 1216 int pf = rvu_get_pf(req->hdr.pcifunc); local 1234 int pf = rvu_get_pf(req->hdr.pcifunc); local 1250 int pf = rvu_get_pf(pcifunc); local 1288 int pf = rvu_get_pf(req->hdr.pcifunc); local 1313 int pf = rvu_get_pf(pcifunc); local [all...] |
H A D | rvu_switch.c | 89 int pf, vf, numvfs; local 92 for (pf = 1; pf < hw->total_pfs; pf++) { 93 if (!is_pf_cgxmapped(rvu, pf)) 96 pcifunc = pf << 10; 114 pf, err); 121 pf, err); 127 rvu_get_pf_numvfs(rvu, pf, &numvfs, NULL); 129 pcifunc = pf << 1 217 int pf, vf, numvfs; local [all...] |
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.h | 58 int enetc_msg_psi_init(struct enetc_pf *pf); 59 void enetc_msg_psi_free(struct enetc_pf *pf); 60 void enetc_msg_handle_rxmsg(struct enetc_pf *pf, int mbox_id, u16 *status);
|
/linux-master/arch/s390/kernel/vdso64/ |
H A D | getcpu.c | 16 *cpu = clk.pf;
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | main.c | 88 static void irdma_iidc_event_handler(struct ice_pf *pf, struct iidc_event *event) argument 90 struct irdma_device *iwdev = dev_get_drvdata(&pf->adev->dev); 114 ice_get_qos_params(pf, &qos_info); 154 struct ice_pf *pf = rf->cdev; local 157 ice_rdma_request_reset(pf, IIDC_PFR); 169 struct ice_pf *pf = iwdev->rf->cdev; local 176 ret = ice_add_rdma_qset(pf, &qset); 197 struct ice_pf *pf = iwdev->rf->cdev; local 205 if (ice_del_rdma_qset(pf, &qset)) 214 struct ice_pf *pf local 223 irdma_fill_device_info(struct irdma_device *iwdev, struct ice_pf *pf, struct ice_vsi *vsi) argument 262 struct ice_pf *pf = iidc_adev->pf; local [all...] |