| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | super.c | 221 static void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() argument 226 iput(ofs->workbasedir_trap); in ovl_free_fs() 227 iput(ofs->indexdir_trap); in ovl_free_fs() 228 iput(ofs->workdir_trap); in ovl_free_fs() 229 dput(ofs->whiteout); in ovl_free_fs() 230 dput(ofs->indexdir); in ovl_free_fs() 231 dput(ofs->workdir); in ovl_free_fs() 232 if (ofs->workdir_locked) in ovl_free_fs() 233 ovl_inuse_unlock(ofs->workbasedir); in ovl_free_fs() 234 dput(ofs->workbasedir); in ovl_free_fs() [all …]
|
| H A D | util.c | 20 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write() local 21 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write() 26 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write() local 27 mnt_drop_write(ovl_upper_mnt(ofs)); in ovl_drop_write() 32 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir() local 33 return ofs->workdir; in ovl_workdir() 38 struct ovl_fs *ofs = sb->s_fs_info; in ovl_override_creds() local 40 if (!ofs->config.override_creds) in ovl_override_creds() 42 return override_creds(ofs->creator_cred); in ovl_override_creds() 69 struct ovl_fs *ofs = sb->s_fs_info; in ovl_indexdir() local [all …]
|
| H A D | namei.c | 33 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local 35 buf = ovl_get_redirect_xattr(ofs, dentry, prelen + strlen(post)); in ovl_check_redirect() 108 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_get_fh() argument 115 res = ovl_do_getxattr(ofs, dentry, ox, NULL, 0); in ovl_get_fh() 129 res = ovl_do_getxattr(ofs, dentry, ox, fh->buf, res); in ovl_get_fh() 343 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh() argument 349 for (i = 1; i < ofs->numlayer; i++) { in ovl_check_origin_fh() 354 if (ofs->layers[i].fsid && in ovl_check_origin_fh() 355 ofs->layers[i].fs->bad_uuid) in ovl_check_origin_fh() 358 origin = ovl_decode_real_fh(fh, ofs->layers[i].mnt, in ovl_check_origin_fh() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | fsl_sai.h | 19 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ argument 20 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ argument 21 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ argument 22 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ argument 23 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SAI Transmit Configuration 4 */ argument 24 #define FSL_SAI_TCR5(ofs) (0x14 + ofs) /* SAI Transmit Configuration 5 */ argument 46 #define FSL_SAI_RCSR(ofs) (0x80 + ofs) /* SAI Receive Control */ argument 47 #define FSL_SAI_RCR1(ofs) (0x84 + ofs)/* SAI Receive Configuration 1 */ argument 48 #define FSL_SAI_RCR2(ofs) (0x88 + ofs) /* SAI Receive Configuration 2 */ argument 49 #define FSL_SAI_RCR3(ofs) (0x8c + ofs) /* SAI Receive Configuration 3 */ argument [all …]
|
| H A D | fsl_sai.c | 61 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() local 74 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 104 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr() 108 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr() 138 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr() 172 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local 193 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr() 226 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local 321 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr() 323 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr() [all …]
|
| /OK3568_Linux_fs/kernel/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); 291 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf() argument 296 ret = jffs2_flash_read(c, ofs, len, &retlen, buf); in jffs2_fill_scan_buf() 299 len, ofs, ret); in jffs2_fill_scan_buf() 304 ofs, retlen); in jffs2_fill_scan_buf() 331 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument 341 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 354 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node() 366 = 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 …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | onenand.c | 67 loff_t ofs = from; in onenand_block_read() local 79 ret = mtd_block_isbad(mtd, ofs); in onenand_block_read() 82 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_read() 83 ofs += blocksize; in onenand_block_read() 93 ret = mtd_read_oob(mtd, ofs, &ops); in onenand_block_read() 95 printk("Read failed 0x%x, %d\n", (u32)ofs, ret); in onenand_block_read() 96 ofs += blocksize; in onenand_block_read() 99 ofs += blocksize; in onenand_block_read() 138 loff_t ofs; in onenand_block_write() local 155 ofs = to; in onenand_block_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | regs.h | 9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument 18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 30 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 52 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument 72 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) argument 80 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument 98 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument 109 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument 149 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument 167 #define MT_WF_AGG(_band, ofs) (MT_WF_AGG_BASE(_band) + (ofs)) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | stm32-usart.c | 104 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 109 stm32_usart_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485() 116 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_usart_config_rs485() 117 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485() 118 usartdiv = readl_relaxed(port->membase + ofs->brr); in stm32_usart_config_rs485() 140 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_config_rs485() 141 writel_relaxed(cr1, port->membase + ofs->cr1); in stm32_usart_config_rs485() 143 stm32_usart_clr_bits(port, ofs->cr3, in stm32_usart_config_rs485() 145 stm32_usart_clr_bits(port, ofs->cr1, in stm32_usart_config_rs485() 149 stm32_usart_set_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | slre.c | 440 loop_greedy(const struct slre *r, int pc, const char *s, int len, int *ofs) in loop_greedy() argument 444 matched_offset = *ofs; in loop_greedy() 446 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_greedy() 447 saved_offset = *ofs; in loop_greedy() 448 if (match(r, pc + r->code[pc + 1], s, len, ofs, NULL)) in loop_greedy() 450 *ofs = saved_offset; in loop_greedy() 453 *ofs = matched_offset; in loop_greedy() 457 loop_non_greedy(const struct slre *r, int pc, const char *s, int len, int *ofs) in loop_non_greedy() argument 459 int saved_offset = *ofs; in loop_non_greedy() 461 while (match(r, pc + 2, s, len, ofs, NULL)) { in loop_non_greedy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-io.h | 64 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 65 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 66 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 67 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 89 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs); 90 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs); 91 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val); 92 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val); 93 void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val); 96 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask); [all …]
|
| H A D | iwl-io.c | 73 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument 75 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 76 iwl_trans_write8(trans, ofs, val); in iwl_write8() 80 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument 82 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32() 83 iwl_trans_write32(trans, ofs, val); in iwl_write32() 87 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() argument 89 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); in iwl_write64() 90 iwl_trans_write32(trans, ofs, lower_32_bits(val)); in iwl_write64() 91 iwl_trans_write32(trans, ofs + 4, upper_32_bits(val)); in iwl_write64() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | iomux.c | 32 u32 reg, ofs, bp, bm; in mxs_iomux_setup_pad() local 37 ofs = 0x100; in mxs_iomux_setup_pad() 38 ofs += PAD_BANK(pad) * 0x20 + PAD_PIN(pad) / 16 * 0x10; in mxs_iomux_setup_pad() 41 reg = readl(iomux_base + ofs); in mxs_iomux_setup_pad() 44 writel(reg, iomux_base + ofs); in mxs_iomux_setup_pad() 47 ofs = DRIVE_OFFSET; in mxs_iomux_setup_pad() 48 ofs += PAD_BANK(pad) * 0x40 + PAD_PIN(pad) / 8 * 0x10; in mxs_iomux_setup_pad() 53 reg = readl(iomux_base + ofs); in mxs_iomux_setup_pad() 56 writel(reg, iomux_base + ofs); in mxs_iomux_setup_pad() 61 mxs_reg = (struct mxs_register_32 *)(iomux_base + ofs); in mxs_iomux_setup_pad() [all …]
|
| /OK3568_Linux_fs/kernel/security/selinux/ss/ |
| H A D | ebitmap.h | 50 unsigned int ofs; in ebitmap_start_positive() local 53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive() 54 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive() 55 return (*n)->startbit + ofs; in ebitmap_start_positive() 69 unsigned int ofs; in ebitmap_next_positive() local 71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive() 72 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() 73 return ofs + (*n)->startbit; in ebitmap_next_positive() 76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive() 77 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | regs.h | 36 #define MT_HW_INFO(ofs) (MT_HW_INFO_BASE + (ofs)) argument 52 #define MT_MCU(ofs) (MT_MCU_BASE + (ofs)) argument 64 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs)) argument 83 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument 151 #define MT_CSR(ofs) ((dev)->reg_map[MT_CSR_BASE] + (ofs)) argument 154 #define MT_PLE(ofs) ((dev)->reg_map[MT_PLE_BASE] + (ofs)) argument 166 #define MT_PSE(ofs) ((dev)->reg_map[MT_PSE_BASE] + (ofs)) argument 178 #define MT_PP(ofs) ((dev)->reg_map[MT_PP_BASE] + (ofs)) argument 184 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument 231 #define MT_WF_CFG(ofs) (MT_WF_CFG_BASE + (ofs)) argument [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/fs/erofs/ |
| H A D | xattr.c | 16 unsigned int ofs; member 96 it.ofs = erofs_blkoff(iloc(sbi, vi->nid) + vi->inode_isize); in init_inode_xattrs() 108 ih = (struct erofs_xattr_ibody_header *)(it.kaddr + it.ofs); in init_inode_xattrs() 120 it.ofs += sizeof(struct erofs_xattr_ibody_header); in init_inode_xattrs() 123 if (it.ofs >= EROFS_BLKSIZ) { in init_inode_xattrs() 125 DBG_BUGON(it.ofs != EROFS_BLKSIZ); in init_inode_xattrs() 138 it.ofs = 0; in init_inode_xattrs() 141 le32_to_cpu(*(__le32 *)(it.kaddr + it.ofs)); in init_inode_xattrs() 142 it.ofs += sizeof(__le32); in init_inode_xattrs() 173 if (it->ofs < EROFS_BLKSIZ) in xattr_iter_fixup() [all …]
|
| H A D | dir.c | 25 void *dentry_blk, unsigned int *ofs, in erofs_fill_dentries() argument 28 struct erofs_dirent *de = dentry_blk + *ofs; in erofs_fill_dentries() 62 *ofs += sizeof(struct erofs_dirent); in erofs_fill_dentries() 64 *ofs = maxsize; in erofs_fill_dentries() 74 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir() local 109 dirsize - ctx->pos + ofs, PAGE_SIZE); in erofs_readdir() 115 ofs = roundup(ofs, sizeof(struct erofs_dirent)); in erofs_readdir() 116 if (ofs >= nameoff) in erofs_readdir() 120 err = erofs_fill_dentries(dir, ctx, de, &ofs, in erofs_readdir() 127 ctx->pos = blknr_to_addr(i) + ofs; in erofs_readdir() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | sfc_nand_mtd.c | 133 int sfc_nand_isbad_mtd(struct mtd_info *mtd, loff_t ofs) in sfc_nand_isbad_mtd() argument 138 rkflash_print_dio("%s %llx\n", __func__, ofs); in sfc_nand_isbad_mtd() 139 if (ofs & mtd->writesize_mask) { in sfc_nand_isbad_mtd() 140 rkflash_print_error("%s %llx input error\n", __func__, ofs); in sfc_nand_isbad_mtd() 149 entry = snanddev_bbt_pos_to_entry(p_dev, ofs); in sfc_nand_isbad_mtd() 153 if ((int)sfc_nand_check_bad_block(0, ofs >> mtd->writesize_shift)) in sfc_nand_isbad_mtd() 168 ret = (int)sfc_nand_check_bad_block(0, ofs >> mtd->writesize_shift); in sfc_nand_isbad_mtd() 170 pr_err("%s %llx is bad block\n", __func__, ofs); in sfc_nand_isbad_mtd() 175 static int sfc_nand_markbad_mtd(struct mtd_info *mtd, loff_t ofs) in sfc_nand_markbad_mtd() argument 181 rkflash_print_error("%s %llx\n", __func__, ofs); in sfc_nand_markbad_mtd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | hmcdrv_cache.c | 40 loff_t ofs; member 50 .ofs = -1, 71 if (ftp->ofs >= hmcdrv_cache_file.fsize) /* EOF ? */ in hmcdrv_cache_get() 74 if ((hmcdrv_cache_file.ofs < 0) || /* has content? */ in hmcdrv_cache_get() 81 len = hmcdrv_cache_file.fsize - ftp->ofs; in hmcdrv_cache_get() 89 pos = ftp->ofs - hmcdrv_cache_file.ofs; in hmcdrv_cache_get() 143 hmcdrv_cache_file.ofs = ftp->ofs; in hmcdrv_cache_do() 150 hmcdrv_cache_file.ofs = -1; /* invalidate content */ in hmcdrv_cache_do() 205 hmcdrv_cache_file.ofs = -1; in hmcdrv_cache_cmd() 251 hmcdrv_cache_file.ofs = -1; in hmcdrv_cache_shutdown()
|
| /OK3568_Linux_fs/kernel/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 …]
|