Home
last modified time | relevance | path

Searched defs:off (Results 1 – 25 of 1365) sorted by relevance

12345678910>>...55

/openbmc/linux/arch/powerpc/boot/
H A Daddnote.c64 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1])) argument
65 #define GET_32BE(off) ((GET_16BE(off) << 16U) + GET_16BE((off)+2U)) argument
68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument
71 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \ argument
74 #define GET_16LE(off) ((buf[off]) + (buf[(off)+1] << 8)) argument
75 #define GET_32LE(off) (GET_16LE(off) + (GET_16LE((off)+2U) << 16U)) argument
76 #define GET_64LE(off) ((unsigned long long)GET_32LE(off) + \ argument
78 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \ argument
86 #define PUT_16(off, v) (e_data == ELFDATA2MSB ? PUT_16BE(off, v) : \ argument
88 #define PUT_32(off, v) (e_data == ELFDATA2MSB ? PUT_32BE(off, v) : \ argument
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdpstore.c50 loff_t off) in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used()
71 loff_t off) in mtdpstore_mark_unused()
81 loff_t off) in mtdpstore_block_mark_unused()
108 loff_t off) in mtdpstore_block_is_used()
150 loff_t off) in mtdpstore_block_clear_removed()
166 loff_t off) in mtdpstore_block_is_removed()
210 static ssize_t mtdpstore_erase(size_t size, loff_t off) in mtdpstore_erase()
310 static ssize_t mtdpstore_read(char *buf, size_t size, loff_t off) in mtdpstore_read()
445 loff_t off, size_t size) in mtdpstore_flush_removed_do()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
34 #define GIC_ACCESSOR_RW(sz, off, name) \ argument
38 #define GIC_VX_ACCESSOR_RO(sz, off, name) \ argument
43 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument
48 #define GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
61 #define GIC_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
72 #define GIC_VX_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
86 #define GIC_ACCESSOR_RO_INTR_BIT(off, name) \ argument
109 #define GIC_ACCESSOR_RW_INTR_BIT(off, name) \ argument
150 #define GIC_VX_ACCESSOR_RO_INTR_BIT(sz, off, name) \ argument
[all …]
H A Duasm.h215 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
226 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
230 # define UASM_i_LL(buf, rs, rt, off) uasm_i_ll(buf, rs, rt, off) argument
231 # define UASM_i_LW(buf, rs, rt, off) uasm_i_lw(buf, rs, rt, off) argument
236 # define UASM_i_SC(buf, rs, rt, off) uasm_i_sc(buf, rs, rt, off) argument
242 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sw(buf, rs, rt, off) argument
245 #define uasm_i_b(buf, off) uasm_i_beq(buf, 0, 0, off) argument
246 #define uasm_i_beqz(buf, rs, off) uasm_i_beq(buf, rs, 0, off) argument
247 #define uasm_i_beqzl(buf, rs, off) uasm_i_beql(buf, rs, 0, off) argument
248 #define uasm_i_bnez(buf, rs, off) uasm_i_bne(buf, rs, 0, off) argument
[all …]
H A Dmips-cps.h17 #define CPS_ACCESSOR_A(unit, off, name) \ argument
91 #define CPS_ACCESSOR_RO(unit, sz, off, name) \ argument
95 #define CPS_ACCESSOR_WO(unit, sz, off, name) \ argument
99 #define CPS_ACCESSOR_RW(unit, sz, off, name) \ argument
/openbmc/linux/fs/hfs/
H A Dbnode.c18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read()
42 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16()
50 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8()
58 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key()
73 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
84 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
91 void hfs_bnode_write_u8(struct hfs_bnode *node, int off, u8 data) in hfs_bnode_write_u8()
97 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
146 int i, off, key_off; in hfs_bnode_dump() local
250 loff_t off; in __hfs_bnode_create() local
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_logging.c41 size_t off = 0; in sdev_format_header() local
61 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
88 size_t off = 0, logbuf_len; in scmd_printk() local
113 size_t off; in scsi_format_opcode_name() local
161 size_t off; in __scsi_format_command() local
184 size_t off, logbuf_len; in scsi_print_command() local
243 size_t off = 0; in scsi_format_extd_sense() local
273 size_t off; in scsi_format_sense_hdr() local
305 size_t off; in scsi_log_dump_sense() local
322 size_t off, logbuf_len; in scsi_log_print_sense_hdr() local
[all …]
/openbmc/linux/arch/arc/lib/
H A Dmemset-archs.S20 .macro PREALLOC_INSTR reg, off
24 .macro PREFETCHW_INSTR reg, off
30 .macro PREALLOC_INSTR reg, off
33 .macro PREFETCHW_INSTR reg, off
/openbmc/linux/arch/powerpc/crypto/
H A Daes-spe-modes.S13 #define LOAD_DATA(reg, off) \ argument
15 #define SAVE_DATA(reg, off) \ argument
20 #define LOAD_IV(reg, off) \ argument
22 #define SAVE_IV(reg, off) \ argument
30 #define LOAD_DATA(reg, off) \ argument
33 #define SAVE_DATA(reg, off) \ argument
37 #define LOAD_IV(reg, off) \ argument
40 #define SAVE_IV(reg, off) \ argument
H A Daes-spe-core.S22 #define LWH(out, off) \ argument
25 #define LWL(out, off) \ argument
28 #define LBZ(out, tab, off) \ argument
31 #define LAH(out, in, bpos, off) \ argument
35 #define LAL(out, in, bpos, off) \ argument
/openbmc/linux/arch/mips/mm/
H A Dpage.c103 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
233 static void build_clear_store(u32 **buf, int off) in build_clear_store()
242 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
278 int off; in build_clear_page() local
369 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
378 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
387 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
396 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
427 int off; in build_copy_page() local
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dfdt.c25 int off, ret = -FDT_ERR_NOTFOUND; in ft_del_cpuhandle() local
43 int off, num_cores, del_cores; in ft_fixup_num_cores() local
85 int off = fdt_node_offset_by_prop_value(blob, srio_off, in ft_disable_srio_port() local
97 int off = fdt_node_offset_by_compatible(blob, -1, "fsl,rman"); in ft_disable_rman() local
108 int off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio-rmu"); in ft_disable_rmu() local
/openbmc/linux/fs/hfsplus/
H A Dbnode.c22 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read()
41 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16()
49 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8()
57 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key()
73 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
94 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
101 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
295 int i, off, key_off; in hfs_bnode_dump() local
399 loff_t off; in __hfs_bnode_create() local
471 int i, rec_off, off, next_off; in hfs_bnode_find() local
/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2408.c68 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
81 loff_t off, size_t count) in output_read()
94 loff_t off, size_t count) in activity_read()
107 loff_t off, size_t count) in cond_search_mask_read()
121 char *buf, loff_t off, size_t count) in cond_search_polarity_read()
131 loff_t off, size_t count) in status_control_read()
164 loff_t off, size_t count) in output_write()
214 loff_t off, size_t count) in activity_write()
244 loff_t off, size_t count) in status_control_write()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest()
258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read()
288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read()
295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl()
314 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readl()
321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq()
345 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readq()
352 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_write()
373 int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_write()
380 u8 action, u8 token, u64 off, u32 value) in __nfp_rtsym_writel()
[all …]
/openbmc/linux/include/linux/isdn/
H A Dcapiutil.h19 #define CAPIMSG_U8(m, off) (m[off]) argument
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8)) argument
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24)) argument
33 static inline void capimsg_setu8(void *m, int off, __u8 val) in capimsg_setu8()
38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16()
44 static inline void capimsg_setu32(void *m, int off, __u32 val) in capimsg_setu32()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbpf_legacy.h10 #define load_byte(skb, off) __builtin_bpf_load_byte(off) argument
11 #define load_half(skb, off) __builtin_bpf_load_half(off) argument
12 #define load_word(skb, off) __builtin_bpf_load_word(off) argument
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfdt.c38 int off; in ft_fixup_cpu() local
160 static inline void ft_fixup_l3cache(void *blob, int off) in ft_fixup_l3cache()
187 static inline void ft_fixup_l2cache_compatible(void *blob, int off) in ft_fixup_l2cache_compatible()
252 int off; in ft_fixup_l2cache() local
292 int off, l2_off, l3_off = -1; in ft_fixup_l2cache() local
383 int off; in ft_fixup_cache() local
448 int off = fdt_node_offset_by_compat_reg(blob, compat, phys); in ft_fixup_clks() local
510 int off; in fdt_fixup_usb() local
599 int off; local
770 int off; local
/openbmc/linux/arch/mips/alchemy/common/
H A Dgpiolib.c117 static int alchemy_gpic_get(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_get()
122 static void alchemy_gpic_set(struct gpio_chip *chip, unsigned int off, int v) in alchemy_gpic_set()
127 static int alchemy_gpic_dir_input(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_dir_input()
132 static int alchemy_gpic_dir_output(struct gpio_chip *chip, unsigned int off, in alchemy_gpic_dir_output()
138 static int alchemy_gpic_gpio_to_irq(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_gpio_to_irq()
/openbmc/linux/drivers/hid/
H A Dhid-picolcd_debugfs.c73 size_t s, loff_t *off) in picolcd_debug_eeprom_read()
112 size_t s, loff_t *off) in picolcd_debug_eeprom_write()
169 static int _picolcd_flash_setaddr(struct picolcd_data *data, u8 *buf, long off) in _picolcd_flash_setaddr()
180 char __user *u, size_t s, loff_t *off) in _picolcd_flash_read()
216 size_t s, loff_t *off) in picolcd_debug_flash_read()
235 loff_t *off) in _picolcd_flash_erase64()
262 const char __user *u, size_t s, loff_t *off) in _picolcd_flash_write()
299 size_t s, loff_t *off) in picolcd_debug_flash_write()
/openbmc/linux/net/netfilter/
H A Dnft_set_bitmap.c53 u32 *idx, u32 *off) in nft_bitmap_location()
71 nft_bitmap_active(const u8 *bitmap, u32 idx, u32 off, u8 genmask) in nft_bitmap_active()
82 u32 idx, off; in nft_bitmap_lookup() local
131 u32 idx, off; in nft_bitmap_insert() local
154 u32 idx, off; in nft_bitmap_remove() local
169 u32 idx, off; in nft_bitmap_activate() local
183 u32 idx, off; in nft_bitmap_flush() local
200 u32 idx, off; in nft_bitmap_deactivate() local
/openbmc/qemu/tests/qtest/libqos/
H A Dpci.c327 uint64_t off = (entry / 32) * PCI_MSIX_ENTRY_SIZE / 4; in qpci_msix_pending() local
399 uint8_t qpci_io_readb(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readb()
413 uint16_t qpci_io_readw(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readw()
427 uint32_t qpci_io_readl(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readl()
441 uint64_t qpci_io_readq(QPCIDevice *dev, QPCIBar token, uint64_t off) in qpci_io_readq()
455 void qpci_io_writeb(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writeb()
467 void qpci_io_writew(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writew()
480 void qpci_io_writel(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writel()
493 void qpci_io_writeq(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_io_writeq()
506 void qpci_memread(QPCIDevice *dev, QPCIBar token, uint64_t off, in qpci_memread()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-adp5520.c23 static int adp5520_gpio_get_value(struct gpio_chip *chip, unsigned off) in adp5520_gpio_get_value()
44 unsigned off, int val) in adp5520_gpio_set_value()
55 static int adp5520_gpio_direction_input(struct gpio_chip *chip, unsigned off) in adp5520_gpio_direction_input()
67 unsigned off, int val) in adp5520_gpio_direction_output()
H A Dgpio-raspberrypi-exp.c54 static int rpi_exp_gpio_get_polarity(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_polarity()
74 static int rpi_exp_gpio_dir_in(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_dir_in()
103 static int rpi_exp_gpio_dir_out(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_dir_out()
132 static int rpi_exp_gpio_get_direction(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_direction()
156 static int rpi_exp_gpio_get(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get()
178 static void rpi_exp_gpio_set(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_set()
/openbmc/u-boot/common/
H A Dlcd_simplefb.c18 static int lcd_dt_simplefb_configure_node(void *blob, int off) in lcd_dt_simplefb_configure_node()
64 int off, ret; in lcd_dt_simplefb_add_node() local
83 int off; in lcd_dt_simplefb_enable_existing_node() local

12345678910>>...55