Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/linux-6.6.21/fs/overlayfs/
Dsuper.c191 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() local
193 if (ofs) in ovl_put_super()
194 ovl_free_fs(ofs); in ovl_put_super()
200 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() local
204 ret = ovl_sync_status(ofs); in ovl_sync_fs()
229 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs()
249 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() local
258 buf->f_namelen = ofs->namelen; in ovl_statfs()
260 if (ovl_has_fsid(ofs)) in ovl_statfs()
281 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() argument
[all …]
Doverlayfs.h167 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr() argument
169 return ovl_xattr_table[ox][ofs->config.userxattr]; in ovl_xattr()
184 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change() argument
188 return notify_change(ovl_upper_mnt_idmap(ofs), upperdentry, attr, NULL); in ovl_do_notify_change()
191 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() argument
194 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry); in ovl_do_rmdir()
200 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink() argument
203 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink()
209 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link() argument
212 int err = vfs_link(old_dentry, ovl_upper_mnt_idmap(ofs), dir, in ovl_do_link()
[all …]
Dparams.c295 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param_upperdir() local
296 struct ovl_config *config = &ofs->config; in ovl_parse_param_upperdir()
527 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() local
528 struct ovl_config *config = &ofs->config; in ovl_parse_param()
629 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() local
638 if (ofs) in ovl_free()
639 ovl_free_fs(ofs); in ovl_free()
648 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() local
652 if (!(fc->sb_flags & SB_RDONLY) && ovl_force_readonly(ofs)) in ovl_reconfigure()
656 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_reconfigure()
[all …]
Ddir.c26 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup() argument
32 err = ovl_do_rmdir(ofs, wdir, wdentry); in ovl_cleanup()
34 err = ovl_do_unlink(ofs, wdir, wdentry); in ovl_cleanup()
45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() argument
54 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp()
65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() argument
69 struct dentry *workdir = ofs->workdir; in ovl_whiteout()
72 if (!ofs->whiteout) { in ovl_whiteout()
73 whiteout = ovl_lookup_temp(ofs, workdir); in ovl_whiteout()
77 err = ovl_do_whiteout(ofs, wdir, whiteout); in ovl_whiteout()
[all …]
Dnamei.c38 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() local
41 buf = ovl_get_redirect_xattr(ofs, path, prelen + strlen(post)); in ovl_check_redirect()
115 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() argument
121 res = ovl_getxattr_upper(ofs, upperdentry, ox, NULL, 0); in ovl_get_fh()
135 res = ovl_getxattr_upper(ofs, upperdentry, ox, fh->buf, res); in ovl_get_fh()
160 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() argument
174 if (ovl_origin_uuid(ofs) ? in ovl_decode_real_fh()
204 static bool ovl_is_opaquedir(struct ovl_fs *ofs, const struct path *path) in ovl_is_opaquedir() argument
206 return ovl_path_check_dir_xattr(ofs, path, OVL_XATTR_OPAQUE); in ovl_is_opaquedir()
395 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() local
[all …]
Dutil.c22 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() local
23 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write()
28 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write() local
29 mnt_drop_write(ovl_upper_mnt(ofs)); in ovl_drop_write()
34 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_workdir() local
35 return ofs->workdir; in ovl_workdir()
40 struct ovl_fs *ofs = OVL_FS(sb); in ovl_override_creds() local
42 return override_creds(ofs->creator_cred); in ovl_override_creds()
66 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() local
68 return ofs->indexdir; in ovl_indexdir()
[all …]
Dcopy_up.c47 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl() argument
69 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl()
233 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file() argument
317 if (!error && ovl_should_sync(ofs)) in ovl_copy_up_file()
324 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() argument
332 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_size()
335 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps() argument
345 return ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_timestamps()
348 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr() argument
358 err = ovl_do_notify_change(ofs, upperdentry, &attr); in ovl_set_attr()
[all …]
/linux-6.6.21/sound/soc/fsl/
Dfsl_sai.h23 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ argument
24 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ argument
25 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ argument
26 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ argument
27 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SAI Transmit Configuration 4 */ argument
28 #define FSL_SAI_TCR5(ofs) (0x14 + ofs) /* SAI Transmit Configuration 5 */ argument
50 #define FSL_SAI_RCSR(ofs) (0x80 + ofs) /* SAI Receive Control */ argument
51 #define FSL_SAI_RCR1(ofs) (0x84 + ofs)/* SAI Receive Configuration 1 */ argument
52 #define FSL_SAI_RCR2(ofs) (0x88 + ofs) /* SAI Receive Configuration 2 */ argument
53 #define FSL_SAI_RCR3(ofs) (0x8c + ofs) /* SAI Receive Configuration 3 */ argument
[all …]
Dfsl_sai.c90 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()
192 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local
212 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr()
277 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local
378 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr()
380 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr()
[all …]
/linux-6.6.21/fs/jffs2/
Dnodelist.c66 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 …]
Dscan.c47 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 …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-io.h11 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 …]
Diwl-io.c17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() argument
19 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); in iwl_write8()
20 iwl_trans_write8(trans, ofs, val); in iwl_write8()
24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() argument
26 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val); in iwl_write32()
27 iwl_trans_write32(trans, ofs, val); in iwl_write32()
31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() argument
33 trace_iwlwifi_dev_iowrite64(trans->dev, ofs, val); in iwl_write64()
34 iwl_trans_write32(trans, ofs, lower_32_bits(val)); in iwl_write64()
35 iwl_trans_write32(trans, ofs + 4, upper_32_bits(val)); in iwl_write64()
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt792x_regs.h9 #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-6.6.21/drivers/mtd/spi-nor/
Dswp.c50 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
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()
87 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr() argument
99 offs_max = ofs + len; in spi_nor_check_lock_status_sr()
103 return (offs_max <= lock_offs_max) && (ofs >= lock_offs); in spi_nor_check_lock_status_sr()
106 return (ofs >= lock_offs_max) || (offs_max <= lock_offs); in spi_nor_check_lock_status_sr()
109 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_locked_sr() argument
112 return spi_nor_check_lock_status_sr(nor, ofs, len, sr, true); in spi_nor_is_locked_sr()
[all …]
Datmel.c19 static int at25fs_nor_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_lock() argument
24 static int at25fs_nor_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_unlock() argument
29 if (ofs || len != nor->params->size) in at25fs_nor_unlock()
40 static int at25fs_nor_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_is_locked() argument
71 static int atmel_nor_set_global_protection(struct spi_nor *nor, loff_t ofs, in atmel_nor_set_global_protection() argument
78 if (ofs || len != nor->params->size) in atmel_nor_set_global_protection()
121 static int atmel_nor_global_protect(struct spi_nor *nor, loff_t ofs, in atmel_nor_global_protect() argument
124 return atmel_nor_set_global_protection(nor, ofs, len, true); in atmel_nor_global_protect()
127 static int atmel_nor_global_unprotect(struct spi_nor *nor, loff_t ofs, in atmel_nor_global_unprotect() argument
130 return atmel_nor_set_global_protection(nor, ofs, len, false); in atmel_nor_global_unprotect()
[all …]
/linux-6.6.21/drivers/tty/serial/
Dstm32-usart.c41 .ofs = {
62 .ofs = {
84 .ofs = {
137 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local
139 if (readl_relaxed(port->membase + ofs->isr) & USART_SR_TC) in stm32_usart_tx_empty()
222 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local
227 stm32_usart_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_usart_config_rs485()
230 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_usart_config_rs485()
231 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485()
232 usartdiv = readl_relaxed(port->membase + ofs->brr); in stm32_usart_config_rs485()
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dregs.h49 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
66 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
73 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
94 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
104 #define MT_WTBLOFF(_band, ofs) (MT_WTBLOFF_BASE(_band) + (ofs)) argument
112 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument
121 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument
141 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument
216 #define MT_WF_UMIB(ofs) (MT_WF_UMIB_BASE + (ofs)) argument
222 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dregs.h130 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument
136 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
146 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
167 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument
171 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
198 #define MT_WF_TRB(_band, ofs) (MT_WF_TRB_BASE(_band) + (ofs)) argument
206 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
242 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
250 #define MT_WTBLOFF_TOP(_band, ofs) (MT_WTBLOFF_TOP_BASE(_band) + (ofs)) argument
258 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument
[all …]
/linux-6.6.21/fs/smb/server/
Dasn1.c59 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-6.6.21/drivers/media/pci/pt3/
Dpt3_dma.c61 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-6.6.21/security/selinux/ss/
Debitmap.h50 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 …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dregs.h36 #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-6.6.21/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
Dtie-asm.h36 .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-6.6.21/drivers/mtd/maps/
Dpci.c25 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 …]

12345678910>>...12