Home
last modified time | relevance | path

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

12345678910>>...37

/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 …]
H A Dmips-cps.h18 #define CPS_ACCESSOR_A(unit, off, name) \ argument
92 #define CPS_ACCESSOR_RO(unit, sz, off, name) \ argument
96 #define CPS_ACCESSOR_WO(unit, sz, off, name) \ argument
100 #define CPS_ACCESSOR_RW(unit, sz, off, name) \ argument
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; 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/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()
79 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
90 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
97 void hfs_bnode_write_u8(struct hfs_bnode *node, int off, u8 data) in hfs_bnode_write_u8()
103 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
152 int i, off, key_off; in hfs_bnode_dump() local
256 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/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()
79 void hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_write()
100 void hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) in hfs_bnode_write_u16()
107 void hfs_bnode_clear(struct hfs_bnode *node, int off, int len) in hfs_bnode_clear()
301 int i, off, key_off; in hfs_bnode_dump() local
405 loff_t off; in __hfs_bnode_create() local
477 int i, rec_off, off, next_off; in hfs_bnode_find() local
/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 int alchemy_gpic_set(struct gpio_chip *chip, unsigned int off, int v) in alchemy_gpic_set()
129 static int alchemy_gpic_dir_input(struct gpio_chip *chip, unsigned int off) in alchemy_gpic_dir_input()
134 static int alchemy_gpic_dir_output(struct gpio_chip *chip, unsigned int off, in alchemy_gpic_dir_output()
140 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/drivers/gpio/
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()
/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 …]
/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil.h131 #define OFFSET_TO_PAGE_ADDR(off) \ argument
133 #define OFFSET_TO_PAGE_IDX(off) \ argument
191 static inline u32 mobiveil_csr_readl(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readl()
196 static inline u16 mobiveil_csr_readw(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readw()
201 static inline u8 mobiveil_csr_readb(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readb()
208 u32 off) in mobiveil_csr_writel()
214 u32 off) in mobiveil_csr_writew()
220 u32 off) in mobiveil_csr_writeb()
/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/arch/mips/net/
H A Dbpf_jit_comp32.c655 const u8 dst[], u8 src, s16 off, u8 size) in emit_ldx()
690 const u8 dst, const u8 src[], s16 off, u8 size) in emit_stx()
715 u8 dst, u8 src, s16 off, u8 code) in emit_atomic_r32()
798 u8 dst, const u8 src[], s16 off, u8 code) in emit_atomic_r64()
873 static void emit_cmpxchg_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off) in emit_cmpxchg_r32()
910 u8 dst, const u8 src[], s16 off) in emit_cmpxchg_r64()
1093 const u8 dst[], s32 imm, s32 off, u8 op) in emit_jmp_i64()
1186 const u8 dst[], const u8 src[], s32 off, u8 op) in emit_jmp_r64()
1296 int off; in emit_tail_call() local
1470 s16 off = insn->off; in build_insn() local

12345678910>>...37