/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_reg.h | 15 u64 offset; \ 17 offset = 0x408ull; \ 19 offset = 0xa28ull; \ 20 offset += (a) * 0x8ull; \ 21 offset; }) 25 u64 offset; \ 27 offset = 0x808ull; \ 29 offset = 0xa68ull; \ 30 offset += (a) * 0x8ull; \ 31 offset; }) [all...] |
/linux-master/arch/mips/include/asm/mach-bcm63xx/ |
H A D | ioremap.h | 7 static inline int is_bcm63xx_internal_registers(phys_addr_t offset) argument 11 if (offset >= 0xfff80000) 18 if (offset >= 0xfff00000) 24 if (offset >= 0xb0000000 && offset < 0xb1000000) 31 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, argument 34 if (is_bcm63xx_internal_registers(offset)) 35 return (void __iomem *)offset;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_adjust_tail_grow.c | 9 int offset = 0; local 20 offset = 4096; /* test too large offset */ 22 offset = 40; 24 offset = 128; 27 offset = 4096 - 256 - tailroom - data_len; 29 offset = 10; 31 offset = 4096; 36 if (bpf_xdp_adjust_tail(xdp, offset))
|
H A D | test_xdp_adjust_tail_shrink.c | 17 int offset = 0; local 22 offset = 256; /* shrink too much */ 31 offset = 10; 34 offset = 4100; 37 offset = 8200; 44 offset = 20; 47 if (bpf_xdp_adjust_tail(xdp, 0 - offset))
|
/linux-master/arch/powerpc/include/asm/ |
H A D | cpu_setup.h | 8 void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec); 9 void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec); 10 void __setup_cpu_power9(unsigned long offset, struct cpu_spec *spec); 11 void __setup_cpu_power10(unsigned long offset, struct cpu_spec *spec); 17 void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec *spec); 18 void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec *spec); 19 void __setup_cpu_e500mc(unsigned long offset, struct cpu_spec *spec); 20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec); 21 void __setup_cpu_440epx(unsigned long offset, struct cpu_spec *spec); 22 void __setup_cpu_440gx(unsigned long offset, struc [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | numeric.h | 14 * These utilities encode or decode a number from an offset in a larger data buffer and then 15 * advance the offset pointer to the next field in the buffer. 18 static inline void decode_s64_le(const u8 *buffer, size_t *offset, s64 *decoded) argument 20 *decoded = get_unaligned_le64(buffer + *offset); 21 *offset += sizeof(s64); 24 static inline void encode_s64_le(u8 *data, size_t *offset, s64 to_encode) argument 26 put_unaligned_le64(to_encode, data + *offset); 27 *offset += sizeof(s64); 30 static inline void decode_u64_le(const u8 *buffer, size_t *offset, u64 *decoded) argument 32 *decoded = get_unaligned_le64(buffer + *offset); 36 encode_u64_le(u8 *data, size_t *offset, u64 to_encode) argument 42 decode_s32_le(const u8 *buffer, size_t *offset, s32 *decoded) argument 48 encode_s32_le(u8 *data, size_t *offset, s32 to_encode) argument 54 decode_u32_le(const u8 *buffer, size_t *offset, u32 *decoded) argument 60 encode_u32_le(u8 *data, size_t *offset, u32 to_encode) argument 66 decode_u16_le(const u8 *buffer, size_t *offset, u16 *decoded) argument 72 encode_u16_le(u8 *data, size_t *offset, u16 to_encode) argument [all...] |
/linux-master/arch/mips/include/asm/mach-bmips/ |
H A D | ioremap.h | 7 static inline int is_bmips_internal_registers(phys_addr_t offset) argument 9 if (offset >= 0xfff80000) 15 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, argument 18 if (is_bmips_internal_registers(offset)) 19 return (void __iomem *)offset;
|
/linux-master/drivers/usb/dwc3/ |
H A D | io.h | 19 static inline u32 dwc3_readl(void __iomem *base, u32 offset) argument 28 value = readl(base + offset - DWC3_GLOBALS_REGS_START); 35 trace_dwc3_readl(base - DWC3_GLOBALS_REGS_START, offset, value); 40 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) argument 47 writel(value, base + offset - DWC3_GLOBALS_REGS_START); 54 trace_dwc3_writel(base - DWC3_GLOBALS_REGS_START, offset, value);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_ag_api.c | 12 .offset = 0, 17 .offset = 1, 22 .offset = 3, 27 .offset = 12, 32 .offset = 13, 37 .offset = 14, 42 .offset = 15, 47 .offset = 16, 52 .offset = 17, 57 .offset [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | tables_phy_ht.h | 10 #define B43_HTTAB8(table, offset) (((table) << 10) | (offset) | B43_HTTAB_8BIT) 11 #define B43_HTTAB16(table, offset) (((table) << 10) | (offset) | B43_HTTAB_16BIT) 12 #define B43_HTTAB32(table, offset) (((table) << 10) | (offset) | B43_HTTAB_32BIT) 14 u32 b43_httab_read(struct b43_wldev *dev, u32 offset); 15 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset, 17 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value); 18 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_ [all...] |
H A D | tables_phy_lcn.h | 10 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) 11 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) 12 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) 16 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset); 17 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, 19 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value); 20 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, [all...] |
/linux-master/drivers/gpu/host1x/hw/ |
H A D | opcodes.h | 28 unsigned indx, unsigned base_indx, unsigned offset) 32 | host1x_uclass_wait_syncpt_base_offset_f(offset); 36 unsigned base_indx, unsigned offset) 39 | host1x_uclass_incr_syncpt_base_offset_f(offset); 50 unsigned mod_id, unsigned offset, bool auto_inc) 54 | host1x_uclass_indoff_indroffset_f(offset); 61 unsigned mod_id, unsigned offset, bool auto_inc) 64 | host1x_uclass_indoff_indroffset_f(offset) 72 unsigned class_id, unsigned offset, unsigned mask) 74 return (0 << 28) | (offset << 1 27 host1x_class_host_wait_syncpt_base( unsigned indx, unsigned base_indx, unsigned offset) argument 35 host1x_class_host_incr_syncpt_base( unsigned base_indx, unsigned offset) argument 49 host1x_class_host_indoff_reg_write( unsigned mod_id, unsigned offset, bool auto_inc) argument 60 host1x_class_host_indoff_reg_read( unsigned mod_id, unsigned offset, bool auto_inc) argument 71 host1x_opcode_setclass( unsigned class_id, unsigned offset, unsigned mask) argument 77 host1x_opcode_incr(unsigned offset, unsigned count) argument 82 host1x_opcode_nonincr(unsigned offset, unsigned count) argument 87 host1x_opcode_mask(unsigned offset, unsigned mask) argument 92 host1x_opcode_imm(unsigned offset, unsigned value) argument 113 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) argument 118 host1x_opcode_gather_incr(unsigned offset, unsigned count) argument [all...] |
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_model_kunit.c | 20 .offset = 0, 25 .offset = 2, 30 .offset = 3, 35 .offset = 10, 40 .offset = 13, 45 .offset = 16, 50 .offset = 19, 55 .offset = 20, 60 .offset = 32, 65 .offset [all...] |
/linux-master/arch/x86/include/asm/numachip/ |
H A D | numachip_csr.h | 39 static inline void *lcsr_address(unsigned long offset) argument 42 CSR_NODE_BITS(0xfff0) | (offset & CSR_OFFSET_MASK)); 45 static inline unsigned int read_lcsr(unsigned long offset) argument 47 return swab32(readl(lcsr_address(offset))); 50 static inline void write_lcsr(unsigned long offset, unsigned int val) argument 52 writel(swab32(val), lcsr_address(offset)); 56 * On NumaChip2, local CSR space is 16MB and starts at fixed offset below 4G 67 static inline void __iomem *numachip2_lcsr_address(unsigned long offset) argument 70 (offset & (NUMACHIP2_LCSR_SIZE - 1))); 73 static inline u32 numachip2_read32_lcsr(unsigned long offset) argument 78 numachip2_read64_lcsr(unsigned long offset) argument 83 numachip2_write32_lcsr(unsigned long offset, u32 val) argument 88 numachip2_write64_lcsr(unsigned long offset, u64 val) argument [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | copy-paste.h | 19 static inline int vas_copy(void *crb, int offset) argument 23 : "b" (offset), "b" (crb) 29 static inline int vas_paste(void *paste_address, int offset) argument 37 : "b" (offset), "b" (paste_address)
|
/linux-master/arch/mips/include/asm/mach-tx49xx/ |
H A D | ioremap.h | 10 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, argument 18 if (offset >= TXX9_DIRECTMAP_BASE && 19 offset < TXX9_DIRECTMAP_BASE + 0x400000) 20 return (void __iomem *)(unsigned long)(int)offset;
|
/linux-master/arch/um/include/shared/skas/ |
H A D | stub-data.h | 12 unsigned long offset; member in struct:stub_data
|
/linux-master/arch/arm/kernel/ |
H A D | insn.c | 12 long offset; local 14 offset = (long)addr - (long)(pc + 4); 15 if (offset < -16777216 || offset > 16777214) { 20 s = (offset >> 24) & 0x1; 21 i1 = (offset >> 23) & 0x1; 22 i2 = (offset >> 22) & 0x1; 23 imm10 = (offset >> 12) & 0x3ff; 24 imm11 = (offset >> 1) & 0x7ff; 41 long offset; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_common.c | 14 u32 offset; local 16 offset = pdbg_buff->offset; 17 if (offset + size > pdbg_buff->size) 25 pin_buff->offset = 0; 30 pin_buff->data = (char *)pdbg_buff->data + offset; 31 pin_buff->offset = offset; 45 pin_buff->offset = 0; 53 * increment offset t [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_ag_api.c | 20 .offset = 0, 25 .offset = 1, 30 .offset = 2, 35 .offset = 4, 40 .offset = 16, 45 .offset = 18, 50 .offset = 83, 55 .offset = 84, 60 .offset = 85, 65 .offset [all...] |
/linux-master/drivers/gpu/drm/tegra/ |
H A D | trace.h | 11 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 12 TP_ARGS(dev, offset, value), 15 __field(unsigned int, offset) 20 __entry->offset = offset; 23 TP_printk("%s %04x %08x", dev_name(__entry->dev), __entry->offset, 28 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 29 TP_ARGS(dev, offset, value)); 31 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 32 TP_ARGS(dev, offset, valu [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | io_trapped.h | 25 unsigned long offset, 32 __ioremap_trapped(unsigned long offset, unsigned long size) argument 34 return match_trapped_io_handler(&trapped_mem, offset, size); 37 #define __ioremap_trapped(offset, size) NULL 44 __ioport_map_trapped(unsigned long offset, unsigned long size) argument 46 return match_trapped_io_handler(&trapped_io, offset, size); 49 #define __ioport_map_trapped(offset, size) NULL 55 #define __ioremap_trapped(offset, size) NULL 56 #define __ioport_map_trapped(offset, size) NULL
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mmio.h | 22 const unsigned int offset) 24 return readl(rt2x00dev->csr.base + offset); 28 const unsigned int offset, 31 memcpy_fromio(value, rt2x00dev->csr.base + offset, length); 35 const unsigned int offset, 38 writel(value, rt2x00dev->csr.base + offset); 42 const unsigned int offset, 46 __iowrite32_copy(rt2x00dev->csr.base + offset, value, length >> 2); 52 * @offset: Register offset 21 rt2x00mmio_register_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset) argument 27 rt2x00mmio_register_multiread(struct rt2x00_dev *rt2x00dev, const unsigned int offset, void *value, const u32 length) argument 34 rt2x00mmio_register_write(struct rt2x00_dev *rt2x00dev, const unsigned int offset, u32 value) argument 41 rt2x00mmio_register_multiwrite(struct rt2x00_dev *rt2x00dev, const unsigned int offset, const void *value, const u32 length) argument [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | cap.c | 21 u32 value, offset; local 29 offset = 0x26; 31 offset = 0x2a; 35 ret = tb_sw_read(sw, &value, TB_CFG_SWITCH, offset, 1); 44 return tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1); 65 * @offset: Previous capability offset (%0 for start) 67 * Returns dword offset of the next capability in port config space 72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) argument 77 if (!offset) 89 int offset = 0; local 145 tb_switch_next_cap(struct tb_switch *sw, unsigned int offset) argument 190 int offset = 0; local 223 int offset = 0; local [all...] |
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-asm.h | 93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ 94 asm volatile ("pref 30, " CVMX_TMP_STR(offset) "(%[rbase])" : : \ 101 #define CVMX_DONT_WRITE_BACK(address, offset) \ 102 asm volatile ("pref 29, " CVMX_TMP_STR(offset) "(%[rbase])" : : \ 117 #define CVMX_CACHE(op, address, offset) \ 118 asm volatile ("cache " CVMX_TMP_STR(op) ", " CVMX_TMP_STR(offset) "(%[rbase])" \ 121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) 123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) [all...] |