Home
last modified time | relevance | path

Searched defs:pf (Results 1 – 25 of 219) sorted by relevance

123456789

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c77 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr()
104 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports()
109 static int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id()
115 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic()
125 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics()
135 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic()
177 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic()
215 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics()
249 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic()
259 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs()
[all …]
Dnfp_main.c79 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional()
100 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym()
112 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd()
195 static bool nfp_board_ready(struct nfp_pf *pf) in nfp_board_ready()
212 static int nfp_pf_board_state_wait(struct nfp_pf *pf) in nfp_pf_board_state_wait()
234 static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) in nfp_pcie_sriov_read_nfd_limit()
258 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable() local
301 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable() local
336 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) in nfp_net_fw_request()
358 nfp_net_fw_find(struct pci_dev *pdev, struct nfp_pf *pf) in nfp_net_fw_find()
[all …]
Dnfp_devlink.c58 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, unsigned int port_index, in nfp_devlink_fill_eth_port_from_id()
69 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes()
97 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split() local
129 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit() local
157 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get() local
167 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set() local
175 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get() local
182 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set() local
Dnfp_shared_buf.c44 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) in nfp_shared_buf_pool_unit()
57 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, in nfp_shared_buf_pool_get()
86 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, in nfp_shared_buf_pool_set()
108 int nfp_shared_buf_register(struct nfp_pf *pf) in nfp_shared_buf_register()
171 void nfp_shared_buf_unregister(struct nfp_pf *pf) in nfp_shared_buf_unregister()
Dnfp_net_debugdump.c146 nfp_traverse_tlvs(struct nfp_pf *pf, void *data, u32 data_length, void *param, in nfp_traverse_tlvs()
224 static int nfp_calc_fwname_tlv_size(struct nfp_pf *pf) in nfp_calc_fwname_tlv_size()
231 static int nfp_calc_hwinfo_field_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_hwinfo_field_sz()
263 nfp_calc_rtsym_dump_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_rtsym_dump_sz()
291 nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param) in nfp_add_tlv_size()
339 nfp_calc_specific_level_size(struct nfp_pf *pf, struct nfp_dump_tl *dump_level, in nfp_calc_specific_level_size()
352 s64 nfp_net_dump_calculate_size(struct nfp_pf *pf, struct nfp_dumpspec *spec, in nfp_net_dump_calculate_size()
409 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname()
430 nfp_dump_hwinfo(struct nfp_pf *pf, struct nfp_dump_tl *spec, in nfp_dump_hwinfo()
451 static int nfp_dump_hwinfo_field(struct nfp_pf *pf, struct nfp_dump_tl *spec, in nfp_dump_hwinfo_field()
[all …]
Dnfp_hwmon.c69 struct nfp_pf *pf = dev_get_drvdata(dev); in nfp_hwmon_read() local
165 int nfp_hwmon_register(struct nfp_pf *pf) in nfp_hwmon_register()
186 void nfp_hwmon_unregister(struct nfp_pf *pf) in nfp_hwmon_unregister()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_client.c86 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local
112 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_l2_param_changes() local
148 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local
171 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_netdev_close() local
193 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset()
218 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable()
245 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable()
267 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info()
285 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance()
338 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance()
[all …]
Di40e_ptp.c36 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read()
60 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write()
99 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjfreq() local
144 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_adjtime() local
168 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_gettime() local
188 struct i40e_pf *pf = container_of(ptp, struct i40e_pf, ptp_caps); in i40e_ptp_settime() local
224 static u32 i40e_ptp_get_rx_events(struct i40e_pf *pf) in i40e_ptp_get_rx_events()
263 void i40e_ptp_rx_hang(struct i40e_pf *pf) in i40e_ptp_rx_hang()
322 void i40e_ptp_tx_hang(struct i40e_pf *pf) in i40e_ptp_tx_hang()
356 void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf) in i40e_ptp_tx_hwtstamp()
[all …]
Di40e_main.c107 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d() local
125 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_free_dma_mem_d() local
181 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump()
260 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id()
277 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule()
296 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local
506 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats()
604 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local
668 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local
753 struct i40e_pf *pf = vsi->back; in i40e_update_vsi_stats() local
[all …]
Di40e_virtchnl_pf.c18 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast()
51 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local
78 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state()
92 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset()
169 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id() local
186 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id() local
201 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id() local
219 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id() local
281 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list() local
385 struct i40e_pf *pf = vf->pf; in i40e_release_iwarp_qvlist() local
[all …]
Di40e_ethtool.c258 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint()
270 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool()
482 struct i40e_pf *pf) in i40e_get_settings_link_up()
725 struct i40e_pf *pf) in i40e_get_settings_link_down()
748 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() local
838 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() local
1068 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset() local
1095 struct i40e_pf *pf = np->vsi->back; in i40e_get_pauseparam() local
1130 struct i40e_pf *pf = np->vsi->back; in i40e_set_pauseparam() local
1223 struct i40e_pf *pf = np->vsi->back; in i40e_get_msglevel() local
[all …]
Di40e_debugfs.c18 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi()
37 static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) in i40e_dbg_find_veb()
66 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read() local
109 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid()
447 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc()
496 struct i40e_pf *pf, bool is_rx_ring) in i40e_dbg_dump_desc()
577 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid()
592 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats()
618 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid()
639 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all()
[all …]
Di40e_dcb_nl.c34 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local
73 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local
104 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_getdcbx() local
119 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_get_perm_hw_addr() local
148 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_set_all() local
213 static void i40e_dcbnl_del_app(struct i40e_pf *pf, in i40e_dcbnl_del_app()
259 void i40e_dcbnl_flush_apps(struct i40e_pf *pf, in i40e_dcbnl_flush_apps()
287 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_setup() local
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_main.c120 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id) in ice_get_res()
184 struct ice_pf *pf = vsi->back; in ice_add_mac_to_list() local
287 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local
422 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask()
456 ice_prepare_for_reset(struct ice_pf *pf) in ice_prepare_for_reset()
484 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset()
520 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask()
570 static void ice_watchdog_subtask(struct ice_pf *pf) in ice_watchdog_subtask()
729 ice_link_event(struct ice_pf *pf, struct ice_port_info *pi) in ice_link_event()
785 static int ice_handle_link_event(struct ice_pf *pf) in ice_handle_link_event()
[all …]
Dice_ethtool.c147 struct ice_pf *pf = vsi->back; in ice_get_drvinfo() local
166 struct ice_pf *pf = np->vsi->back; in ice_get_regs() local
180 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel() local
194 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel() local
286 struct ice_pf *pf = vsi->back; in ice_get_ethtool_stats() local
493 struct ice_pf *pf = vsi->back; in ice_set_ringparam() local
720 struct ice_pf *pf = np->vsi->back; in ice_set_pauseparam() local
836 struct ice_pf *pf = vsi->back; in ice_get_rxfh() local
884 struct ice_pf *pf = vsi->back; in ice_set_rxfh() local
/Linux-v4.19/drivers/block/paride/
Dpf.c282 struct pf_unit *pf; in pf_init_units() local
314 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_open() local
339 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_getgeo() local
357 struct pf_unit *pf = bdev->bd_disk->private_data; in pf_ioctl() local
373 struct pf_unit *pf = disk->private_data; in pf_release() local
395 static inline int status_reg(struct pf_unit *pf) in status_reg()
400 static inline int read_reg(struct pf_unit *pf, int reg) in read_reg()
405 static inline void write_reg(struct pf_unit *pf, int reg, int val) in write_reg()
410 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait()
434 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_sockopt.c62 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, in nf_sockopt_find()
93 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, in nf_sockopt()
112 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_setsockopt()
119 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_getsockopt()
127 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, in compat_nf_sockopt()
153 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, in compat_nf_setsockopt()
160 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf, in compat_nf_getsockopt()
Dnf_log.c27 static struct nf_logger *__find_logger(int pf, const char *str_logger) in __find_logger()
44 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
78 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register()
127 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
143 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
153 void nf_logger_request_module(int pf, enum nf_log_type type) in nf_logger_request_module()
160 int nf_logger_find_get(int pf, enum nf_log_type type) in nf_logger_find_get()
195 void nf_logger_put(int pf, enum nf_log_type type) in nf_logger_put()
215 u_int8_t pf, in nf_log_packet()
244 u_int8_t pf, in nf_log_trace()
Dnf_conntrack_proto_udp.c81 u8 pf, const char *msg) in udplite_error_log()
89 u8 pf, unsigned int hooknum) in udplite_error()
130 u8 pf, const char *msg) in udp_error_log()
137 u_int8_t pf, in udp_error()
/Linux-v4.19/net/ax25/
Dax25_std_in.c42 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state1_machine()
106 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state2_machine()
144 …state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_std_state3_machine()
269 …state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_std_state4_machine()
424 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local
Dax25_ds_in.c35 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state1_machine()
103 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state2_machine()
148 …state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_ds_state3_machine()
284 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local
/Linux-v4.19/tools/perf/util/
Dprobe-finder.c538 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable()
568 static int find_variable(Dwarf_Die *sc_die, struct probe_finder *pf) in find_variable()
669 static int call_probe_finder(Dwarf_Die *sc_die, struct probe_finder *pf) in call_probe_finder()
768 static Dwarf_Die *find_best_scope(struct probe_finder *pf, Dwarf_Die *die_mem) in find_best_scope()
787 struct probe_finder *pf = data; in probe_point_line_walker() local
808 static int find_probe_point_by_line(struct probe_finder *pf) in find_probe_point_by_line()
856 struct probe_finder *pf = data; in probe_point_lazy_walker() local
884 static int find_probe_point_lazy(Dwarf_Die *sp_die, struct probe_finder *pf) in find_probe_point_lazy()
910 static void skip_prologue(Dwarf_Die *sp_die, struct probe_finder *pf) in skip_prologue()
944 struct probe_finder *pf = data; in probe_point_inline_cb() local
[all …]
/Linux-v4.19/include/linux/
Dnetfilter.h53 u_int8_t pf; member
69 u_int8_t pf; member
124 u_int8_t pf, in nf_hook_state_init()
145 u_int8_t pf; member
193 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
269 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
283 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
294 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
376 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
385 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c93 struct adf_accel_dev *pf; in adf_cleanup_accel() local
123 struct adf_accel_dev *pf; in adf_probe() local
/Linux-v4.19/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c93 struct adf_accel_dev *pf; in adf_cleanup_accel() local
123 struct adf_accel_dev *pf; in adf_probe() local

123456789