Home
last modified time | relevance | path

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

/include/linux/
Dtty_buffer.h27 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) in char_buf_ptr() argument
29 return ((unsigned char *)b->data) + ofs; in char_buf_ptr()
32 static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs) in flag_buf_ptr() argument
34 return (char *)char_buf_ptr(b, ofs) + b->size; in flag_buf_ptr()
Dlibata.h1159 unsigned int ofs, unsigned int len);
1161 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.h346 int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
347 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
348 int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
349 int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs);
350 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs);
351 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs);
352 int (*_max_bad_blocks) (struct mtd_info *mtd, loff_t ofs, size_t len);
409 static inline u64 mtd_get_master_ofs(struct mtd_info *mtd, u64 ofs) in mtd_get_master_ofs() argument
412 ofs += mtd->part.offset; in mtd_get_master_ofs()
416 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.h1149 int (*block_bad)(struct nand_chip *chip, loff_t ofs);
1150 int (*block_markbad)(struct nand_chip *chip, loff_t ofs);
1171 int (*lock_area)(struct nand_chip *chip, loff_t ofs, uint64_t len);
1172 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/sound/
Dmemalloc.h80 unsigned int ofs, unsigned int size);
Dpcm.h1325 snd_pcm_sgbuf_get_addr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_addr() argument
1327 return snd_sgbuf_get_addr(snd_pcm_get_dma_buf(substream), ofs); in snd_pcm_sgbuf_get_addr()
1339 unsigned int ofs, unsigned int size) in snd_pcm_sgbuf_get_chunk_size() argument
1341 return snd_sgbuf_get_chunk_size(snd_pcm_get_dma_buf(substream), ofs, size); in snd_pcm_sgbuf_get_chunk_size()
/include/trace/events/
Derofs.h63 __field(unsigned int, ofs )
71 __entry->ofs = erofs_blkoff(iloc(EROFS_I_SB(inode), __entry->nid));
77 __entry->blkaddr, __entry->ofs,
Df2fs.h367 TP_PROTO(struct inode *inode, nid_t nid, unsigned int ofs, int free),
369 TP_ARGS(inode, nid, ofs, free),
375 __field(unsigned int, ofs)
383 __entry->ofs = ofs;
390 __entry->ofs,
/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.h238 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) \ argument
241 pp->debug_packet(af, pp, skb, ofs, msg); \
243 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) \ argument
247 pp->debug_packet(af, pp, skb, ofs, msg); \
254 #define IP_VS_DBG_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument
255 #define IP_VS_DBG_RL_PKT(level, af, pp, skb, ofs, msg) do {} while (0) argument