/linux/arch/powerpc/boot/ |
H A D | addnote.c | 64 #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 D | mips-gic.h | 30 #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 D | uasm.h | 212 # 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 D | mips-cps.h | 18 #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 D | mips-cpc.h | 64 #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 D | scsi_logging.c | 41 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 D | bnode.c | 18 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 D | page.c | 91 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 D | aes-spe-modes.S | 13 #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 D | aes-spe-core.S | 22 #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 D | bnode.c | 22 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 D | memset-archs.S | 20 .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 D | nfp_rtsym.c | 227 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 D | capiutil.h | 19 #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 D | hid-picolcd_debugfs.c | 73 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 D | pm_nl_ctl.c | 49 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 D | gpiolib.c | 117 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 D | bpf_legacy.h | 10 #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 D | gpio-raspberrypi-exp.c | 54 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 D | test_module_attach.c | 59 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 D | sppctl.c | 39 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 D | netxen_nic_hw.c | 22 #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 D | pcie-mobiveil.h | 131 #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 D | qlcnic_hw.c | 19 #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 D | rtc-bq4802.c | 30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io() 35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io() 40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem() 45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem()
|