| /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 | 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()
|
| /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) /* SAI Transmit Configuration 4 */ argument 29 #define FSL_SAI_TCR5(ofs) (0x14 + ofs) /* SAI Transmit Configuration 5 */ argument 51 #define FSL_SAI_RCSR(ofs) (0x80 + ofs) /* SAI Receive Control */ argument 52 #define FSL_SAI_RCR1(ofs) (0x84 + ofs)/* SAI Receive Configuration 1 */ argument 53 #define FSL_SAI_RCR2(ofs) (0x88 + ofs) /* SAI Receive Configuration 2 */ argument 54 #define FSL_SAI_RCR3(ofs) (0x8c + ofs) /* SAI Receive Configuration 3 */ argument [all …]
|
| 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() 223 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_sysclk_tr() local 243 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_sysclk_tr() 308 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_set_dai_fmt_tr() local 408 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx, ofs), in fsl_sai_set_dai_fmt_tr() 410 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx, ofs), in fsl_sai_set_dai_fmt_tr() 447 unsigned int reg, ofs = sai->soc_data->reg_offset; fsl_sai_set_bclk() local 558 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_hw_params() local 759 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_hw_free() local 778 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_config_disable() local 820 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_trigger() local 929 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_dai_probe() local 1114 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_readable_reg() local 1170 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_volatile_reg() local 1213 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_writeable_reg() local 1259 unsigned char ofs = sai->soc_data->reg_offset; fsl_sai_check_version() local 1799 unsigned int ofs = sai->soc_data->reg_offset; fsl_sai_runtime_resume() local [all...] |
| /linux/fs/jffs2/ |
| 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 | 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 | 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()
|
| H A D | gc.c | 537 end = frag->ofs + frag->size; in jffs2_garbage_collect_live() 539 start = frag->ofs; in jffs2_garbage_collect_live() 808 ilen = last_frag->ofs + last_frag->size; in jffs2_garbage_collect_metadata() 1087 ilen = frag->ofs + frag->size; in jffs2_garbage_collect_hole() 1139 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs); in jffs2_garbage_collect_hole() 1141 if (frag->ofs > fn->size + fn->ofs) in jffs2_garbage_collect_hole() 1203 BUG_ON(frag->ofs != start); in jffs2_garbage_collect_dnode() 1206 while((frag = frag_prev(frag)) && frag->ofs >= min) { in jffs2_garbage_collect_dnode() 1210 if (frag->ofs > min) { in jffs2_garbage_collect_dnode() 1212 frag->ofs, frag->ofs+frag->size); in jffs2_garbage_collect_dnode() [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/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 …]
|
| H A D | physmap-core.c | 122 unsigned long ofs) in physmap_set_addr_gpios() argument 126 ofs >>= info->win_order; in physmap_set_addr_gpios() 127 if (info->gpio_values == ofs) in physmap_set_addr_gpios() 131 if ((BIT(i) & ofs) == (BIT(i) & info->gpio_values)) in physmap_set_addr_gpios() 134 gpiod_set_value(info->gpios->desc[i], !!(BIT(i) & ofs)); in physmap_set_addr_gpios() 137 info->gpio_values = ofs; in physmap_set_addr_gpios() 143 unsigned long ofs) in physmap_addr_gpios_read() argument 152 physmap_set_addr_gpios(info, ofs); in physmap_addr_gpios_read() 154 word = readw(map->virt + (ofs & win_mask(info->win_order))); in physmap_addr_gpios_read() 160 unsigned long ofs, ssize_t len) in physmap_addr_gpios_copy_from() argument [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/include/linux/mtd/ |
| H A D | mtd.h | 348 int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); 349 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); 350 int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len); 351 int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs); 352 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs); 353 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs); 354 int (*_max_bad_blocks) (struct mtd_info *mtd, loff_t ofs, size_t len); 411 static inline u64 mtd_get_master_ofs(struct mtd_info *mtd, u64 ofs) in mtd_get_master_ofs() argument 414 ofs += mtd->part.offset; in mtd_get_master_ofs() 418 return ofs; in mtd_get_master_ofs() [all …]
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | netcp_xgbepcsr.c | 34 u32 ofs; member 133 reg_rmw(serdes_regs + cfg_phyb_1p25g_156p25mhz_cmu0[i].ofs, in netcp_xgbe_serdes_cmu_init() 140 reg_rmw(serdes_regs + cfg_phyb_10p3125g_156p25mhz_cmu1[i].ofs, in netcp_xgbe_serdes_cmu_init() 155 cfg_phyb_10p3125g_16bit_lane[i].ofs + in netcp_xgbe_serdes_lane_config() 175 reg_rmw(serdes_regs + cfg_phyb_10p3125g_comlane[i].ofs, in netcp_xgbe_serdes_com_enable() 250 int select, int ofs) in netcp_xgbe_serdes_write_tbus_addr() argument 253 reg_rmw(serdes_regs + 0x0008, ((select << 5) + ofs) << 24, in netcp_xgbe_serdes_write_tbus_addr() 270 reg_rmw(serdes_regs + 0x00fc, ((select << 8) + ofs) << 16, ~0xf800ffff); in netcp_xgbe_serdes_write_tbus_addr() 274 int select, int ofs) in netcp_xgbe_serdes_read_select_tbus() argument 277 netcp_xgbe_serdes_write_tbus_addr(serdes_regs, select, ofs); in netcp_xgbe_serdes_read_select_tbus() [all …]
|