/linux/fs/overlayfs/ |
A D | super.c | 330 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly() 1568 err = ovl_verify_set_fh(ofs, ofs->indexdir, in ovl_get_indexdir() 1666 ofs->fs[ofs->numfs].sb = sb; in ovl_get_fsid() 1667 ofs->fs[ofs->numfs].pseudo_dev = dev; in ovl_get_fsid() 1668 ofs->fs[ofs->numfs].bad_uuid = bad_uuid; in ovl_get_fsid() 1701 ofs->fs[0].sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_get_layers() 1749 layers[ofs->numlayer].idx = ofs->numlayer; in ovl_get_layers() 1751 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() 1765 if (ofs->numfs - !ovl_upper_mnt(ofs) == 1) { in ovl_get_layers() 1780 ofs->xino_mode = ilog2(ofs->numfs - 1) + 2; in ovl_get_layers() [all …]
|
A D | namei.c | 33 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local 353 for (i = 1; i < ofs->numlayer; i++) { in ovl_check_origin_fh() 358 if (ofs->layers[i].fsid && in ovl_check_origin_fh() 359 ofs->layers[i].fs->bad_uuid) in ovl_check_origin_fh() 362 origin = ovl_decode_real_fh(ofs, fh, ofs->layers[i].mnt, in ovl_check_origin_fh() 385 .layer = &ofs->layers[i] in ovl_check_origin_fh() 496 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_index_upper() 569 upper = ovl_index_upper(ofs, index); in ovl_verify_index() 807 if (ovl_check_origin_xattr(ofs, upper)) in ovl_fix_origin() 853 if (dentry->d_name.len > ofs->namelen) in ovl_lookup() [all …]
|
A D | util.c | 28 mnt_drop_write(ovl_upper_mnt(ofs)); in ovl_drop_write() 34 return ofs->workdir; in ovl_workdir() 67 return ofs->indexdir; in ovl_indexdir() 75 return ofs->config.nfs_export && ofs->config.index; in ovl_index_all() 83 return ofs->config.nfs_export && ofs->config.index; in ovl_verify_lower() 157 path->mnt = ovl_upper_mnt(ofs); in ovl_path_upper() 393 return ofs->config.redirect_dir && !ofs->noxattr; in ovl_redirect_dir() 612 if (ofs->noxattr) in ovl_check_setxattr() 619 ofs->noxattr = true; in ovl_check_setxattr() 1054 if (ovl_should_sync(ofs)) in ovl_sync_status() [all …]
|
A D | overlayfs.h | 122 return ovl_xattr_table[ox][ofs->config.userxattr]; in ovl_xattr() 189 const char *name = ovl_xattr(ofs, ox); in ovl_do_getxattr() 202 const char *name = ovl_xattr(ofs, ox); in ovl_do_setxattr() 212 const char *name = ovl_xattr(ofs, ox); in ovl_do_removexattr() 266 static inline bool ovl_allow_offline_changes(struct ovl_fs *ofs) in ovl_allow_offline_changes() argument 273 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes() 274 !ofs->config.redirect_dir && ofs->config.xino != OVL_XINO_ON); in ovl_allow_offline_changes() 351 int ovl_sync_status(struct ovl_fs *ofs); 436 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index); 470 int ovl_indexdir_cleanup(struct ovl_fs *ofs); [all …]
|
/linux/sound/soc/fsl/ |
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 46 #define FSL_SAI_RCSR(ofs) (0x80 + ofs) /* SAI Receive Control */ argument 77 #define FSL_SAI_xCSR(tx, ofs) (tx ? FSL_SAI_TCSR(ofs) : FSL_SAI_RCSR(ofs)) argument 78 #define FSL_SAI_xCR1(tx, ofs) (tx ? FSL_SAI_TCR1(ofs) : FSL_SAI_RCR1(ofs)) argument 79 #define FSL_SAI_xCR2(tx, ofs) (tx ? FSL_SAI_TCR2(ofs) : FSL_SAI_RCR2(ofs)) argument 80 #define FSL_SAI_xCR3(tx, ofs) (tx ? FSL_SAI_TCR3(ofs) : FSL_SAI_RCR3(ofs)) argument 81 #define FSL_SAI_xCR4(tx, ofs) (tx ? FSL_SAI_TCR4(ofs) : FSL_SAI_RCR4(ofs)) argument 82 #define FSL_SAI_xCR5(tx, ofs) (tx ? FSL_SAI_TCR5(ofs) : FSL_SAI_RCR5(ofs)) argument 83 #define FSL_SAI_xDR(tx, ofs) (tx ? FSL_SAI_TDR(ofs) : FSL_SAI_RDR(ofs)) argument [all …]
|
A D | fsl_sai.c | 62 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() local 173 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local 227 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local 351 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_bclk() local 446 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_hw_params() local 814 if (reg >= FSL_SAI_TCSR(ofs) && reg <= FSL_SAI_TCR5(ofs)) in fsl_sai_readable_reg() 817 if (reg >= FSL_SAI_RCSR(ofs) && reg <= FSL_SAI_RCR5(ofs)) in fsl_sai_readable_reg() 870 if (reg == FSL_SAI_TCSR(ofs) || reg == FSL_SAI_RCSR(ofs)) in fsl_sai_volatile_reg() 913 if (reg >= FSL_SAI_TCSR(ofs) && reg <= FSL_SAI_TCR5(ofs)) in fsl_sai_writeable_reg() 916 if (reg >= FSL_SAI_RCSR(ofs) && reg <= FSL_SAI_RCR5(ofs)) in fsl_sai_writeable_reg() [all …]
|
/linux/fs/jffs2/ |
A D | scan.c | 569 ofs = 0; in jffs2_scan_eraseblock() 573 ofs += 4; in jffs2_scan_eraseblock() 596 if (ofs) { in jffs2_scan_eraseblock() 626 ofs = PAD(ofs); in jffs2_scan_eraseblock() 631 ofs); in jffs2_scan_eraseblock() 634 ofs += 4; in jffs2_scan_eraseblock() 667 ofs += 4; in jffs2_scan_eraseblock() 687 ofs); in jffs2_scan_eraseblock() 724 ofs); in jffs2_scan_eraseblock() 727 ofs += 4; in jffs2_scan_eraseblock() [all …]
|
A D | nodelist.c | 95 frag->ofs, frag->ofs + frag->size); in jffs2_truncate_fragtree() 133 if (newfrag->ofs > base->ofs) in jffs2_fragtree_insert() 135 else if (newfrag->ofs < base->ofs) in jffs2_fragtree_insert() 155 newfrag->ofs = ofs; in new_fragment() 251 this->ofs, this->ofs + this->size, in jffs2_add_frag_to_fragtree() 255 this->ofs, this->ofs + this->size); in jffs2_add_frag_to_fragtree() 260 if (newfrag->ofs > this->ofs) { in jffs2_add_frag_to_fragtree() 278 this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree() 315 newfrag, newfrag->ofs, newfrag->ofs+newfrag->size, this, this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree() 541 if (!prev || frag->ofs > prev->ofs) in jffs2_lookup_node_frag() [all …]
|
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() 180 if (frag && frag->ofs > offset) { in jffs2_read_inode_range() 194 offset, holeend, frag->ofs, in jffs2_read_inode_range() 195 frag->ofs + frag->size); in jffs2_read_inode_range() 205 fragofs = offset - frag->ofs; in jffs2_read_inode_range() 208 frag->ofs+fragofs, in jffs2_read_inode_range() 209 frag->ofs + fragofs+readlen, in jffs2_read_inode_range() [all …]
|
/linux/drivers/tty/serial/ |
A D | stm32-usart.c | 103 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 171 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_rx_dma_enabled() local 183 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_pending_rx_pio() local 203 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_get_char_pio() local 216 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars_pio() local 330 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars() local 372 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; in stm32_usart_tx_dma_complete() local 388 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_enable() local 417 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_disable() local 428 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_transmit_chars_pio() local [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
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); 40 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, 44 iwl_write_prph_delay(trans, ofs, val, 0); in iwl_write_prph() 50 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, 67 return ofs + trans->trans_cfg->umac_prph_offset; in iwl_umac_prph() [all …]
|
A D | iwl-io.c | 19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8() 20 iwl_trans_write8(trans, ofs, val); in iwl_write8() 27 iwl_trans_write32(trans, ofs, val); in iwl_write32() 41 u32 val = iwl_trans_read32(trans, ofs); in iwl_read32() 115 u32 val = iwl_trans_read_prph(trans, ofs); in iwl_read_prph_no_grab() 124 iwl_trans_write_prph(trans, ofs, val); in iwl_write_prph_no_grab() 141 val = iwl_read_prph_no_grab(trans, ofs); in iwl_read_prph() 152 iwl_write_prph_no_grab(trans, ofs, val); in iwl_write_prph_delay() 176 iwl_write_prph_no_grab(trans, ofs, in iwl_set_bits_prph() 188 iwl_write_prph_no_grab(trans, ofs, in iwl_set_bits_mask_prph() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | regs.h | 9 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument 14 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument 23 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 39 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument 42 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 370 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 396 #define MT_WFDMA1(ofs) (MT_WFDMA1_BASE + (ofs)) argument 517 #define MT_INFRA(ofs) (MT_INFRA_CFG_BASE + (ofs)) argument 544 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 565 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument [all …]
|
A D | dma.c | 43 static void __mt7915_dma_prefetch(struct mt7915_dev *dev, u32 ofs) in __mt7915_dma_prefetch() argument 47 mt76_wr(dev, MT_WFDMA0_RX_RING0_EXT_CTRL + ofs, PREFETCH(0x0, 0x4)); in __mt7915_dma_prefetch() 48 mt76_wr(dev, MT_WFDMA0_RX_RING1_EXT_CTRL + ofs, PREFETCH(0x40, 0x4)); in __mt7915_dma_prefetch() 49 mt76_wr(dev, MT_WFDMA0_RX_RING2_EXT_CTRL + ofs, PREFETCH(0x80, 0x0)); in __mt7915_dma_prefetch() 51 mt76_wr(dev, MT_WFDMA1_TX_RING0_EXT_CTRL + ofs, PREFETCH(0x80, 0x4)); in __mt7915_dma_prefetch() 52 mt76_wr(dev, MT_WFDMA1_TX_RING1_EXT_CTRL + ofs, PREFETCH(0xc0, 0x4)); in __mt7915_dma_prefetch() 53 mt76_wr(dev, MT_WFDMA1_TX_RING2_EXT_CTRL + ofs, PREFETCH(0x100, 0x4)); in __mt7915_dma_prefetch() 54 mt76_wr(dev, MT_WFDMA1_TX_RING3_EXT_CTRL + ofs, PREFETCH(0x140, 0x4)); in __mt7915_dma_prefetch() 55 mt76_wr(dev, MT_WFDMA1_TX_RING4_EXT_CTRL + ofs, PREFETCH(0x180, 0x4)); in __mt7915_dma_prefetch() 56 mt76_wr(dev, MT_WFDMA1_TX_RING5_EXT_CTRL + ofs, PREFETCH(0x1c0, 0x4)); in __mt7915_dma_prefetch() [all …]
|
/linux/drivers/mtd/spi-nor/ |
A D | swp.c | 66 *ofs = 0; in spi_nor_get_locked_range_sr() 78 *ofs = 0; in spi_nor_get_locked_range_sr() 80 *ofs = mtd->size - *len; in spi_nor_get_locked_range_sr() 99 offs_max = ofs + len; in spi_nor_check_lock_status_sr() 177 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock() 181 if (!spi_nor_is_locked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_lock() 193 lock_len = mtd->size - ofs; in spi_nor_sr_lock() 195 lock_len = ofs + len; in spi_nor_sr_lock() 266 if (!spi_nor_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_unlock() 278 lock_len = mtd->size - (ofs + len); in spi_nor_sr_unlock() [all …]
|
A D | atmel.c | 19 static int atmel_at25fs_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_lock() argument 24 static int atmel_at25fs_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_unlock() argument 29 if (ofs || len != nor->params->size) in atmel_at25fs_unlock() 40 static int atmel_at25fs_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_is_locked() argument 69 static int atmel_set_global_protection(struct spi_nor *nor, loff_t ofs, in atmel_set_global_protection() argument 76 if (ofs || len != nor->params->size) in atmel_set_global_protection() 119 static int atmel_global_protect(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_global_protect() argument 121 return atmel_set_global_protection(nor, ofs, len, true); in atmel_global_protect() 124 static int atmel_global_unprotect(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_global_unprotect() argument 126 return atmel_set_global_protection(nor, ofs, len, false); in atmel_global_unprotect() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
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 174 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument 275 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 398 #define MT_INFRA(ofs) (MT_INFRA_CFG_BASE + (ofs)) argument 407 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 414 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 424 #define MT_MCU_WPDMA0(ofs) (MT_MCU_WPDMA0_BASE + (ofs)) argument 434 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument [all …]
|
/linux/drivers/media/pci/pt3/ |
A D | pt3_dma.c | 63 *ofs += PT3_ACCESS_UNIT; in next_unit() 65 *ofs -= DATA_BUF_SZ; in next_unit() 75 int idx, ofs; in pt3_proc_dma() local 78 ofs = adap->buf_ofs; in pt3_proc_dma() 100 adap->buf_ofs = ofs; in pt3_proc_dma() 107 int idx, ofs; in pt3_init_dmabuf() local 111 ofs = 0; in pt3_init_dmabuf() 118 ofs -= DATA_BUF_SZ; in pt3_init_dmabuf() 150 int idx, ofs; in pt3_alloc_dmabuf() local 170 ofs = 0; in pt3_alloc_dmabuf() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
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 88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument 195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument 242 #define MT_WF_CFG(ofs) (MT_WF_CFG_BASE + (ofs)) argument 251 #define MT_WF_AGG(ofs) (MT_WF_AGG_BASE + (ofs)) argument 282 #define MT_WF_ARB(ofs) (MT_WF_ARB_BASE + (ofs)) argument 378 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) argument 396 #define MT_WF_PF(ofs) (MT_WF_PF_BASE + (ofs)) argument [all …]
|
/linux/security/selinux/ss/ |
A D | ebitmap.h | 50 unsigned int ofs; in ebitmap_start_positive() local 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 72 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() 73 return ofs + (*n)->startbit; in ebitmap_next_positive() 77 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive() 78 return ofs + (*n)->startbit; in ebitmap_next_positive() 95 if ((n->maps[index] & (EBITMAP_BIT << ofs))) in ebitmap_node_get_bit() 107 n->maps[index] |= (EBITMAP_BIT << ofs); in ebitmap_node_set_bit() [all …]
|
/linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
A D | tie-asm.h | 37 xchal_sa_start \continue, \ofs 64 xchal_sa_start \continue, \ofs 98 xchal_sa_start \continue, \ofs 134 xchal_sa_start \continue, \ofs 168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 170 .macro xchal_cp2_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 172 .macro xchal_cp3_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 174 .macro xchal_cp4_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 176 .macro xchal_cp5_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 178 .macro xchal_cp6_load p a b c d continue=0 ofs=-1 select=-1 ; .endm [all …]
|
/linux/fs/ksmbd/ |
A D | asn1.c | 153 int index = *ofs; in encode_asn_tag() 169 len = len - (index - *ofs); in encode_asn_tag() 180 *ofs += (index - *ofs); in encode_asn_tag() 187 unsigned int ofs = 0; in build_spnego_ntlmssp_neg_blob() local 206 encode_asn_tag(buf, &ofs, 0xa0, 0x0a, 1); in build_spnego_ntlmssp_neg_blob() 207 buf[ofs++] = 1; in build_spnego_ntlmssp_neg_blob() 212 ofs += NTLMSSP_OID_LEN; in build_spnego_ntlmssp_neg_blob() 217 ofs += ntlm_blob_len; in build_spnego_ntlmssp_neg_blob() 228 unsigned int ofs = 0; in build_spnego_ntlmssp_auth_blob() local 243 buf[ofs++] = 2; in build_spnego_ntlmssp_auth_blob() [all …]
|
/linux/fs/erofs/ |
A D | xattr.c | 15 unsigned int ofs; member 137 it.ofs = 0; in init_inode_xattrs() 141 it.ofs += sizeof(__le32); in init_inode_xattrs() 172 if (it->ofs < EROFS_BLKSIZ) in xattr_iter_fixup() 188 it->ofs = erofs_blkoff(it->ofs); in xattr_iter_fixup() 272 it->ofs = 0; in xattr_foreach() 285 it->ofs += slice; in xattr_foreach() 295 it->ofs += value_sz; in xattr_foreach() 307 it->ofs = 0; in xattr_foreach() 313 it->ofs += slice; in xattr_foreach() [all …]
|
A D | dir.c | 24 void *dentry_blk, unsigned int *ofs, in erofs_fill_dentries() argument 27 struct erofs_dirent *de = dentry_blk + *ofs; in erofs_fill_dentries() 61 *ofs += sizeof(struct erofs_dirent); in erofs_fill_dentries() 63 *ofs = maxsize; in erofs_fill_dentries() 73 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir() local 108 dirsize - ctx->pos + ofs, PAGE_SIZE); in erofs_readdir() 114 ofs = roundup(ofs, sizeof(struct erofs_dirent)); in erofs_readdir() 115 if (ofs >= nameoff) in erofs_readdir() 119 err = erofs_fill_dentries(dir, ctx, de, &ofs, in erofs_readdir() 126 ctx->pos = blknr_to_addr(i) + ofs; in erofs_readdir() [all …]
|
/linux/drivers/mtd/maps/ |
A D | pci.c | 25 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() 49 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32() 62 writeb(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write8() 68 writel(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write32() 124 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() argument 126 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate() 138 ofs += 0x00800000; in intel_iq80310_translate() 141 return ofs; in intel_iq80310_translate() [all …]
|