/linux/fs/overlayfs/ |
H A D | super.c | 209 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() local 211 if (ofs) in ovl_put_super() 212 ovl_free_fs(ofs); in ovl_put_super() 218 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() local 222 ret = ovl_sync_status(ofs); in ovl_sync_fs() 241 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs() 261 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() local 270 buf->f_namelen = ofs->namelen; in ovl_statfs() 272 if (ovl_has_fsid(ofs)) in ovl_statfs() 293 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() argument [all …]
|
H A D | overlayfs.h | 182 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr() argument 184 return ovl_xattr_table[ox][ofs->config.userxattr]; in ovl_xattr() 199 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change() argument 203 return notify_change(ovl_upper_mnt_idmap(ofs), upperdentry, attr, NULL); in ovl_do_notify_change() 206 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() argument 209 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry); in ovl_do_rmdir() 215 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink() argument 218 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink() 224 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link() argument 227 int err = vfs_link(old_dentry, ovl_upper_mnt_idmap(ofs), dir, in ovl_do_link() [all …]
|
H A D | params.c | 339 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() local 340 struct ovl_config *config = &ofs->config; in ovl_add_layer() 588 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() local 589 struct ovl_config *config = &ofs->config; in ovl_parse_param() 690 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() local 699 if (ofs) in ovl_free() 700 ovl_free_fs(ofs); in ovl_free() 709 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() local 713 if (!(fc->sb_flags & SB_RDONLY) && ovl_force_readonly(ofs)) in ovl_reconfigure() 717 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_reconfigure() [all …]
|
H A D | namei.c | 37 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local 40 buf = ovl_get_redirect_xattr(ofs, path, prelen + strlen(post)); in ovl_check_redirect() 114 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() argument 120 res = ovl_getxattr_upper(ofs, upperdentry, ox, NULL, 0); in ovl_get_fh() 134 res = ovl_getxattr_upper(ofs, upperdentry, ox, fh->buf, res); in ovl_get_fh() 159 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() argument 173 if (ovl_origin_uuid(ofs) ? in ovl_decode_real_fh() 230 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_lookup_single() local 255 if (ovl_path_is_whiteout(ofs, &path)) { in ovl_lookup_single() 273 err = ovl_check_metacopy_xattr(ofs, &path, NULL); in ovl_lookup_single() [all …]
|
H A D | util.c | 23 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() local 24 return mnt_get_write_access(ovl_upper_mnt(ofs)); in ovl_get_write_access() 30 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() local 31 sb_start_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_start_write() 36 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() local 37 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write() 42 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access() local 43 mnt_put_write_access(ovl_upper_mnt(ofs)); in ovl_put_write_access() 48 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write() local 49 sb_end_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_end_write() [all …]
|
H A D | dir.c | 27 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup() argument 33 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup() 35 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup() 46 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument 55 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp() 66 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() argument 70 struct dentry *workdir = ofs->workdir; in ovl_whiteout() 73 if (!ofs->whiteout) { in ovl_whiteout() 74 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout() 78 err = ovl_do_whiteout(ofs, wdir, whiteout); 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 …]
|
/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); 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 …]
|
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 …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.h | 11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 13 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val); 14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 36 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs); 37 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs); 38 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val); 39 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val); 40 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, 42 static inline void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph() argument [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_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_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument 55 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument 63 #define MT_WTBLOFF_TOP(_band, ofs) (MT_WTBLOFF_TOP_BASE(_band) + (ofs)) argument 71 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument 82 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument 96 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument 158 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument 178 #define MT_WF_AGG(_band, ofs) (MT_WF_AGG_BASE(_band) + (ofs)) argument [all …]
|
/linux/drivers/tty/serial/ |
H A D | stm32-usart.c | 42 .ofs = { 64 .ofs = { 87 .ofs = { 141 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local 143 if (readl_relaxed(port->membase + ofs->isr) & USART_SR_TC) in stm32_usart_tx_empty() 226 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 231 stm32_usart_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485() 234 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_usart_config_rs485() 235 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485() 236 usartdiv = readl_relaxed(port->membase + ofs->brr); in stm32_usart_config_rs485() [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | swp.c | 55 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, in spi_nor_get_locked_range_sr() argument 71 *ofs = 0; in spi_nor_get_locked_range_sr() 83 *ofs = 0; in spi_nor_get_locked_range_sr() 85 *ofs = mtd->size - *len; in spi_nor_get_locked_range_sr() 92 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr() argument 104 offs_max = ofs + len; in spi_nor_check_lock_status_sr() 108 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr() 111 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr() 114 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr) in spi_nor_is_locked_sr() argument 116 return spi_nor_check_lock_status_sr(nor, ofs, len, sr, true); in spi_nor_is_locked_sr() [all …]
|
/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/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 65 #define MT_MCU_CIRQ(ofs) (MT_MCU_CIRQ_BASE + (ofs)) argument 69 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs)) argument 88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument 162 #define MT_CSR(ofs) ((dev)->reg_map[MT_CSR_BASE] + (ofs)) argument 165 #define MT_PLE(ofs) ((dev)->reg_map[MT_PLE_BASE] + (ofs)) argument 177 #define MT_PSE(ofs) ((dev)->reg_map[MT_PSE_BASE] + (ofs)) argument 189 #define MT_PP(ofs) ((dev)->reg_map[MT_PP_BASE] + (ofs)) argument 195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument [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/sound/soc/fsl/ |
H A D | fsl_sai.c | 89 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() local 102 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 129 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr() 133 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr() 160 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr() 191 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local 211 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr() 276 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local 377 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr() 379 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr() [all …]
|
/linux/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()
|
/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/include/linux/mtd/ |
H A D | map.h | 389 static inline map_word inline_map_read(struct map_info *map, unsigned long ofs) in inline_map_read() argument 394 r.x[0] = __raw_readb(map->virt + ofs); in inline_map_read() 396 r.x[0] = __raw_readw(map->virt + ofs); in inline_map_read() 398 r.x[0] = __raw_readl(map->virt + ofs); in inline_map_read() 401 r.x[0] = __raw_readq(map->virt + ofs); in inline_map_read() 404 memcpy_fromio(r.x, map->virt + ofs, map->bankwidth); in inline_map_read() 411 static inline void inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in inline_map_write() argument 414 __raw_writeb(datum.x[0], map->virt + ofs); in inline_map_write() 416 __raw_writew(datum.x[0], map->virt + ofs); in inline_map_write() 418 __raw_writel(datum.x[0], map->virt + ofs); in inline_map_write() [all …]
|