Searched refs:offs (Results 51 - 75 of 384) sorted by relevance

1234567891011>>

/linux-master/include/linux/mtd/
H A Dnftl.h44 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
46 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
H A Dbbm.h24 * @offs: offset of the pattern in the oob area of the page
44 int offs; member in struct:nand_bbt_descr
/linux-master/arch/powerpc/kernel/
H A Dkvm_emul.S20 #define LL64(reg, offs, reg2) ld reg, (offs)(reg2)
21 #define STL64(reg, offs, reg2) std reg, (offs)(reg2)
23 #define LL64(reg, offs, reg2) lwz reg, (offs + 4)(reg2)
24 #define STL64(reg, offs, reg2) stw reg, (offs + 4)(reg2)
/linux-master/include/memory/
H A Drenesas-rpc-if.h74 void rpcif_prepare(struct device *dev, const struct rpcif_op *op, u64 *offs,
77 ssize_t rpcif_dirmap_read(struct device *dev, u64 offs, size_t len, void *buf);
/linux-master/drivers/uio/
H A Duio_dfl.c32 uiomem->offs = r->start & ~PAGE_MASK;
33 uiomem->size = (uiomem->offs + resource_size(r)
/linux-master/lib/zlib_inflate/
H A Dinftrees.c45 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
127 offs[1] = 0;
129 offs[len + 1] = offs[len] + count[len];
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_bbt.c95 from + j * this->writesize + bd->offs, &ops);
141 * @offs: offset in the device
144 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) argument
152 block = (int) (onenand_block(this, offs) << 1);
155 pr_debug("onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n",
156 (unsigned int) offs, block >> 1, res);
217 .offs = 0,
/linux-master/include/linux/
H A Dregset.h49 static inline struct membuf membuf_at(const struct membuf *s, size_t offs) argument
53 if (offs > n.left)
54 offs = n.left;
55 n.p += offs;
56 n.left -= offs;
/linux-master/drivers/mtd/ubi/
H A Dnvmem.c29 uint32_t offs; local
37 offs = do_div(lnum, unv->usable_leb_size);
39 to_read = unv->usable_leb_size - offs;
44 err = ubi_read(desc, lnum, val, offs, to_read);
49 offs = 0;
/linux-master/net/9p/
H A Dtrans_virtio.c213 * @offs: amount of data in the beginning of first page _not_ to pack
218 struct page **pdata, int nr_pages, size_t offs, int count)
221 int data_off = offs;
312 size_t *offs,
333 n = iov_iter_get_pages_alloc2(data, pages, count, offs);
337 nr_pages = DIV_ROUND_UP(n + *offs, PAGE_SIZE);
367 p -= (*offs = offset_in_page(p));
381 size_t offs, struct page **pages)
399 n = PAGE_SIZE - offs;
401 memcpy_from_page(to, *pages++, offs,
217 pack_sg_list_p(struct scatterlist *sg, int start, int limit, struct page **pdata, int nr_pages, size_t offs, int count) argument
308 p9_get_mapped_pages(struct virtio_chan *chan, struct page ***pages, struct iov_iter *data, int count, size_t *offs, int *need_drop) argument
380 handle_rerror(struct p9_req_t *req, int in_hdr_len, size_t offs, struct page **pages) argument
431 size_t offs = 0; local
[all...]
/linux-master/fs/ubifs/
H A Dmaster.c94 int lnum, offs = 0, nodes_cnt, err; local
108 offs = snod->offs;
124 if (snod->offs != offs)
129 c->mst_offs = offs;
159 snod->type, lnum, snod->offs);
200 c->zroot.offs >= c->leb_size || c->zroot.offs & 7) {
356 c->zroot.offs
436 int err, lnum, offs, len; local
[all...]
H A Djournal.c100 int err = 0, err1, retries = 0, avail, lnum, offs, squeeze; local
118 avail = c->leb_size - wbuf->offs - wbuf->used;
126 lnum = ubifs_find_free_space(c, len, &offs, squeeze);
167 avail = c->leb_size - wbuf->offs - wbuf->used;
176 lnum, wbuf->lnum, wbuf->offs + wbuf->used);
183 offs = 0;
197 err = ubifs_add_bud_to_log(c, jhead, lnum, offs);
200 err = ubifs_wbuf_seek_nolock(wbuf, lnum, offs);
261 * @offs: offset written is returned here
269 int *lnum, int *offs, in
268 write_head(struct ubifs_info *c, int jhead, void *buf, int len, int *lnum, int *offs, int sync) argument
854 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; local
970 int err, lnum, offs; local
1187 int err, dlen1, dlen2, lnum, offs, len, plen = UBIFS_INO_NODE_SZ; local
1356 int err, dlen1, dlen2, ilen, wlen, lnum, offs, len, orphan_added = 0; local
1685 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); local
1970 int err, len1, len2, aligned_len, aligned_len1, lnum, offs; local
[all...]
H A Dubifs.h284 * @offs: offset of obsoleted index node
289 int offs; member in struct:ubifs_old_idx
306 * @offs: offset with LEB of node scanned
315 int offs; member in struct:ubifs_scan_node
592 * @offs: offset of child
599 int offs; member in struct:ubifs_nbranch
666 * @offs: write-buffer offset in this logical eraseblock
674 * @lock: serializes @buf, @lnum, @offs, @avail, @used, @next_ino and @inodes
686 * Note: the fields @buf, @lnum, @offs, @avail and @used can be read under
696 int offs; member in struct:ubifs_wbuf
761 int offs; member in struct:ubifs_zbranch
798 int offs; member in struct:ubifs_znode
1634 ubifs_bad_hash(const struct ubifs_info *c, const void *node, const u8 *hash, int lnum, int offs) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac3_mac.c17 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; local
24 offs = ru;
28 offs = ru - 37;
32 offs = ru - 53;
36 offs = ru - 61;
40 offs = ru - 65;
52 le16_encode_bits(offs,
/linux-master/drivers/spi/
H A Dspi-rpc-if.c21 u64 *offs, size_t *len)
41 if (spi_op->data.nbytes || (offs && len)) {
61 rpcif_prepare(rpc->dev, &rpc_op, offs, len);
79 u64 offs, size_t len, void *buf)
84 if (offs + desc->info.offset + len > U32_MAX)
87 rpcif_spi_mem_prepare(desc->mem->spi, &desc->info.op_tmpl, &offs, &len);
89 return rpcif_dirmap_read(rpc->dev, offs, len, buf);
19 rpcif_spi_mem_prepare(struct spi_device *spi_dev, const struct spi_mem_op *spi_op, u64 *offs, size_t *len) argument
78 rpcif_spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
/linux-master/drivers/gpio/
H A Dgpio-tb10x.c48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) argument
50 return ioread32(gpio->base + offs);
53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, argument
56 iowrite32(val, gpio->base + offs);
59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, argument
67 r = tb10x_reg_read(gpio, offs);
70 tb10x_reg_write(gpio, offs, r);
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_sds.c22 u8 offs[3]; member in struct:asd_ocm_dir_ent
66 .offs = {128}, /* Offset */
71 .offs = {128, 4}, /* Offset */
76 .offs = {128, 8}, /* Offset */
81 .offs = {128, 12}, /* Offset */
86 .offs = {128, 16}, /* Offset */
111 * @offs: offset into OCM where to read from
117 u32 offs, int size)
121 asd_read_reg_string(asd_ha, buffer, offs+OCM_BASE_ADDR, size);
123 for ( ; size > 0; size--, offs
116 asd_read_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, u32 offs, int size) argument
129 asd_read_ocm_dir(struct asd_ha_struct *asd_ha, struct asd_ocm_dir *dir, u32 offs) argument
161 asd_write_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, u32 offs, int size) argument
176 asd_find_dir_entry(struct asd_ocm_dir *dir, u8 type, u32 *offs, u32 *size) argument
202 u32 offs, size; local
375 __le32 offs; member in struct:asd_flash_de
578 asd_read_flash_seg(struct asd_ha_struct *asd_ha, void *buffer, u32 offs, int size) argument
646 asd_find_flash_de(struct asd_flash_dir *flash_dir, u32 entry_type, u32 *offs, u32 *size) argument
859 u32 offs, size; local
971 u32 offs, size; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c13 u32 offs; local
27 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2;
29 ret = mt76_get_of_data_from_mtd(mdev, dev->cal, offs, val);
323 u32 val, offs; local
328 offs = is_7976 ? MT_EE_RATE_DELTA_2G_V2 : MT_EE_RATE_DELTA_2G;
330 offs = is_7976 ? MT_EE_RATE_DELTA_5G_V2 : MT_EE_RATE_DELTA_5G;
332 offs = is_7976 ? MT_EE_RATE_DELTA_6G_V2 : 0;
334 val = eeprom[offs];
336 if (!offs || !(val & MT_EE_RATE_DELTA_EN))
/linux-master/arch/sh/kernel/cpu/sh4a/
H A Dsmp-shx3.c31 unsigned int offs = 4 * cpu; local
34 x = __raw_readl(0xfe410070 + offs); /* C0INITICI..CnINTICI */
36 __raw_writel(x, 0xfe410080 + offs); /* C0INTICICLR..CnINTICICLR */
/linux-master/drivers/net/ethernet/altera/
H A Daltera_tse.h487 u32 csrrd32(void __iomem *mac, size_t offs) argument
489 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
494 u16 csrrd16(void __iomem *mac, size_t offs) argument
496 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
501 u8 csrrd8(void __iomem *mac, size_t offs) argument
503 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
508 void csrwr32(u32 val, void __iomem *mac, size_t offs) argument
510 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
516 void csrwr16(u16 val, void __iomem *mac, size_t offs) argument
518 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
524 csrwr8(u8 val, void __iomem *mac, size_t offs) argument
[all...]
/linux-master/net/ipv4/
H A Dtcp_cong.c320 size_t offs = 0; local
324 offs += snprintf(buf + offs, maxlen - offs,
326 offs == 0 ? "" : " ", ca->name);
328 if (WARN_ON_ONCE(offs >= maxlen))
349 size_t offs = 0; local
356 offs += snprintf(buf + offs, maxlen - offs,
[all...]
/linux-master/drivers/mfd/
H A Dmax8925-core.c332 int offs; /* bit offset in mask register */ member in struct:max8925_irq_data
341 .offs = 1 << 0,
346 .offs = 1 << 1,
351 .offs = 1 << 2,
356 .offs = 1 << 0,
361 .offs = 1 << 1,
366 .offs = 1 << 2,
371 .offs = 1 << 3,
376 .offs = 1 << 4,
381 .offs
[all...]
/linux-master/include/sound/
H A Dseq_oss.h42 int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
/linux-master/arch/sparc/kernel/
H A Dapc.c38 #define apc_readb(offs) (sbus_readb(regs+offs))
39 #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs))
/linux-master/drivers/clocksource/
H A Ddw_apb_timer.c49 static inline u32 apbt_readl(struct dw_apb_timer *timer, unsigned long offs) argument
51 return readl(timer->base + offs);
55 unsigned long offs)
57 writel(val, timer->base + offs);
60 static inline u32 apbt_readl_relaxed(struct dw_apb_timer *timer, unsigned long offs) argument
62 return readl_relaxed(timer->base + offs);
66 unsigned long offs)
68 writel_relaxed(val, timer->base + offs);
54 apbt_writel(struct dw_apb_timer *timer, u32 val, unsigned long offs) argument
65 apbt_writel_relaxed(struct dw_apb_timer *timer, u32 val, unsigned long offs) argument

Completed in 273 milliseconds

1234567891011>>