Home
last modified time | relevance | path

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

12345678910>>...39

/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
66 #define GET_64BE(off) ((((unsigned long long)GET_32BE(off)) << 32ULL) + \ argument
68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument
70 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) argument
71 #define PUT_64BE(off, v)((PUT_32BE((off), (unsigned long long)(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
[all …]
/linux/arch/mips/include/asm/
H A Dmips-gic.h30 #define GIC_ACCESSOR_RO(sz, off, name) \ argument
35 #define GIC_ACCESSOR_RW(sz, off, name) \ argument
40 #define GIC_VX_ACCESSOR_RO(sz, off, name) \ argument
45 #define GIC_VX_ACCESSOR_RW(sz, off, name) \ argument
50 #define _GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
63 #define _GIC_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
73 #define GIC_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
77 #define GIC_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
82 #define GIC_VX_ACCESSOR_RO_INTR_REG(sz, off, stride, name) \ argument
89 #define GIC_VX_ACCESSOR_RW_INTR_REG(sz, off, stride, name) \ argument
[all …]
H A Duasm.h212 UASM_i_LL(buf,rs,rt,off) global() argument
213 UASM_i_LW(buf,rs,rt,off) global() argument
218 UASM_i_SC(buf,rs,rt,off) global() argument
224 UASM_i_SW(buf,rs,rt,off) global() argument
228 UASM_i_LL(buf,rs,rt,off) global() argument
229 UASM_i_LW(buf,rs,rt,off) global() argument
234 UASM_i_SC(buf,rs,rt,off) global() argument
240 UASM_i_SW(buf,rs,rt,off) global() argument
243 uasm_i_b(buf,off) global() argument
244 uasm_i_beqz(buf,rs,off) global() argument
245 uasm_i_beqzl(buf,rs,off) global() argument
246 uasm_i_bnez(buf,rs,off) global() argument
247 uasm_i_bnezl(buf,rs,off) global() argument
[all...]
H A Dmips-cpc.h64 #define CPC_ACCESSOR_RO(sz, off, name) \ argument
68 #define CPC_ACCESSOR_RW(sz, off, name) \ argument
72 #define CPC_CX_ACCESSOR_RO(sz, off, name) \ argument
76 #define CPC_CX_ACCESSOR_RW(sz, off, name) \ argument
/linux/drivers/scsi/
H A Dscsi_logging.c41 size_t off = 0; in sdev_format_header() local
61 size_t off = 0, logbuf_len; sdev_prefix_printk() local
88 size_t off = 0, logbuf_len; scmd_printk() local
113 size_t off; scsi_format_opcode_name() local
161 size_t off; __scsi_format_command() local
184 size_t off, logbuf_len; scsi_print_command() local
243 size_t off = 0; scsi_format_extd_sense() local
273 size_t off; scsi_format_sense_hdr() local
305 size_t off; scsi_log_dump_sense() local
322 size_t off, logbuf_len; scsi_log_print_sense_hdr() local
385 size_t off, logbuf_len; scsi_print_result() local
[all...]
/linux/fs/hfs/
H A Dbnode.c18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, u32 off, u32 len) in hfs_bnode_read()
58 u16 hfs_bnode_read_u16(struct hfs_bnode *node, u32 off) in hfs_bnode_read_u16()
66 u8 hfs_bnode_read_u8(struct hfs_bnode *node, u32 off) in hfs_bnode_read_u8()
74 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, u32 off) in hfs_bnode_read_key()
95 void hfs_bnode_write(struct hfs_bnode *node, void *buf, u32 off, u32 len) in hfs_bnode_write()
120 void hfs_bnode_write_u16(struct hfs_bnode *node, u32 off, u16 data) in hfs_bnode_write_u16()
127 void hfs_bnode_write_u8(struct hfs_bnode *node, u32 off, u8 data) in hfs_bnode_write_u8()
133 void hfs_bnode_clear(struct hfs_bnode *node, u32 off, u32 len) in hfs_bnode_clear()
204 int i, off, key_off; in hfs_bnode_dump() local
308 loff_t off; in __hfs_bnode_create() local
[all …]
/linux/arch/mips/mm/
H A Dpage.c91 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu()
221 static void build_clear_store(u32 **buf, int off) in build_clear_store()
230 static inline void build_clear_pref(u32 **buf, int off) in build_clear_pref()
266 int off; in build_clear_page() local
357 static void build_copy_load(u32 **buf, int reg, int off) in build_copy_load()
366 static void build_copy_store(u32 **buf, int reg, int off) in build_copy_store()
375 static inline void build_copy_load_pref(u32 **buf, int off) in build_copy_load_pref()
384 static inline void build_copy_store_pref(u32 **buf, int off) in build_copy_store_pref()
415 int off; in build_copy_page() local
/linux/drivers/gpio/
H A Dgpio-ltc4283.c36 static int ltc4283_pgio_get_direction(const struct ltc4283_gpio *st, unsigned int off) in ltc4283_pgio_get_direction() argument
52 static int ltc4283_gpio_get_direction(struct gpio_chip *gc, unsigned int off) in ltc4283_gpio_get_direction() argument
72 unsigned int off, bool input) in ltc4283_gpio_direction_set() argument
91 __ltc4283_gpio_set_value(const struct ltc4283_gpio * st,unsigned int off,int val) __ltc4283_gpio_set_value() argument
99 ltc4283_gpio_direction_input(struct gpio_chip * gc,unsigned int off) ltc4283_gpio_direction_input() argument
106 ltc4283_gpio_direction_output(struct gpio_chip * gc,unsigned int off,int val) ltc4283_gpio_direction_output() argument
118 ltc4283_gpio_get_value(struct gpio_chip * gc,unsigned int off) ltc4283_gpio_get_value() argument
153 ltc4283_gpio_set_value(struct gpio_chip * gc,unsigned int off,int val) ltc4283_gpio_set_value() argument
[all...]
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() argument
74 static int rpi_exp_gpio_dir_in(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_dir_in() argument
103 static int rpi_exp_gpio_dir_out(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_dir_out() argument
132 rpi_exp_gpio_get_direction(struct gpio_chip * gc,unsigned int off) rpi_exp_gpio_get_direction() argument
156 rpi_exp_gpio_get(struct gpio_chip * gc,unsigned int off) rpi_exp_gpio_get() argument
178 rpi_exp_gpio_set(struct gpio_chip * gc,unsigned int off,int val) rpi_exp_gpio_set() argument
[all...]
H A Dgpio-adp5520.c23 static int adp5520_gpio_get_value(struct gpio_chip *chip, unsigned off) in adp5520_gpio_get_value() argument
44 unsigned int off, int val) in adp5520_gpio_set_value() argument
57 static int adp5520_gpio_direction_input(struct gpio_chip *chip, unsigned off) in adp5520_gpio_direction_input() argument
69 unsigned off, in in adp5520_gpio_direction_output() argument
[all...]
/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
/linux/drivers/w1/slaves/
H A Dw1_ds2408.c69 loff_t off, size_t count) in state_read()
81 loff_t off, size_t count) in output_read()
94 loff_t off, size_t count) in activity_read()
107 char *buf, 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 char *buf, 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 char *buf, loff_t off, size_t count) in status_control_write()
H A Dw1_ds2438.c292 loff_t off, size_t count) in iad_write()
314 loff_t off, size_t count) in iad_read()
335 loff_t off, size_t count) in page0_read()
365 loff_t off, size_t count) in page1_read()
395 loff_t off, size_t count) in offset_write()
414 loff_t off, size_t count) in temperature_read()
435 loff_t off, size_t count) in vad_read()
456 loff_t off, size_t count) in vdd_read()
H A Dw1_ds28e04.c60 static inline size_t w1_f1C_fix_count(loff_t off, size_t count, size_t size) in w1_f1C_fix_count() argument
75 int off = block * W1_PAGE_SIZE; in w1_f1C_refresh_block() local
116 loff_t off, size_ in eeprom_read() argument
227 eeprom_write(struct file * filp,struct kobject * kobj,const struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) eeprom_write() argument
282 pio_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) pio_read() argument
302 pio_write(struct file * filp,struct kobject * kobj,const struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) pio_write() argument
[all...]
/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 …]
/linux/net/netfilter/
H A Dnft_set_bitmap.c54 u32 *idx, u32 *off) in nft_bitmap_location()
72 nft_bitmap_active(const u8 *bitmap, u32 idx, u32 off, u8 genmask) in nft_bitmap_active()
85 u32 idx, off; in nft_bitmap_lookup() local
140 u32 idx, off; in nft_bitmap_insert() local
162 u32 idx, off; in nft_bitmap_remove() local
177 u32 idx, off; in nft_bitmap_activate() local
192 u32 idx, off; in nft_bitmap_flush() local
207 u32 idx, off; in nft_bitmap_deactivate() local
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c52 int off = 0; in init_genl_req() local
70 uint32_t off; in nl_error() local
332 int off = 0; resolve_mptcp_pm_netlink() local
359 int off = 0; dsf() local
476 int off = 0; csf() local
604 int off = 0; remove_addr() local
656 int off = 0; announce_addr() local
782 int off = 0; add_addr() local
916 int off = 0; del_addr() local
1121 int off = 0; get_addr() local
1172 int off = 0; dump_addrs() local
1208 int off = 0; flush_addrs() local
1262 int off = 0; get_set_limits() local
1365 int off = 0; set_flags() local
[all...]
/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
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_module_attach.c81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() argument
59 BPF_PROG(handle_fentry,struct file * file,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t len) BPF_PROG() argument
70 BPF_PROG(handle_fentry_manual,struct file * file,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t len) BPF_PROG() argument
93 BPF_PROG(handle_fentry_explicit_manual,struct file * file,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t len) BPF_PROG() argument
105 BPF_PROG(handle_fexit,struct file * file,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t len,int ret) BPF_PROG() argument
130 BPF_PROG(handle_fmod_ret,struct file * file,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t len) BPF_PROG() argument
/linux/drivers/pinctrl/sunplus/
H A Dsppctl.c39 static inline u32 sppctl_first_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_first_readl() argument
44 static inline void sppctl_first_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_first_writel() argument
49 static inline u32 sppctl_gpio_master_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_master_readl() argument
55 u32 off) in sppctl_gpio_master_writel() argument
60 static inline u32 sppctl_gpio_oe_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_oe_readl() argument
65 sppctl_gpio_oe_writel(struct sppctl_gpio_chip * spp_gchip,u32 val,u32 off) sppctl_gpio_oe_writel() argument
70 sppctl_gpio_out_writel(struct sppctl_gpio_chip * spp_gchip,u32 val,u32 off) sppctl_gpio_out_writel() argument
75 sppctl_gpio_in_readl(struct sppctl_gpio_chip * spp_gchip,u32 off) sppctl_gpio_in_readl() argument
80 sppctl_gpio_iinv_readl(struct sppctl_gpio_chip * spp_gchip,u32 off) sppctl_gpio_iinv_readl() argument
86 sppctl_gpio_iinv_writel(struct sppctl_gpio_chip * spp_gchip,u32 val,u32 off) sppctl_gpio_iinv_writel() argument
91 sppctl_gpio_oinv_readl(struct sppctl_gpio_chip * spp_gchip,u32 off) sppctl_gpio_oinv_readl() argument
97 sppctl_gpio_oinv_writel(struct sppctl_gpio_chip * spp_gchip,u32 val,u32 off) sppctl_gpio_oinv_writel() argument
102 sppctl_gpio_od_readl(struct sppctl_gpio_chip * spp_gchip,u32 off) sppctl_gpio_od_readl() argument
107 sppctl_gpio_od_writel(struct sppctl_gpio_chip * spp_gchip,u32 val,u32 off) sppctl_gpio_od_writel() argument
[all...]
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c22 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument
23 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument
25 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument
33 #define PCI_OFFSET_FIRST_RANGE(adapter, off) \ argument
35 #define PCI_OFFSET_SECOND_RANGE(adapter, off) \ argument
37 #define PCI_OFFSET_THIRD_RANGE(adapter, off) \ argument
41 unsigned long off) in pci_base_offset()
1085 ulong off, void __iomem **addr) in netxen_nic_pci_get_crb_addr_2M()
1120 netxen_nic_pci_set_crbwindow_2M(struct netxen_adapter *adapter, ulong off) in netxen_nic_pci_set_crbwindow_2M()
1142 ulong off = win_off; in netxen_nic_map_indirect_address_128M() local
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dshmem_utils.c95 static int __shmem_rw(struct file *file, loff_t off, in __shmem_rw()
131 int shmem_read_to_iosys_map(struct file *file, loff_t off, in shmem_read_to_iosys_map()
162 int shmem_read(struct file *file, loff_t off, void *dst, size_t len) in shmem_read()
167 int shmem_write(struct file *file, loff_t off, void *src, size_t len) in shmem_write()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c19 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument
20 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument
22 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument
32 u64 off; member
1115 ulong off, void __iomem **addr) in qlcnic_pci_get_crb_addr_2M()
1148 qlcnic_pci_set_crbwindow_2M(struct qlcnic_adapter *adapter, ulong off) in qlcnic_pci_set_crbwindow_2M()
1172 int qlcnic_82xx_hw_write_wx_2M(struct qlcnic_adapter *adapter, ulong off, in qlcnic_82xx_hw_write_wx_2M()
1204 int qlcnic_82xx_hw_read_wx_2M(struct qlcnic_adapter *adapter, ulong off, in qlcnic_82xx_hw_read_wx_2M()
1245 u32 window, u64 off, u64 *data, int op) in qlcnic_pci_mem_access_direct()
1273 qlcnic_pci_camqm_read_2M(struct qlcnic_adapter *adapter, u64 off, u64 *data) in qlcnic_pci_camqm_read_2M()
[all …]
/linux/drivers/rtc/
H A Drtc-bq4802.c30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io() argument
35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io() argument
40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem() argument
45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem() argument
/linux/arch/mips/net/
H A Dbpf_jit_comp32.c655 emit_ldx(struct jit_context * ctx,const u8 dst[],u8 src,s16 off,u8 size) emit_ldx() argument
690 emit_stx(struct jit_context * ctx,const u8 dst,const u8 src[],s16 off,u8 size) emit_stx() argument
715 emit_atomic_r32(struct jit_context * ctx,u8 dst,u8 src,s16 off,u8 code) emit_atomic_r32() argument
798 emit_atomic_r64(struct jit_context * ctx,u8 dst,const u8 src[],s16 off,u8 code) emit_atomic_r64() argument
873 emit_cmpxchg_r32(struct jit_context * ctx,u8 dst,u8 src,s16 off) emit_cmpxchg_r32() argument
910 emit_cmpxchg_r64(struct jit_context * ctx,u8 dst,const u8 src[],s16 off) emit_cmpxchg_r64() argument
1093 emit_jmp_i64(struct jit_context * ctx,const u8 dst[],s32 imm,s32 off,u8 op) emit_jmp_i64() argument
1186 emit_jmp_r64(struct jit_context * ctx,const u8 dst[],const u8 src[],s32 off,u8 op) emit_jmp_r64() argument
1296 int off; emit_tail_call() local
1470 s16 off = insn->off; build_insn() local
[all...]

12345678910>>...39