Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 4994) sorted by relevance

12345678910>>...200

/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pexp-defs.h31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument
43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument
44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument
45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument
46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument
68 #define CVMX_PEXP_NPEI_MEM_ACCESS_SUBIDX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008280ull) + ((offset argument
92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument
93 #define CVMX_PEXP_NPEI_PKTX_INSTR_BADDR(offset) (CVMX_ADD_IO_SEG(0x00011F000000A800ull) + ((offset)… argument
94 #define CVMX_PEXP_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F000000AC00ull) + ((o… argument
95 #define CVMX_PEXP_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (CVMX_ADD_IO_SEG(0x00011F000000B000ull) + ((of… argument
[all …]
/Linux-v4.19/scripts/dtc/libfdt/
Dfdt.c77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() argument
79 unsigned absoffset = offset + fdt_off_dt_struct(fdt); in fdt_offset_ptr()
81 if ((absoffset < offset) in fdt_offset_ptr()
87 if (((offset + len) < offset) in fdt_offset_ptr()
88 || ((offset + len) > fdt_size_dt_struct(fdt))) in fdt_offset_ptr()
91 return fdt_offset_ptr_(fdt, offset); in fdt_offset_ptr()
98 int offset = startoffset; in fdt_next_tag() local
102 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE); in fdt_next_tag()
106 offset += FDT_TAGSIZE; in fdt_next_tag()
113 p = fdt_offset_ptr(fdt, offset++, 1); in fdt_next_tag()
[all …]
Dfdt_ro.c58 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument
62 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
95 int offset; in fdt_get_max_phandle() local
97 for (offset = fdt_next_node(fdt, -1, NULL);; in fdt_get_max_phandle()
98 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_get_max_phandle()
101 if (offset == -FDT_ERR_NOTFOUND) in fdt_get_max_phandle()
104 if (offset < 0) in fdt_get_max_phandle()
107 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle()
135 static int nextprop_(const void *fdt, int offset) in nextprop_() argument
141 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
[all …]
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_hal.c40 u64 offset; in nitrox_config_emu_unit() local
54 offset = EMU_WD_INT_ENA_W1SX(i); in nitrox_config_emu_unit()
55 nitrox_write_csr(ndev, offset, emu_wd_int.value); in nitrox_config_emu_unit()
56 offset = EMU_GE_INT_ENA_W1SX(i); in nitrox_config_emu_unit()
57 nitrox_write_csr(ndev, offset, emu_ge_int.value); in nitrox_config_emu_unit()
66 u64 offset; in reset_pkt_input_ring() local
68 offset = NPS_PKT_IN_INSTR_CTLX(ring); in reset_pkt_input_ring()
70 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring()
72 nitrox_write_csr(ndev, offset, pkt_in_ctl.value); in reset_pkt_input_ring()
77 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring()
[all …]
/Linux-v4.19/arch/sh/boards/mach-microdev/
Dio.c57 void __iomem *microdev_ioport_map(unsigned long offset, unsigned int len) in microdev_ioport_map() argument
61 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map()
62 (offset < IO_LAN91C111_BASE + IO_LAN91C111_EXTENT)) { in microdev_ioport_map()
66 result = IO_LAN91C111_PHYS + offset - IO_LAN91C111_BASE; in microdev_ioport_map()
67 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map()
68 (offset < IO_SUPERIO_BASE + IO_SUPERIO_EXTENT)) { in microdev_ioport_map()
74 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
75 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map()
76 (offset < IO_IDE1_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
77 (offset == IO_IDE1_MISC)) { in microdev_ioport_map()
[all …]
/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot_regs.c356 { .name = "rx_octets", .offset = 0x00, },
357 { .name = "rx_unicast", .offset = 0x01, },
358 { .name = "rx_multicast", .offset = 0x02, },
359 { .name = "rx_broadcast", .offset = 0x03, },
360 { .name = "rx_shorts", .offset = 0x04, },
361 { .name = "rx_fragments", .offset = 0x05, },
362 { .name = "rx_jabbers", .offset = 0x06, },
363 { .name = "rx_crc_align_errs", .offset = 0x07, },
364 { .name = "rx_sym_errs", .offset = 0x08, },
365 { .name = "rx_frames_below_65_octets", .offset = 0x09, },
[all …]
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-coh901.c211 static int u300_gpio_get(struct gpio_chip *chip, unsigned offset) in u300_gpio_get() argument
215 return !!(readl(U300_PIN_REG(offset, dir)) & U300_PIN_BIT(offset)); in u300_gpio_get()
218 static void u300_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in u300_gpio_set() argument
226 val = readl(U300_PIN_REG(offset, dor)); in u300_gpio_set()
228 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); in u300_gpio_set()
230 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); in u300_gpio_set()
235 static int u300_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in u300_gpio_direction_input() argument
242 val = readl(U300_PIN_REG(offset, pcr)); in u300_gpio_direction_input()
244 val &= ~(U300_GPIO_PXPCR_PIN_MODE_MASK << ((offset & 0x07) << 1)); in u300_gpio_direction_input()
245 writel(val, U300_PIN_REG(offset, pcr)); in u300_gpio_direction_input()
[all …]
/Linux-v4.19/drivers/thunderbolt/
Dcap.c35 u32 offset; in tb_port_find_cap() local
43 offset = 0x39; in tb_port_find_cap()
45 offset = 0x1; in tb_port_find_cap()
51 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in tb_port_find_cap()
56 return offset; in tb_port_find_cap()
58 offset = header.basic.next; in tb_port_find_cap()
59 } while (offset); in tb_port_find_cap()
66 int offset = sw->config.first_cap_offset; in tb_switch_find_cap() local
68 while (offset > 0 && offset < CAP_OFFSET_MAX) { in tb_switch_find_cap()
72 ret = tb_sw_read(sw, &header, TB_CFG_SWITCH, offset, 1); in tb_switch_find_cap()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dmodule.c75 s32 offset; in apply_relocate() local
81 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
82 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate()
88 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate()
119 offset = __mem_to_opcode_arm(*(u32 *)loc); in apply_relocate()
120 offset = (offset & 0x00ffffff) << 2; in apply_relocate()
121 if (offset & 0x02000000) in apply_relocate()
122 offset -= 0x04000000; in apply_relocate()
124 offset += sym->st_value - loc; in apply_relocate()
133 (offset <= (s32)0xfe000000 || in apply_relocate()
[all …]
/Linux-v4.19/drivers/platform/chrome/
Dcros_ec_lpc_reg.c29 static u8 lpc_read_bytes(unsigned int offset, unsigned int length, u8 *dest) in lpc_read_bytes() argument
35 dest[i] = inb(offset + i); in lpc_read_bytes()
43 static u8 lpc_write_bytes(unsigned int offset, unsigned int length, u8 *msg) in lpc_write_bytes() argument
49 outb(msg[i], offset + i); in lpc_write_bytes()
59 u8 cros_ec_lpc_read_bytes(unsigned int offset, unsigned int length, u8 *dest) in cros_ec_lpc_read_bytes() argument
65 if (offset >= MEC_EMI_RANGE_START && offset <= MEC_EMI_RANGE_END) { in cros_ec_lpc_read_bytes()
67 if (WARN_ON(offset + length - 1 > MEC_EMI_RANGE_END)) in cros_ec_lpc_read_bytes()
70 return cros_ec_lpc_io_bytes_mec(MEC_IO_READ, offset, length, in cros_ec_lpc_read_bytes()
74 if (WARN_ON(offset + length > MEC_EMI_RANGE_START && in cros_ec_lpc_read_bytes()
75 offset < MEC_EMI_RANGE_START)) in cros_ec_lpc_read_bytes()
[all …]
/Linux-v4.19/drivers/gpio/
Dgpio-cs5535.c86 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set() argument
89 if (offset < 16) in __cs5535_gpio_set()
91 outl(1 << offset, chip->base + reg); in __cs5535_gpio_set()
94 errata_outl(chip, 1 << (offset - 16), reg); in __cs5535_gpio_set()
97 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set() argument
103 __cs5535_gpio_set(chip, offset, reg); in cs5535_gpio_set()
108 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear() argument
111 if (offset < 16) in __cs5535_gpio_clear()
113 outl(1 << (offset + 16), chip->base + reg); in __cs5535_gpio_clear()
116 errata_outl(chip, 1 << offset, reg); in __cs5535_gpio_clear()
[all …]
Dgpio-eic-sprd.c140 static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_eic_update() argument
145 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_update()
153 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
155 tmp &= ~BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
161 static int sprd_eic_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_eic_read() argument
165 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_read()
167 return !!(readl_relaxed(base + reg) & BIT(SPRD_EIC_BIT(offset))); in sprd_eic_read()
170 static int sprd_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_eic_request() argument
172 sprd_eic_update(chip, offset, SPRD_EIC_DBNC_DMSK, 1); in sprd_eic_request()
176 static void sprd_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_eic_free() argument
[all …]
Dgpio-aspeed.c254 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank() argument
256 unsigned int bank = GPIO_BANK(offset); in to_bank()
268 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props() argument
273 if (props->bank == GPIO_BANK(offset)) in find_bank_props()
281 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio() argument
283 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_gpio()
284 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio()
285 unsigned int group = GPIO_OFFSET(offset) / 8; in have_gpio()
288 (!props || ((props->input | props->output) & GPIO_BIT(offset))); in have_gpio()
291 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input() argument
[all …]
Dgpio-sprd.c48 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() argument
53 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_update()
61 tmp |= BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update()
63 tmp &= ~BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update()
69 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read() argument
73 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_read()
75 return !!(readl_relaxed(base + reg) & BIT(SPRD_GPIO_BIT(offset))); in sprd_gpio_read()
78 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request() argument
80 sprd_gpio_update(chip, offset, SPRD_GPIO_DMSK, 1); in sprd_gpio_request()
84 static void sprd_gpio_free(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_free() argument
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c43 init->offset, init_exec(init) ? \
365 return bit_I.offset; in init_table()
377 init_table_(struct nvbios_init *init, u16 offset, const char *name) in init_table_() argument
382 if (len >= offset + 2) { in init_table_()
383 data = nvbios_rd16(bios, data + offset); in init_table_()
461 init_xlat_(struct nvbios_init *init, u8 index, u8 offset) in init_xlat_() argument
468 return nvbios_rd08(bios, data + offset); in init_xlat_()
586 u8 opcode = nvbios_rd08(bios, init->offset); in init_reserved()
600 cont(" 0x%02x", nvbios_rd08(bios, init->offset + i)); in init_reserved()
602 init->offset += length; in init_reserved()
[all …]
/Linux-v4.19/drivers/gpu/drm/tegra/
Dtrace.h11 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, value));
35 TP_PROTO(struct device *dev, unsigned int offset, u32 value),
[all …]
/Linux-v4.19/drivers/gpu/host1x/hw/
Dhost1x01_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
48 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
55 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
70 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
80 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
90 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
92 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x02_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
48 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
55 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
70 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
80 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
91 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x04_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
48 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
55 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
70 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
80 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
91 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x06_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
48 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
55 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
70 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
80 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
91 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x05_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
48 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
55 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
70 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
80 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
91 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
/Linux-v4.19/drivers/mtd/
Dbcm47xxpart.c55 uint32_t offset[3]; member
59 u64 offset, uint32_t mask_flags) in bcm47xxpart_add_part() argument
62 part->offset = offset; in bcm47xxpart_add_part()
98 uint32_t offset; in bcm47xxpart_parse() local
125 for (offset = 0; offset <= master->size - blocksize; in bcm47xxpart_parse()
126 offset += blocksize) { in bcm47xxpart_parse()
128 if (IS_ENABLED(CONFIG_BCM47XX) && offset >= 0x2000000) in bcm47xxpart_parse()
137 err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse()
141 offset, err); in bcm47xxpart_parse()
149 offset, MTD_WRITEABLE); in bcm47xxpart_parse()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Ddvo_ns2501.c194 u8 offset; member
300 [0] = { .offset = 0x0a, .value = 0x81, },
302 [1] = { .offset = 0x12, .value = 0x02, },
303 [2] = { .offset = 0x18, .value = 0x07, },
304 [3] = { .offset = 0x19, .value = 0x00, },
305 [4] = { .offset = 0x1a, .value = 0x00, }, /* PLL?, ignored */
307 [5] = { .offset = 0x1e, .value = 0x02, },
308 [6] = { .offset = 0x1f, .value = 0x40, },
309 [7] = { .offset = 0x20, .value = 0x00, },
310 [8] = { .offset = 0x21, .value = 0x00, },
[all …]
/Linux-v4.19/arch/riscv/kernel/
Dmodule.c40 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela() local
41 u32 imm12 = (offset & 0x1000) << (31 - 12); in apply_r_riscv_branch_rela()
42 u32 imm11 = (offset & 0x800) >> (11 - 7); in apply_r_riscv_branch_rela()
43 u32 imm10_5 = (offset & 0x7e0) << (30 - 10); in apply_r_riscv_branch_rela()
44 u32 imm4_1 = (offset & 0x1e) << (11 - 4); in apply_r_riscv_branch_rela()
53 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela() local
54 u32 imm20 = (offset & 0x100000) << (31 - 20); in apply_r_riscv_jal_rela()
55 u32 imm19_12 = (offset & 0xff000); in apply_r_riscv_jal_rela()
56 u32 imm11 = (offset & 0x800) << (20 - 11); in apply_r_riscv_jal_rela()
57 u32 imm10_1 = (offset & 0x7fe) << (30 - 10); in apply_r_riscv_jal_rela()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dbmi.c118 u32 offset; in ath6kl_bmi_read() local
143 offset = 0; in ath6kl_bmi_read()
144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read()
145 offset += sizeof(cid); in ath6kl_bmi_read()
146 memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); in ath6kl_bmi_read()
147 offset += sizeof(addr); in ath6kl_bmi_read()
148 memcpy(&(ar->bmi.cmd_buf[offset]), &rx_len, sizeof(rx_len)); in ath6kl_bmi_read()
149 offset += sizeof(len); in ath6kl_bmi_read()
151 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_read()
174 u32 offset; in ath6kl_bmi_write() local
[all …]

12345678910>>...200