Home
last modified time | relevance | path

Searched defs:offset (Results 76 – 100 of 2951) sorted by relevance

12345678910>>...119

/linux-3.3/drivers/gpio/
Dgpio-samsung.c527 static int samsung_gpiolib_2bit_input(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_2bit_input()
546 unsigned offset, int value) in samsung_gpiolib_2bit_output()
590 unsigned int offset) in samsung_gpiolib_4bit_input()
606 unsigned int offset, int value) in samsung_gpiolib_4bit_output()
656 unsigned int offset) in samsung_gpiolib_4bit2_input()
678 unsigned int offset, int value) in samsung_gpiolib_4bit2_output()
715 static int s3c24xx_gpiolib_banka_input(struct gpio_chip *chip, unsigned offset) in s3c24xx_gpiolib_banka_input()
721 unsigned offset, int value) in s3c24xx_gpiolib_banka_output()
753 unsigned int offset) in s5p64x0_gpiolib_rbank_input()
789 unsigned int offset, int value) in s5p64x0_gpiolib_rbank_output()
[all …]
Dgpio-wm831x.c38 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in()
52 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get()
68 static void wm831x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm831x_gpio_set()
78 unsigned offset, int value) in wm831x_gpio_direction_out()
100 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq()
111 static int wm831x_gpio_set_debounce(struct gpio_chip *chip, unsigned offset, in wm831x_gpio_set_debounce()
Dgpio-tps65912.c29 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get()
42 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
55 static int tps65912_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_output()
67 static int tps65912_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_input()
Dgpio-stmpe.c45 static int stmpe_gpio_get(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_get()
60 static void stmpe_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in stmpe_gpio_set()
79 unsigned offset, int val) in stmpe_gpio_direction_output()
92 unsigned offset) in stmpe_gpio_direction_input()
102 static int stmpe_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_to_irq()
109 static int stmpe_gpio_request(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_request()
135 int offset = d->irq - stmpe_gpio->irq_base; in stmpe_gpio_irq_set_type() local
202 int offset = d->irq - stmpe_gpio->irq_base; in stmpe_gpio_irq_mask() local
212 int offset = d->irq - stmpe_gpio->irq_base; in stmpe_gpio_irq_unmask() local
Dgpio-vr41xx.c85 #define giu_read(offset) readw(giu_base + (offset)) argument
86 #define giu_write(offset, value) writew((value), giu_base + (offset)) argument
92 static inline u16 giu_set(u16 offset, u16 set) in giu_set()
103 static inline u16 giu_clear(u16 offset, u16 clear) in giu_clear()
315 u16 offset, mask, reg; in giu_set_direction() local
429 u16 offset, mask, reg; in vr41xx_gpio_set() local
462 static int vr41xx_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_direction_input()
467 static int vr41xx_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in vr41xx_gpio_direction_output()
475 static int vr41xx_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_to_irq()
Dgpio-sx150x.c125 static inline bool offset_is_oscio(struct sx150x_chip *chip, unsigned offset) in offset_is_oscio()
149 static inline void sx150x_find_cfg(u8 offset, u8 width, in sx150x_find_cfg()
159 u8 offset, u8 width, u8 reg, u8 val) in sx150x_write_cfg()
176 static int sx150x_get_io(struct sx150x_chip *chip, unsigned offset) in sx150x_get_io()
199 static void sx150x_set_io(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_set_io()
208 static int sx150x_io_input(struct sx150x_chip *chip, unsigned offset) in sx150x_io_input()
217 static int sx150x_io_output(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_io_output()
235 static int sx150x_gpio_get(struct gpio_chip *gc, unsigned offset) in sx150x_gpio_get()
251 static void sx150x_gpio_set(struct gpio_chip *gc, unsigned offset, int val) in sx150x_gpio_set()
265 static int sx150x_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in sx150x_gpio_direction_input()
[all …]
/linux-3.3/arch/mips/pmc-sierra/msp71xx/
Dgpio.c53 static int msp71xx_gpio_get(struct gpio_chip *chip, unsigned offset) in msp71xx_gpio_get()
69 static void msp71xx_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in msp71xx_gpio_set()
96 unsigned offset, int mode) in msp71xx_set_gpio_mode()
125 unsigned offset, int value) in msp71xx_direction_output()
139 static int msp71xx_direction_input(struct gpio_chip *chip, unsigned offset) in msp71xx_direction_input()
/linux-3.3/fs/btrfs/
Dorphan.c23 struct btrfs_root *root, u64 offset) in btrfs_insert_orphan_item()
44 struct btrfs_root *root, u64 offset) in btrfs_del_orphan_item()
73 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset) in btrfs_find_orphan_item()
Dfree-space-cache.c39 u64 offset) in __lookup_free_space_inode()
121 struct btrfs_path *path, u64 ino, u64 offset) in __create_free_space_inode()
420 unsigned offset = 0; in io_ctl_set_crc() local
444 unsigned offset = 0; in io_ctl_check_crc() local
473 static int io_ctl_add_entry(struct io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry()
587 struct btrfs_path *path, u64 offset) in __load_free_space_cache()
835 struct btrfs_path *path, u64 offset) in __btrfs_write_out_cache()
1081 u64 offset) in offset_to_bit()
1093 static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, in offset_to_bitmap()
1108 static int tree_insert_offset(struct rb_root *root, u64 offset, in tree_insert_offset()
[all …]
/linux-3.3/arch/arm/plat-mxc/
Diomux-v1.c38 static inline unsigned long imx_iomuxv1_readl(unsigned offset) in imx_iomuxv1_readl()
43 static inline void imx_iomuxv1_writel(unsigned long val, unsigned offset) in imx_iomuxv1_writel()
48 static inline void imx_iomuxv1_rmwl(unsigned offset, in imx_iomuxv1_rmwl()
97 unsigned long offset = pin < 16 ? MXC_OCR1(port) : MXC_OCR2(port); in imx_iomuxv1_set_ocr() local
108 unsigned long offset = pin < 16 ? MXC_ICONFA1(port) : MXC_ICONFA2(port); in imx_iomuxv1_set_iconfa() local
119 unsigned long offset = pin < 16 ? MXC_ICONFB1(port) : MXC_ICONFB2(port); in imx_iomuxv1_set_iconfb() local
/linux-3.3/drivers/tty/serial/8250/
D8250_dw.c33 static void dw8250_serial_out(struct uart_port *p, int offset, int value) in dw8250_serial_out()
44 static unsigned int dw8250_serial_in(struct uart_port *p, int offset) in dw8250_serial_in()
51 static void dw8250_serial_out32(struct uart_port *p, int offset, int value) in dw8250_serial_out32()
62 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset) in dw8250_serial_in32()
/linux-3.3/arch/arm/mach-davinci/
Ddma.c107 static inline unsigned int edma_read(unsigned ctlr, int offset) in edma_read()
112 static inline void edma_write(unsigned ctlr, int offset, int val) in edma_write()
116 static inline void edma_modify(unsigned ctlr, int offset, unsigned and, in edma_modify()
124 static inline void edma_and(unsigned ctlr, int offset, unsigned and) in edma_and()
130 static inline void edma_or(unsigned ctlr, int offset, unsigned or) in edma_or()
136 static inline unsigned int edma_read_array(unsigned ctlr, int offset, int i) in edma_read_array()
140 static inline void edma_write_array(unsigned ctlr, int offset, int i, in edma_write_array()
145 static inline void edma_modify_array(unsigned ctlr, int offset, int i, in edma_modify_array()
150 static inline void edma_or_array(unsigned ctlr, int offset, int i, unsigned or) in edma_or_array()
154 static inline void edma_or_array2(unsigned ctlr, int offset, int i, int j, in edma_or_array2()
[all …]
/linux-3.3/arch/m68k/mac/
Dmisc.c67 static __u8 cuda_read_pram(int offset) in cuda_read_pram()
78 static void cuda_write_pram(int offset, __u8 data) in cuda_write_pram()
122 static __u8 pmu_read_pram(int offset) in pmu_read_pram()
133 static void pmu_write_pram(int offset, __u8 data) in pmu_write_pram()
288 static __u8 via_read_pram(int offset) in via_read_pram()
293 static void via_write_pram(int offset, __u8 data) in via_write_pram()
459 void mac_pram_read(int offset, __u8 *buffer, int len) in mac_pram_read()
482 void mac_pram_write(int offset, __u8 *buffer, int len) in mac_pram_write()
579 unsigned long offset = phys-virt; in mac_reset() local
630 static void unmktime(unsigned long time, long offset, in unmktime()
/linux-3.3/mm/
Dreadahead.c152 pgoff_t offset, unsigned long nr_to_read, in __do_page_cache_readahead()
210 pgoff_t offset, unsigned long nr_to_read) in force_page_cache_readahead()
347 pgoff_t offset, unsigned long max) in count_history_pages()
363 pgoff_t offset, in try_context_readahead()
398 bool hit_readahead_marker, pgoff_t offset, in ondemand_readahead()
505 pgoff_t offset, unsigned long req_size) in page_cache_sync_readahead()
540 struct page *page, pgoff_t offset, in page_cache_async_readahead()
/linux-3.3/drivers/staging/vme/devices/
Dvme_pio2_gpio.c35 static int pio2_gpio_get(struct gpio_chip *chip, unsigned int offset) in pio2_gpio_get()
72 static void pio2_gpio_set(struct gpio_chip *chip, unsigned int offset, in pio2_gpio_set()
104 static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in pio2_gpio_dir_in()
123 static int pio2_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int value) in pio2_gpio_dir_out()
/linux-3.3/fs/udf/
Ddirectory.c26 sector_t *offset) in udf_fileident_read()
157 struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, int *offset) in udf_get_fileident()
198 struct short_ad *udf_get_fileshortad(uint8_t *ptr, int maxoffset, uint32_t *offset, in udf_get_fileshortad()
221 struct long_ad *udf_get_filelongad(uint8_t *ptr, int maxoffset, uint32_t *offset, int inc) in udf_get_filelongad()
Dpartition.c31 uint16_t partition, uint32_t offset) in udf_get_pblock()
48 uint16_t partition, uint32_t offset) in udf_get_pblock_virt15()
108 uint16_t partition, uint32_t offset) in udf_get_pblock_virt20()
114 uint16_t partition, uint32_t offset) in udf_get_pblock_spar15()
282 uint16_t partition, uint32_t offset) in udf_try_read_meta()
307 uint16_t partition, uint32_t offset) in udf_get_pblock_meta25()
/linux-3.3/drivers/net/wireless/b43legacy/
Dradio.c114 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16()
141 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_radio_write16()
155 u16 offset = 0x0400; in b43legacy_set_all_gains() local
190 u16 offset = 0x0400; in b43legacy_set_original_gains() local
333 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) in b43legacy_nrssi_hw_write()
341 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_nrssi_hw_read()
922 u8 id, u16 offset, u16 value) in _stack_save()
936 u8 id, u16 offset) in _stack_restore()
954 #define phy_stacksave(offset) \ argument
959 #define phy_stackrestore(offset) \ argument
[all …]
Dilt.c315 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_ilt_write()
322 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset, u32 val) in b43legacy_ilt_write32()
332 u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_ilt_read()
/linux-3.3/fs/squashfs/
Dfile.c60 static struct meta_index *locate_meta_index(struct inode *inode, int offset, in locate_meta_index()
99 static struct meta_index *empty_meta_index(struct inode *inode, int offset, in empty_meta_index()
174 u64 *start_block, int *offset) in read_indexes()
241 int offset = 0; in fill_meta_index() local
339 int offset; in read_blocklist() local
378 int bytes, i, offset = 0, sparse = 0; in squashfs_readpage() local
/linux-3.3/drivers/ssb/
Dpcmcia.c71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write()
83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read()
200 u16 *offset) in select_core_and_segment()
226 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8()
242 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16()
258 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32()
278 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read()
334 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8()
348 static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pcmcia_write16()
362 static void ssb_pcmcia_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pcmcia_write32()
[all …]
/linux-3.3/drivers/char/tpm/
Dtpm_atmel.h29 #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset); argument
30 #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset) argument
81 #define atmel_getb(chip, offset) inb(chip->vendor->base + offset) argument
82 #define atmel_putb(val, chip, offset) outb(val, chip->vendor->base + offset) argument
/linux-3.3/include/linux/
Dio-mapping.h84 unsigned long offset) in io_mapping_map_atomic_wc()
102 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_wc()
141 unsigned long offset) in io_mapping_map_atomic_wc()
155 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_wc()
/linux-3.3/scripts/dtc/libfdt/
Dfdt_ro.c58 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
100 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
133 int offset = 0; in fdt_path_offset() local
188 int offset, nextoffset; in fdt_get_property() local
271 int offset, depth, namelen; in fdt_get_path() local
324 int offset, depth; in fdt_supernode_atdepth_offset() local
382 int offset; in fdt_node_offset_by_prop_value() local
449 int offset, err; in fdt_node_offset_by_compatible() local
/linux-3.3/arch/sparc/lib/
Duser_fixup.c21 static unsigned long compute_size(unsigned long start, unsigned long size, unsigned long *offset) in compute_size()
37 unsigned long offset; in copy_from_user_fixup() local
49 unsigned long offset; in copy_to_user_fixup() local

12345678910>>...119