Searched refs:sblk (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/fs/squashfs/ |
D | super.c | 71 struct squashfs_super_block *sblk = NULL; in squashfs_fill_super() local 99 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super() 100 sblk = squashfs_read_table(sb, SQUASHFS_START, sizeof(*sblk)); in squashfs_fill_super() 102 if (IS_ERR(sblk)) { in squashfs_fill_super() 104 err = PTR_ERR(sblk); in squashfs_fill_super() 105 sblk = NULL; in squashfs_fill_super() 112 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 123 le16_to_cpu(sblk->s_major), in squashfs_fill_super() 124 le16_to_cpu(sblk->s_minor), in squashfs_fill_super() 125 le16_to_cpu(sblk->compression)); in squashfs_fill_super() [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_lm.c | 56 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()
|
D | dpu_plane.c | 1320 const struct dpu_sspp_sub_blks *sblk = cfg->sblk; in _dpu_plane_init_debugfs() local 1333 sblk->src_blk.base + cfg->base, in _dpu_plane_init_debugfs() 1334 sblk->src_blk.len, in _dpu_plane_init_debugfs() 1342 sblk->scaler_blk.base + cfg->base, in _dpu_plane_init_debugfs() 1343 sblk->scaler_blk.len, in _dpu_plane_init_debugfs() 1357 sblk->csc_blk.base + cfg->base, in _dpu_plane_init_debugfs() 1358 sblk->csc_blk.len, in _dpu_plane_init_debugfs() 1375 (u32 *) &sblk->creq_vblank); in _dpu_plane_init_debugfs() 1379 (u32 *) &sblk->danger_vblank); in _dpu_plane_init_debugfs() 1494 } else if (!pdpu->pipe_hw->cap || !pdpu->pipe_hw->cap->sblk) { in dpu_plane_init() [all …]
|
D | dpu_hw_sspp.c | 140 const struct dpu_sspp_sub_blks *sblk = ctx->cap->sblk; in _sspp_subblk_offset() local 147 *idx = sblk->src_blk.base; in _sspp_subblk_offset() 152 *idx = sblk->scaler_blk.base; in _sspp_subblk_offset() 156 *idx = sblk->csc_blk.base; in _sspp_subblk_offset() 407 || !scaler3_cfg || !ctx || !ctx->cap || !ctx->cap->sblk) in _dpu_hw_sspp_setup_scaler3() 411 ctx->cap->sblk->scaler_blk.version, in _dpu_hw_sspp_setup_scaler3()
|
D | dpu_hw_catalog.c | 181 .sblk = &_sblk, \ 223 .sblk = &sdm845_lm_sblk, \ 257 .sblk = &sdm845_pp_sblk_te \ 264 .sblk = &sdm845_pp_sblk \
|
D | dpu_hw_catalog.h | 446 const struct dpu_sspp_sub_blks *sblk; member 463 const struct dpu_lm_sub_blks *sblk; member 477 const struct dpu_pingpong_sub_blks *sblk; member
|
D | dpu_rm.c | 233 rm->lm_max_width = lm->sblk->maxwidth; in dpu_rm_init() 234 } else if (rm->lm_max_width != lm->sblk->maxwidth) { in dpu_rm_init() 240 if (rm->lm_max_width > lm->sblk->maxwidth) in dpu_rm_init() 241 rm->lm_max_width = lm->sblk->maxwidth; in dpu_rm_init()
|
D | dpu_hw_ctl.c | 59 stages = mixer[i].sblk->maxblendstages; in _mixer_stages()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 895 struct status_block_msix *sblk; in bnx2_alloc_mem() local 899 sblk = (bp->status_blk + BNX2_SBLK_MSIX_ALIGN_SIZE * i); in bnx2_alloc_mem() 900 bnapi->status_blk.msix = sblk; in bnx2_alloc_mem() 902 &sblk->status_tx_quick_consumer_index; in bnx2_alloc_mem() 904 &sblk->status_rx_quick_consumer_index; in bnx2_alloc_mem() 2804 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_phy_event_is_set() local 2808 new_link_state = sblk->status_attn_bits & event; in bnx2_phy_event_is_set() 2809 old_link_state = sblk->status_attn_bits_ack & event; in bnx2_phy_event_is_set() 3357 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_interrupt() local 3365 if ((sblk->status_idx == bnapi->last_status_idx) && in bnx2_interrupt() [all …]
|
D | cnic.c | 3005 struct status_block *sblk = status_blk; in cnic_service_bnx2() local 3007 return sblk->status_idx; in cnic_service_bnx2() 4482 struct status_block *sblk = cp->status_blk.gen; in cnic_init_bnx2_irq() local 4486 while (sblk->status_completion_producer_index && i < 10) { in cnic_init_bnx2_irq() 4493 if (sblk->status_completion_producer_index) in cnic_init_bnx2_irq() 4546 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_tx_ring() local 4551 cp->tx_cons_ptr = &sblk->status_tx_quick_consumer_index; in cnic_init_bnx2_tx_ring() 4614 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_rx_ring() local 4616 cp->rx_cons_ptr = &sblk->status_rx_quick_consumer_index; in cnic_init_bnx2_rx_ring() 4713 struct status_block *sblk = cp->status_blk.gen; in cnic_start_bnx2_hw() local [all …]
|
D | tg3.c | 1045 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work() local 1050 if (sblk->status & SD_STATUS_LINK_CHG) in tg3_has_work() 1055 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work() 7027 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link() local 7029 if (sblk->status & SD_STATUS_LINK_CHG) { in tg3_poll_link() 7030 sblk->status = SD_STATUS_UPDATED | in tg3_poll_link() 7031 (sblk->status & ~SD_STATUS_LINK_CHG); in tg3_poll_link() 7240 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix() local 7255 tnapi->last_tag = sblk->status_tag; in tg3_poll_msix() 7260 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix() [all …]
|