Home
last modified time | relevance | path

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

/include/linux/
Dtty_buffer.h25 static inline u8 *char_buf_ptr(struct tty_buffer *b, unsigned int ofs) in char_buf_ptr() argument
27 return b->data + ofs; in char_buf_ptr()
30 static inline u8 *flag_buf_ptr(struct tty_buffer *b, unsigned int ofs) in flag_buf_ptr() argument
32 return char_buf_ptr(b, ofs) + b->size; in flag_buf_ptr()
Dlibata.h1195 unsigned int ofs, unsigned int len);
1197 unsigned int ofs, unsigned int len);
/include/linux/mtd/
Dmap.h389 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 …]
Dmtd.h348 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 …]
Dbbm.h132 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
Donenand.h116 int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
Drawnand.h1176 int (*block_bad)(struct nand_chip *chip, loff_t ofs);
1177 int (*block_markbad)(struct nand_chip *chip, loff_t ofs);
1198 int (*lock_area)(struct nand_chip *chip, loff_t ofs, uint64_t len);
1199 int (*unlock_area)(struct nand_chip *chip, loff_t ofs, uint64_t len);
Dcfi.h384 loff_t ofs, size_t len, void *thunk);
/include/linux/rtc/
Dm48t59.h50 void (*write_byte)(struct device *dev, u32 ofs, u8 val);
51 unsigned char (*read_byte)(struct device *dev, u32 ofs);
/include/trace/events/
Derofs.h68 __field(unsigned int, ofs )
75 __entry->ofs = erofs_blkoff(inode->i_sb, erofs_iloc(inode));
80 __entry->blkaddr, __entry->ofs)
Df2fs.h392 TP_PROTO(struct inode *inode, nid_t nid, unsigned int ofs, int free),
394 TP_ARGS(inode, nid, ofs, free),
400 __field(unsigned int, ofs)
408 __entry->ofs = ofs;
415 __entry->ofs,
/include/sound/
Dmemalloc.h100 unsigned int ofs, unsigned int size);
Dpcm.h1387 snd_pcm_sgbuf_get_addr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_addr() argument
1389 return snd_sgbuf_get_addr(snd_pcm_get_dma_buf(substream), ofs); in snd_pcm_sgbuf_get_addr()
1403 unsigned int ofs, unsigned int size) in snd_pcm_sgbuf_get_chunk_size() argument
1405 return snd_sgbuf_get_chunk_size(snd_pcm_get_dma_buf(substream), ofs, size); in snd_pcm_sgbuf_get_chunk_size()
/include/pcmcia/
Dcistpl.h86 u_char ofs[CISTPL_MAX_ALTSTR_STRINGS]; member
127 u_char ofs[CISTPL_VERS_1_MAX_PROD_STRINGS]; member
/include/net/
Dip_vs.h241 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) \ argument
244 pp->debug_packet(af, pp, skb, ofs, msg); \
246 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) \ argument
250 pp->debug_packet(af, pp, skb, ofs, msg); \
257 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument
258 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument