Home
last modified time | relevance | path

Searched refs:sblk (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/fs/squashfs/
Dsuper.c119 struct squashfs_super_block *sblk = NULL; in squashfs_fill_super() local
149 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
150 sblk = squashfs_read_table(sb, SQUASHFS_START, sizeof(*sblk)); in squashfs_fill_super()
152 if (IS_ERR(sblk)) { in squashfs_fill_super()
154 err = PTR_ERR(sblk); in squashfs_fill_super()
155 sblk = NULL; in squashfs_fill_super()
162 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
173 le16_to_cpu(sblk->s_major), in squashfs_fill_super()
174 le16_to_cpu(sblk->s_minor), in squashfs_fill_super()
175 le16_to_cpu(sblk->compression)); in squashfs_fill_super()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c56 const struct dpu_lm_sub_blks *sblk = ctx->cap->sblk; in _stage_offset() local
57 if (stage != DPU_STAGE_BASE && stage <= sblk->maxblendstages) in _stage_offset()
58 return sblk->blendstage_base[stage - DPU_STAGE_0]; in _stage_offset()
Ddpu_hw_catalog.h490 const struct dpu_sspp_sub_blks *sblk; member
507 const struct dpu_lm_sub_blks *sblk; member
523 const struct dpu_dspp_sub_blks *sblk; member
540 const struct dpu_pingpong_sub_blks *sblk; member
553 const struct dpu_merge_3d_sub_blks *sblk; member
Ddpu_hw_sspp.c141 const struct dpu_sspp_sub_blks *sblk = ctx->cap->sblk; in _sspp_subblk_offset() local
148 *idx = sblk->src_blk.base; in _sspp_subblk_offset()
153 *idx = sblk->scaler_blk.base; in _sspp_subblk_offset()
157 *idx = sblk->csc_blk.base; in _sspp_subblk_offset()
422 || !scaler3_cfg || !ctx || !ctx->cap || !ctx->cap->sblk) in _dpu_hw_sspp_setup_scaler3()
426 ctx->cap->sblk->scaler_blk.version, in _dpu_hw_sspp_setup_scaler3()
Ddpu_plane.c1431 const struct dpu_sspp_sub_blks *sblk = cfg->sblk; in _dpu_plane_init_debugfs() local
1444 sblk->src_blk.base + cfg->base, in _dpu_plane_init_debugfs()
1445 sblk->src_blk.len, in _dpu_plane_init_debugfs()
1455 sblk->scaler_blk.base + cfg->base, in _dpu_plane_init_debugfs()
1456 sblk->scaler_blk.len, in _dpu_plane_init_debugfs()
1470 sblk->csc_blk.base + cfg->base, in _dpu_plane_init_debugfs()
1471 sblk->csc_blk.len, in _dpu_plane_init_debugfs()
1488 (u32 *) &sblk->creq_vblank); in _dpu_plane_init_debugfs()
1492 (u32 *) &sblk->danger_vblank); in _dpu_plane_init_debugfs()
1607 } else if (!pdpu->pipe_hw->cap || !pdpu->pipe_hw->cap->sblk) { in dpu_plane_init()
[all …]
Ddpu_rm.c119 rm->lm_max_width = lm->sblk->maxwidth; in dpu_rm_init()
120 } else if (rm->lm_max_width != lm->sblk->maxwidth) { in dpu_rm_init()
126 if (rm->lm_max_width > lm->sblk->maxwidth) in dpu_rm_init()
127 rm->lm_max_width = lm->sblk->maxwidth; in dpu_rm_init()
Ddpu_hw_catalog.c520 .sblk = &_sblk, \
618 .sblk = _sblk, \
700 .sblk = _sblk \
745 .sblk = &_sblk, \
755 .sblk = &_sblk, \
809 .sblk = NULL \
Ddpu_hw_dspp.c29 u32 base = ctx->cap->sblk->pcc.base; in dpu_setup_dspp_pcc()
Ddpu_hw_pingpong.c70 base = pp->caps->sblk->dither.base; in dpu_hw_pp_setup_dither()
Ddpu_hw_ctl.c72 stages = mixer[i].sblk->maxblendstages; in _mixer_stages()
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbnx2.c889 struct status_block_msix *sblk; in bnx2_alloc_mem() local
893 sblk = (bp->status_blk + BNX2_SBLK_MSIX_ALIGN_SIZE * i); in bnx2_alloc_mem()
894 bnapi->status_blk.msix = sblk; in bnx2_alloc_mem()
896 &sblk->status_tx_quick_consumer_index; in bnx2_alloc_mem()
898 &sblk->status_rx_quick_consumer_index; in bnx2_alloc_mem()
2798 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_phy_event_is_set() local
2802 new_link_state = sblk->status_attn_bits & event; in bnx2_phy_event_is_set()
2803 old_link_state = sblk->status_attn_bits_ack & event; in bnx2_phy_event_is_set()
3351 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_interrupt() local
3359 if ((sblk->status_idx == bnapi->last_status_idx) && in bnx2_interrupt()
[all …]
Dcnic.c3004 struct status_block *sblk = status_blk; in cnic_service_bnx2() local
3006 return sblk->status_idx; in cnic_service_bnx2()
4480 struct status_block *sblk = cp->status_blk.gen; in cnic_init_bnx2_irq() local
4484 while (sblk->status_completion_producer_index && i < 10) { in cnic_init_bnx2_irq()
4491 if (sblk->status_completion_producer_index) in cnic_init_bnx2_irq()
4544 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_tx_ring() local
4549 cp->tx_cons_ptr = &sblk->status_tx_quick_consumer_index; in cnic_init_bnx2_tx_ring()
4612 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_rx_ring() local
4614 cp->rx_cons_ptr = &sblk->status_rx_quick_consumer_index; in cnic_init_bnx2_rx_ring()
4711 struct status_block *sblk = cp->status_blk.gen; in cnic_start_bnx2_hw() local
[all …]
Dtg3.c1039 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work() local
1044 if (sblk->status & SD_STATUS_LINK_CHG) in tg3_has_work()
1049 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
7013 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link() local
7015 if (sblk->status & SD_STATUS_LINK_CHG) { in tg3_poll_link()
7016 sblk->status = SD_STATUS_UPDATED | in tg3_poll_link()
7017 (sblk->status & ~SD_STATUS_LINK_CHG); in tg3_poll_link()
7226 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix() local
7241 tnapi->last_tag = sblk->status_tag; in tg3_poll_msix()
7246 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
[all …]