Home
last modified time | relevance | path

Searched defs:bp (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf()
48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
61 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid()
72 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid()
78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb()
113 static bool bnx2x_validate_vf_sp_objs(struct bnx2x *bp, in bnx2x_validate_vf_sp_objs()
128 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx()
144 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx()
168 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep()
233 static int bnx2x_vf_queue_create(struct bnx2x *bp, in bnx2x_vf_queue_create()
[all …]
Dbnx2x_main.c300 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping()
307 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr()
316 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf()
329 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
342 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data()
353 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod()
363 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind()
371 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind()
389 static void bnx2x_dp_dmae(struct bnx2x *bp, in bnx2x_dp_dmae()
456 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) in bnx2x_post_dmae()
[all …]
Dbnx2x_dcb.c55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data()
63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data()
71 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set()
116 static void bnx2x_pfc_clear(struct bnx2x *bp) in bnx2x_pfc_clear()
126 static void bnx2x_dump_dcbx_drv_param(struct bnx2x *bp, in bnx2x_dump_dcbx_drv_param()
172 static void bnx2x_dcbx_get_ap_priority(struct bnx2x *bp, in bnx2x_dcbx_get_ap_priority()
193 static void bnx2x_dcbx_get_ap_feature(struct bnx2x *bp, in bnx2x_dcbx_get_ap_feature()
274 static void bnx2x_dcbx_get_ets_feature(struct bnx2x *bp, in bnx2x_dcbx_get_ets_feature()
326 static void bnx2x_dcbx_get_pfc_feature(struct bnx2x *bp, in bnx2x_dcbx_get_pfc_feature()
348 static void bnx2x_dcbx_map_nw(struct bnx2x *bp) in bnx2x_dcbx_map_nw()
[all …]
Dbnx2x_cmn.c41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic()
52 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi()
63 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues()
88 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
145 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str()
171 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp()
195 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
274 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
356 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local
408 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
[all …]
Dbnx2x_ethtool.c190 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type()
222 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings() local
262 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() local
369 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings() local
690 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len()
706 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len()
720 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() local
743 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar()
753 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num()
763 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar()
[all …]
Dbnx2x_vfpf.c29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv()
40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep()
59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize()
69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list()
93 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list()
141 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf()
196 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id()
225 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire()
398 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release()
445 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init()
[all …]
Dbnx2x_stats.c44 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len()
84 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats()
126 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post()
152 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post()
197 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp()
218 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update()
265 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init()
487 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init()
516 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start()
530 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start()
[all …]
Dbnx2x_cmn.h503 static inline void bnx2x_update_rx_prod(struct bnx2x *bp, in bnx2x_update_rx_prod()
638 static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, in bnx2x_igu_ack_sb_gen()
659 static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, in bnx2x_hc_ack_sb()
680 static inline void bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, in bnx2x_ack_sb()
700 static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) in bnx2x_hc_ack_int()
710 static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp) in bnx2x_igu_ack_int()
722 static inline u16 bnx2x_ack_int(struct bnx2x *bp) in bnx2x_ack_int()
738 static inline u16 bnx2x_tx_avail(struct bnx2x *bp, in bnx2x_tx_avail()
797 static inline void bnx2x_tx_disable(struct bnx2x *bp) in bnx2x_tx_disable()
803 static inline void bnx2x_free_rx_sge(struct bnx2x *bp, in bnx2x_free_rx_sge()
[all …]
Dbnx2x_sp.c48 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init()
79 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem()
111 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add()
150 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending()
173 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step()
249 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem()
283 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait()
318 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait()
430 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock()
451 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending()
[all …]
Dbnx2x_init_ops.h22 #define BP_ILT(bp) NULL argument
26 #define BP_FUNC(bp) 0 argument
30 #define BP_PORT(bp) 0 argument
51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr()
60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr()
69 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len, in bnx2x_write_big_buf()
84 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, in bnx2x_init_fill()
100 static void bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf_wb()
114 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, in bnx2x_init_wr_64()
153 static const u8 *bnx2x_sel_blob(struct bnx2x *bp, u32 addr, in bnx2x_sel_blob()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_buf.c43 struct xfs_buf *bp) in xfs_buf_is_vmapped()
57 struct xfs_buf *bp) in xfs_buf_vmap_len()
77 struct xfs_buf *bp) in xfs_buf_ioacct_inc()
97 struct xfs_buf *bp) in __xfs_buf_ioacct_dec()
109 struct xfs_buf *bp) in xfs_buf_ioacct_dec()
126 struct xfs_buf *bp) in xfs_buf_stale()
159 struct xfs_buf *bp, in xfs_buf_get_maps()
182 struct xfs_buf *bp) in xfs_buf_free_maps()
197 struct xfs_buf *bp; in _xfs_buf_alloc() local
257 xfs_buf_t *bp, in _xfs_buf_get_pages()
[all …]
Dxfs_trans_buf.c65 struct xfs_buf *bp, in _xfs_trans_bjoin()
102 struct xfs_buf *bp) in xfs_trans_bjoin()
125 xfs_buf_t *bp; in xfs_trans_get_buf_map() local
180 xfs_buf_t *bp; in xfs_trans_getsb() local
236 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map() local
339 struct xfs_buf *bp) in xfs_trans_brelse()
396 xfs_buf_t *bp) in xfs_trans_bhold()
417 xfs_buf_t *bp) in xfs_trans_bhold_release()
438 struct xfs_buf *bp) in xfs_trans_dirty_buf()
493 struct xfs_buf *bp, in xfs_trans_log_buf()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c66 void dal_bios_parser_init_cmd_tbl(struct bios_parser *bp) in dal_bios_parser_init_cmd_tbl()
120 static void init_dig_encoder_control(struct bios_parser *bp) in init_dig_encoder_control()
153 static void init_encoder_control_dig_v1(struct bios_parser *bp) in init_encoder_control_dig_v1()
171 struct bios_parser *bp, in encoder_control_dig_v1()
198 struct bios_parser *bp, in encoder_control_dig1_v1()
213 struct bios_parser *bp, in encoder_control_dig2_v1()
228 struct bios_parser *bp, in encoder_control_digx_v3()
257 struct bios_parser *bp, in encoder_control_digx_v4()
286 struct bios_parser *bp, in encoder_control_digx_v5()
367 static void init_transmitter_control(struct bios_parser *bp) in init_transmitter_control()
[all …]
Dcommand_table2.c90 static void init_dig_encoder_control(struct bios_parser *bp) in init_dig_encoder_control()
107 struct bios_parser *bp, in encoder_control_digx_v1_5()
176 static void init_transmitter_control(struct bios_parser *bp) in init_transmitter_control()
195 struct bios_parser *bp, in transmitter_control_v1_6()
244 static void init_set_pixel_clock(struct bios_parser *bp) in init_set_pixel_clock()
261 struct bios_parser *bp, in set_pixel_clock_v7()
352 static void init_set_crtc_timing(struct bios_parser *bp) in init_set_crtc_timing()
370 struct bios_parser *bp, in set_crtc_using_dtd_timing_v3()
476 static void init_select_crtc_source(struct bios_parser *bp) in init_select_crtc_source()
492 struct bios_parser *bp, in select_crtc_source_v3()
[all …]
Dbios_parser.c109 struct bios_parser *bp = NULL; in bios_parser_create() local
123 static void destruct(struct bios_parser *bp) in destruct()
131 struct bios_parser *bp = BP_FROM_DCB(*dcb); in bios_parser_destroy() local
144 static uint8_t get_number_of_objects(struct bios_parser *bp, uint32_t offset) in get_number_of_objects()
160 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local
170 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_encoder_id() local
193 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local
223 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_dst_number() local
236 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local
265 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_dst_obj() local
[all …]
Dbios_parser2.c112 static void destruct(struct bios_parser *bp) in destruct()
120 struct bios_parser *bp = BP_FROM_DCB(*dcb); in firmware_parser_destroy() local
158 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local
173 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_encoder_id() local
188 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local
231 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local
290 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_dst_obj() local
330 struct bios_parser *bp, in get_bios_object()
375 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_i2c_info() local
415 struct bios_parser *bp, in get_gpio_i2c_info()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/
Db44.c166 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32()
171 static inline void bw32(const struct b44 *bp, in bw32()
177 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit()
201 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read()
223 static inline void __b44_cam_write(struct b44 *bp, unsigned char *data, int index) in __b44_cam_write()
241 static inline void __b44_disable_ints(struct b44 *bp) in __b44_disable_ints()
246 static void b44_disable_ints(struct b44 *bp) in b44_disable_ints()
254 static void b44_enable_ints(struct b44 *bp) in b44_enable_ints()
259 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy()
275 static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) in __b44_writephy()
[all …]
Dbnx2.c253 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail()
270 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind()
283 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind()
294 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr()
300 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd()
306 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr()
335 struct bnx2 *bp = netdev_priv(dev); in bnx2_drv_ctl() local
354 static void bnx2_setup_cnic_irq_info(struct bnx2 *bp) in bnx2_setup_cnic_irq_info()
384 struct bnx2 *bp = netdev_priv(dev); in bnx2_register_cnic() local
409 struct bnx2 *bp = netdev_priv(dev); in bnx2_unregister_cnic() local
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c287 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() local
555 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int()
621 static struct page *__bnxt_alloc_rx_page(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_page()
641 static inline u8 *__bnxt_alloc_rx_data(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_data()
662 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, in bnxt_alloc_rx_data()
722 static inline int bnxt_alloc_rx_page(struct bnxt *bp, in bnxt_alloc_rx_page()
782 struct bnxt *bp = bnapi->bp; in bnxt_reuse_rx_agg_bufs() local
831 static struct sk_buff *bnxt_rx_page_skb(struct bnxt *bp, in bnxt_rx_page_skb()
877 static struct sk_buff *bnxt_rx_skb(struct bnxt *bp, in bnxt_rx_skb()
906 static struct sk_buff *bnxt_rx_pages(struct bnxt *bp, struct bnxt_napi *bnapi, in bnxt_rx_pages()
[all …]
Dbnxt_sriov.c25 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl()
63 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep()
83 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local
126 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() local
144 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local
181 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local
210 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local
251 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() local
292 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() local
324 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
[all …]
Dbnxt_dcb.c24 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc()
39 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg()
63 static int bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg()
91 static int bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg()
135 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg()
176 static int bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) in bnxt_queue_remap()
232 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
281 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
303 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app()
388 static int bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) in bnxt_hwrm_queue_dscp_qcaps()
[all …]
/Linux-v4.19/kernel/events/
Dhw_breakpoint.c84 __weak int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight()
118 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned()
134 static const struct cpumask *cpumask_of_bp(struct perf_event *bp) in cpumask_of_bp()
146 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots()
185 static void toggle_bp_task_slot(struct perf_event *bp, int cpu, in toggle_bp_task_slot()
204 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, in toggle_bp_slot()
232 __weak void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint()
281 static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type) in __reserve_bp_slot()
315 int reserve_bp_slot(struct perf_event *bp) in reserve_bp_slot()
328 static void __release_bp_slot(struct perf_event *bp, u64 bp_type) in __release_bp_slot()
[all …]
/Linux-v4.19/include/linux/
Dhw_breakpoint.h32 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) in hw_breakpoint_addr()
37 static inline int hw_breakpoint_type(struct perf_event *bp) in hw_breakpoint_type()
42 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) in hw_breakpoint_len()
86 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp()
101 modify_user_hw_breakpoint(struct perf_event *bp, in modify_user_hw_breakpoint()
104 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
117 register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; } in register_perf_hw_breakpoint()
119 __register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; } in __register_perf_hw_breakpoint()
120 static inline void unregister_hw_breakpoint(struct perf_event *bp) { } in unregister_hw_breakpoint()
124 reserve_bp_slot(struct perf_event *bp) {return -ENOSYS; } in reserve_bp_slot()
[all …]
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_main.c47 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument
53 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument
57 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument
109 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size()
136 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx()
155 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc()
164 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap()
193 static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) in macb_rx_ring_wrap()
212 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native()
217 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native()
[all …]
/Linux-v4.19/drivers/net/ethernet/sun/
Dsunbmac.c98 static void qec_init(struct bigmac *bp) in qec_init()
165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop()
171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters()
193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings()
212 static void bigmac_init_rings(struct bigmac *bp, int from_irq) in bigmac_init_rings()
268 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) in write_tcvr_bit()
291 static int read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit()
314 static int read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit2()
336 static void put_tcvr_byte(struct bigmac *bp, in put_tcvr_byte()
348 static void bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, in bigmac_tcvr_write()
[all …]

12345678910>>...14