Home
last modified time | relevance | path

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

12345678910>>...41

/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), (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 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
218 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
224 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
228 # define UASM_i_LL(buf, rs, rt, off) uasm_i_ll(buf, rs, rt, off) argument
229 # define UASM_i_LW(buf, rs, rt, off) uasm_i_lw(buf, rs, rt, off) argument
234 # define UASM_i_SC(buf, rs, rt, off) uasm_i_sc(buf, rs, rt, off) argument
240 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sw(buf, rs, rt, off) argument
243 #define uasm_i_b(buf, off) uasm_i_beq(buf, 0, 0, off) argument
244 #define uasm_i_beqz(buf, rs, off) uasm_i_beq(buf, rs, 0, off) argument
[all …]
/linux/drivers/mtd/
H A Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad()
50 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()
97 static inline int mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_is_used()
108 loff_t off) in mtdpstore_block_is_used()
140 static void mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_mark_removed()
150 loff_t off) in mtdpstore_block_clear_removed()
166 loff_t off) in mtdpstore_block_is_removed()
[all …]
/linux/drivers/gpio/
H A Dgpio-adp5585.c24 static int adp5585_gpio_get_direction(struct gpio_chip *chip, unsigned int off) in adp5585_gpio_get_direction()
36 static int adp5585_gpio_direction_input(struct gpio_chip *chip, unsigned int off) in adp5585_gpio_direction_input()
46 static int adp5585_gpio_direction_output(struct gpio_chip *chip, unsigned int off, int val) in adp5585_gpio_direction_output()
63 static int adp5585_gpio_get_value(struct gpio_chip *chip, unsigned int off) in adp5585_gpio_get_value()
89 static void adp5585_gpio_set_value(struct gpio_chip *chip, unsigned int off, int val) in adp5585_gpio_set_value()
100 unsigned int off, unsigned int bias) in adp5585_gpio_set_bias()
118 unsigned int off, enum pin_config_param drive) in adp5585_gpio_set_drive()
129 unsigned int off, unsigned int debounce) in adp5585_gpio_set_debounce()
139 static int adp5585_gpio_set_config(struct gpio_chip *chip, unsigned int off, in adp5585_gpio_set_config()
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()
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()
/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 …]
/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 …]
/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/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
/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
/linux/drivers/w1/slaves/
H A Dw1_ds2408.c81 loff_t off, size_t count) in output_read() argument
94 loff_t off, size_t count) in activity_read() argument
68 state_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) state_read() argument
107 cond_search_mask_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) cond_search_mask_read() argument
121 cond_search_polarity_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) cond_search_polarity_read() argument
131 status_control_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) status_control_read() argument
164 output_write(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) output_write() argument
214 activity_write(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) activity_write() argument
244 status_control_write(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) status_control_write() argument
[all...]
H A Dw1_ds2438.c292 loff_t off, size_t count) in iad_write() argument
314 loff_t off, size_t count) in iad_read() argument
335 loff_t off, size_t count) in page0_read() argument
365 loff_t off, size_t count) in page1_read() argument
395 loff_t off, size_t count) in offset_write() argument
414 loff_t off, size_ in temperature_read() argument
435 vad_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) vad_read() argument
456 vdd_read(struct file * filp,struct kobject * kobj,struct bin_attribute * bin_attr,char * buf,loff_t off,size_t count) vdd_read() 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/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/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()
/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()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c49 int off = 0; in init_genl_req() local
67 uint32_t off; in nl_error() local
316 int off = 0; in resolve_mptcp_pm_netlink() local
343 int off = 0; in dsf() local
460 int off = 0; in csf() local
588 int off = 0; in remove_addr() local
640 int off = 0; in announce_addr() local
766 int off = 0; in add_addr() local
896 int off = 0; in del_addr() local
1087 int off = 0; in get_addr() local
[all …]
/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()
/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.c59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
70 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
93 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
105 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG()
130 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
/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()
44 static inline void sppctl_first_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_first_writel()
49 static inline u32 sppctl_gpio_master_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_master_readl()
55 u32 off) in sppctl_gpio_master_writel()
60 static inline u32 sppctl_gpio_oe_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_oe_readl()
65 static inline void sppctl_gpio_oe_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_oe_writel()
70 static inline void sppctl_gpio_out_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_out_writel()
75 static inline u32 sppctl_gpio_in_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_in_readl()
80 static inline u32 sppctl_gpio_iinv_readl(struct sppctl_gpio_chip *spp_gchip, u32 off) in sppctl_gpio_iinv_readl()
86 u32 off) in sppctl_gpio_iinv_writel()
[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 …]

12345678910>>...41