| /linux/fs/overlayfs/ |
| H A D | super.c | 227 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() local 229 if (ofs) in ovl_put_super() 230 ovl_free_fs(ofs); in ovl_put_super() 236 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() local 240 ret = ovl_sync_status(ofs); in ovl_sync_fs() 259 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs() 279 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() local 288 buf->f_namelen = ofs->namelen; in ovl_statfs() 290 if (ovl_has_fsid(ofs)) in ovl_statfs() 311 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() argument [all …]
|
| H A D | params.c | 281 struct ovl_fs *ofs = fc->s_fs_info; in ovl_mount_dir_check() local 291 ofs->casefold = is_casefolded; in ovl_mount_dir_check() 295 if (ofs->casefold != is_casefolded) { in ovl_mount_dir_check() 348 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() local 349 struct ovl_config *config = &ofs->config; in ovl_add_layer() 597 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() local 598 struct ovl_config *config = &ofs->config; in ovl_parse_param() 678 swap(cred, ofs->creator_cred); in ovl_parse_param() 690 swap(cred, ofs->creator_cred); in ovl_parse_param() 722 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() local [all …]
|
| H A D | namei.c | 40 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local 43 buf = ovl_get_redirect_xattr(ofs, path, prelen + strlen(post)); in ovl_check_redirect() 117 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() argument 123 res = ovl_getxattr_upper(ofs, upperdentry, ox, NULL, 0); in ovl_get_fh() 137 res = ovl_getxattr_upper(ofs, upperdentry, ox, fh->buf, res); in ovl_get_fh() 162 bool ovl_uuid_match(struct ovl_fs *ofs, const struct super_block *sb, in ovl_uuid_match() argument 170 return ovl_origin_uuid(ofs) ? uuid_equal(uuid, &sb->s_uuid) : in ovl_uuid_match() 174 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() argument 183 if (!ovl_uuid_match(ofs, mnt->mnt_sb, &fh->fb.uuid)) in ovl_decode_real_fh() 238 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_lookup_single() local [all …]
|
| H A D | util.c | 24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() local 25 return mnt_get_write_access(ovl_upper_mnt(ofs)); in ovl_get_write_access() 31 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() local 32 sb_start_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_start_write() 37 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() local 38 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write() 43 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access() local 44 mnt_put_write_access(ovl_upper_mnt(ofs)); in ovl_put_write_access() 49 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write() local 50 sb_end_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_end_write() [all …]
|
| H A D | dir.c | 27 static int ovl_cleanup_locked(struct ovl_fs *ofs, struct inode *wdir, in ovl_cleanup_locked() argument 34 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup_locked() 36 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup_locked() 47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() argument 54 ovl_cleanup_locked(ofs, workdir->d_inode, wdentry); in ovl_cleanup() 68 static struct dentry *ovl_start_creating_temp(struct ovl_fs *ofs, in ovl_start_creating_temp() argument 74 return start_creating(ovl_upper_mnt_idmap(ofs), workdir, in ovl_start_creating_temp() 78 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() argument 82 struct dentry *workdir = ofs->workdir; in ovl_whiteout() 85 guard(mutex)(&ofs->whiteout_lock); in ovl_whiteout() [all …]
|
| H A D | copy_up.c | 46 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl() argument 68 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl() 260 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file() argument 361 if (!error && ovl_should_sync(ofs) && datasync) in ovl_copy_up_file() 368 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() argument 376 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_size() 379 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps() argument 389 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_timestamps() 392 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr() argument 402 err = ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_attr() [all …]
|
| H A D | ovl_entry.h | 98 static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs) in ovl_numlowerlayer() argument 100 return ofs->numlayer - ofs->numdatalayer - 1; in ovl_numlowerlayer() 103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt() argument 105 return ofs->layers[0].mnt; in ovl_upper_mnt() 108 static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs) in ovl_upper_mnt_idmap() argument 110 return mnt_idmap(ovl_upper_mnt(ofs)); in ovl_upper_mnt_idmap() 123 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync() argument 125 return !ofs->config.ovl_volatile; in ovl_should_sync()
|
| H A D | readdir.c | 316 struct ovl_fs *ofs = OVL_FS(rdd->dentry->d_sb); in ovl_fill_merge() local 321 if (ofs->casefold) in ovl_fill_merge() 438 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_dir_read_merged() local 443 if (ofs->casefold) in ovl_dir_read_merged() 555 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_cache_update() local 559 int xinobits = ovl_xino_bits(ofs); in ovl_cache_update() 562 if (!ovl_same_dev(ofs) && !p->check_xwhiteout) in ovl_cache_update() 590 if (!ovl_same_dev(ofs) || !update_ino) in ovl_cache_update() 615 ovl_xino_warn(ofs)); in ovl_cache_update() 698 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() local [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_sai.h | 24 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ argument 25 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ argument 26 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ argument 27 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ argument 28 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SA argument 29 FSL_SAI_TCR5(ofs) global() argument 51 FSL_SAI_RCSR(ofs) global() argument 52 FSL_SAI_RCR1(ofs) global() argument 53 FSL_SAI_RCR2(ofs) global() argument 54 FSL_SAI_RCR3(ofs) global() argument 55 FSL_SAI_RCR4(ofs) global() argument 56 FSL_SAI_RCR5(ofs) global() argument 82 FSL_SAI_xCSR(tx,ofs) global() argument 83 FSL_SAI_xCR1(tx,ofs) global() argument 84 FSL_SAI_xCR2(tx,ofs) global() argument 85 FSL_SAI_xCR3(tx,ofs) global() argument 86 FSL_SAI_xCR4(tx,ofs) global() argument 87 FSL_SAI_xCR5(tx,ofs) global() argument [all...] |
| H A D | fsl_sai.c | 90 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() local 103 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 130 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr() 134 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr() 161 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr() 224 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local 244 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr() 309 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local 409 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr() 411 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr() [all …]
|
| /linux/fs/jffs2/ |
| H A D | scan.c | 47 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s); 49 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s); 293 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf() argument 298 ret = jffs2_flash_read(c, ofs, len, &retlen, buf); in jffs2_fill_scan_buf() 301 len, ofs, ret); in jffs2_fill_scan_buf() 306 ofs, retlen); in jffs2_fill_scan_buf() 333 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument 343 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 356 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node() 368 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node() [all …]
|
| H A D | nodelist.c | 66 if (frag && frag->ofs != size) { in jffs2_truncate_fragtree() 67 if (frag->ofs+frag->size > size) { in jffs2_truncate_fragtree() 68 frag->size = size - frag->ofs; in jffs2_truncate_fragtree() 72 while (frag && frag->ofs >= size) { in jffs2_truncate_fragtree() 88 if (frag->ofs + frag->size < size) in jffs2_truncate_fragtree() 89 return frag->ofs + frag->size; in jffs2_truncate_fragtree() 93 if (frag->node && (frag->ofs & (PAGE_SIZE - 1)) == 0) { in jffs2_truncate_fragtree() 95 frag->ofs, frag->ofs + frag->size); in jffs2_truncate_fragtree() 109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag() 114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag() [all …]
|
| H A D | read.c | 25 int ofs, int len) in jffs2_read_dnode() argument 71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode() 73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode() 143 memcpy(buf, decomprbuf+ofs, len); in jffs2_read_dnode() 177 if (unlikely(!frag || frag->ofs > offset || in jffs2_read_inode_range() 178 frag->ofs + frag->size <= offset)) { in jffs2_read_inode_range() 180 if (frag && frag->ofs > offset) { in jffs2_read_inode_range() 182 f->inocache->ino, frag->ofs, offset); in jffs2_read_inode_range() 183 holesize = min(holesize, frag->ofs - offset); in jffs2_read_inode_range() 192 uint32_t holeend = min(end, frag->ofs + frag->size); in jffs2_read_inode_range() [all …]
|
| H A D | readinode.c | 37 uint32_t crc, ofs, len; in check_node_data() local 43 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode); in check_node_data() 47 int adj = ofs % c->wbuf_pagesize; in check_node_data() 53 ref_offset(ref), tn->csize, ofs); in check_node_data() 57 ofs += adj; in check_node_data() 62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data() 67 err = mtd_point(c->mtd, ofs, len, &retlen, (void **)&buffer, NULL); in check_node_data() 70 mtd_unpoint(c->mtd, ofs, retlen); in check_node_data() 85 err = jffs2_flash_read(c, ofs, len, &retlen, buffer); in check_node_data() 87 JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ofs, err); in check_node_data() [all …]
|
| H A D | compr_rubin.c | 33 unsigned int ofs; member 48 unsigned buflen, unsigned ofs, in init_pushpull() argument 53 pp->ofs = ofs; in init_pushpull() 59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit() 63 pp->buf[pp->ofs >> 3] |= (1<<(7-(pp->ofs & 7))); in pushbit() 65 pp->buf[pp->ofs >> 3] &= ~(1<<(7-(pp->ofs & 7))); in pushbit() 67 pp->ofs++; in pushbit() 74 return pp->ofs; in pushedbits() 81 bit = (pp->buf[pp->ofs >> 3] >> (7-(pp->ofs & 7))) & 1; in pullbit() 83 pp->ofs++; in pullbit()
|
| /linux/fs/smb/server/ |
| H A D | asn1.c | 59 static void encode_asn_tag(char *buf, unsigned int *ofs, char tag, char seq, in encode_asn_tag() argument 63 int index = *ofs; in encode_asn_tag() 79 len = len - (index - *ofs); in encode_asn_tag() 90 *ofs += (index - *ofs); in encode_asn_tag() 97 unsigned int ofs = 0; in build_spnego_ntlmssp_neg_blob() local 112 encode_asn_tag(buf, &ofs, 0xa1, 0x30, neg_result_len + oid_len + in build_spnego_ntlmssp_neg_blob() 116 encode_asn_tag(buf, &ofs, 0xa0, 0x0a, 1); in build_spnego_ntlmssp_neg_blob() 117 buf[ofs++] = 1; in build_spnego_ntlmssp_neg_blob() 120 encode_asn_tag(buf, &ofs, 0xa1, 0x06, NTLMSSP_OID_LEN); in build_spnego_ntlmssp_neg_blob() 121 memcpy(buf + ofs, NTLMSSP_OID_STR, NTLMSSP_OID_LEN); in build_spnego_ntlmssp_neg_blob() [all …]
|
| /linux/drivers/media/pci/pt3/ |
| H A D | pt3_dma.c | 61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) in next_unit() argument 63 *ofs += PT3_ACCESS_UNIT; in next_unit() 64 if (*ofs >= DATA_BUF_SZ) { in next_unit() 65 *ofs -= DATA_BUF_SZ; in next_unit() 70 return &adap->buffer[*idx].data[*ofs]; in next_unit() 75 int idx, ofs; in pt3_proc_dma() local 78 ofs = adap->buf_ofs; in pt3_proc_dma() 80 if (adap->buffer[idx].data[ofs] == PT3_BUF_CANARY) in pt3_proc_dma() 83 while (*next_unit(adap, &idx, &ofs) != PT3_BUF_CANARY) { in pt3_proc_dma() 93 adap->buffer[idx].data, ofs / TS_PACKET_SZ); in pt3_proc_dma() [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| H A D | tie-asm.h | 36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 37 xchal_sa_start \continue, \ofs 63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 64 xchal_sa_start \continue, \ofs 97 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 98 xchal_sa_start \continue, \ofs 133 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 134 xchal_sa_start \continue, \ofs 167 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm [all …]
|
| /linux/drivers/mtd/maps/ |
| H A D | pci.c | 25 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); 33 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); 37 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() argument 41 val.x[0]= readb(map->base + map->translate(map, ofs)); in mtd_pci_read8() 45 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() argument 49 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32() 59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() argument 62 writeb(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write8() 65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() argument 68 writel(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write32() [all …]
|
| /linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
| H A D | tie-asm.h | 76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 77 xchal_sa_start \continue, \ofs 142 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 143 xchal_sa_start \continue, \ofs 201 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 202 xchal_sa_start \continue, \ofs 249 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 250 xchal_sa_start \continue, \ofs 292 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 293 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm [all …]
|
| /linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
| H A D | tie-asm.h | 77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 78 xchal_sa_start \continue, \ofs 143 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 144 xchal_sa_start \continue, \ofs 205 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 206 xchal_sa_start \continue, \ofs 262 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 263 xchal_sa_start \continue, \ofs 313 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 314 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm [all …]
|
| /linux/drivers/net/arcnet/ |
| H A D | arc-rawmode.c | 45 int ofs; in rx() local 50 ofs = 512 - length; in rx() 52 ofs = 256 - length; in rx() 70 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 118 int ofs; in prepare_tx() local 134 hard->offset[1] = ofs = 512 - length; in prepare_tx() 137 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx() 139 hard->offset[0] = ofs = 256 - length; in prepare_tx() 143 length, ofs); in prepare_tx() 146 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
| H A D | capmode.c | 49 int ofs; in rx() local 55 ofs = 512 - length; in rx() 57 ofs = 256 - length; in rx() 83 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 137 int ofs; in prepare_tx() local 158 hard->offset[1] = ofs = 512 - length; in prepare_tx() 161 hard->offset[1] = ofs = 512 - length - 3; in prepare_tx() 163 hard->offset[0] = ofs = 256 - length; in prepare_tx() 167 length, ofs); in prepare_tx() 171 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, in prepare_tx() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | irq_txx9.c | 70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask() local 72 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_unmask() 73 | (txx9irq[irq_nr].level << ofs), in txx9_irq_unmask() 81 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask() local 83 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_mask() 84 | (irc_dlevel << ofs), in txx9_irq_mask() 104 int ofs; in txx9_irq_set_type() local 119 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type() 120 cr &= ~(0x3 << ofs); in txx9_irq_set_type() 121 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type()
|
| /linux/drivers/mtd/lpddr/ |
| H A D | lpddr_cmds.c | 26 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 27 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 537 unsigned long ofs, last_end = 0; in lpddr_point() local 545 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point() 546 *mtdbuf = (void *)map->virt + chip->start + ofs; in lpddr_point() 560 if ((len + ofs - 1) >> lpddr->chipshift) in lpddr_point() 561 thislen = (1UL << lpddr->chipshift) - ofs; in lpddr_point() 576 ofs = 0; in lpddr_point() 589 unsigned long ofs; in lpddr_unpoint() local 592 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_unpoint() [all …]
|