Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 634) sorted by relevance

12345678910>>...26

/openbmc/linux/fs/xfs/
H A Dxfs_buf.c188 bp->b_maps = &bp->__b_map; in xfs_buf_get_maps()
206 if (bp->b_maps != &bp->__b_map) { in xfs_buf_free_maps()
291 if (bp->b_pages != bp->b_page_array) in xfs_buf_free_pages()
347 bp->b_pages = bp->b_page_array; in xfs_buf_alloc_kmem()
370 bp->b_pages = bp->b_page_array; in xfs_buf_alloc_pages()
440 bp->b_addr = vm_map_ram(bp->b_pages, bp->b_page_count, in _xfs_buf_map_pages()
795 bp->b_ops->verify_read(bp); in xfs_buf_reverify()
1254 bp->b_last_error = bp->b_error; in xfs_buf_ioend_handle_error()
1308 if (!bp->b_error && bp->b_ops) in xfs_buf_ioend()
1309 bp->b_ops->verify_read(bp); in xfs_buf_ioend()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c762 bp->fw_major, bp->fw_minor, bp->fw_rev); in bnx2x_mc_assert()
938 bp->def_idx, bp->def_att_idx, bp->attn_state, in bnx2x_panic_dump()
1816 struct bnx2x *bp = fp->bp; in bnx2x_sp_event() local
2641 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_set_local_cmng()
2713 bp->link_params.bp = bp; in bnx2x__link_status_update()
3341 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_pf_init()
3564 storm_memset_cmng(bp, &bp->cmng, BP_PORT(bp)); in bnx2x_config_mf_bw()
4287 bp->mf_config[BP_VN(bp)] = MF_CFG_RD(bp, in bnx2x_attn_int_deasserted3()
11012 bp->common.shmem2_base = REG_RD(bp, (BP_PATH(bp) ? in bnx2x_get_common_hwinfo()
11499 bp->link_params.bp = bp; in bnx2x_get_port_hwinfo()
[all …]
H A Dbnx2x.h94 bp->dev ? (bp->dev->name) : "?", \
212 #define SHMEM_RD(bp, field) REG_RD(bp, SHMEM_ADDR(bp, field)) argument
217 #define SHMEM2_RD(bp, field) REG_RD(bp, SHMEM2_ADDR(bp, field)) argument
224 #define MF_CFG_RD(bp, field) REG_RD(bp, MF_CFG_ADDR(bp, field)) argument
227 #define MF2_CFG_RD(bp, field) REG_RD(bp, MF2_CFG_ADDR(bp, field)) argument
298 #define UIO_DPM_ALIGN(bp) (UIO_ROUNDUP(bp) + UIO_CID_OFFSET(bp)) argument
633 #define bnx2x_fcoe_fp(bp) (&bp->fp[FCOE_IDX(bp)]) argument
635 #define bnx2x_fcoe_inner_sp_obj(bp) (&bp->sp_objs[FCOE_IDX(bp)]) argument
1360 #define BP_PATH(bp) (CHIP_IS_E1x(bp) ? 0 : (bp->pf_num & 1)) argument
1369 #define BP_FW_MB_IDX(bp) BP_FW_MB_IDX_VN(bp, BP_VN(bp)) argument
[all …]
H A Dbnx2x_cmn.h959 if (CHIP_IS_E2(bp) || CHIP_IS_E3(bp)) in bnx2x_func_start()
1049 struct bnx2x *bp = fp->bp; in bnx2x_stats_id() local
1062 struct bnx2x *bp = fp->bp; in bnx2x_init_vlan_mac_fp_objs() local
1125 bnx2x_init_rx_mode_obj(bp, &bp->rx_mode_obj); in bnx2x_init_bp_objs()
1128 bnx2x_init_mcast_obj(bp, &bp->mcast_obj, bp->fp->cl_id, bp->fp->cid, in bnx2x_init_bp_objs()
1129 BP_FUNC(bp), BP_FUNC(bp), in bnx2x_init_bp_objs()
1136 bnx2x_init_mac_credit_pool(bp, &bp->macs_pool, BP_FUNC(bp), in bnx2x_init_bp_objs()
1139 bnx2x_init_vlan_credit_pool(bp, &bp->vlans_pool, BP_FUNC(bp), in bnx2x_init_bp_objs()
1143 bnx2x_init_rss_config_obj(bp, &bp->rss_conf_obj, bp->fp->cl_id, in bnx2x_init_bp_objs()
1144 bp->fp->cid, BP_FUNC(bp), BP_FUNC(bp), in bnx2x_init_bp_objs()
[all …]
H A Dbnx2x_cmn.c358 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local
434 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start() local
896 struct bnx2x *bp = fp->bp; in bnx2x_rx_int() local
1143 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int() local
1507 struct bnx2x *bp = fp->bp; in bnx2x_free_tx_skbs_queue() local
1548 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds() local
1766 bp->dev->name, bp->dev); in bnx2x_req_msix_irqs()
2491 fp->bp = bp; in bnx2x_bz_fp()
3241 struct bnx2x *bp = fp->bp; in bnx2x_poll() local
4466 struct bnx2x *bp = fp->bp; in bnx2x_alloc_rx_bds() local
[all …]
H A Dbnx2x_ethtool.c287 if (IS_MF(bp) && !BP_NOMCP(bp)) in bnx2x_get_link_ksettings()
938 if (CHIP_IS_E2(bp) || CHIP_IS_E3(bp)) { in __bnx2x_get_preset_regs()
2116 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_get_eee()
2153 if (!SHMEM2_HAS(bp, eee_status[BP_PORT(bp)])) { in bnx2x_set_eee()
2970 if (!CHIP_IS_E1x(bp) && !CHIP_IS_57811xx(bp)) { in bnx2x_test_nvram()
3132 #define HIDE_PORT_STAT(bp) IS_VF(bp) argument
3306 bnx2x_set_led(&bp->link_params, &bp->link_vars, in bnx2x_set_phys_id()
3313 bnx2x_set_led(&bp->link_params, &bp->link_vars, in bnx2x_set_phys_id()
3320 bnx2x_set_led(&bp->link_params, &bp->link_vars, in bnx2x_set_phys_id()
3424 return bnx2x_rss(bp, &bp->rss_conf_obj, false, in bnx2x_set_rss_flags()
[all …]
H A Dbnx2x_init_ops.h26 #define BP_FUNC(bp) 0 argument
30 #define BP_PORT(bp) 0 argument
73 bnx2x_write_dmae_phys_len(bp, GUNZIP_PHYS(bp), addr, len); in bnx2x_write_big_buf()
77 bnx2x_init_ind_wr(bp, addr, GUNZIP_BUF(bp), len); in bnx2x_write_big_buf()
81 bnx2x_init_str_wr(bp, addr, GUNZIP_BUF(bp), len); in bnx2x_write_big_buf()
103 bnx2x_write_dmae_phys_len(bp, GUNZIP_PHYS(bp), addr, len); in bnx2x_write_big_buf_wb()
107 bnx2x_init_ind_wr(bp, addr, GUNZIP_BUF(bp), len); in bnx2x_write_big_buf_wb()
111 bnx2x_init_str_wr(bp, addr, GUNZIP_BUF(bp), len); in bnx2x_write_big_buf_wb()
672 if (!rc && CNIC_SUPPORT(bp) && !CONFIGURE_NIC_MODE(bp)) in bnx2x_ilt_mem_op()
737 REG_WR(bp, start_reg + BP_FUNC(bp)*4, in bnx2x_ilt_boundry_init_op()
[all …]
H A Dbnx2x_stats.c228 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_stats_pmf_update()
237 dmae = bnx2x_sp(bp, dmae[bp->executer_idx++]); in bnx2x_stats_pmf_update()
248 dmae = bnx2x_sp(bp, dmae[bp->executer_idx++]); in bnx2x_stats_pmf_update()
277 if (!bp->link_vars.link_up || !bp->port.pmf) { in bnx2x_port_stats_init()
290 dmae = bnx2x_sp(bp, dmae[bp->executer_idx++]); in bnx2x_port_stats_init()
304 dmae = bnx2x_sp(bp, dmae[bp->executer_idx++]); in bnx2x_port_stats_init()
1409 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_port_stats_base_init()
1592 if (bp->port.pmf && bp->port.port_stx) in bnx2x_memset_stats()
1623 bp->port.port_stx, bp->func_stx); in bnx2x_stats_init()
1626 if (!bp->stats_init && bp->port.pmf && bp->port.port_stx) in bnx2x_stats_init()
[all …]
H A Dbnx2x_sriov.h219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument
241 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument
318 #define BP_VFDB(bp) ((bp)->vfdb) argument
321 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \ argument
323 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var) argument
330 #define BP_VF_CXT_PAGE(bp, i) (&(bp)->vfdb->context[i]) argument
335 #define BP_VF_MBX_DMA(bp) (&((bp)->vfdb->mbx_dma)) argument
337 #define BP_VF_MBX(bp, vfid) (&((bp)->vfdb->mbxs[vfid])) argument
340 #define BP_VF_BULLETIN_DMA(bp) (&((bp)->vfdb->bulletin_dma)) argument
346 #define bnx2x_vf_sp(bp, vf, field) ((bp)->vfdb->sp_dma.addr + \ argument
[all …]
H A Dbnx2x_sriov.c740 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_vf_igu_reset()
766 storm_memset_vf_to_pf(bp, abs_fid, BP_FUNC(bp)); in bnx2x_vf_enable_access()
782 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_vf_enable_access()
793 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_vf_enable_traffic()
862 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_vf_flr_clnup_hw()
942 bp->vfdb->flrd_vfs[0], bp->vfdb->flrd_vfs[1]); in bnx2x_vf_flr_clnup()
1250 bp->vfdb->vfs = kcalloc(BNX2X_NR_VIRTFN(bp), in bnx2x_iov_init_one()
1322 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_iov_remove_one()
1639 bnx2x_vf_release(bp, BP_VF(bp, i)); in bnx2x_iov_chip_cleanup()
1983 bnx2x_pretend_func(bp, BP_ABS_FUNC(bp)); in bnx2x_vf_igu_disable()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c1039 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1118 bp->duplex = bp->req_duplex; in bnx2_5709s_linkup()
2152 bp->duplex = bp->req_duplex; in bnx2_setup_copper_phy()
3311 struct bnx2 *bp = bnapi->bp; in bnx2_msi() local
3331 struct bnx2 *bp = bnapi->bp; in bnx2_msi_1shot() local
3348 struct bnx2 *bp = bnapi->bp; in bnx2_interrupt() local
3495 struct bnx2 *bp = bnapi->bp; in bnx2_poll_msix() local
3522 struct bnx2 *bp = bnapi->bp; in bnx2_poll() local
6332 bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); in bnx2_setup_int_mode()
6337 bp->num_rx_rings = min(bp->irq_nvecs, bp->num_req_rx_rings); in bnx2_setup_int_mode()
[all …]
H A Db44.c233 bw32(bp, B44_IMASK, bp->imask); in b44_enable_ints()
829 bp->rx_prod = (bp->rx_prod + 1) & in b44_rx()
1143 bp->rx_ring, bp->rx_ring_dma); in b44_free_consistent()
1154 bp->tx_ring, bp->tx_ring_dma); in b44_free_consistent()
1270 bp->tx_prod = bp->tx_cons = 0; in b44_chip_reset()
1276 bp->rx_prod = bp->rx_cons = 0; in b44_chip_reset()
1409 bw32(bp, B44_DMATX_ADDR, bp->tx_ring_dma + bp->dma_offset); in b44_init_hw()
1412 bw32(bp, B44_DMARX_ADDR, bp->rx_ring_dma + bp->dma_offset); in b44_init_hw()
1415 bp->rx_prod = bp->rx_pending; in b44_init_hw()
2018 __b44_set_flow_ctrl(bp, bp->flags); in b44_set_pauseparam()
[all …]
/openbmc/linux/drivers/net/fddi/
H A Ddefxx.c660 bp->kmalloced, bp->kmalloced_dma); in dfx_register()
1481 memset(bp->uc_table, 0, sizeof(bp->uc_table)); in dfx_open()
1482 memset(bp->mc_table, 0, sizeof(bp->mc_table)); in dfx_open()
2083 bp->stats.gen.rx_bytes = bp->rcv_total_bytes; in dfx_ctl_get_stats()
2084 bp->stats.gen.tx_bytes = bp->xmt_total_bytes; in dfx_ctl_get_stats()
2085 bp->stats.gen.rx_errors = bp->rcv_crc_errors + in dfx_ctl_get_stats()
2089 bp->stats.gen.rx_dropped = bp->rcv_discards; in dfx_ctl_get_stats()
2090 bp->stats.gen.tx_dropped = bp->xmt_discards; in dfx_ctl_get_stats()
2638 bp->descr_block_virt->cmd_rsp[bp->cmd_rsp_reg.index.prod].long_1 = bp->cmd_rsp_phys; in dfx_hw_dma_cmd_req()
2650 bp->descr_block_virt->cmd_req[bp->cmd_req_reg.index.prod].long_1 = bp->cmd_req_phys; in dfx_hw_dma_cmd_req()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c923 struct bnxt *bp = bnapi->bp; in bnxt_reuse_rx_agg_bufs() local
1215 struct bnxt *bp = bnapi->bp; in bnxt_copy_skb() local
2266 netif_warn(bp, hw, bp->dev, in bnxt_async_event_process()
2439 struct bnxt *bp = bnapi->bp; in bnxt_msix() local
2463 struct bnxt *bp = bnapi->bp; in bnxt_inta() local
4533 bp->bnapi[i]->bp = bp; in bnxt_alloc_mem()
7630 ptp->bp = bp; in __bnxt_hwrm_ptp_qcfg()
8120 bp->max_q = bp->max_tc; in bnxt_hwrm_queue_qportcfg()
8749 if (BNXT_VF(bp) && !bp->vf.vlan && !bnxt_is_trusted_vf(bp, &bp->vf)) in bnxt_promisc_ok()
12879 bp, bp, true); in bnxt_setup_tc()
[all …]
H A Dbnxt_dcb.c92 hwrm_req_drop(bp, req); in bnxt_hwrm_queue_pri2cos_qcfg()
196 int max = bp->max_tc; in bnxt_queue_remap()
230 if (bp->ieee_ets) { in bnxt_queue_remap()
235 rc = bnxt_hwrm_queue_cos2bw_cfg(bp, bp->ieee_ets, tc); in bnxt_queue_remap()
240 rc = bnxt_hwrm_queue_pri2cos_cfg(bp, bp->ieee_ets); in bnxt_queue_remap()
421 if (bp->hwrm_spec_code < 0x10800 || BNXT_VF(bp)) in bnxt_hwrm_queue_dscp_qcaps()
512 *tc = bp->max_tc; in bnxt_ets_validate()
727 return bp->dcbx_cap; in bnxt_dcbnl_getdcbx()
739 if (BNXT_VF(bp) || (bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcbnl_setdcbx()
768 bp->dcbx_cap = 0; in bnxt_dcb_init()
[all …]
H A Dbnxt_sriov.c134 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_is_trusted_vf()
373 vf = &bp->pf.vf[i]; in bnxt_set_vf_attr()
418 kfree(bp->pf.vf); in bnxt_free_vf_resources()
419 bp->pf.vf = NULL; in bnxt_free_vf_resources()
428 if (!bp->pf.vf) in bnxt_alloc_vf_resources()
832 devl_lock(bp->dl); in bnxt_sriov_enable()
867 devl_lock(bp->dl); in bnxt_sriov_disable()
1165 bnxt_vf_req_validate_snd(bp, &bp->pf.vf[vf_id]); in bnxt_hwrm_exec_fwd_req()
1175 if (!BNXT_VF(bp)) in bnxt_approve_mac()
1236 eth_hw_addr_set(bp->dev, bp->vf.mac_addr); in bnxt_update_vf_mac()
[all …]
/openbmc/linux/drivers/sbus/char/
H A Dbbc_i2c.c98 client->bp = bp; in bbc_i2c_attach()
117 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local
153 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_writeb() local
184 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_readb() local
289 writeb(bp->own, bp->i2c_control_regs + 0x1); in reset_one_i2c()
291 writeb(bp->clock, bp->i2c_control_regs + 0x1); in reset_one_i2c()
301 bp = kzalloc(sizeof(*bp), GFP_KERNEL); in attach_one_i2c()
302 if (!bp) in attach_one_i2c()
341 bp->own = readb(bp->i2c_control_regs + 0x01); in attach_one_i2c()
343 bp->clock = readb(bp->i2c_control_regs + 0x01); in attach_one_i2c()
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
529 struct bigmac *bp = from_timer(bp, t, bigmac_timer); in bigmac_timer() local
589 bp->sw_bmsr = bigmac_tcvr_read(bp, tregs, MII_BMSR); in bigmac_begin_auto_negotiation()
590 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in bigmac_begin_auto_negotiation()
594 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in bigmac_begin_auto_negotiation()
596 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in bigmac_begin_auto_negotiation()
608 bp->sw_bmcr = bigmac_tcvr_read(bp, tregs, MII_BMCR); in bigmac_begin_auto_negotiation()
612 bigmac_tcvr_write(bp, tregs, MII_BMCR, bp->sw_bmcr); in bigmac_begin_auto_negotiation()
989 bigmac_get_counters(bp, bp->bregs); in bigmac_get_stats()
1050 bp->sw_bmsr = bigmac_tcvr_read(bp, bp->tregs, MII_BMSR); in bigmac_get_link()
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c105 bp, in pvr2_buffer_describe()
107 (bp ? bp->id : 0), in pvr2_buffer_describe()
108 (bp ? bp->status : 0), in pvr2_buffer_describe()
109 (bp ? bp->stream : NULL), in pvr2_buffer_describe()
110 (bp ? bp->purb : NULL), in pvr2_buffer_describe()
111 (bp ? bp->signature : 0)); in pvr2_buffer_describe()
157 bp, in pvr2_buffer_set_none()
251 memset(bp, 0, sizeof(*bp)); in pvr2_buffer_init()
314 bp = kmalloc(sizeof(*bp), GFP_KERNEL); in pvr2_stream_buffer_count()
644 bp->stream->i_bcount -= bp->max_count; in pvr2_buffer_set_buffer()
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_bp.c42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype()
53 bp->bph_length = 1; in kdb_parsebp()
97 if (!bp->bp_type) in _kdb_bp_remove()
102 bp->bp_type); in _kdb_bp_remove()
121 bp->bp_delay = 0; in kdb_handle_bp()
139 if (bp->bp_delay || (bp->bp_delayed && KDB_STATE(DOING_SS))) { in _kdb_bp_install()
150 bp->bp_type); in _kdb_bp_install()
250 bp->bp_addr, bp->bp_type, bp->bp_installed); in kdb_printbp()
359 *bp = template; in kdb_bp()
578 kdb_bp_t *bp; in kdb_initbptab() local
[all …]
/openbmc/u-boot/include/zfs/
H A Dspa.h178 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8) argument
181 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument
184 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
185 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
187 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument
193 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument
200 ((bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth)
214 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
252 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0]) argument
253 #define BP_IS_GANG(bp) DVA_GET_GANG(BP_IDENTITY(bp)) argument
[all …]
/openbmc/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c974 bp->mii_bus->priv = bp; in macb_mii_init()
1234 struct macb *bp = queue->bp; in macb_tx_complete() local
1309 struct macb *bp = queue->bp; in gem_rx_refill() local
1391 struct macb *bp = queue->bp; in gem_rx() local
1487 struct macb *bp = queue->bp; in macb_rx_frame() local
1563 struct macb *bp = queue->bp; in macb_init_rx_ring() local
1582 struct macb *bp = queue->bp; in macb_rx() local
4072 queue->bp = bp; in macb_init()
4574 bp->queues[0].bp = bp; in at91ether_init()
5177 macb_clks_disable(bp->pclk, bp->hclk, bp->tx_clk, in macb_remove()
[all …]
H A Dmacb_ptp.c95 gem_writel(bp, TN, ns); in gem_tsu_set_time()
210 bp->tsu_incr.ns = div_u64_rem(NSEC_PER_SEC, bp->tsu_rate, &rem); in gem_ptp_init_timer()
214 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate); in gem_ptp_init_timer()
231 gem_tsu_incr_set(bp, &bp->tsu_incr); in gem_ptp_init_tsu()
233 gem_writel(bp, TA, 0); in gem_ptp_init_tsu()
239 bp->tsu_incr.ns = 0; in gem_ptp_clear_timer()
332 bp->tsu_rate = bp->ptp_info->get_tsu_rate(bp); in gem_ptp_init()
333 bp->ptp_clock_info.max_adj = bp->ptp_info->get_ptp_max_adj(); in gem_ptp_init()
335 bp->ptp_clock = ptp_clock_register(&bp->ptp_clock_info, &dev->dev); in gem_ptp_init()
348 gem_ptp_init_tsu(bp); in gem_ptp_init()
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Ddnet.c226 bp->speed = 0; in dnet_handle_link_change()
227 bp->duplex = -1; in dnet_handle_link_change()
290 bp->link = 0; in dnet_mii_probe()
291 bp->speed = 0; in dnet_mii_probe()
292 bp->duplex = -1; in dnet_mii_probe()
310 bp->pdev->name, bp->pdev->id); in dnet_mii_init()
312 bp->mii_bus->priv = bp; in dnet_mii_init()
754 struct dnet *bp; in dnet_probe() local
769 bp->dev = dev; in dnet_probe()
796 bp->capabilities = dnet_readl(bp, VERCAPS) & DNET_CAPS_MASK; in dnet_probe()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dskfddi.c396 bp->LocalRxBuffer = dma_alloc_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, in skfp_driver_init()
411 bp->SharedMemAddr = dma_alloc_coherent(&bp->pdev.dev, in skfp_driver_init()
453 bp->LocalRxBuffer, bp->LocalRxBufferDMA); in skfp_driver_init()
609 skfddi_priv *bp; in skfp_interrupt() local
612 bp = &smc->os; in skfp_interrupt()
692 bp->stats.smt_mac_cts = bp->cmd_rsp_virt->smt_mib_get.smt_mac_ct; in skfp_ctl_get_stats()
723 bp->stats.mac_t_req = bp->cmd_rsp_virt->smt_mib_get.mac_t_req; in skfp_ctl_get_stats()
724 bp->stats.mac_t_neg = bp->cmd_rsp_virt->smt_mib_get.mac_t_neg; in skfp_ctl_get_stats()
725 bp->stats.mac_t_max = bp->cmd_rsp_virt->smt_mib_get.mac_t_max; in skfp_ctl_get_stats()
730 bp->stats.mac_da_flag = bp->cmd_rsp_virt->smt_mib_get.mac_da_flag; in skfp_ctl_get_stats()
[all …]

12345678910>>...26