Home
last modified time | relevance | path

Searched refs:offset (Results 51 – 75 of 7336) sorted by relevance

12345678910>>...294

/openbmc/linux/drivers/mtd/parsers/
H A Dbcm47xxpart.c51 uint32_t offset[3]; member
58 part->offset = offset; in bcm47xxpart_add_part()
94 uint32_t offset; in bcm47xxpart_parse() local
121 for (offset = 0; offset <= master->size - blocksize; in bcm47xxpart_parse()
137 offset, err); in bcm47xxpart_parse()
190 offset); in bcm47xxpart_parse()
194 offset, 0); in bcm47xxpart_parse()
204 last_subpart = max3(trx->offset[0], trx->offset[1], in bcm47xxpart_parse()
220 offset, 0); in bcm47xxpart_parse()
231 offset, 0); in bcm47xxpart_parse()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D014.out4 test2: With offset 0
7 wrote 4096/4096 bytes at offset 16384
9 wrote 4096/4096 bytes at offset 53248
11 wrote 4096/4096 bytes at offset 90112
13 wrote 4096/4096 bytes at offset 126976
15 wrote 4096/4096 bytes at offset 163840
17 wrote 4096/4096 bytes at offset 200704
19 wrote 4096/4096 bytes at offset 237568
21 wrote 4096/4096 bytes at offset 274432
23 wrote 4096/4096 bytes at offset 311296
[all …]
H A D022.out5 At offset 10485760:
7 wrote 4096/4096 bytes at offset 10485760
9 wrote 4096/4096 bytes at offset 10489856
11 wrote 4096/4096 bytes at offset 10493952
13 wrote 4096/4096 bytes at offset 10498048
15 wrote 4096/4096 bytes at offset 10502144
17 wrote 4096/4096 bytes at offset 10506240
19 wrote 4096/4096 bytes at offset 10510336
21 wrote 4096/4096 bytes at offset 10514432
23 wrote 4096/4096 bytes at offset 10518528
[all …]
H A D019.out6 wrote 512/512 bytes at offset 0
8 wrote 512/512 bytes at offset 1024
10 wrote 512/512 bytes at offset 2048
12 wrote 512/512 bytes at offset 3072
14 wrote 512/512 bytes at offset 4096
16 wrote 512/512 bytes at offset 5120
18 wrote 512/512 bytes at offset 6144
20 wrote 512/512 bytes at offset 7168
22 wrote 512/512 bytes at offset 8192
24 wrote 512/512 bytes at offset 9216
[all …]
H A D023.out7 At offset 0:
2559 With offset 0:
3837 With offset 512:
6613 At offset 0:
9165 With offset 0:
10443 With offset 512:
13219 At offset 0:
15771 With offset 0:
17049 With offset 512:
19825 At offset 0:
[all …]
H A D013.out5 At offset 0:
7 wrote 4096/4096 bytes at offset 0
9 wrote 4096/4096 bytes at offset 4096
11 wrote 4096/4096 bytes at offset 8192
13 wrote 4096/4096 bytes at offset 12288
15 wrote 4096/4096 bytes at offset 16384
8799 At offset 4294967296:
17597 With offset 0:
21995 With offset 4294967296:
26395 With offset 512:
[all …]
H A D028.out6 wrote 512/512 bytes at offset 3221194240
8 wrote 512/512 bytes at offset 3221195264
10 wrote 512/512 bytes at offset 3221196288
12 wrote 512/512 bytes at offset 3221197312
14 wrote 512/512 bytes at offset 3221198336
16 wrote 512/512 bytes at offset 3221199360
18 wrote 512/512 bytes at offset 3221200384
20 wrote 512/512 bytes at offset 3221201408
22 wrote 512/512 bytes at offset 3221202432
24 wrote 512/512 bytes at offset 3221203456
[all …]
H A D020.out6 wrote 512/512 bytes at offset 0
8 wrote 512/512 bytes at offset 1024
10 wrote 512/512 bytes at offset 2048
12 wrote 512/512 bytes at offset 3072
14 wrote 512/512 bytes at offset 4096
16 wrote 512/512 bytes at offset 5120
18 wrote 512/512 bytes at offset 6144
20 wrote 512/512 bytes at offset 7168
22 wrote 512/512 bytes at offset 8192
24 wrote 512/512 bytes at offset 9216
[all …]
H A D018.out6 wrote 512/512 bytes at offset 0
8 wrote 512/512 bytes at offset 1024
10 wrote 512/512 bytes at offset 2048
12 wrote 512/512 bytes at offset 3072
14 wrote 512/512 bytes at offset 4096
16 wrote 512/512 bytes at offset 5120
18 wrote 512/512 bytes at offset 6144
20 wrote 512/512 bytes at offset 7168
22 wrote 512/512 bytes at offset 8192
24 wrote 512/512 bytes at offset 9216
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c118 u32 offset; in ath6kl_bmi_read() local
143 offset = 0; in ath6kl_bmi_read()
174 u32 offset; in ath6kl_bmi_write() local
241 u32 offset; in ath6kl_bmi_execute() local
259 offset = 0; in ath6kl_bmi_execute()
288 u32 offset; in ath6kl_bmi_set_app_start() local
305 offset = 0; in ath6kl_bmi_set_app_start()
324 u32 offset; in ath6kl_bmi_reg_read() local
341 offset = 0; in ath6kl_bmi_reg_read()
367 u32 offset; in ath6kl_bmi_reg_write() local
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-lp3943.c62 clear_bit(offset, &lp3943->pin_used); in lp3943_gpio_free()
71 return lp3943_update_bits(lp3943, mux[offset].reg, mux[offset].mask, in lp3943_gpio_set_mode()
72 val << mux[offset].shift); in lp3943_gpio_set_mode()
79 lp3943_gpio->input_mask |= BIT(offset); in lp3943_gpio_direction_input()
90 switch (offset) { in lp3943_get_gpio_in_status()
96 offset = offset - 8; in lp3943_get_gpio_in_status()
106 return !!(read & BIT(offset)); in lp3943_get_gpio_in_status()
121 read = (read & mux[offset].mask) >> mux[offset].shift; in lp3943_get_gpio_out_status()
144 if (lp3943_gpio->input_mask & BIT(offset)) in lp3943_gpio_get()
168 lp3943_gpio_set(chip, offset, value); in lp3943_gpio_direction_output()
[all …]
H A Dgpio-pmic-eic-sprd.c59 u32 offset; member
69 u32 shift = SPRD_PMIC_EIC_BIT(offset); in sprd_pmic_eic_update()
106 unsigned int offset) in sprd_pmic_eic_direction_input() argument
119 unsigned int offset, in sprd_pmic_eic_set_debounce() argument
152 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_irq_mask() local
157 gpiochip_disable_irq(chip, offset); in sprd_pmic_eic_irq_mask()
164 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_irq_unmask() local
166 gpiochip_enable_irq(chip, offset); in sprd_pmic_eic_irq_unmask()
213 u32 offset = irqd_to_hwirq(data); in sprd_pmic_eic_bus_sync_unlock() local
218 state = sprd_pmic_eic_get(chip, offset); in sprd_pmic_eic_bus_sync_unlock()
[all …]
/openbmc/linux/arch/sparc/lib/
H A Dbitext.c55 offset = t->first_free; in bit_map_string_get()
62 count += off_new - offset; in bit_map_string_get()
63 offset = off_new; in bit_map_string_get()
64 if (offset >= t->size) in bit_map_string_get()
65 offset = 0; in bit_map_string_get()
75 count += t->size - offset; in bit_map_string_get()
76 offset = 0; in bit_map_string_get()
94 return offset; in bit_map_string_get()
99 offset = 0; in bit_map_string_get()
115 if (offset < t->first_free) in bit_map_clear()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dfirewall.c34 if (offset >= m->iova && offset <= m->iova_end) in fw_check_addr_valid()
55 offset); in fw_check_reg()
72 if (fw_check_reg(fw, offset)) in fw_check_regs_seq()
76 offset++; in fw_check_regs_seq()
89 if (fw_check_reg(fw, offset+bit)) in fw_check_regs_mask()
104 offset); in fw_check_regs_imm()
171 offset = word >> 16 & 0xfff; in tegra_drm_fw_validate()
185 offset = (word >> 16) & 0xfff; in tegra_drm_fw_validate()
194 offset = (word >> 16) & 0xfff; in tegra_drm_fw_validate()
228 offset = word & 0x3fffff; in tegra_drm_fw_validate()
[all …]
/openbmc/linux/arch/x86/include/asm/numachip/
H A Dnumachip_csr.h39 static inline void *lcsr_address(unsigned long offset) in lcsr_address() argument
42 CSR_NODE_BITS(0xfff0) | (offset & CSR_OFFSET_MASK)); in lcsr_address()
45 static inline unsigned int read_lcsr(unsigned long offset) in read_lcsr() argument
47 return swab32(readl(lcsr_address(offset))); in read_lcsr()
52 writel(swab32(val), lcsr_address(offset)); in write_lcsr()
70 (offset & (NUMACHIP2_LCSR_SIZE - 1))); in numachip2_lcsr_address()
73 static inline u32 numachip2_read32_lcsr(unsigned long offset) in numachip2_read32_lcsr() argument
75 return readl(numachip2_lcsr_address(offset)); in numachip2_read32_lcsr()
80 return readq(numachip2_lcsr_address(offset)); in numachip2_read64_lcsr()
85 writel(val, numachip2_lcsr_address(offset)); in numachip2_write32_lcsr()
[all …]
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-hdr.c45 unsigned int offset = 0; in delta_mjpeg_read_sof() local
52 offset += sizeof(u16); in delta_mjpeg_read_sof()
54 offset += sizeof(u8); in delta_mjpeg_read_sof()
56 offset += sizeof(u16); in delta_mjpeg_read_sof()
58 offset += sizeof(u16); in delta_mjpeg_read_sof()
60 offset += sizeof(u8); in delta_mjpeg_read_sof()
92 unsigned int offset = 0; in delta_mjpeg_read_header() local
98 offset = 0; in delta_mjpeg_read_header()
104 *data_offset = offset; in delta_mjpeg_read_header()
129 offset++; in delta_mjpeg_read_header()
[all …]
/openbmc/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c122 offset = plgpio->p2o(offset); in plgpio_direction_input()
139 unsigned dir_offset = offset, wdata_offset = offset, tmp; in plgpio_direction_output()
176 offset = plgpio->p2o(offset); in plgpio_get_value()
193 offset = plgpio->p2o(offset); in plgpio_set_value()
236 offset = plgpio->p2o(offset); in plgpio_request()
270 offset = plgpio->p2o(offset); in plgpio_free()
296 offset = plgpio->p2o(offset); in plgpio_irq_disable()
316 offset = plgpio->p2o(offset); in plgpio_irq_enable()
352 offset = PIN_OFFSET(offset); in plgpio_irq_set_type()
434 offset += 4; in spear310_p2o()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_restore.c69 unsigned int offset; in restore_decr() local
89 unsigned int offset; in write_ppu_mb() local
103 unsigned int offset; in write_ppuint_mb() local
117 unsigned int offset; in restore_fpcr() local
124 offset = LSCSA_QW_OFFSET(fpcr); in restore_fpcr()
125 fpcr = regs_spill[offset].v; in restore_fpcr()
131 unsigned int offset; in restore_srr0() local
137 offset = LSCSA_QW_OFFSET(srr0); in restore_srr0()
144 unsigned int offset; in restore_event_mask() local
157 unsigned int offset; in restore_tag_mask() local
[all …]
/openbmc/u-boot/include/
H A Dspi_flash.h34 int (*write)(struct udevice *dev, u32 offset, size_t len,
36 int (*erase)(struct udevice *dev, u32 offset, size_t len);
123 return spi_flash_read_dm(flash->dev, offset, len, buf); in spi_flash_read()
129 return spi_flash_write_dm(flash->dev, offset, len, buf); in spi_flash_write()
135 return spi_flash_erase_dm(flash->dev, offset, len); in spi_flash_erase()
139 u32 offset, size_t len) in spi_flash_ctrl_wlock() argument
145 u32 offset, size_t len) in spi_flash_ctrl_wunlock() argument
169 return mtd->_read(mtd, offset, len, &retlen, buf); in spi_flash_read()
178 return mtd->_write(mtd, offset, len, &retlen, buf); in spi_flash_write()
187 if (offset % mtd->erasesize || len % mtd->erasesize) { in spi_flash_erase()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dzip.c104 __u32 offset; member
137 if (offset + size > archive->size || offset > offset + size) in check_access()
140 return archive->data + offset; in check_access()
177 int64_t limit, offset; in find_cd() local
190 for (; offset >= 0 && offset > limit && rc != 0; offset--) { in find_cd()
248 __u32 offset) in local_file_header_at_offset() argument
270 offset += sizeof(*lfh); in get_entry_at_offset()
278 offset += lfh->file_name_length; in get_entry_at_offset()
293 out->data_offset = offset; in get_entry_at_offset()
313 offset += sizeof(*cdfh); in zip_archive_find_entry()
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dhyperv.h24 u16 offset; member
47 if (unlikely(!evmcs_field->offset)) in evmcs_field_offset()
53 return evmcs_field->offset; in evmcs_field_offset()
57 unsigned long field, u16 offset) in evmcs_read_any() argument
83 return offset; in get_evmcs_offset()
91 if (offset < 0) in evmcs_write64()
104 if (offset < 0) in evmcs_write32()
116 if (offset < 0) in evmcs_write16()
127 if (offset < 0) in evmcs_read64()
137 if (offset < 0) in evmcs_read32()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Dinsn.c12 long offset; in __arm_gen_branch_thumb2() local
15 if (offset < -16777216 || offset > 16777214) { in __arm_gen_branch_thumb2()
20 s = (offset >> 24) & 0x1; in __arm_gen_branch_thumb2()
21 i1 = (offset >> 23) & 0x1; in __arm_gen_branch_thumb2()
22 i2 = (offset >> 22) & 0x1; in __arm_gen_branch_thumb2()
23 imm10 = (offset >> 12) & 0x3ff; in __arm_gen_branch_thumb2()
24 imm11 = (offset >> 1) & 0x7ff; in __arm_gen_branch_thumb2()
41 long offset; in __arm_gen_branch_arm() local
47 if (unlikely(offset < -33554432 || offset > 33554428)) { in __arm_gen_branch_arm()
52 offset = (offset >> 2) & 0x00ffffff; in __arm_gen_branch_arm()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Domap_elm.c167 int i, offset; in elm_load_syndrome() local
184 offset += 4; in elm_load_syndrome()
189 offset += 4; in elm_load_syndrome()
194 offset += 4; in elm_load_syndrome()
205 offset += 4; in elm_load_syndrome()
212 offset += 4; in elm_load_syndrome()
215 offset += 4; in elm_load_syndrome()
218 offset += 4; in elm_load_syndrome()
221 offset += 4; in elm_load_syndrome()
253 int i, offset; in elm_start_processing() local
[all …]
/openbmc/u-boot/include/dt-bindings/clock/
H A Dam3.h17 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument
23 #define AM3_L4_PER_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_PER_CLKCTRL_OFFSET) argument
78 #define AM3_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_CLKCTRL_OFFSET) argument
94 #define AM3_MPU_CLKCTRL_INDEX(offset) ((offset) - AM3_MPU_CLKCTRL_OFFSET) argument
102 #define AM3_GFX_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_GFX_L3_CLKCTRL_OFFSET) argument
114 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument
149 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument
158 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument
172 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument
185 #define AM3_LCDC_CLKCTRL_INDEX(offset) ((offset) - AM3_LCDC_CLKCTRL_OFFSET) argument
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gicv3_dist.c106 int irq = offset * 8; in gicd_write_set_bitmap_reg()
130 int irq = offset * 8; in gicd_write_clear_bitmap_reg()
153 int irq = offset * 8; in gicd_read_bitmap_reg()
282 switch (offset) { in gicd_readb()
302 switch (offset) { in gicd_writeb()
358 switch (offset) { in gicd_readl()
430 irq = (offset - GICD_IGROUPR) * 8; in gicd_readl()
552 if (offset & 7) { in gicd_readl()
582 switch (offset) { in gicd_writel()
789 switch (offset) { in gicd_writeq()
[all …]

12345678910>>...294