Home
last modified time | relevance | path

Searched +full:bp +full:- +full:disabled +full:- +full:ports (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1 /* Copyright 2008-2013 Broadcom Corporation
8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1)
205 (_phy)->def_md_devad, \
211 (_phy)->def_md_devad, \
220 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() argument
222 u32 val = REG_RD(bp, reg); in bnx2x_bits_en()
225 REG_WR(bp, reg, val); in bnx2x_bits_en()
229 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() argument
231 u32 val = REG_RD(bp, reg); in bnx2x_bits_dis()
[all …]
H A Dbnx2x_init.h4 * Copyright (c) 2007-2013 Broadcom Corporation
29 OP_WB_ZR, /* Clear a string using DMAE or indirect-wr */
207 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() argument
210 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos()
212 /* check if queue->COS mapping has changed */ in bnx2x_map_q_cos()
218 if (INIT_MODE_FLAGS(bp) & MODE_PORT4) { in bnx2x_map_q_cos()
220 if (BP_PORT(bp)) { in bnx2x_map_q_cos()
229 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos()
232 /* overwrite queue->VOQ mapping */ in bnx2x_map_q_cos()
233 REG_WR(bp, BNX2X_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in bnx2x_map_q_cos()
[all …]
H A Dbnx2x_main.c3 * Copyright (c) 2007-2013 Broadcom Corporation
36 #include <linux/dma-mapping.h>
83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw"
84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw"
85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw"
86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V1
314 __storm_memset_dma_mapping(struct bnx2x * bp,u32 addr,dma_addr_t mapping) __storm_memset_dma_mapping() argument
321 storm_memset_spq_addr(struct bnx2x * bp,dma_addr_t mapping,u16 abs_fid) storm_memset_spq_addr() argument
330 storm_memset_vf_to_pf(struct bnx2x * bp,u16 abs_fid,u16 pf_id) storm_memset_vf_to_pf() argument
343 storm_memset_func_en(struct bnx2x * bp,u16 abs_fid,u8 enable) storm_memset_func_en() argument
356 storm_memset_eq_data(struct bnx2x * bp,struct event_ring_data * eq_data,u16 pfid) storm_memset_eq_data() argument
367 storm_memset_eq_prod(struct bnx2x * bp,u16 eq_prod,u16 pfid) storm_memset_eq_prod() argument
377 bnx2x_reg_wr_ind(struct bnx2x * bp,u32 addr,u32 val) bnx2x_reg_wr_ind() argument
385 bnx2x_reg_rd_ind(struct bnx2x * bp,u32 addr) bnx2x_reg_rd_ind() argument
403 bnx2x_dp_dmae(struct bnx2x * bp,struct dmae_command * dmae,int msglvl) bnx2x_dp_dmae() argument
470 bnx2x_post_dmae(struct bnx2x * bp,struct dmae_command * dmae,int idx) bnx2x_post_dmae() argument
493 bnx2x_dmae_opcode(struct bnx2x * bp,u8 src_type,u8 dst_type,bool with_comp,u8 comp_type) bnx2x_dmae_opcode() argument
518 bnx2x_prep_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u8 src_type,u8 dst_type) bnx2x_prep_dmae_with_comp() argument
535 bnx2x_issue_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u32 * comp) bnx2x_issue_dmae_with_comp() argument
582 bnx2x_write_dmae(struct bnx2x * bp,dma_addr_t dma_addr,u32 dst_addr,u32 len32) bnx2x_write_dmae() argument
618 bnx2x_read_dmae(struct bnx2x * bp,u32 src_addr,u32 len32) bnx2x_read_dmae() argument
657 bnx2x_write_dmae_phys_len(struct bnx2x * bp,dma_addr_t phys_addr,u32 addr,u32 len) bnx2x_write_dmae_phys_len() argument
684 bnx2x_get_assert_list_entry(struct bnx2x * bp,enum storms storm,int entry) bnx2x_get_assert_list_entry() argument
704 bnx2x_mc_assert(struct bnx2x * bp) bnx2x_mc_assert() argument
768 SCRATCH_BUFFER_SIZE(bp) global() argument
771 bnx2x_fw_dump_lvl(struct bnx2x * bp,const char * lvl) bnx2x_fw_dump_lvl() argument
849 bnx2x_fw_dump(struct bnx2x * bp) bnx2x_fw_dump() argument
854 bnx2x_hc_int_disable(struct bnx2x * bp) bnx2x_hc_int_disable() argument
889 bnx2x_igu_int_disable(struct bnx2x * bp) bnx2x_igu_int_disable() argument
904 bnx2x_int_disable(struct bnx2x * bp) bnx2x_int_disable() argument
912 bnx2x_panic_dump(struct bnx2x * bp,bool disable_int) bnx2x_panic_dump() argument
1227 bnx2x_pbf_pN_buf_flushed(struct bnx2x * bp,struct pbf_pN_buf_regs * regs,u32 poll_count) bnx2x_pbf_pN_buf_flushed() argument
1262 bnx2x_pbf_pN_cmd_flushed(struct bnx2x * bp,struct pbf_pN_cmd_regs * regs,u32 poll_count) bnx2x_pbf_pN_cmd_flushed() argument
1294 bnx2x_flr_clnup_reg_poll(struct bnx2x * bp,u32 reg,u32 expected,u32 poll_count) bnx2x_flr_clnup_reg_poll() argument
1306 bnx2x_flr_clnup_poll_hw_counter(struct bnx2x * bp,u32 reg,char * msg,u32 poll_cnt) bnx2x_flr_clnup_poll_hw_counter() argument
1318 bnx2x_flr_clnup_poll_count(struct bnx2x * bp) bnx2x_flr_clnup_poll_count() argument
1330 bnx2x_tx_hw_flushed(struct bnx2x * bp,u32 poll_count) bnx2x_tx_hw_flushed() argument
1403 bnx2x_send_final_clnup(struct bnx2x * bp,u8 clnup_func,u32 poll_cnt) bnx2x_send_final_clnup() argument
1445 bnx2x_poll_hw_usage_counters(struct bnx2x * bp,u32 poll_cnt) bnx2x_poll_hw_usage_counters() argument
1490 bnx2x_hw_enable_status(struct bnx2x * bp) bnx2x_hw_enable_status() argument
1520 bnx2x_pf_flr_clnup(struct bnx2x * bp) bnx2x_pf_flr_clnup() argument
1564 bnx2x_hc_int_enable(struct bnx2x * bp) bnx2x_hc_int_enable() argument
1629 bnx2x_igu_int_enable(struct bnx2x * bp) bnx2x_igu_int_enable() argument
1689 bnx2x_int_enable(struct bnx2x * bp) bnx2x_int_enable() argument
1697 bnx2x_int_disable_sync(struct bnx2x * bp,int disable_hw) bnx2x_int_disable_sync() argument
1730 bnx2x_trylock_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_trylock_hw_lock() argument
1773 bnx2x_get_leader_lock_resource(struct bnx2x * bp) bnx2x_get_leader_lock_resource() argument
1788 bnx2x_trylock_leader_lock(struct bnx2x * bp) bnx2x_trylock_leader_lock() argument
1796 bnx2x_schedule_sp_task(struct bnx2x * bp) bnx2x_schedule_sp_task() argument
1816 struct bnx2x *bp = fp->bp; bnx2x_sp_event() local
1924 struct bnx2x *bp = netdev_priv(dev_instance); bnx2x_interrupt() local
1997 bnx2x_acquire_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_acquire_hw_lock() argument
2041 bnx2x_release_leader_lock(struct bnx2x * bp) bnx2x_release_leader_lock() argument
2046 bnx2x_release_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_release_hw_lock() argument
2079 bnx2x_get_gpio(struct bnx2x * bp,int gpio_num,u8 port) bnx2x_get_gpio() argument
2107 bnx2x_set_gpio(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio() argument
2163 bnx2x_set_mult_gpio(struct bnx2x * bp,u8 pins,u32 mode) bnx2x_set_mult_gpio() argument
2210 bnx2x_set_gpio_int(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio_int() argument
2258 bnx2x_set_spio(struct bnx2x * bp,int spio,u32 mode) bnx2x_set_spio() argument
2303 bnx2x_calc_fc_adv(struct bnx2x * bp) bnx2x_calc_fc_adv() argument
2325 bnx2x_set_requested_fc(struct bnx2x * bp) bnx2x_set_requested_fc() argument
2337 bnx2x_init_dropless_fc(struct bnx2x * bp) bnx2x_init_dropless_fc() argument
2354 bnx2x_initial_phy_init(struct bnx2x * bp,int load_mode) bnx2x_initial_phy_init() argument
2407 bnx2x_link_set(struct bnx2x * bp) bnx2x_link_set() argument
2421 bnx2x__link_reset(struct bnx2x * bp) bnx2x__link_reset() argument
2431 bnx2x_force_link_reset(struct bnx2x * bp) bnx2x_force_link_reset() argument
2438 bnx2x_link_test(struct bnx2x * bp,u8 is_serdes) bnx2x_link_test() argument
2462 bnx2x_calc_vn_min(struct bnx2x * bp,struct cmng_init_input * input) bnx2x_calc_vn_min() argument
2500 bnx2x_calc_vn_max(struct bnx2x * bp,int vn,struct cmng_init_input * input) bnx2x_calc_vn_max() argument
2524 bnx2x_get_cmng_fns_mode(struct bnx2x * bp) bnx2x_get_cmng_fns_mode() argument
2534 bnx2x_read_mf_cfg(struct bnx2x * bp) bnx2x_read_mf_cfg() argument
2570 bnx2x_cmng_fns_init(struct bnx2x * bp,u8 read_cfg,u8 cmng_type) bnx2x_cmng_fns_init() argument
2605 storm_memset_cmng(struct bnx2x * bp,struct cmng_init * cmng,u8 port) storm_memset_cmng() argument
2635 bnx2x_set_local_cmng(struct bnx2x * bp) bnx2x_set_local_cmng() argument
2650 bnx2x_link_attn(struct bnx2x * bp) bnx2x_link_attn() argument
2682 bnx2x__link_status_update(struct bnx2x * bp) bnx2x__link_status_update() argument
2741 bnx2x_afex_func_update(struct bnx2x * bp,u16 vifid,u16 vlan_val,u8 allowed_prio) bnx2x_afex_func_update() argument
2766 bnx2x_afex_handle_vif_list_cmd(struct bnx2x * bp,u8 cmd_type,u16 vif_index,u8 func_bit_map) bnx2x_afex_handle_vif_list_cmd() argument
2804 bnx2x_handle_afex_cmd(struct bnx2x * bp,u32 cmd) bnx2x_handle_afex_cmd() argument
2925 bnx2x_handle_update_svid_cmd(struct bnx2x * bp) bnx2x_handle_update_svid_cmd() argument
2980 bnx2x_pmf_update(struct bnx2x * bp) bnx2x_pmf_update() argument
3021 bnx2x_fw_command(struct bnx2x * bp,u32 command,u32 param) bnx2x_fw_command() argument
3063 storm_memset_func_cfg(struct bnx2x * bp,struct tstorm_eth_function_common_config * tcfg,u16 abs_fid) storm_memset_func_cfg() argument
3075 bnx2x_func_init(struct bnx2x * bp,struct bnx2x_func_init_params * p) bnx2x_func_init() argument
3104 bnx2x_get_common_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool zero_stats) bnx2x_get_common_flags() argument
3135 bnx2x_get_q_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_get_q_flags() argument
3173 bnx2x_pf_q_prep_general(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_general_setup_params * gen_init,u8 cos) bnx2x_pf_q_prep_general() argument
3191 bnx2x_pf_rx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct rxq_pause_params * pause,struct bnx2x_rxq_setup_params * rxq_init) bnx2x_pf_rx_q_prep() argument
3279 bnx2x_pf_tx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_txq_setup_params * txq_init,u8 cos) bnx2x_pf_tx_q_prep() argument
3300 bnx2x_pf_init(struct bnx2x * bp) bnx2x_pf_init() argument
3352 bnx2x_e1h_disable(struct bnx2x * bp) bnx2x_e1h_disable() argument
3361 bnx2x_e1h_enable(struct bnx2x * bp) bnx2x_e1h_enable() argument
3379 bnx2x_drv_info_ether_stat(struct bnx2x * bp) bnx2x_drv_info_ether_stat() argument
3422 bnx2x_drv_info_fcoe_stat(struct bnx2x * bp) bnx2x_drv_info_fcoe_stat() argument
3524 bnx2x_drv_info_iscsi_stat(struct bnx2x * bp) bnx2x_drv_info_iscsi_stat() argument
3548 bnx2x_config_mf_bw(struct bnx2x * bp) bnx2x_config_mf_bw() argument
3567 bnx2x_set_mf_bw(struct bnx2x * bp) bnx2x_set_mf_bw() argument
3573 bnx2x_handle_eee_event(struct bnx2x * bp) bnx2x_handle_eee_event() argument
3582 bnx2x_handle_drv_info_req(struct bnx2x * bp) bnx2x_handle_drv_info_req() argument
3683 bnx2x_update_mng_version(struct bnx2x * bp) bnx2x_update_mng_version() argument
3731 bnx2x_update_mfw_dump(struct bnx2x * bp) bnx2x_update_mfw_dump() argument
3757 bnx2x_oem_event(struct bnx2x * bp,u32 event) bnx2x_oem_event() argument
3814 bnx2x_sp_get_next(struct bnx2x * bp) bnx2x_sp_get_next() argument
3830 bnx2x_sp_prod_update(struct bnx2x * bp) bnx2x_sp_prod_update() argument
3879 bnx2x_sp_post(struct bnx2x * bp,int command,int cid,u32 data_hi,u32 data_lo,int cmd_type) bnx2x_sp_post() argument
3958 bnx2x_acquire_alr(struct bnx2x * bp) bnx2x_acquire_alr() argument
3981 bnx2x_release_alr(struct bnx2x * bp) bnx2x_release_alr() argument
3989 bnx2x_update_dsb_idx(struct bnx2x * bp) bnx2x_update_dsb_idx() argument
4014 bnx2x_attn_int_asserted(struct bnx2x * bp,u32 asserted) bnx2x_attn_int_asserted() argument
4136 bnx2x_fan_failure(struct bnx2x * bp) bnx2x_fan_failure() argument
4161 bnx2x_attn_int_deasserted0(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted0() argument
4201 bnx2x_attn_int_deasserted1(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted1() argument
4232 bnx2x_attn_int_deasserted2(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted2() argument
4276 bnx2x_attn_int_deasserted3(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted3() argument
4407 bnx2x_set_reset_global(struct bnx2x * bp) bnx2x_set_reset_global() argument
4421 bnx2x_clear_reset_global(struct bnx2x * bp) bnx2x_clear_reset_global() argument
4435 bnx2x_reset_is_global(struct bnx2x * bp) bnx2x_reset_is_global() argument
4448 bnx2x_set_reset_done(struct bnx2x * bp) bnx2x_set_reset_done() argument
4468 bnx2x_set_reset_in_progress(struct bnx2x * bp) bnx2x_set_reset_in_progress() argument
4486 bnx2x_reset_is_done(struct bnx2x * bp,int engine) bnx2x_reset_is_done() argument
4501 bnx2x_set_pf_load(struct bnx2x * bp) bnx2x_set_pf_load() argument
4539 bnx2x_clear_pf_load(struct bnx2x * bp) bnx2x_clear_pf_load() argument
4573 bnx2x_get_load_status(struct bnx2x * bp,int engine) bnx2x_get_load_status() argument
4591 _print_parity(struct bnx2x * bp,u32 reg) _print_parity() argument
4601 bnx2x_check_blocks_with_parity0(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity0() argument
4665 bnx2x_check_blocks_with_parity1(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity1() argument
4809 bnx2x_check_blocks_with_parity2(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity2() argument
4883 bnx2x_check_blocks_with_parity3(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity3() argument
4932 bnx2x_check_blocks_with_parity4(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity4() argument
4968 bnx2x_parity_attn(struct bnx2x * bp,bool * global,bool print,u32 * sig) bnx2x_parity_attn() argument
5024 bnx2x_chk_parity_attn(struct bnx2x * bp,bool * global,bool print) bnx2x_chk_parity_attn() argument
5058 bnx2x_attn_int_deasserted4(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted4() argument
5111 bnx2x_attn_int_deasserted(struct bnx2x * bp,u32 deasserted) bnx2x_attn_int_deasserted() argument
5212 bnx2x_attn_int(struct bnx2x * bp) bnx2x_attn_int() argument
5240 bnx2x_igu_ack_sb(struct bnx2x * bp,u8 igu_sb_id,u8 segment,u16 index,u8 op,u8 update) bnx2x_igu_ack_sb() argument
5249 bnx2x_update_eq_prod(struct bnx2x * bp,u16 prod) bnx2x_update_eq_prod() argument
5255 bnx2x_cnic_handle_cfc_del(struct bnx2x * bp,u32 cid,union event_ring_elem * elem) bnx2x_cnic_handle_cfc_del() argument
5277 bnx2x_handle_mcast_eqe(struct bnx2x * bp) bnx2x_handle_mcast_eqe() argument
5302 bnx2x_handle_classification_eqe(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_handle_classification_eqe() argument
5349 bnx2x_handle_rx_mode_eqe(struct bnx2x * bp) bnx2x_handle_rx_mode_eqe() argument
5368 bnx2x_after_afex_vif_lists(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_after_afex_vif_lists() argument
5385 bnx2x_after_function_update(struct bnx2x * bp) bnx2x_after_function_update() argument
5450 bnx2x_cid_to_q_obj(struct bnx2x * bp,u32 cid) bnx2x_cid_to_q_obj() argument
5460 bnx2x_eq_int(struct bnx2x * bp) bnx2x_eq_int() argument
5684 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); bnx2x_sp_task() local
5748 struct bnx2x *bp = netdev_priv(dev); bnx2x_msix_sp_int() local
5778 bnx2x_drv_pulse(struct bnx2x * bp) bnx2x_drv_pulse() argument
5786 struct bnx2x *bp = timer_container_of(bp, t, timer); bnx2x_timer() local
5832 bnx2x_fill(struct bnx2x * bp,u32 addr,int fill,u32 len) bnx2x_fill() argument
5844 bnx2x_wr_fp_sb_data(struct bnx2x * bp,int fw_sb_id,u32 * sb_data_p,u32 data_size) bnx2x_wr_fp_sb_data() argument
5857 bnx2x_zero_fp_sb(struct bnx2x * bp,int fw_sb_id) bnx2x_zero_fp_sb() argument
5890 bnx2x_wr_sp_sb_data(struct bnx2x * bp,struct hc_sp_status_block_data * sp_sb_data) bnx2x_wr_sp_sb_data() argument
5902 bnx2x_zero_sp_sb(struct bnx2x * bp) bnx2x_zero_sp_sb() argument
5959 bnx2x_init_sb(struct bnx2x * bp,dma_addr_t mapping,int vfid,u8 vf_valid,int fw_sb_id,int igu_sb_id) bnx2x_init_sb() argument
6019 bnx2x_update_coalesce_sb(struct bnx2x * bp,u8 fw_sb_id,u16 tx_usec,u16 rx_usec) bnx2x_update_coalesce_sb() argument
6035 bnx2x_init_def_sb(struct bnx2x * bp) bnx2x_init_def_sb() argument
6118 bnx2x_update_coalesce(struct bnx2x * bp) bnx2x_update_coalesce() argument
6127 bnx2x_init_sp_ring(struct bnx2x * bp) bnx2x_init_sp_ring() argument
6138 bnx2x_init_eq_ring(struct bnx2x * bp) bnx2x_init_eq_ring() argument
6161 bnx2x_set_q_rx_mode(struct bnx2x * bp,u8 cl_id,unsigned long rx_mode_flags,unsigned long rx_accept_flags,unsigned long tx_accept_flags,unsigned long ramrod_flags) bnx2x_set_q_rx_mode() argument
6201 bnx2x_fill_accept_flags(struct bnx2x * bp,u32 rx_mode,unsigned long * rx_accept_flags,unsigned long * tx_accept_flags) bnx2x_fill_accept_flags() argument
6280 bnx2x_set_storm_rx_mode(struct bnx2x * bp) bnx2x_set_storm_rx_mode() argument
6303 bnx2x_init_internal_common(struct bnx2x * bp) bnx2x_init_internal_common() argument
6319 bnx2x_init_internal(struct bnx2x * bp,u32 load_code) bnx2x_init_internal() argument
6360 bnx2x_init_eth_fp(struct bnx2x * bp,int fp_idx) bnx2x_init_eth_fp() argument
6446 bnx2x_init_tx_rings_cnic(struct bnx2x * bp) bnx2x_init_tx_rings_cnic() argument
6454 bnx2x_init_tx_rings(struct bnx2x * bp) bnx2x_init_tx_rings() argument
6464 bnx2x_init_fcoe_fp(struct bnx2x * bp) bnx2x_init_fcoe_fp() argument
6505 bnx2x_nic_init_cnic(struct bnx2x * bp) bnx2x_nic_init_cnic() argument
6523 bnx2x_pre_irq_nic_init(struct bnx2x * bp) bnx2x_pre_irq_nic_init() argument
6551 bnx2x_post_irq_nic_init(struct bnx2x * bp,u32 load_code) bnx2x_post_irq_nic_init() argument
6570 bnx2x_gunzip_init(struct bnx2x * bp) bnx2x_gunzip_init() argument
6601 bnx2x_gunzip_end(struct bnx2x * bp) bnx2x_gunzip_end() argument
6616 bnx2x_gunzip(struct bnx2x * bp,const u8 * zbuf,int len) bnx2x_gunzip() argument
6669 bnx2x_lb_pckt(struct bnx2x * bp) bnx2x_lb_pckt() argument
6690 bnx2x_int_mem_test(struct bnx2x * bp) bnx2x_int_mem_test() argument
6835 bnx2x_enable_blocks_attention(struct bnx2x * bp) bnx2x_enable_blocks_attention() argument
6895 bnx2x_reset_common(struct bnx2x * bp) bnx2x_reset_common() argument
6911 bnx2x_setup_dmae(struct bnx2x * bp) bnx2x_setup_dmae() argument
6917 bnx2x_init_pxp(struct bnx2x * bp) bnx2x_init_pxp() argument
6935 bnx2x_setup_fan_failure_detection(struct bnx2x * bp) bnx2x_setup_fan_failure_detection() argument
6985 bnx2x_pf_disable(struct bnx2x * bp) bnx2x_pf_disable() argument
6995 bnx2x__common_init_phy(struct bnx2x * bp) bnx2x__common_init_phy() argument
7016 bnx2x_config_endianity(struct bnx2x * bp,u32 val) bnx2x_config_endianity() argument
7033 bnx2x_set_endianity(struct bnx2x * bp) bnx2x_set_endianity() argument
7042 bnx2x_reset_endianity(struct bnx2x * bp) bnx2x_reset_endianity() argument
7052 bnx2x_init_hw_common(struct bnx2x * bp) bnx2x_init_hw_common() argument
7498 bnx2x_init_hw_common_chip(struct bnx2x * bp) bnx2x_init_hw_common_chip() argument
7512 bnx2x_init_hw_port(struct bnx2x * bp) bnx2x_init_hw_port() argument
7740 bnx2x_ilt_wr(struct bnx2x * bp,u32 index,dma_addr_t addr) bnx2x_ilt_wr() argument
7755 bnx2x_igu_clear_sb_gen(struct bnx2x * bp,u8 func,u8 idu_sb_id,bool is_pf) bnx2x_igu_clear_sb_gen() argument
7798 bnx2x_igu_clear_sb(struct bnx2x * bp,u8 idu_sb_id) bnx2x_igu_clear_sb() argument
7803 bnx2x_clear_func_ilt(struct bnx2x * bp,u32 func) bnx2x_clear_func_ilt() argument
7810 bnx2x_init_searcher(struct bnx2x * bp) bnx2x_init_searcher() argument
7818 bnx2x_func_switch_update(struct bnx2x * bp,int suspend) bnx2x_func_switch_update() argument
7844 bnx2x_reset_nic_mode(struct bnx2x * bp) bnx2x_reset_nic_mode() argument
7916 bnx2x_init_hw_func_cnic(struct bnx2x * bp) bnx2x_init_hw_func_cnic() argument
7943 bnx2x_clean_pglue_errors(struct bnx2x * bp) bnx2x_clean_pglue_errors() argument
7950 bnx2x_init_hw_func(struct bnx2x * bp) bnx2x_init_hw_func() argument
8267 bnx2x_free_mem_cnic(struct bnx2x * bp) bnx2x_free_mem_cnic() argument
8281 bnx2x_free_mem(struct bnx2x * bp) bnx2x_free_mem() argument
8314 bnx2x_alloc_mem_cnic(struct bnx2x * bp) bnx2x_alloc_mem_cnic() argument
8351 bnx2x_alloc_mem(struct bnx2x * bp) bnx2x_alloc_mem() argument
8430 bnx2x_set_mac_one(struct bnx2x * bp,const u8 * mac,struct bnx2x_vlan_mac_obj * obj,bool set,int mac_type,unsigned long * ramrod_flags) bnx2x_set_mac_one() argument
8468 bnx2x_set_vlan_one(struct bnx2x * bp,u16 vlan,struct bnx2x_vlan_mac_obj * obj,bool set,unsigned long * ramrod_flags) bnx2x_set_vlan_one() argument
8505 bnx2x_clear_vlan_info(struct bnx2x * bp) bnx2x_clear_vlan_info() argument
8516 bnx2x_del_all_vlans(struct bnx2x * bp) bnx2x_del_all_vlans() argument
8533 bnx2x_del_all_macs(struct bnx2x * bp,struct bnx2x_vlan_mac_obj * mac_obj,int mac_type,bool wait_for_comp) bnx2x_del_all_macs() argument
8554 bnx2x_set_eth_mac(struct bnx2x * bp,bool set) bnx2x_set_eth_mac() argument
8570 bnx2x_setup_leading(struct bnx2x * bp) bnx2x_setup_leading() argument
8585 bnx2x_set_int_mode(struct bnx2x * bp) bnx2x_set_int_mode() argument
8630 bnx2x_cid_ilt_lines(struct bnx2x * bp) bnx2x_cid_ilt_lines() argument
8637 bnx2x_ilt_set_info(struct bnx2x * bp) bnx2x_ilt_set_info() argument
8738 bnx2x_pf_q_prep_init(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_init_params * init_params) bnx2x_pf_q_prep_init() argument
8789 bnx2x_setup_tx_only(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_state_params * q_params,struct bnx2x_queue_setup_tx_only_params * tx_only_params,int tx_index,bool leading) bnx2x_setup_tx_only() argument
8832 bnx2x_setup_queue(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_setup_queue() argument
8916 bnx2x_stop_queue(struct bnx2x * bp,int index) bnx2x_stop_queue() argument
8982 bnx2x_reset_func(struct bnx2x * bp) bnx2x_reset_func() argument
9063 bnx2x_reset_port(struct bnx2x * bp) bnx2x_reset_port() argument
9092 bnx2x_reset_hw(struct bnx2x * bp,u32 load_code) bnx2x_reset_hw() argument
9107 bnx2x_func_stop(struct bnx2x * bp) bnx2x_func_stop() argument
9145 bnx2x_send_unload_req(struct bnx2x * bp,int unload_mode) bnx2x_send_unload_req() argument
9217 bnx2x_send_unload_done(struct bnx2x * bp,bool keep_link) bnx2x_send_unload_done() argument
9226 bnx2x_func_wait_started(struct bnx2x * bp) bnx2x_func_wait_started() argument
9293 bnx2x_disable_ptp(struct bnx2x * bp) bnx2x_disable_ptp() argument
9317 bnx2x_stop_ptp(struct bnx2x * bp) bnx2x_stop_ptp() argument
9335 bnx2x_chip_cleanup(struct bnx2x * bp,int unload_mode,bool keep_link) bnx2x_chip_cleanup() argument
9505 bnx2x_disable_close_the_gate(struct bnx2x * bp) bnx2x_disable_close_the_gate() argument
9528 bnx2x_set_234_gates(struct bnx2x * bp,bool close) bnx2x_set_234_gates() argument
9568 bnx2x_clp_reset_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_clp_reset_prep() argument
9582 bnx2x_clp_reset_done(struct bnx2x * bp,u32 magic_val) bnx2x_clp_reset_done() argument
9598 bnx2x_reset_mcp_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_reset_mcp_prep() argument
9627 bnx2x_mcp_wait_one(struct bnx2x * bp) bnx2x_mcp_wait_one() argument
9640 bnx2x_init_shmem(struct bnx2x * bp) bnx2x_init_shmem() argument
9671 bnx2x_reset_mcp_comp(struct bnx2x * bp,u32 magic_val) bnx2x_reset_mcp_comp() argument
9682 bnx2x_pxp_prep(struct bnx2x * bp) bnx2x_pxp_prep() argument
9700 bnx2x_process_kill_chip_reset(struct bnx2x * bp,bool global) bnx2x_process_kill_chip_reset() argument
9804 bnx2x_er_poll_igu_vq(struct bnx2x * bp) bnx2x_er_poll_igu_vq() argument
9827 bnx2x_process_kill(struct bnx2x * bp,bool global) bnx2x_process_kill() argument
9914 bnx2x_leader_reset(struct bnx2x * bp) bnx2x_leader_reset() argument
9974 bnx2x_recovery_failed(struct bnx2x * bp) bnx2x_recovery_failed() argument
10000 bnx2x_parity_recover(struct bnx2x * bp) bnx2x_parity_recover() argument
10163 bnx2x_udp_port_update(struct bnx2x * bp) bnx2x_udp_port_update() argument
10211 struct bnx2x *bp = netdev_priv(netdev); bnx2x_udp_tunnel_sync() local
10236 struct bnx2x *bp = container_of(work, struct bnx2x, sp_rtnl_task.work); bnx2x_sp_rtnl_task() local
10366 struct bnx2x *bp = container_of(work, struct bnx2x, period_task.work); bnx2x_period_task() local
10399 bnx2x_get_pretend_reg(struct bnx2x * bp) bnx2x_get_pretend_reg() argument
10406 bnx2x_prev_unload_close_umac(struct bnx2x * bp,u8 port,u32 reset_reg,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_umac() argument
10425 bnx2x_prev_unload_close_mac(struct bnx2x * bp,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_mac() argument
10504 bnx2x_prev_is_after_undi(struct bnx2x * bp) bnx2x_prev_is_after_undi() argument
10521 bnx2x_prev_unload_undi_inc(struct bnx2x * bp,u8 inc) bnx2x_prev_unload_undi_inc() argument
10542 bnx2x_prev_mcp_done(struct bnx2x * bp) bnx2x_prev_mcp_done() argument
10555 bnx2x_prev_path_get_entry(struct bnx2x * bp) bnx2x_prev_path_get_entry() argument
10568 bnx2x_prev_path_mark_eeh(struct bnx2x * bp) bnx2x_prev_path_mark_eeh() argument
10593 bnx2x_prev_is_path_marked(struct bnx2x * bp) bnx2x_prev_is_path_marked() argument
10618 bnx2x_port_after_undi(struct bnx2x * bp) bnx2x_port_after_undi() argument
10633 bnx2x_prev_mark_path(struct bnx2x * bp,bool after_undi) bnx2x_prev_mark_path() argument
10686 bnx2x_do_flr(struct bnx2x * bp) bnx2x_do_flr() argument
10711 bnx2x_prev_unload_uncommon(struct bnx2x * bp) bnx2x_prev_unload_uncommon() argument
10756 bnx2x_prev_unload_common(struct bnx2x * bp) bnx2x_prev_unload_common() argument
10853 bnx2x_prev_unload(struct bnx2x * bp) bnx2x_prev_unload() argument
10936 bnx2x_get_common_hwinfo(struct bnx2x * bp) bnx2x_get_common_hwinfo() argument
11125 bnx2x_get_igu_cam_info(struct bnx2x * bp) bnx2x_get_igu_cam_info() argument
11184 bnx2x_link_settings_supported(struct bnx2x * bp,u32 switch_cfg) bnx2x_link_settings_supported() argument
11285 bnx2x_link_settings_requested(struct bnx2x * bp) bnx2x_link_settings_requested() argument
11492 bnx2x_get_port_hwinfo(struct bnx2x * bp) bnx2x_get_port_hwinfo() argument
11576 bnx2x_get_iscsi_info(struct bnx2x * bp) bnx2x_get_iscsi_info() argument
11604 bnx2x_get_ext_wwn_info(struct bnx2x * bp,int func) bnx2x_get_ext_wwn_info() argument
11619 bnx2x_shared_fcoe_funcs(struct bnx2x * bp) bnx2x_shared_fcoe_funcs() argument
11661 bnx2x_get_fcoe_info(struct bnx2x * bp) bnx2x_get_fcoe_info() argument
11730 bnx2x_get_cnic_info(struct bnx2x * bp) bnx2x_get_cnic_info() argument
11741 bnx2x_get_cnic_mac_hwinfo(struct bnx2x * bp) bnx2x_get_cnic_mac_hwinfo() argument
11833 bnx2x_get_mac_hwinfo(struct bnx2x * bp) bnx2x_get_mac_hwinfo() argument
11885 bnx2x_get_dropless_info(struct bnx2x * bp) bnx2x_get_dropless_info() argument
11908 validate_set_si_mode(struct bnx2x * bp) validate_set_si_mode() argument
11924 bnx2x_get_hwinfo(struct bnx2x * bp) bnx2x_get_hwinfo() argument
12206 bnx2x_read_fwinfo(struct bnx2x * bp) bnx2x_read_fwinfo() argument
12239 bnx2x_set_modes_bitmap(struct bnx2x * bp) bnx2x_set_modes_bitmap() argument
12289 bnx2x_init_bp(struct bnx2x * bp) bnx2x_init_bp() argument
12436 struct bnx2x *bp = netdev_priv(dev); bnx2x_open() local
12506 struct bnx2x *bp = netdev_priv(dev); bnx2x_close() local
12537 bnx2x_init_mcast_macs_list(struct bnx2x * bp,struct bnx2x_mcast_ramrod_params * p,struct list_head * mcast_group_list) bnx2x_init_mcast_macs_list() argument
12579 bnx2x_set_uc_list(struct bnx2x * bp) bnx2x_set_uc_list() argument
12617 bnx2x_set_mc_list_e1x(struct bnx2x * bp) bnx2x_set_mc_list_e1x() argument
12652 bnx2x_set_mc_list(struct bnx2x * bp) bnx2x_set_mc_list() argument
12692 struct bnx2x *bp = netdev_priv(dev); bnx2x_set_rx_mode() local
12704 bnx2x_set_rx_mode_inner(struct bnx2x * bp) bnx2x_set_rx_mode_inner() argument
12767 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_read() local
12791 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_write() local
12810 struct bnx2x *bp = netdev_priv(dev); bnx2x_ioctl() local
12828 struct bnx2x *bp = netdev_priv(dev); bnx2x_validate_addr() local
12844 struct bnx2x *bp = netdev_priv(netdev); bnx2x_get_phys_port_id() local
12881 __bnx2x_vlan_configure_vid(struct bnx2x * bp,u16 vid,bool add) __bnx2x_vlan_configure_vid() argument
12898 bnx2x_vlan_configure_vid_list(struct bnx2x * bp) bnx2x_vlan_configure_vid_list() argument
12925 bnx2x_vlan_configure(struct bnx2x * bp,bool set_rx_mode) bnx2x_vlan_configure() argument
12944 bnx2x_vlan_reconfigure_vid(struct bnx2x * bp) bnx2x_vlan_reconfigure_vid() argument
12954 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_add_vid() local
12975 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_kill_vid() local
13041 bnx2x_init_dev(struct bnx2x * bp,struct pci_dev * pdev,struct net_device * dev,unsigned long board_type) bnx2x_init_dev() argument
13262 bnx2x_check_firmware(struct bnx2x * bp) bnx2x_check_firmware() argument
13388 bnx2x_init_firmware(struct bnx2x * bp) bnx2x_init_firmware() argument
13488 bnx2x_release_firmware(struct bnx2x * bp) bnx2x_release_firmware() argument
13514 bnx2x__init_func_obj(struct bnx2x * bp) bnx2x__init_func_obj() argument
13528 bnx2x_set_qm_cid_count(struct bnx2x * bp) bnx2x_set_qm_cid_count() argument
13635 bnx2x_send_update_drift_ramrod(struct bnx2x * bp,int drift_dir,int best_val,int best_period) bnx2x_send_update_drift_ramrod() argument
13662 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjfine() local
13731 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjtime() local
13748 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_gettime() local
13769 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_settime() local
13792 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_enable() local
13798 bnx2x_register_phc(struct bnx2x * bp) bnx2x_register_phc() argument
13825 struct bnx2x *bp; bnx2x_init_one() local
14027 __bnx2x_remove(struct pci_dev * pdev,struct net_device * dev,struct bnx2x * bp,bool remove_netdev) __bnx2x_remove() argument
14118 struct bnx2x *bp; bnx2x_remove_one() local
14129 bnx2x_eeh_nic_unload(struct bnx2x * bp) bnx2x_eeh_nic_unload() argument
14170 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_error_detected() local
14205 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_slot_reset() local
14290 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_resume() local
14324 struct bnx2x *bp; bnx2x_shutdown() local
14400 bnx2x_notify_link_changed(struct bnx2x * bp) bnx2x_notify_link_changed() argument
14415 bnx2x_set_iscsi_eth_mac_addr(struct bnx2x * bp) bnx2x_set_iscsi_eth_mac_addr() argument
14426 bnx2x_cnic_sp_post(struct bnx2x * bp,int count) bnx2x_cnic_sp_post() argument
14510 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_sp_queue() local
14558 bnx2x_cnic_ctl_send(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send() argument
14573 bnx2x_cnic_ctl_send_bh(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send_bh() argument
14590 bnx2x_cnic_notify(struct bnx2x * bp,int cmd) bnx2x_cnic_notify() argument
14599 bnx2x_cnic_cfc_comp(struct bnx2x * bp,int cid,u8 err) bnx2x_cnic_cfc_comp() argument
14617 bnx2x_set_iscsi_eth_rx_mode(struct bnx2x * bp,bool start) bnx2x_set_iscsi_eth_rx_mode() argument
14654 struct bnx2x *bp = netdev_priv(dev); bnx2x_drv_ctl() local
14834 struct bnx2x *bp = netdev_priv(dev); bnx2x_get_fc_npiv() local
14897 bnx2x_setup_cnic_irq_info(struct bnx2x * bp) bnx2x_setup_cnic_irq_info() argument
14925 bnx2x_setup_cnic_info(struct bnx2x * bp) bnx2x_setup_cnic_info() argument
14946 struct bnx2x *bp = netdev_priv(dev); bnx2x_register_cnic() local
15001 struct bnx2x *bp = netdev_priv(dev); bnx2x_unregister_cnic() local
15018 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_probe() local
15069 struct bnx2x *bp = fp->bp; bnx2x_rx_ustorm_prods_offset() local
15087 bnx2x_pretend_func(struct bnx2x * bp,u16 pretend_func_val) bnx2x_pretend_func() argument
15103 struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); bnx2x_ptp_task() local
15154 bnx2x_set_rx_ts(struct bnx2x * bp,struct sk_buff * skb) bnx2x_set_rx_ts() argument
15180 struct bnx2x *bp = container_of(cc, struct bnx2x, cyclecounter); bnx2x_cyclecounter_read() local
15195 bnx2x_init_cyclecounter(struct bnx2x * bp) bnx2x_init_cyclecounter() argument
15204 bnx2x_send_reset_timesync_ramrod(struct bnx2x * bp) bnx2x_send_reset_timesync_ramrod() argument
15224 bnx2x_enable_ptp_packets(struct bnx2x * bp) bnx2x_enable_ptp_packets() argument
15269 bnx2x_configure_ptp_filters(struct bnx2x * bp) bnx2x_configure_ptp_filters() argument
15353 bnx2x_hwtstamp_ioctl(struct bnx2x * bp,struct ifreq * ifr) bnx2x_hwtstamp_ioctl() argument
15381 bnx2x_configure_ptp(struct bnx2x * bp) bnx2x_configure_ptp() argument
15426 bnx2x_init_ptp(struct bnx2x * bp) bnx2x_init_ptp() argument
[all...]
H A Dbnx2x.h3 * Copyright (c) 2007-2013 Broadcom Corporation
21 #include <linux/dma-mapping.h>
37 * to break this driver due to amount of abuse of in-kernel interfaces
42 #define DRV_MODULE_VERSION "1.713.36-0"
53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument
94 bp->dev ? (bp->dev->name) : "?", \
99 if (unlikely(bp->msg_enable & (__mask))) \
105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
111 if (unlikely(bp->msg_enable & (__mask))) \
118 if (unlikely(netif_msg_probe(bp))) \
[all …]
H A Dbnx2x_self_test.c1 // SPDX-License-Identifier: GPL-2.0
30 u32 imm1; /* 1st value in predicate condition, left-to-right */
31 u32 imm2; /* 2nd value in predicate condition, left-to-right */
32 u32 imm3; /* 3rd value in predicate condition, left-to-right */
33 u32 imm4; /* 4th value in predicate condition, left-to-right */
36 /* struct representing self test record - a single test */
54 return (args->val1 == args->imm1); in peq()
59 return (args->val1 != args->imm1); in pneq()
64 return ((args->val1 & args->imm1) != args->imm2); in pand_neq()
69 return (((args->val1 & args->imm1) != args->imm2) && in pand_neq_x2()
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
11 #include <linux/media-bus-format.h>
48 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
50 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
66 return -EINVAL; in sun4i_tcon_get_pixel_depth()
68 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
69 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
70 return -EINVAL; in sun4i_tcon_get_pixel_depth()
72 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-370-db.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * (DB-88F6710-BP-DDR3)
9 * Gregory CLEMENT <gregory.clement@free-electrons.com>
10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
22 /dts-v1/;
23 #include "armada-370.dtsi"
27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp";
30 stdout-path = "serial0:115200n8";
43 internal-regs {
[all …]
/linux/drivers/net/fddi/
H A Ddefxx.c40 * Adapter Probe -
45 * Bus-Specific Initialization -
49 * initialization, the only bus-specific differences is in how the
51 * run-time critical code behaves the same on both families.
55 * Driver Open/Close -
67 * Driver Shutdown -
73 * to ensure that the adapter DMA engine is taken off-line. However,
79 * Interrupt Service Routine -
88 * have a bus-logic chip interrupt enable/disable as well as a DMA
92 * bus-logic chip and assumes that Linux will take care of clearing or
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2019 Broadcom Limited
25 #include <linux/dma-mapping.h>
60 #include <linux/pci-tph.h>
95 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" },
96 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" },
97 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" },
98 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" },
100 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" },
[all …]
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-rgmii.c7 * Copyright (C) 2003-2018 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34 #include <asm/octeon/cvmx-config.h>
36 #include <asm/octeon/cvmx-pko.h>
37 #include <asm/octeon/cvmx-helper.h>
38 #include <asm/octeon/cvmx-helper-board.h>
40 #include <asm/octeon/cvmx-npi-defs.h>
41 #include <asm/octeon/cvmx-gmxx-defs.h>
42 #include <asm/octeon/cvmx-asxx-defs.h>
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2016 Freescale Semiconductor Inc.
29 #include <linux/dma-mapping.h>
46 static int debug = -1;
70 /* Ingress congestion threshold on FMan ports
71 * The size in bytes of the ingress tail-drop threshold on FMan ports.
80 /* Egress congestion threshold on 1G ports, range 0x1000 .. 0x10000000
82 * 1G ports. The 1G dTSECs can quite easily be flooded by cores doing Tx in a
86 * - avoiding the device staying congested for a prolonged time (risking
87 * the netdev watchdog to fire - see also the tx_timeout module param);
[all …]
/linux/net/ipv4/
H A Droute.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * ROUTE - implementation of the IP router.
48 * Andi Kleen : Load-limit warning messages.
220 seq_printf(seq, "%-127s\n", in rt_cache_seq_show()
241 for (cpu = *pos-1; cpu < nr_cpu_ids; ++cpu) { in rt_cpu_seq_start()
283 0, /* st->in_hit */ in rt_cpu_seq_show()
284 st->in_slow_tot, in rt_cpu_seq_show()
285 st->in_slow_mc, in rt_cpu_seq_show()
286 st->in_no_route, in rt_cpu_seq_show()
287 st->in_brd, in rt_cpu_seq_show()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /* Copyright 2014-2016 Freescale Semiconductor Inc.
3 * Copyright 2016-2022 NXP
23 #include "dpaa2-eth.h"
29 #include "dpaa2-eth-trace.h"
40 priv->features = 0; in dpaa2_eth_detect_features()
44 priv->features |= DPAA2_ETH_FEATURE_ONESTEP_CFG_DIRECT; in dpaa2_eth_detect_features()
57 if (dpni_set_single_step_cfg(priv->mc_io, 0, priv->mc_token, &cfg)) in dpaa2_update_ptp_onestep_indirect()
72 if (priv->onestep_reg_base) in dpaa2_update_ptp_onestep_direct()
73 writel(val, priv->onestep_reg_base); in dpaa2_update_ptp_onestep_direct()
[all …]
/linux/drivers/ata/
H A Dlibata-scsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-scsi.c - helper library for ATA
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * - http://www.t10.org/
13 * - http://www.t13.org/
38 #include "libata-transport.h"
66 RW_RECOVERY_MPAGE_LEN - 2,
76 CACHE_MPAGE_LEN - 2,
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c2 * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet
5 * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
42 #include <linux/dma-mapping.h>
74 * order MSI-X then MSI. This parameter determines which of these schemes the
77 * msi = 2: choose from among MSI-X and MSI
82 * the PCI-E SR-IOV standard).
91 MODULE_PARM_DESC(msi, "whether to use MSI-X or MSI");
112 * list entries are 64-bit PCI DMA addresses. And since the state of
[all …]
/linux/drivers/scsi/
H A Dqla1280.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc.
8 * Copyright (C) 2003-2004 Christoph Hellwig
15 - Retain firmware image for error recovery.
17 - General code cleanup.
18 - Improve error recovery.
20 - Ditch all < 2.6 support
22 - use pci_map_single to map non-S/G requests
23 - remove qla1280_proc_info
25 - add support for ISP1020/1040
[all …]
/linux/arch/x86/kvm/
H A Demulate.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Generic x86 (32-bit and 64-bit) instruction decoder and emulator.
9 * Linux coding style, mod r/m decoder, segment base fixes, real-mode
18 * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4
27 #include <asm/nospec-branch.h>
29 #include <asm/text-patching.h>
45 #define OpMem64 6ull /* Memory, 64-bit */
46 #define OpImmUByte 7ull /* Zero-extended 8-bit immediate */
49 #define OpImmByte 10ull /* 8-bit sign extended immediate */
51 #define OpImm 12ull /* Sign extended up to 32-bit immediate */
[all …]
/linux/arch/x86/kvm/vmx/
H A Dvmx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
5 * This module enables machines with Intel VT-x extensions to run virtual
50 #include <asm/spec-ctrl.h>
80 MODULE_DESCRIPTION("KVM support for VMX (Intel VT-x) extensions");
143 /* Guest_tsc -> host_tsc conversion requires 64-bit division. */
170 * These 2 parameters are used to config the controls for Pause-Loop Exiting:
186 /* Default doubles per-vcpu window every exit. */
190 /* Default resets per-vcpu window every exit to ple_window. */
198 /* Default is SYSTEM mode, 1 for host-guest mode (which is BROKEN) */
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_init.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2014 QLogic Corporation
43 /* SRB Extensions ---------------------------------------------------------- */
50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout()
53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout()
54 iocb->timeout(sp); in qla2x00_sp_timeout()
57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout()
59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout()
68 struct srb_iocb *iocb = &sp->u.iocb_cmd; in qla2x00_sp_free()
70 timer_delete(&iocb->timer); in qla2x00_sp_free()
[all …]
/linux/Documentation/virt/kvm/
H A Dapi.rst1 .. SPDX-License-Identifier: GPL-2.0
4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation
24 - System ioctls: These query and set global attributes which affect the
28 - VM ioctls: These query and set attributes that affect an entire virtual
35 - vcpu ioctls: These query and set attributes that control the operation
43 - device ioctls: These query and set attributes that control the operation
92 facility that allows backward-compatible extensions to the API to be
133 -----------------------
150 -----------------
189 address used by the VM. The IPA_Bits is encoded in bits[7-0] of the
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
43 * t4_wait_op_done_val - wait until an operation is completed
46 * @mask: a single-bit field within @reg that indicates completion
55 * operation completes and -EAGAIN otherwise.
68 if (--attempts == 0) in t4_wait_op_done_val()
69 return -EAGAIN; in t4_wait_op_done_val()
83 * t4_set_reg_field - set a register field to a value
102 * t4_read_indirect - read indirectly addressed registers
[all …]