/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hwmon.c | 21 void bnxt_hwmon_notify_event(struct bnxt *bp) argument 25 if (!bp->hwmon_dev) 28 switch (bp->thermal_threshold_type) { 43 hwmon_notify_event(&bp->pdev->dev, hwmon_temp, attr, 0); 46 static int bnxt_hwrm_temp_query(struct bnxt *bp, u8 *temp) argument 52 rc = hwrm_req_init(bp, req, HWRM_TEMP_MONITOR_QUERY); 55 resp = hwrm_req_hold(bp, req); 56 rc = hwrm_req_send_silent(bp, req); 64 bp->fw_cap |= BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED; 65 bp 78 const struct bnxt *bp = _data; local 103 struct bnxt *bp = dev_get_drvdata(dev); local 162 struct bnxt *bp = dev_get_drvdata(dev); local 170 struct bnxt *bp = dev_get_drvdata(dev); local 194 struct bnxt *bp = dev_get_drvdata(dev); local 210 bnxt_hwmon_uninit(struct bnxt *bp) argument 218 bnxt_hwmon_init(struct bnxt *bp) argument [all...] |
H A D | bnxt_ulp.c | 31 static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) argument 33 struct bnxt_en_dev *edev = bp->edev; 37 netdev_warn(bp->dev, "Requested MSI-X vectors insufficient\n"); 43 ent[i].vector = bp->irq_tbl[idx + i].vector; 45 if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) 46 ent[i].db_offset = bp->db_offset; 57 struct bnxt *bp = netdev_priv(dev); local 61 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); 63 bp->cp_nr_rings == max_stat_ctxs) 73 if (test_bit(BNXT_STATE_OPEN, &bp 85 struct bnxt *bp = netdev_priv(dev); local 108 bnxt_get_ulp_msix_num(struct bnxt *bp) argument 117 bnxt_get_ulp_msix_base(struct bnxt *bp) argument 128 bnxt_get_ulp_stat_ctxs(struct bnxt *bp) argument 144 struct bnxt *bp = netdev_priv(dev); local 176 bnxt_ulp_stop(struct bnxt *bp) argument 200 bnxt_ulp_start(struct bnxt *bp, int err) argument 231 bnxt_ulp_irq_stop(struct bnxt *bp) argument 252 bnxt_ulp_irq_restart(struct bnxt *bp, int err) argument 288 struct bnxt *bp = netdev_priv(dev); local 301 bnxt_rdma_aux_device_uninit(struct bnxt *bp) argument 320 struct bnxt *bp = netdev_priv(aux_priv->edev->net); local 330 bnxt_set_edev_info(struct bnxt_en_dev *edev, struct bnxt *bp) argument 353 bnxt_rdma_aux_device_init(struct bnxt *bp) argument [all...] |
H A D | bnxt_devlink.h | 15 struct bnxt *bp; /* back ptr to the controlling dev */ member in struct:bnxt_dl 21 return ((struct bnxt_dl *)devlink_priv(dl))->bp; 24 static inline void bnxt_dl_remote_reload(struct bnxt *bp) argument 26 devlink_remote_reload_actions_performed(bp->dl, 0, 74 void bnxt_devlink_health_fw_report(struct bnxt *bp); 75 void bnxt_dl_health_fw_status_update(struct bnxt *bp, bool healthy); 76 void bnxt_dl_health_fw_recovery_done(struct bnxt *bp); 77 void bnxt_dl_fw_reporters_create(struct bnxt *bp); 78 void bnxt_dl_fw_reporters_destroy(struct bnxt *bp); 79 int bnxt_dl_register(struct bnxt *bp); [all...] |
H A D | bnxt_vfr.c | 28 static int hwrm_cfa_vfr_alloc(struct bnxt *bp, u16 vf_idx, argument 35 rc = hwrm_req_init(bp, req, HWRM_CFA_VFR_ALLOC); 40 resp = hwrm_req_hold(bp, req); 41 rc = hwrm_req_send(bp, req); 45 netdev_dbg(bp->dev, "tx_cfa_action=0x%x, rx_cfa_code=0x%x", 48 hwrm_req_drop(bp, req); 51 netdev_info(bp->dev, "%s error rc=%d\n", __func__, rc); 55 static int hwrm_cfa_vfr_free(struct bnxt *bp, u16 vf_idx) argument 60 rc = hwrm_req_init(bp, req, HWRM_CFA_VFR_FREE); 63 rc = hwrm_req_send(bp, re 70 bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, u16 *max_mtu) argument 99 struct bnxt *bp = vf_rep->bp; local 153 struct bnxt *bp = vf_rep->bp; local 186 bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) argument 198 bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb) argument 263 bnxt_vf_reps_close(struct bnxt *bp) argument 284 bnxt_vf_reps_open(struct bnxt *bp) argument 298 __bnxt_free_one_vf_rep(struct bnxt *bp, struct bnxt_vf_rep *vf_rep) argument 313 __bnxt_vf_reps_destroy(struct bnxt *bp) argument 338 bnxt_vf_reps_destroy(struct bnxt *bp) argument 381 bnxt_vf_reps_free(struct bnxt *bp) argument 393 bnxt_alloc_vf_rep(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, u16 *cfa_code_map) argument 418 bnxt_vf_reps_alloc(struct bnxt *bp) argument 465 bnxt_vf_rep_netdev_init(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, struct net_device *dev) argument 491 bnxt_vf_reps_create(struct bnxt *bp) argument 557 struct bnxt *bp = bnxt_get_bp_from_dl(devlink); local 566 struct bnxt *bp = bnxt_get_bp_from_dl(devlink); local [all...] |
H A D | bnxt_devlink.c | 25 static void __bnxt_fw_recover(struct bnxt *bp) argument 27 if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state) || 28 test_bit(BNXT_STATE_FW_NON_FATAL_COND, &bp->state)) 29 bnxt_fw_reset(bp); 31 bnxt_fw_exception(bp); 39 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 42 if (!BNXT_PF(bp)) { 49 rc = bnxt_flash_package_from_fw_obj(bp->dev, params->fw, 0, extack); 57 static int bnxt_hwrm_remote_dev_reset_set(struct bnxt *bp, bool remote_reset) argument 62 if (~bp 104 struct bnxt *bp = devlink_health_reporter_priv(reporter); local 165 struct bnxt *bp = devlink_health_reporter_priv(reporter); local 198 struct bnxt *bp = devlink_health_reporter_priv(reporter); local 217 __bnxt_dl_reporter_create(struct bnxt *bp, const struct devlink_health_reporter_ops *ops) argument 232 bnxt_dl_fw_reporters_create(struct bnxt *bp) argument 240 bnxt_dl_fw_reporters_destroy(struct bnxt *bp) argument 250 bnxt_devlink_health_fw_report(struct bnxt *bp) argument 273 bnxt_dl_health_fw_status_update(struct bnxt *bp, bool healthy) argument 291 bnxt_dl_health_fw_recovery_done(struct bnxt *bp) argument 303 bnxt_dl_livepatch_report_err(struct bnxt *bp, struct netlink_ext_ack *extack, struct hwrm_fw_livepatch_output *resp) argument 353 bnxt_dl_livepatch_activate(struct bnxt *bp, struct netlink_ext_ack *extack) argument 435 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 509 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 576 bnxt_nvm_test(struct bnxt *bp, struct netlink_ext_ack *extack) argument 624 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 713 bnxt_hwrm_get_nvm_cfg_ver(struct bnxt *bp, u32 *nvm_cfg_ver) argument 768 bnxt_dl_info_put(struct bnxt *bp, struct devlink_info_req *req, enum bnxt_dl_version_type type, const char *key, char *buf) argument 794 bnxt_dl_livepatch_info_put(struct bnxt *bp, struct devlink_info_req *req, const char *key) argument 848 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 1010 bnxt_hwrm_nvm_req(struct bnxt *bp, u32 param_id, void *msg, union devlink_param_value *val) argument 1083 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 1101 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 1138 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 1150 struct bnxt *bp = bnxt_get_bp_from_dl(dl); local 1190 bnxt_dl_params_register(struct bnxt *bp) argument 1208 bnxt_dl_params_unregister(struct bnxt *bp) argument 1221 bnxt_dl_register(struct bnxt *bp) argument 1279 bnxt_dl_unregister(struct bnxt *bp) argument [all...] |
H A D | bnxt_dcb.c | 25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) argument 29 for (i = 0; i < bp->max_tc; i++) { 30 if (bp->q_info[i].queue_id == queue_id) { 31 for (j = 0; j < bp->max_tc; j++) { 32 if (bp->tc_to_qidx[j] == i) 40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) argument 46 rc = hwrm_req_init(bp, req, HWRM_QUEUE_PRI2COS_CFG); 60 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; 61 pri2cos[i] = bp->q_info[qidx].queue_id; 63 return hwrm_req_send(bp, re 66 bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) argument 96 bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, u8 max_tc) argument 145 bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) argument 193 bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) argument 249 bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) argument 297 bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) argument 321 bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, bool add) argument 414 bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) argument 439 bnxt_hwrm_queue_dscp2pri_cfg(struct bnxt *bp, struct dcb_app *app, bool add) argument 472 bnxt_ets_validate(struct bnxt *bp, struct ieee_ets *ets, u8 *tc) argument 520 struct bnxt *bp = netdev_priv(dev); local 557 struct bnxt *bp = netdev_priv(dev); local 593 struct bnxt *bp = netdev_priv(dev); local 633 struct bnxt *bp = netdev_priv(dev); local 655 bnxt_dcbnl_ieee_dscp_app_prep(struct bnxt *bp, struct dcb_app *app) argument 668 struct bnxt *bp = netdev_priv(dev); local 697 struct bnxt *bp = netdev_priv(dev); local 725 struct bnxt *bp = netdev_priv(dev); local 732 struct bnxt *bp = netdev_priv(dev); local 766 bnxt_dcb_init(struct bnxt *bp) argument 781 bnxt_dcb_free(struct bnxt *bp) argument 791 bnxt_dcb_init(struct bnxt *bp) argument 795 bnxt_dcb_free(struct bnxt *bp) argument [all...] |
H A D | bnxt_ptp.c | 23 static int bnxt_ptp_cfg_settime(struct bnxt *bp, u64 time) argument 28 rc = hwrm_req_init(bp, req, HWRM_FUNC_PTP_CFG); 34 return hwrm_req_send(bp, req); 66 if (BNXT_PTP_USE_RTC(ptp->bp)) 67 return bnxt_ptp_cfg_settime(ptp->bp, ns); 76 static int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, argument 79 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; 82 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) 85 high_before = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); 87 low = readl(bp 100 bnxt_ptp_get_current_time(struct bnxt *bp) argument 112 bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts) argument 162 bnxt_ptp_update_current_time(struct bnxt *bp) argument 208 bnxt_ptp_adjfine_rtc(struct bnxt *bp, long scaled_ppm) argument 231 struct bnxt *bp = ptp->bp; local 243 bnxt_ptp_pps_event(struct bnxt *bp, u32 data1, u32 data2) argument 270 bnxt_ptp_cfg_pin(struct bnxt *bp, u8 pin, u8 usage) argument 308 bnxt_ptp_cfg_event(struct bnxt *bp, u8 event) argument 322 bnxt_ptp_cfg_tstamp_filters(struct bnxt *bp) argument 360 bnxt_ptp_reapply_pps(struct bnxt *bp) argument 409 struct bnxt *bp = ptp->bp; local 446 struct bnxt *bp = ptp->bp; local 497 bnxt_hwrm_ptp_cfg(struct bnxt *bp) argument 530 struct bnxt *bp = netdev_priv(dev); local 606 struct bnxt *bp = netdev_priv(dev); local 622 bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) argument 637 bnxt_map_ptp_regs(struct bnxt *bp) argument 656 bnxt_unmap_ptp_regs(struct bnxt *bp) argument 671 bnxt_stamp_tx_skb(struct bnxt *bp, struct sk_buff *skb) argument 701 struct bnxt *bp = ptp->bp; local 720 bnxt_get_tx_ts_p5(struct bnxt *bp, struct sk_buff *skb) argument 733 bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) argument 779 bnxt_ptp_pps_init(struct bnxt *bp) argument 840 bnxt_pps_config_ok(struct bnxt *bp) argument 847 bnxt_ptp_timecounter_init(struct bnxt *bp, bool init_tc) argument 878 bnxt_ptp_init_rtc(struct bnxt *bp, bool phc_cfg) argument 905 bnxt_ptp_free(struct bnxt *bp) argument 917 bnxt_ptp_init(struct bnxt *bp, bool phc_cfg) argument 976 bnxt_ptp_clear(struct bnxt *bp) argument [all...] |
/linux-master/arch/x86/um/asm/ |
H A D | processor_64.h | 32 #define current_bp() ({ unsigned long bp; __asm__("movq %%rbp, %0" : "=r" (bp) : ); bp; })
|
/linux-master/fs/afs/ |
H A D | yfsclient.c | 31 static __be32 *xdr_encode_u32(__be32 *bp, u32 n) argument 33 *bp++ = htonl(n); 34 return bp; 37 static __be32 *xdr_encode_u64(__be32 *bp, u64 n) argument 39 struct yfs_xdr_u64 *x = (void *)bp; 42 return bp + xdr_size(x); 45 static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid) argument 47 struct yfs_xdr_YFSFid *x = (void *)bp; 53 return bp + xdr_size(x); 61 static __be32 *xdr_encode_string(__be32 *bp, cons argument 75 xdr_encode_name(__be32 *bp, const struct qstr *p) argument 86 xdr_encode_YFSStoreStatus(__be32 *bp, mode_t *mode, const struct timespec64 *t) argument 138 yfs_check_req(struct afs_call *call, __be32 *bp) argument 153 xdr_dump_bad(const __be32 *bp) argument 265 xdr_encode_YFS_StoreStatus(__be32 *bp, struct iattr *attr) argument 334 const __be32 *bp; local 357 const __be32 *bp; local 469 __be32 *bp; local 509 const __be32 *bp; local 549 __be32 *bp; local 600 __be32 *bp; local 642 const __be32 *bp; local 689 __be32 *bp; local 725 const __be32 *bp; local 758 __be32 *bp; local 803 __be32 *bp; local 838 const __be32 *bp; local 874 __be32 *bp; local 912 const __be32 *bp; local 952 __be32 *bp; local 994 const __be32 *bp; local 1034 __be32 *bp; local 1083 __be32 *bp; local 1148 __be32 *bp; local 1188 __be32 *bp; local 1224 const __be32 *bp; local 1363 __be32 *bp; local 1428 __be32 *bp; local 1461 __be32 *bp; local 1492 __be32 *bp; local 1523 const __be32 *bp; local 1557 __be32 *bp; local 1590 const __be32 *bp; local 1733 __be32 *bp; local 1773 const __be32 *bp; local 1901 __be32 *bp; local 1946 __be32 *bp; local [all...] |
H A D | fsclient.c | 23 const __be32 *bp = *_bp; local 25 fid->vid = ntohl(*bp++); 26 fid->vnode = ntohl(*bp++); 27 fid->unique = ntohl(*bp++); 28 *_bp = bp; 34 static void xdr_dump_bad(const __be32 *bp) argument 41 memcpy(x, bp, 16); 42 bp += 4; 47 memcpy(x, bp, 4); 142 const __be32 *bp local 157 const __be32 *bp = *_bp; local 177 __be32 *bp = *_bp; local 216 const __be32 *bp = *_bp; local 242 const __be32 *bp; local 276 __be32 *bp; local 306 const __be32 *bp; local 427 __be32 *bp; local 459 __be32 *bp; local 494 const __be32 *bp; local 532 __be32 *bp; local 586 __be32 *bp; local 631 const __be32 *bp; local 666 __be32 *bp; local 714 __be32 *bp; local 754 const __be32 *bp; local 793 __be32 *bp; local 835 const __be32 *bp; local 874 __be32 *bp; local 931 const __be32 *bp; local 971 __be32 *bp; local 1027 const __be32 *bp; local 1069 __be32 *bp; local 1115 __be32 *bp; local 1192 __be32 *bp; local 1235 __be32 *bp; local 1277 __be32 *bp; local 1311 const __be32 *bp; local 1450 __be32 *bp; local 1475 const __be32 *bp; local 1531 __be32 *bp; local 1559 __be32 *bp; local 1586 __be32 *bp; local 1631 __be32 *bp; local 1745 __be32 *bp; local 1780 const __be32 *bp; local 1937 __be32 *bp; local 1983 const __be32 *bp; local 2060 __be32 *bp; local 2100 __be32 *bp; local [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init_ops.h | 22 #define BP_ILT(bp) NULL 26 #define BP_FUNC(bp) 0 30 #define BP_PORT(bp) 0 45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len); 46 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); 47 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, 51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, argument 57 REG_WR(bp, addr + i*4, data[i]); 60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, argument 66 bnx2x_reg_wr_ind(bp, add 69 bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len, u8 wb) argument 84 bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len, u8 wb) argument 100 bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) argument 114 bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, u32 len64) argument 153 bnx2x_sel_blob(struct bnx2x *bp, u32 addr, const u8 *data) argument 183 bnx2x_init_wr_wb(struct bnx2x *bp, u32 addr, const u32 *data, u32 len) argument 198 bnx2x_wr_64(struct bnx2x *bp, u32 reg, u32 val_lo, u32 val_hi) argument 207 bnx2x_init_wr_zp(struct bnx2x *bp, u32 addr, u32 len, u32 blob_off) argument 229 bnx2x_init_block(struct bnx2x *bp, u32 block, u32 stage) argument 475 bnx2x_init_pxp_arb(struct bnx2x *bp, int r_order, int w_order) argument 618 bnx2x_ilt_line_mem_op(struct bnx2x *bp, struct ilt_line *line, u32 size, u8 memop) argument 633 bnx2x_ilt_client_mem_op(struct bnx2x *bp, int cli_num, u8 memop) argument 655 bnx2x_ilt_mem_op_cnic(struct bnx2x *bp, u8 memop) argument 667 bnx2x_ilt_mem_op(struct bnx2x *bp, u8 memop) argument 678 bnx2x_ilt_line_wr(struct bnx2x *bp, int abs_idx, dma_addr_t page_mapping) argument 691 bnx2x_ilt_line_init_op(struct bnx2x *bp, struct bnx2x_ilt *ilt, int idx, u8 initop) argument 711 bnx2x_ilt_boundry_init_op(struct bnx2x *bp, struct ilt_client_info *ilt_cli, u32 ilt_start, u8 initop) argument 764 bnx2x_ilt_client_init_op_ilt(struct bnx2x *bp, struct bnx2x_ilt *ilt, struct ilt_client_info *ilt_cli, u8 initop) argument 781 bnx2x_ilt_client_init_op(struct bnx2x *bp, struct ilt_client_info *ilt_cli, u8 initop) argument 789 bnx2x_ilt_client_id_init_op(struct bnx2x *bp, int cli_num, u8 initop) argument 798 bnx2x_ilt_init_op_cnic(struct bnx2x *bp, u8 initop) argument 805 bnx2x_ilt_init_op(struct bnx2x *bp, u8 initop) argument 813 bnx2x_ilt_init_client_psz(struct bnx2x *bp, int cli_num, u32 psz_reg, u8 initop) argument 837 bnx2x_ilt_init_page_size(struct bnx2x *bp, u8 initop) argument 857 bnx2x_qm_init_cid_count(struct bnx2x *bp, int qm_cid_count, u8 initop) argument 876 bnx2x_qm_set_ptr_table(struct bnx2x *bp, int qm_cid_count, u32 base_reg, u32 reg) argument 889 bnx2x_qm_init_ptr_table(struct bnx2x *bp, int qm_cid_count, u8 initop) argument 915 bnx2x_src_init_t2(struct bnx2x *bp, struct src_ent *t2, dma_addr_t t2_mapping, int src_cid_count) argument [all...] |
H A D | bnx2x_dcb.h | 73 #define BNX2X_IS_ETS_ENABLED(bp) ((bp)->dcb_state == BNX2X_DCB_STATE_ON &&\ 74 (bp)->dcbx_port_params.ets.enabled) 155 #define DCBX_PFC_PRI_NON_PAUSE_MASK(bp) \ 156 ((bp)->dcbx_port_params.pfc.priority_non_pauseable_mask) 157 #define DCBX_PFC_PRI_PAUSE_MASK(bp) \ 158 ((u8)~DCBX_PFC_PRI_NON_PAUSE_MASK(bp)) 159 #define DCBX_PFC_PRI_GET_PAUSE(bp, pg_pri) \ 160 ((pg_pri) & (DCBX_PFC_PRI_PAUSE_MASK(bp))) 161 #define DCBX_PFC_PRI_GET_NON_PAUSE(bp, pg_pr [all...] |
H A D | bnx2x_stats.c | 46 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) argument 51 if (SHMEM2_HAS(bp, sizeof_port_stats)) { 52 u32 size = SHMEM2_RD(bp, sizeof_port_stats); 68 if (bp->flags & BC_SUPPORTS_PFC_STATS) { 86 static void bnx2x_dp_stats(struct bnx2x *bp) argument 98 bp->fw_stats_req->hdr.cmd_num, 99 bp->fw_stats_req->hdr.reserved0, 100 bp->fw_stats_req->hdr.drv_stats_counter, 101 bp->fw_stats_req->hdr.reserved1, 102 bp 128 bnx2x_storm_stats_post(struct bnx2x *bp) argument 154 bnx2x_hw_stats_post(struct bnx2x *bp) argument 199 bnx2x_stats_comp(struct bnx2x *bp) argument 220 bnx2x_stats_pmf_update(struct bnx2x *bp) argument 267 bnx2x_port_stats_init(struct bnx2x *bp) argument 489 bnx2x_func_stats_init(struct bnx2x *bp) argument 518 bnx2x_stats_start(struct bnx2x *bp) argument 532 bnx2x_stats_pmf_start(struct bnx2x *bp) argument 539 bnx2x_stats_restart(struct bnx2x *bp) argument 551 bnx2x_bmac_stats_update(struct bnx2x *bp) argument 657 bnx2x_mstat_stats_update(struct bnx2x *bp) argument 747 bnx2x_emac_stats_update(struct bnx2x *bp) argument 804 bnx2x_hw_stats_update(struct bnx2x *bp) argument 879 bnx2x_storm_stats_validate_counters(struct bnx2x *bp) argument 919 bnx2x_storm_stats_update(struct bnx2x *bp) argument 1117 bnx2x_net_stats_update(struct bnx2x *bp) argument 1187 bnx2x_drv_stats_update(struct bnx2x *bp) argument 1205 bnx2x_edebug_stats_stopped(struct bnx2x *bp) argument 1219 bnx2x_stats_update(struct bnx2x *bp) argument 1265 bnx2x_port_stats_stop(struct bnx2x *bp) argument 1324 bnx2x_stats_stop(struct bnx2x *bp) argument 1346 bnx2x_stats_do_nothing(struct bnx2x *bp) argument 1369 bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event) argument 1403 bnx2x_port_stats_base_init(struct bnx2x *bp) argument 1437 bnx2x_prep_fw_stats_req(struct bnx2x *bp) argument 1558 bnx2x_memset_stats(struct bnx2x *bp) argument 1599 bnx2x_stats_init(struct bnx2x *bp) argument 1660 bnx2x_save_statistics(struct bnx2x *bp) argument 1703 bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats, u32 stats_type) argument 1973 bnx2x_stats_safe_exec(struct bnx2x *bp, void (func_to_exec)(void *cookie), void *cookie) argument [all...] |
H A D | bnx2x_dcb.c | 35 static void bnx2x_pfc_set_pfc(struct bnx2x *bp); 36 static void bnx2x_dcbx_update_ets_params(struct bnx2x *bp); 37 static void bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp, 40 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp, 43 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp, 47 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp, 51 static void bnx2x_dcbx_fw_struct(struct bnx2x *bp, 55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, argument 60 *buff = REG_RD(bp, addr + i); 63 static void bnx2x_write_data(struct bnx2x *bp, u3 argument 71 bnx2x_pfc_set(struct bnx2x *bp) argument 116 bnx2x_pfc_clear(struct bnx2x *bp) argument 126 bnx2x_dump_dcbx_drv_param(struct bnx2x *bp, struct dcbx_features *features, u32 error) argument 172 bnx2x_dcbx_get_ap_priority(struct bnx2x *bp, u8 pri_bitmap, u8 llfc_traf_type) argument 193 bnx2x_dcbx_get_ap_feature(struct bnx2x *bp, struct dcbx_app_priority_feature *app, u32 error) argument 274 bnx2x_dcbx_get_ets_feature(struct bnx2x *bp, struct dcbx_ets_feature *ets, u32 error) argument 326 bnx2x_dcbx_get_pfc_feature(struct bnx2x *bp, struct dcbx_pfc_feature *pfc, u32 error) argument 348 bnx2x_dcbx_map_nw(struct bnx2x *bp) argument 373 bnx2x_get_dcbx_drv_param(struct bnx2x *bp, struct dcbx_features *features, u32 error) argument 387 bnx2x_dcbx_read_mib(struct bnx2x *bp, u32 *base_mib_addr, u32 offset, int read_mib_type) argument 440 bnx2x_pfc_set_pfc(struct bnx2x *bp) argument 457 bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp) argument 479 bnx2x_dcbx_resume_hw_tx(struct bnx2x *bp) argument 505 bnx2x_dcbx_2cos_limit_update_ets_config(struct bnx2x *bp) argument 567 bnx2x_dcbx_update_ets_config(struct bnx2x *bp) argument 605 bnx2x_dcbx_update_ets_params(struct bnx2x *bp) argument 624 bnx2x_dcbx_read_shmem_remote_mib(struct bnx2x *bp) argument 653 bnx2x_dcbx_read_shmem_neg_results(struct bnx2x *bp) argument 701 bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall) argument 726 bnx2x_dcbx_update_tc_mapping(struct bnx2x *bp) argument 747 bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state) argument 827 bnx2x_dcbx_admin_mib_updated_params(struct bnx2x *bp, u32 dcbx_lldp_params_offset) argument 952 bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled) argument 969 bnx2x_dcbx_init_params(struct bnx2x *bp) argument 1023 bnx2x_dcbx_init(struct bnx2x *bp, bool update_shmem) argument 1074 bnx2x_dcbx_print_cos_params(struct bnx2x *bp, struct bnx2x_func_tx_start_params *pfc_fw_cfg) argument 1116 bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp, u32 *pg_pri_orginal_spread, struct pg_help_data *help_data) argument 1163 bnx2x_dcbx_ets_disabled_entry_data(struct bnx2x *bp, struct cos_help_data *cos_data, u32 pri_join_mask) argument 1175 bnx2x_dcbx_add_to_cos_bw(struct bnx2x *bp, struct cos_entry_help_data *data, u8 pg_bw) argument 1185 bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, struct dcbx_ets_feature *ets) argument 1233 bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params(struct bnx2x *bp, struct pg_help_data *pg_help_data, struct cos_help_data *cos_data, u32 pri_join_mask, u8 num_of_dif_pri) argument 1366 bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params( struct bnx2x *bp, struct pg_help_data *pg_help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, u32 pri_join_mask, u8 num_of_dif_pri) argument 1442 bnx2x_dcbx_join_pgs( struct bnx2x *bp, struct dcbx_ets_feature *ets, struct pg_help_data *pg_help_data, u8 required_num_of_pg) argument 1493 bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params( struct bnx2x *bp, struct pg_help_data *pg_help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, u32 pri_join_mask, u8 num_of_dif_pri) argument 1572 bnx2x_dcbx_2cos_limit_cee_fill_cos_params(struct bnx2x *bp, struct pg_help_data *help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 *pg_pri_orginal_spread, u32 pri_join_mask, u8 num_of_dif_pri) argument 1620 bnx2x_dcbx_spread_strict_pri(struct bnx2x *bp, struct cos_help_data *cos_data, u8 entry, u8 num_spread_of_entries, u8 strict_app_pris) argument 1669 bnx2x_dcbx_cee_fill_strict_pri(struct bnx2x *bp, struct cos_help_data *cos_data, u8 entry, u8 num_spread_of_entries, u8 strict_app_pris) argument 1692 bnx2x_dcbx_cee_fill_cos_params(struct bnx2x *bp, struct pg_help_data *help_data, struct dcbx_ets_feature *ets, struct cos_help_data *cos_data, u32 pri_join_mask) argument 1749 bnx2x_dcbx_fill_cos_params(struct bnx2x *bp, struct pg_help_data *help_data, struct dcbx_ets_feature *ets, u32 *pg_pri_orginal_spread) argument 1834 bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp, u32 *set_configuration_ets_pg, u32 *pri_pg_tbl) argument 1848 bnx2x_dcbx_fw_struct(struct bnx2x *bp, struct bnx2x_func_tx_start_params *pfc_fw_cfg) argument 1893 bnx2x_dcbx_pmf_update(struct bnx2x *bp) argument 1932 bnx2x_dcbnl_set_valid(struct bnx2x *bp) argument 1942 struct bnx2x *bp = netdev_priv(netdev); local 1949 struct bnx2x *bp = netdev_priv(netdev); local 1966 struct bnx2x *bp = netdev_priv(netdev); local 1982 struct bnx2x *bp = netdev_priv(netdev); local 2008 struct bnx2x *bp = netdev_priv(netdev); local 2022 struct bnx2x *bp = netdev_priv(netdev); local 2029 struct bnx2x *bp = netdev_priv(netdev); local 2037 struct bnx2x *bp = netdev_priv(netdev); local 2063 struct bnx2x *bp = netdev_priv(netdev); local 2078 struct bnx2x *bp = netdev_priv(netdev); local 2087 struct bnx2x *bp = netdev_priv(netdev); local 2096 struct bnx2x *bp = netdev_priv(netdev); local 2113 struct bnx2x *bp = netdev_priv(netdev); local 2126 struct bnx2x *bp = netdev_priv(netdev); local 2151 struct bnx2x *bp = netdev_priv(netdev); local 2196 struct bnx2x *bp = netdev_priv(netdev); local 2226 struct bnx2x *bp = netdev_priv(netdev); local 2233 struct bnx2x *bp = netdev_priv(netdev); local 2244 struct bnx2x *bp = netdev_priv(netdev); local 2299 bnx2x_set_admin_app_up(struct bnx2x *bp, u8 idtype, u16 idval, u8 up) argument 2338 struct bnx2x *bp = netdev_priv(netdev); local 2362 struct bnx2x *bp = netdev_priv(netdev); local 2375 struct bnx2x *bp = netdev_priv(netdev); local 2403 struct bnx2x *bp = netdev_priv(netdev); local 2450 struct bnx2x *bp = netdev_priv(netdev); local 2492 struct bnx2x *bp = netdev_priv(netdev); local 2511 struct bnx2x *bp = netdev_priv(netdev); local 2531 struct bnx2x *bp = netdev_priv(netdev); local 2547 struct bnx2x *bp = netdev_priv(netdev); local [all...] |
H A D | bnx2x_ethtool.c | 192 static int bnx2x_get_port_type(struct bnx2x *bp) argument 195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); 196 switch (bp->link_params.phy[phy_idx].media_type) { 224 struct bnx2x *bp = netdev_priv(dev); local 232 if (bp->state == BNX2X_STATE_OPEN) { 234 &bp->vf_link_vars.link_report_flags)) 239 cmd->base.speed = bp->vf_link_vars.line_speed; 264 struct bnx2x *bp = netdev_priv(dev); local 265 int cfg_idx = bnx2x_get_link_cfg_idx(bp); 273 supported = bp 371 struct bnx2x *bp = netdev_priv(dev); local 692 __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) argument 708 __bnx2x_get_regs_len(struct bnx2x *bp) argument 722 struct bnx2x *bp = netdev_priv(dev); local 745 __bnx2x_get_page_addr_ar(struct bnx2x *bp) argument 755 __bnx2x_get_page_reg_num(struct bnx2x *bp) argument 765 __bnx2x_get_page_write_ar(struct bnx2x *bp) argument 775 __bnx2x_get_page_write_num(struct bnx2x *bp) argument 785 __bnx2x_get_page_read_ar(struct bnx2x *bp) argument 795 __bnx2x_get_page_read_num(struct bnx2x *bp) argument 805 bnx2x_is_reg_in_chip(struct bnx2x *bp, const struct reg_addr *reg_info) argument 822 bnx2x_is_wreg_in_chip(struct bnx2x *bp, const struct wreg_addr *wreg_info) argument 851 bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) argument 887 __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) argument 946 __bnx2x_get_regs(struct bnx2x *bp, u32 *p) argument 967 struct bnx2x *bp = netdev_priv(dev); local 1021 struct bnx2x *bp = netdev_priv(dev); local 1033 struct bnx2x *bp = netdev_priv(dev); local 1046 struct bnx2x *bp = netdev_priv(dev); local 1062 struct bnx2x *bp = netdev_priv(dev); local 1110 struct bnx2x *bp = netdev_priv(dev); local 1143 struct bnx2x *bp = netdev_priv(dev); local 1160 struct bnx2x *bp = netdev_priv(dev); local 1184 struct bnx2x *bp = netdev_priv(dev); local 1191 struct bnx2x *bp = netdev_priv(dev); local 1203 struct bnx2x *bp = netdev_priv(dev); local 1219 struct bnx2x *bp = netdev_priv(dev); local 1233 struct bnx2x *bp = netdev_priv(dev); local 1251 bnx2x_acquire_nvram_lock(struct bnx2x *bp) argument 1287 bnx2x_release_nvram_lock(struct bnx2x *bp) argument 1321 bnx2x_enable_nvram_access(struct bnx2x *bp) argument 1333 bnx2x_disable_nvram_access(struct bnx2x *bp) argument 1345 bnx2x_nvram_read_dword(struct bnx2x *bp, u32 offset, __be32 *ret_val, u32 cmd_flags) argument 1393 bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, int buf_size) argument 1448 bnx2x_nvram_read32(struct bnx2x *bp, u32 offset, u32 *buf, int buf_size) argument 1465 bnx2x_is_nvm_accessible(struct bnx2x *bp) argument 1485 struct bnx2x *bp = netdev_priv(dev); local 1507 struct bnx2x *bp = netdev_priv(dev); local 1571 struct bnx2x *bp = netdev_priv(dev); local 1619 bnx2x_nvram_write_dword(struct bnx2x *bp, u32 offset, u32 val, u32 cmd_flags) argument 1664 bnx2x_nvram_write1(struct bnx2x *bp, u32 offset, u8 *data_buf, int buf_size) argument 1712 bnx2x_nvram_write(struct bnx2x *bp, u32 offset, u8 *data_buf, int buf_size) argument 1798 struct bnx2x *bp = netdev_priv(dev); local 1885 struct bnx2x *bp = netdev_priv(dev); local 1900 struct bnx2x *bp = netdev_priv(dev); local 1921 struct bnx2x *bp = netdev_priv(dev); local 1947 struct bnx2x *bp = netdev_priv(dev); local 1983 struct bnx2x *bp = netdev_priv(dev); local 2008 struct bnx2x *bp = netdev_priv(dev); local 2110 struct bnx2x *bp = netdev_priv(dev); local 2144 struct bnx2x *bp = netdev_priv(dev); local 2230 bnx2x_test_registers(struct bnx2x *bp) argument 2385 bnx2x_test_memory(struct bnx2x *bp) argument 2471 bnx2x_wait_for_link(struct bnx2x *bp, u8 link_up, u8 is_serdes) argument 2492 bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) argument 2696 bnx2x_test_loopback(struct bnx2x *bp) argument 2727 bnx2x_test_ext_loopback(struct bnx2x *bp) argument 2781 bnx2x_nvram_crc(struct bnx2x *bp, int offset, int size, u8 *buff) argument 2810 bnx2x_test_nvram_dir(struct bnx2x *bp, struct code_entry *entry, u8 *buff) argument 2830 bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) argument 2842 bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) argument 2876 bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) argument 2899 bnx2x_test_nvram_tbl(struct bnx2x *bp, const struct crc_pair *nvram_tbl, u8 *buf) argument 2918 bnx2x_test_nvram(struct bnx2x *bp) argument 2989 bnx2x_test_intr(struct bnx2x *bp) argument 3010 struct bnx2x *bp = netdev_priv(dev); local 3135 bnx2x_num_stat_queues(struct bnx2x *bp) argument 3142 struct bnx2x *bp = netdev_priv(dev); local 3174 struct bnx2x *bp = netdev_priv(dev); local 3186 struct bnx2x *bp = netdev_priv(dev); local 3237 struct bnx2x *bp = netdev_priv(dev); local 3290 struct bnx2x *bp = netdev_priv(dev); local 3327 bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) argument 3364 struct bnx2x *bp = netdev_priv(dev); local 3378 bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) argument 3471 struct bnx2x *bp = netdev_priv(dev); local 3490 struct bnx2x *bp = netdev_priv(dev); local 3520 struct bnx2x *bp = netdev_priv(dev); local 3562 struct bnx2x *bp = netdev_priv(dev); local 3577 bnx2x_change_num_queues(struct bnx2x *bp, int num_rss) argument 3595 struct bnx2x *bp = netdev_priv(dev); local 3639 struct bnx2x *bp = netdev_priv(dev); local 3733 bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev) argument [all...] |
H A D | bnx2x_vfpf.c | 26 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); 29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, argument 40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, argument 43 mutex_lock(&bp->vf2pf_mutex); 49 memset(bp->vf2pf_mbox, 0, sizeof(struct bnx2x_vf_mbx_msg)); 52 bnx2x_add_tlv(bp, &first_tlv->tl, 0, type, length); 55 first_tlv->resp_msg_offset = sizeof(bp->vf2pf_mbox->req); 59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, argument 65 mutex_unlock(&bp->vf2pf_mutex); 69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, voi argument 93 bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) argument 141 bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) argument 194 bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) argument 223 bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) argument 395 bnx2x_vfpf_release(struct bnx2x *bp) argument 442 bnx2x_vfpf_init(struct bnx2x *bp) argument 488 bnx2x_vfpf_close_vf(struct bnx2x *bp) argument 544 bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument 602 bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool is_leading) argument 686 bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx) argument 727 bnx2x_vfpf_config_mac(struct bnx2x *bp, const u8 *addr, u8 vf_qid, bool set) argument 800 bnx2x_vfpf_config_rss(struct bnx2x *bp, struct bnx2x_config_rss_params *params) argument 870 struct bnx2x *bp = netdev_priv(dev); local 932 bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) argument 992 bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) argument 1047 storm_memset_vf_mbx_ack(struct bnx2x *bp, u16 abs_fid) argument 1055 storm_memset_vf_mbx_valid(struct bnx2x *bp, u16 abs_fid) argument 1064 bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid) argument 1077 bnx2x_copy32_vf_dmae(struct bnx2x *bp, u8 from_vf, dma_addr_t pf_addr, u8 vfid, u32 vf_addr_hi, u32 vf_addr_lo, u32 len32) argument 1125 bnx2x_vf_mbx_resp_single_tlv(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1141 bnx2x_vf_mbx_resp_send_msg(struct bnx2x *bp, struct bnx2x_virtf *vf, int vf_rc) argument 1205 bnx2x_vf_mbx_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, int rc) argument 1213 bnx2x_vf_mbx_resp_phys_port(struct bnx2x *bp, struct bnx2x_virtf *vf, void *buffer, u16 *offset) argument 1236 bnx2x_vf_mbx_resp_fp_hsi_ver(struct bnx2x *bp, struct bnx2x_virtf *vf, void *buffer, u16 *offset) argument 1256 bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx, int vfop_status) argument 1364 bnx2x_vf_mbx_is_windows_vm(struct bnx2x *bp, struct vfpf_acquire_tlv *acquire) argument 1381 bnx2x_vf_mbx_acquire_chk_dorq(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1399 bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1469 bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1493 bnx2x_vf_mbx_set_q_flags(struct bnx2x *bp, u32 mbx_q_flags, unsigned long *sp_q_flags) argument 1520 bnx2x_vf_mbx_setup_q(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1648 bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *tlv, struct bnx2x_vf_mac_vlan_filters **pfl, u32 type_flag) argument 1700 bnx2x_vf_mbx_dp_q_filter(struct bnx2x *bp, int msglvl, int idx, struct vfpf_q_mac_vlan_filter *filter) argument 1711 bnx2x_vf_mbx_dp_q_filters(struct bnx2x *bp, int msglvl, struct vfpf_set_q_filters_tlv *filters) argument 1733 bnx2x_vf_mbx_qfilters(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1839 bnx2x_filters_validate_mac(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *filters) argument 1889 bnx2x_filters_validate_vlan(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_set_q_filters_tlv *filters) argument 1919 bnx2x_vf_mbx_set_q_filters(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1946 bnx2x_vf_mbx_teardown_q(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1959 bnx2x_vf_mbx_close_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1970 bnx2x_vf_mbx_release_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 1981 bnx2x_vf_mbx_update_rss(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 2042 bnx2x_validate_tpa_params(struct bnx2x *bp, struct vfpf_tpa_tlv *tpa_tlv) argument 2065 bnx2x_vf_mbx_update_tpa(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 2107 bnx2x_vf_mbx_request(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mbx *mbx) argument 2192 bnx2x_vf_mbx_schedule(struct bnx2x *bp, struct vf_pf_event_data *vfpf_event) argument 2225 bnx2x_vf_mbx(struct bnx2x *bp) argument 2290 bnx2x_post_vf_bulletin(struct bnx2x *bp, int vf) argument [all...] |
H A D | bnx2x_sriov.c | 29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, argument 38 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), 40 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), 42 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_VF_TO_PF_OFFSET(abs_fid), 44 REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_VF_TO_PF_OFFSET(abs_fid), 48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, argument 51 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(abs_fid), 53 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(abs_fid), 55 REG_WR8(bp, BAR_TSTRORM_INTME 61 bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) argument 72 bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) argument 78 bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, u8 igu_sb_id, u8 segment, u16 index, u8 op, u8 update) argument 111 bnx2x_validate_vf_sp_objs(struct bnx2x *bp, struct bnx2x_virtf *vf, bool print_err) argument 126 bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_queue_init_params *init_params, struct bnx2x_queue_setup_params *setup_params, u16 q_idx, u16 sb_idx) argument 142 bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_queue_init_params *init_params, struct bnx2x_queue_setup_params *setup_params, u16 q_idx, u16 sb_idx) argument 166 bnx2x_vfop_qctor_prep(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q, struct bnx2x_vf_queue_construct_params *p, unsigned long q_type) argument 234 bnx2x_vf_queue_create(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) argument 274 bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument 316 bnx2x_vf_set_igu_info(struct bnx2x *bp, u8 igu_sb_id, u8 abs_vfid) argument 334 bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, bool drv_only, int type) argument 378 bnx2x_vf_mac_vlan_config(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_mac_vlan_filter *filter, bool drv_only) argument 434 bnx2x_vf_mac_vlan_config_list(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_mac_vlan_filters *filters, int qid, bool drv_only) argument 473 bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, struct bnx2x_vf_queue_construct_params *qctor) argument 493 bnx2x_vf_queue_flr(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument 537 bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, bnx2x_mac_addr_t *mcasts, int mc_num, bool drv_only) argument 587 bnx2x_vf_prep_rx_mode(struct bnx2x *bp, u8 qid, struct bnx2x_rx_mode_ramrod_params *ramrod, struct bnx2x_virtf *vf, unsigned long accept_flags) argument 612 bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, unsigned long accept_flags) argument 625 bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) argument 679 bnx2x_vf_enable_internal(struct bnx2x *bp, u8 enable) argument 685 bnx2x_vf_semi_clear_err(struct bnx2x *bp, u8 abs_vfid) argument 693 bnx2x_vf_pglue_clear_err(struct bnx2x *bp, u8 abs_vfid) argument 715 bnx2x_vf_igu_reset(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 759 bnx2x_vf_enable_access(struct bnx2x *bp, u8 abs_vfid) argument 785 bnx2x_vf_enable_traffic(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 796 bnx2x_vf_is_pcie_pending(struct bnx2x *bp, u8 abs_vfid) argument 814 bnx2x_vf_flr_clnup_epilog(struct bnx2x *bp, u8 abs_vfid) argument 827 bnx2x_iov_static_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 846 bnx2x_vf_free_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 853 bnx2x_vf_flr_clnup_hw(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 873 bnx2x_vf_flr(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 907 bnx2x_vf_flr_clnup(struct bnx2x *bp) argument 956 bnx2x_vf_handle_flr_event(struct bnx2x *bp) argument 994 bnx2x_iov_init_dq(struct bnx2x *bp) argument 1031 bnx2x_iov_init_dmae(struct bnx2x *bp) argument 1037 bnx2x_vf_domain(struct bnx2x *bp, int vfid) argument 1044 bnx2x_vf_bus(struct bnx2x *bp, int vfid) argument 1053 bnx2x_vf_devfn(struct bnx2x *bp, int vfid) argument 1061 bnx2x_vf_set_bars(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1078 bnx2x_get_vf_igu_cam_info(struct bnx2x *bp) argument 1105 __bnx2x_iov_free_vfdb(struct bnx2x *bp) argument 1115 bnx2x_sriov_pci_cfg_info(struct bnx2x *bp, struct bnx2x_sriov *iov) argument 1140 bnx2x_sriov_info(struct bnx2x *bp, struct bnx2x_sriov *iov) argument 1169 bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param) argument 1303 bnx2x_iov_remove_one(struct bnx2x *bp) argument 1329 bnx2x_iov_free_mem(struct bnx2x *bp) argument 1355 bnx2x_iov_alloc_mem(struct bnx2x *bp) argument 1414 bnx2x_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) argument 1439 bnx2x_max_speed_cap(struct bnx2x *bp) argument 1450 bnx2x_iov_link_update_vf(struct bnx2x *bp, int idx) argument 1515 struct bnx2x *bp = netdev_priv(dev); local 1529 bnx2x_iov_link_update(struct bnx2x *bp) argument 1541 bnx2x_iov_nic_init(struct bnx2x *bp) argument 1630 bnx2x_iov_chip_cleanup(struct bnx2x *bp) argument 1645 bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line) argument 1664 bnx2x_iov_is_vf_cid(struct bnx2x *bp, u16 cid) argument 1671 bnx2x_vf_handle_classification_eqe(struct bnx2x *bp, struct bnx2x_vf_queue *vfq, union event_ring_elem *elem) argument 1702 bnx2x_vf_handle_mcast_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1721 bnx2x_vf_handle_filters_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1729 bnx2x_vf_handle_rss_update_eqe(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1735 bnx2x_iov_eq_sp_event(struct bnx2x *bp, union event_ring_elem *elem) argument 1838 bnx2x_vf_by_cid(struct bnx2x *bp, int vf_cid) argument 1848 bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, struct bnx2x_queue_sp_obj **q_obj) argument 1870 bnx2x_iov_adjust_stats_req(struct bnx2x *bp) argument 1955 bnx2x_vf_qtbl_set_q(struct bnx2x *bp, u8 abs_vfid, u8 qid, u8 enable) argument 1964 bnx2x_vf_clr_qtbl(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1973 bnx2x_vf_igu_disable(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1986 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 1993 bnx2x_vf_chk_avail_resc(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *req_resc) argument 2007 bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vf_pf_resc_request *resc) argument 2092 bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf, dma_addr_t *sb_map) argument 2155 bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 2202 bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 2235 bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct bnx2x_config_rss_params *rss) argument 2243 bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf, struct vfpf_tpa_tlv *tlv, struct bnx2x_queue_update_tpa_params *params) argument 2282 bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf) argument 2298 bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs tlv) argument 2318 bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, enum channel_tlvs expected_tlv) argument 2349 bnx2x_set_pf_tx_switching(struct bnx2x *bp, bool enable) argument 2411 struct bnx2x *bp = netdev_priv(pci_get_drvdata(dev)); local 2446 bnx2x_enable_sriov(struct bnx2x *bp) argument 2535 bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) argument 2549 bnx2x_disable_sriov(struct bnx2x *bp) argument 2560 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) argument 2608 struct bnx2x *bp = netdev_priv(dev); local 2685 struct bnx2x *bp = netdev_priv(dev); local 2763 bnx2x_set_vf_vlan_acceptance(struct bnx2x *bp, struct bnx2x_virtf *vf, bool accept) argument 2782 bnx2x_set_vf_vlan_filter(struct bnx2x *bp, struct bnx2x_virtf *vf, u16 vlan, bool add) argument 2810 struct bnx2x *bp = netdev_priv(dev); local 2952 struct bnx2x *bp = netdev_priv(dev); local 3035 bnx2x_sample_bulletin(struct bnx2x *bp) argument 3109 bnx2x_timer_sriov(struct bnx2x *bp) argument 3119 bnx2x_vf_doorbells(struct bnx2x *bp) argument 3125 bnx2x_vf_pci_dealloc(struct bnx2x *bp) argument 3133 bnx2x_vf_pci_alloc(struct bnx2x *bp) argument 3158 bnx2x_iov_channel_down(struct bnx2x *bp) argument 3180 struct bnx2x *bp = container_of(work, struct bnx2x, iov_task.work); local 3194 bnx2x_schedule_iov_task(struct bnx2x *bp, enum bnx2x_iov_flag flag) argument [all...] |
/linux-master/kernel/events/ |
H A D | hw_breakpoint.c | 108 static inline struct mutex *get_task_bps_mutex(struct perf_event *bp) argument 110 struct task_struct *tsk = bp->hw.target; 115 static struct mutex *bp_constraints_lock(struct perf_event *bp) argument 117 struct mutex *tsk_mtx = get_task_bps_mutex(bp); 149 static bool bp_constraints_is_locked(struct perf_event *bp) argument 151 struct mutex *tsk_mtx = get_task_bps_mutex(bp); 158 static inline void assert_bp_constraints_lock_held(struct perf_event *bp) argument 160 struct mutex *tsk_mtx = get_task_bps_mutex(bp); 285 static inline int hw_breakpoint_weight(struct perf_event *bp) argument 322 static int task_bp_pinned(int cpu, struct perf_event *bp, enu argument 358 cpumask_of_bp(struct perf_event *bp) argument 370 max_bp_pinned_slots(struct perf_event *bp, enum bp_type_idx type) argument 409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) argument 572 __reserve_bp_slot(struct perf_event *bp, u64 bp_type) argument 598 reserve_bp_slot(struct perf_event *bp) argument 607 __release_bp_slot(struct perf_event *bp, u64 bp_type) argument 617 release_bp_slot(struct perf_event *bp) argument 625 __modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) argument 647 modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type) argument 661 dbg_reserve_bp_slot(struct perf_event *bp) argument 676 dbg_release_bp_slot(struct perf_event *bp) argument 689 hw_breakpoint_parse(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw) argument 713 register_perf_hw_breakpoint(struct perf_event *bp) argument 761 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, bool check) argument 797 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) argument 825 unregister_hw_breakpoint(struct perf_event *bp) argument 846 struct perf_event * __percpu *cpu_events, *bp; local 945 hw_breakpoint_event_init(struct perf_event *bp) argument 967 hw_breakpoint_add(struct perf_event *bp, int flags) argument 980 hw_breakpoint_del(struct perf_event *bp, int flags) argument 985 hw_breakpoint_start(struct perf_event *bp, int flags) argument 990 hw_breakpoint_stop(struct perf_event *bp, int flags) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_trans_buf.c | 63 struct xfs_buf *bp, 68 ASSERT(bp->b_transp == NULL); 75 xfs_buf_item_init(bp, tp->t_mountp); 76 bip = bp->b_log_item; 93 bp->b_transp = tp; 100 struct xfs_buf *bp) 102 _xfs_trans_bjoin(tp, bp, 0); 103 trace_xfs_trans_bjoin(bp->b_log_item); 124 struct xfs_buf *bp; local 138 bp 61 _xfs_trans_bjoin( struct xfs_trans *tp, struct xfs_buf *bp, int reset_recur) argument 98 xfs_trans_bjoin( struct xfs_trans *tp, struct xfs_buf *bp) argument 175 struct xfs_buf *bp = tp->t_mountp->m_sb_bp; local 221 struct xfs_buf *bp = NULL; local 321 xfs_trans_buf_is_dirty( struct xfs_buf *bp) argument 345 xfs_trans_brelse( struct xfs_trans *tp, struct xfs_buf *bp) argument 401 xfs_trans_bdetach( struct xfs_trans *tp, struct xfs_buf *bp) argument 444 xfs_trans_bhold( xfs_trans_t *tp, struct xfs_buf *bp) argument 465 xfs_trans_bhold_release( xfs_trans_t *tp, struct xfs_buf *bp) argument 486 xfs_trans_dirty_buf( struct xfs_trans *tp, struct xfs_buf *bp) argument 533 xfs_trans_log_buf( struct xfs_trans *tp, struct xfs_buf *bp, uint first, uint last) argument 581 xfs_trans_binval( xfs_trans_t *tp, struct xfs_buf *bp) argument 636 xfs_trans_inode_buf( xfs_trans_t *tp, struct xfs_buf *bp) argument 661 xfs_trans_stale_inode_buf( xfs_trans_t *tp, struct xfs_buf *bp) argument 686 xfs_trans_inode_alloc_buf( xfs_trans_t *tp, struct xfs_buf *bp) argument 709 xfs_trans_ordered_buf( struct xfs_trans *tp, struct xfs_buf *bp) argument 738 xfs_trans_buf_set_type( struct xfs_trans *tp, struct xfs_buf *bp, enum xfs_blft type) argument 780 xfs_trans_dquot_buf( xfs_trans_t *tp, struct xfs_buf *bp, uint type) argument [all...] |
/linux-master/drivers/power/supply/ |
H A D | apm_power.c | 47 struct find_bat_param *bp = (struct find_bat_param *)data; local 49 bp->bat = dev_get_drvdata(dev); 51 if (bp->bat->desc->use_for_apm) { 53 bp->main = bp->bat; 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { 59 if (bp 75 struct find_bat_param bp; local [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 383 skfddi_priv *bp = &smc->os; local 389 bp->base_addr = dev->base_addr; 394 spin_lock_init(&bp->DriverLock); 397 bp->LocalRxBuffer = dma_alloc_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, 398 &bp->LocalRxBufferDMA, 400 if (!bp->LocalRxBuffer) { 407 bp->SharedMemSize = mac_drv_check_space(); 408 pr_debug("Memory for HWM: %ld\n", bp->SharedMemSize); 409 if (bp 552 skfddi_priv *bp = &smc->os; local 610 skfddi_priv *bp; local 675 struct s_smc *bp = netdev_priv(dev); local 840 skfddi_priv *bp = &smc->os; local 925 skfddi_priv *bp = &smc->os; local 1048 skfddi_priv *bp = &smc->os; local 1109 skfddi_priv *bp = &smc->os; local 1281 skfddi_priv *bp = &smc->os; local 1465 skfddi_priv *bp = &smc->os; local 1566 skfddi_priv *bp = &smc->os; local 1836 skfddi_priv *bp = &smc->os; local [all...] |
/linux-master/drivers/net/ethernet/ |
H A D | dnet.c | 27 static u16 dnet_readw_mac(struct dnet *bp, u16 reg) argument 32 dnet_writel(bp, reg, MACREG_ADDR); 39 data_read = dnet_readl(bp, MACREG_DATA); 46 static void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) argument 49 dnet_writel(bp, val, MACREG_DATA); 52 dnet_writel(bp, reg | DNET_INTERNAL_WRITE, MACREG_ADDR); 59 static void __dnet_set_hwaddr(struct dnet *bp) argument 63 tmp = be16_to_cpup((const __be16 *)bp->dev->dev_addr); 64 dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); 65 tmp = be16_to_cpup((const __be16 *)(bp 71 dnet_get_hwaddr(struct dnet *bp) argument 101 struct dnet *bp = bus->priv; local 134 struct dnet *bp = bus->priv; local 172 struct dnet *bp = netdev_priv(dev); local 253 struct dnet *bp = netdev_priv(dev); local 297 dnet_mii_init(struct dnet *bp) argument 339 dnet_update_stats(struct dnet *bp) argument 364 struct dnet *bp = container_of(napi, struct dnet, napi); local 425 struct dnet *bp = netdev_priv(dev); local 509 struct dnet *bp = netdev_priv(dev); local 561 dnet_reset_hw(struct dnet *bp) argument 584 dnet_init_hw(struct dnet *bp) argument 620 struct dnet *bp = netdev_priv(dev); local 641 struct dnet *bp = netdev_priv(dev); local 691 struct dnet *bp = netdev_priv(dev); local 754 struct dnet *bp; local 848 struct dnet *bp; local [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | grackle.c | 23 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) argument 27 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 28 val = in_le32(bp->cfg_data); 31 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 32 out_le32(bp->cfg_data, val); 33 (void)in_le32(bp->cfg_data);
|
/linux-master/drivers/ptp/ |
H A D | ptp_ocp.c | 264 struct ptp_ocp *bp; member in struct:ptp_ocp_ext_src 388 int (*setup)(struct ptp_ocp *bp, struct ocp_resource *r); 394 static int ptp_ocp_register_mem(struct ptp_ocp *bp, struct ocp_resource *r); 395 static int ptp_ocp_register_i2c(struct ptp_ocp *bp, struct ocp_resource *r); 396 static int ptp_ocp_register_spi(struct ptp_ocp *bp, struct ocp_resource *r); 397 static int ptp_ocp_register_serial(struct ptp_ocp *bp, struct ocp_resource *r); 398 static int ptp_ocp_register_ext(struct ptp_ocp *bp, struct ocp_resource *r); 399 static int ptp_ocp_fb_board_init(struct ptp_ocp *bp, struct ocp_resource *r); 403 static int ptp_ocp_signal_from_perout(struct ptp_ocp *bp, int gen, 406 static int ptp_ocp_sma_store(struct ptp_ocp *bp, cons 1138 ptp_ocp_sma_init(struct ptp_ocp *bp) argument 1144 ptp_ocp_sma_get(struct ptp_ocp *bp, int sma_nr) argument 1150 ptp_ocp_sma_set_inputs(struct ptp_ocp *bp, int sma_nr, u32 val) argument 1156 ptp_ocp_sma_set_output(struct ptp_ocp *bp, int sma_nr, u32 val) argument 1202 __ptp_ocp_gettime_locked(struct ptp_ocp *bp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 1239 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); local 1251 __ptp_ocp_settime_locked(struct ptp_ocp *bp, const struct timespec64 *ts) argument 1275 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); local 1286 __ptp_ocp_adjtime_locked(struct ptp_ocp *bp, u32 adj_val) argument 1304 ptp_ocp_adjtime_coarse(struct ptp_ocp *bp, s64 delta_ns) argument 1323 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); local 1367 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); local 1437 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); local 1481 __ptp_ocp_clear_drift_locked(struct ptp_ocp *bp) argument 1498 ptp_ocp_utc_distribute(struct ptp_ocp *bp, u32 val) argument 1519 struct ptp_ocp *bp = from_timer(bp, t, watchdog); local 1553 ptp_ocp_estimate_pci_timing(struct ptp_ocp *bp) argument 1575 ptp_ocp_init_clock(struct ptp_ocp *bp, struct ptp_ocp_servo_conf *servo_conf) argument 1616 ptp_ocp_tod_init(struct ptp_ocp *bp) argument 1653 struct ptp_ocp *bp; member in struct:ptp_ocp_nvmem_match_info 1673 ptp_ocp_nvmem_device_get(struct ptp_ocp *bp, const void * const tag) argument 1689 ptp_ocp_read_eeprom(struct ptp_ocp *bp) argument 1732 ptp_ocp_find_flash(struct ptp_ocp *bp) argument 1754 struct ptp_ocp *bp = devlink_priv(devlink); local 1803 struct ptp_ocp *bp = devlink_priv(devlink); local 1847 struct ptp_ocp *bp = devlink_priv(devlink); local 1874 struct ptp_ocp *bp = devlink_priv(devlink); local 1911 __ptp_ocp_get_mem(struct ptp_ocp *bp, resource_size_t start, int size) argument 1919 ptp_ocp_get_mem(struct ptp_ocp *bp, struct ocp_resource *r) argument 1928 ptp_ocp_register_spi(struct ptp_ocp *bp, struct ocp_resource *r) argument 1974 ptp_ocp_register_i2c(struct ptp_ocp *bp, struct ocp_resource *r) argument 2010 struct ptp_ocp *bp = ext->bp; local 2032 ptp_ocp_signal_set(struct ptp_ocp *bp, int gen, struct ptp_ocp_signal *s) argument 2071 ptp_ocp_signal_from_perout(struct ptp_ocp *bp, int gen, struct ptp_perout_request *req) argument 2099 struct ptp_ocp *bp = ext->bp; local 2174 struct ptp_ocp *bp = ext->bp; local 2210 ptp_ocp_register_ext(struct ptp_ocp *bp, struct ocp_resource *r) argument 2247 ptp_ocp_serial_line(struct ptp_ocp *bp, struct ocp_resource *r) argument 2269 ptp_ocp_register_serial(struct ptp_ocp *bp, struct ocp_resource *r) argument 2287 ptp_ocp_register_mem(struct ptp_ocp *bp, struct ocp_resource *r) argument 2301 ptp_ocp_nmea_out_init(struct ptp_ocp *bp) argument 2324 ptp_ocp_signal_init(struct ptp_ocp *bp) argument 2335 ptp_ocp_attr_group_del(struct ptp_ocp *bp) argument 2342 ptp_ocp_attr_group_add(struct ptp_ocp *bp, const struct ocp_attr_group *attr_tbl) argument 2386 ptp_ocp_irig_out(struct ptp_ocp *bp, bool enable) argument 2393 ptp_ocp_irig_in(struct ptp_ocp *bp, bool enable) argument 2400 ptp_ocp_dcf_out(struct ptp_ocp *bp, bool enable) argument 2407 ptp_ocp_dcf_in(struct ptp_ocp *bp, bool enable) argument 2414 __handle_signal_outputs(struct ptp_ocp *bp, u32 val) argument 2421 __handle_signal_inputs(struct ptp_ocp *bp, u32 val) argument 2428 ptp_ocp_sma_fb_get(struct ptp_ocp *bp, int sma_nr) argument 2446 ptp_ocp_sma_fb_set_output(struct ptp_ocp *bp, int sma_nr, u32 val) argument 2472 ptp_ocp_sma_fb_set_inputs(struct ptp_ocp *bp, int sma_nr, u32 val) argument 2498 ptp_ocp_sma_fb_init(struct ptp_ocp *bp) argument 2568 ptp_ocp_set_pins(struct ptp_ocp *bp) argument 2589 ptp_ocp_fb_set_version(struct ptp_ocp *bp) argument 2622 ptp_ocp_fb_board_init(struct ptp_ocp *bp, struct ocp_resource *r) argument 2650 ptp_ocp_allow_irq(struct ptp_ocp *bp, struct ocp_resource *r) argument 2661 ptp_ocp_register_resources(struct ptp_ocp *bp, kernel_ulong_t driver_data) argument 2682 ptp_ocp_art_sma_init(struct ptp_ocp *bp) argument 2739 ptp_ocp_art_sma_get(struct ptp_ocp *bp, int sma_nr) argument 2749 ptp_ocp_art_sma_set(struct ptp_ocp *bp, int sma_nr, u32 val) argument 2785 ptp_ocp_art_board_init(struct ptp_ocp *bp, struct ocp_resource *r) argument 2813 ptp_ocp_adva_board_init(struct ptp_ocp *bp, struct ocp_resource *r) argument 2928 ptp_ocp_sma_show(struct ptp_ocp *bp, int sma_nr, char *buf, int default_in_val, int default_out_val) argument 2950 struct ptp_ocp *bp = dev_get_drvdata(dev); local 2958 struct ptp_ocp *bp = dev_get_drvdata(dev); local 2966 struct ptp_ocp *bp = dev_get_drvdata(dev); local 2974 struct ptp_ocp *bp = dev_get_drvdata(dev); local 2980 ptp_ocp_sma_store_val(struct ptp_ocp *bp, int val, enum ptp_ocp_sma_mode mode, int sma_nr) argument 3018 ptp_ocp_sma_store(struct ptp_ocp *bp, const char *buf, int sma_nr) argument 3035 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3046 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3057 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3068 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3083 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3093 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3113 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3173 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3199 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3213 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3227 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3242 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3256 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3270 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3287 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3310 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3331 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3352 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3364 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3380 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3390 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3408 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3418 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3435 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3448 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3475 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3489 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3517 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3532 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3547 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3561 struct ptp_ocp *bp = dev_get_drvdata(dev); local 3633 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); local 3668 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); local 3695 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); local 3730 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); local 3852 gpio_input_map(char *buf, struct ptp_ocp *bp, u16 map[][2], u16 bit, const char *def) argument 3871 gpio_output_map(char *buf, struct ptp_ocp *bp, u16 map[][2], u16 bit) argument 3886 _signal_summary_show(struct seq_file *s, struct ptp_ocp *bp, int nr) argument 3950 struct ptp_ocp *bp; local 4188 struct ptp_ocp *bp; local 4238 ptp_ocp_debugfs_add_device(struct ptp_ocp *bp) argument 4252 ptp_ocp_debugfs_remove_device(struct ptp_ocp *bp) argument 4272 struct ptp_ocp *bp = dev_get_drvdata(dev); local 4280 ptp_ocp_device_init(struct ptp_ocp *bp, struct pci_dev *pdev) argument 4324 ptp_ocp_symlink(struct ptp_ocp *bp, struct device *child, const char *link) argument 4333 ptp_ocp_link_child(struct ptp_ocp *bp, const char *name, const char *link) argument 4350 ptp_ocp_complete(struct ptp_ocp *bp) argument 4384 ptp_ocp_phc_info(struct ptp_ocp *bp) argument 4410 ptp_ocp_info(struct ptp_ocp *bp) argument 4440 ptp_ocp_detach_sysfs(struct ptp_ocp *bp) argument 4452 ptp_ocp_detach(struct ptp_ocp *bp) argument 4502 struct ptp_ocp *bp = priv; local 4514 struct ptp_ocp *bp = priv; local 4557 struct ptp_ocp *bp = dpll_priv; local 4575 struct ptp_ocp *bp = dpll_priv; local 4597 struct ptp_ocp *bp = dpll_priv; local 4630 struct ptp_ocp *bp; local 4648 struct ptp_ocp *bp; local 4751 struct ptp_ocp *bp = pci_get_drvdata(pdev); local 4783 struct ptp_ocp *bp; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_symlink_remote.c | 44 struct xfs_buf *bp) 46 struct xfs_dsymlink_hdr *dsl = bp->b_addr; 57 dsl->sl_blkno = cpu_to_be64(xfs_buf_daddr(bp)); 58 bp->b_ops = &xfs_symlink_buf_ops; 73 struct xfs_buf *bp) 75 struct xfs_dsymlink_hdr *dsl = bp->b_addr; 90 struct xfs_buf *bp) 92 struct xfs_mount *mp = bp->b_mount; 93 struct xfs_dsymlink_hdr *dsl = bp->b_addr; 97 if (!xfs_verify_magic(bp, ds 39 xfs_symlink_hdr_set( struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset, uint32_t size, struct xfs_buf *bp) argument 69 xfs_symlink_hdr_ok( xfs_ino_t ino, uint32_t offset, uint32_t size, struct xfs_buf *bp) argument 89 xfs_symlink_verify( struct xfs_buf *bp) argument 115 xfs_symlink_read_verify( struct xfs_buf *bp) argument 135 xfs_symlink_write_verify( struct xfs_buf *bp) argument 168 xfs_symlink_local_to_remote( struct xfs_trans *tp, struct xfs_buf *bp, struct xfs_inode *ip, struct xfs_ifork *ifp) argument 242 struct xfs_buf *bp; local 321 struct xfs_buf *bp; local [all...] |