Home
last modified time | relevance | path

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

12345678910>>...231

/Linux-v5.4/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 …]
Dcvmx-pcsx-defs.h31 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_ADV_REG() argument
35 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
38 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
42 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
44 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
46 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
49 static inline uint64_t CVMX_PCSX_ANX_EXT_ST_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_EXT_ST_REG() argument
53 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
56 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
60 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
[all …]
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_regs.c302 { .name = "rx_octets", .offset = 0x00, },
303 { .name = "rx_unicast", .offset = 0x01, },
304 { .name = "rx_multicast", .offset = 0x02, },
305 { .name = "rx_broadcast", .offset = 0x03, },
306 { .name = "rx_shorts", .offset = 0x04, },
307 { .name = "rx_fragments", .offset = 0x05, },
308 { .name = "rx_jabbers", .offset = 0x06, },
309 { .name = "rx_crc_align_errs", .offset = 0x07, },
310 { .name = "rx_sym_errs", .offset = 0x08, },
311 { .name = "rx_frames_below_65_octets", .offset = 0x09, },
[all …]
/Linux-v5.4/scripts/dtc/libfdt/
Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument
17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
105 int offset = -1; in fdt_find_max_phandle() local
110 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle()
111 if (offset < 0) { in fdt_find_max_phandle()
112 if (offset == -FDT_ERR_NOTFOUND) in fdt_find_max_phandle()
115 return offset; in fdt_find_max_phandle()
118 value = fdt_get_phandle(fdt, offset); in fdt_find_max_phandle()
150 int offset = n * sizeof(struct fdt_reserve_entry); in fdt_mem_rsv() local
151 int absoffset = fdt_off_mem_rsvmap(fdt) + offset; in fdt_mem_rsv()
[all …]
Dfdt.c109 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() argument
111 unsigned absoffset = offset + fdt_off_dt_struct(fdt); in fdt_offset_ptr()
113 if ((absoffset < offset) in fdt_offset_ptr()
119 if (((offset + len) < offset) in fdt_offset_ptr()
120 || ((offset + len) > fdt_size_dt_struct(fdt))) in fdt_offset_ptr()
123 return fdt_offset_ptr_(fdt, offset); in fdt_offset_ptr()
130 int offset = startoffset; in fdt_next_tag() local
134 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE); in fdt_next_tag()
138 offset += FDT_TAGSIZE; in fdt_next_tag()
145 p = fdt_offset_ptr(fdt, offset++, 1); in fdt_next_tag()
[all …]
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_hal.c43 u64 offset; in nitrox_config_emu_unit() local
57 offset = EMU_WD_INT_ENA_W1SX(i); in nitrox_config_emu_unit()
58 nitrox_write_csr(ndev, offset, emu_wd_int.value); in nitrox_config_emu_unit()
59 offset = EMU_GE_INT_ENA_W1SX(i); in nitrox_config_emu_unit()
60 nitrox_write_csr(ndev, offset, emu_ge_int.value); in nitrox_config_emu_unit()
69 u64 offset; in reset_pkt_input_ring() local
72 offset = NPS_PKT_IN_INSTR_CTLX(ring); in reset_pkt_input_ring()
73 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring()
75 nitrox_write_csr(ndev, offset, pkt_in_ctl.value); in reset_pkt_input_ring()
80 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring()
[all …]
/Linux-v5.4/arch/sh/boards/mach-microdev/
Dio.c55 void __iomem *microdev_ioport_map(unsigned long offset, unsigned int len) in microdev_ioport_map() argument
59 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map()
60 (offset < IO_LAN91C111_BASE + IO_LAN91C111_EXTENT)) { in microdev_ioport_map()
64 result = IO_LAN91C111_PHYS + offset - IO_LAN91C111_BASE; in microdev_ioport_map()
65 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map()
66 (offset < IO_SUPERIO_BASE + IO_SUPERIO_EXTENT)) { in microdev_ioport_map()
72 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
73 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map()
74 (offset < IO_IDE1_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
75 (offset == IO_IDE1_MISC)) { in microdev_ioport_map()
[all …]
/Linux-v5.4/drivers/misc/ocxl/
Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() argument
10 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_read32()
20 *val = readl_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32()
24 *val = readl((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() argument
35 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_read64()
45 *val = readq_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64()
49 *val = readq((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() argument
60 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_write32()
[all …]
/Linux-v5.4/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-v5.4/drivers/net/wireless/ath/ath10k/
Dqmi_wlfw_v01.c17 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
26 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
35 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
44 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
53 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
66 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01,
75 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01,
84 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01,
97 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01,
106 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01,
[all …]
/Linux-v5.4/drivers/gpio/
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-cs5535.c83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set() argument
86 if (offset < 16) in __cs5535_gpio_set()
88 outl(1 << offset, chip->base + reg); in __cs5535_gpio_set()
91 errata_outl(chip, 1 << (offset - 16), reg); in __cs5535_gpio_set()
94 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set() argument
100 __cs5535_gpio_set(chip, offset, reg); in cs5535_gpio_set()
105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear() argument
108 if (offset < 16) in __cs5535_gpio_clear()
110 outl(1 << (offset + 16), chip->base + reg); in __cs5535_gpio_clear()
113 errata_outl(chip, 1 << offset, reg); in __cs5535_gpio_clear()
[all …]
Dgpio-aspeed.c251 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank() argument
253 unsigned int bank = GPIO_BANK(offset); in to_bank()
265 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props() argument
270 if (props->bank == GPIO_BANK(offset)) in find_bank_props()
278 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio() argument
280 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_gpio()
281 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio()
282 unsigned int group = GPIO_OFFSET(offset) / 8; in have_gpio()
285 (!props || ((props->input | props->output) & GPIO_BIT(offset))); in have_gpio()
288 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input() argument
[all …]
/Linux-v5.4/arch/arm/kernel/
Dmodule.c79 s32 offset; in apply_relocate() local
85 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
86 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate()
92 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate()
123 offset = __mem_to_opcode_arm(*(u32 *)loc); in apply_relocate()
124 offset = (offset & 0x00ffffff) << 2; in apply_relocate()
125 if (offset & 0x02000000) in apply_relocate()
126 offset -= 0x04000000; in apply_relocate()
128 offset += sym->st_value - loc; in apply_relocate()
137 (offset <= (s32)0xfe000000 || in apply_relocate()
[all …]
/Linux-v5.4/drivers/thunderbolt/
Dcap.c29 u32 value, offset; in tb_port_enable_tmu() local
37 offset = 0x26; in tb_port_enable_tmu()
39 offset = 0x2a; in tb_port_enable_tmu()
43 ret = tb_sw_read(sw, &value, TB_CFG_SWITCH, offset, 1); in tb_port_enable_tmu()
52 return tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1); in tb_port_enable_tmu()
72 u32 offset = 1; in __tb_port_find_cap() local
78 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in __tb_port_find_cap()
83 return offset; in __tb_port_find_cap()
85 offset = header.basic.next; in __tb_port_find_cap()
86 } while (offset); in __tb_port_find_cap()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/gpu/host1x/hw/
Dhost1x01_hardware.h33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
37 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
41 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
44 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
55 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
59 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
69 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
79 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
81 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x02_hardware.h33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
37 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
41 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
44 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
55 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
59 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
69 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
78 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
80 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x04_hardware.h33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
37 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
41 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
44 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
55 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
59 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
69 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
78 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
80 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x05_hardware.h33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
37 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
41 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
44 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
55 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
59 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
69 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
78 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
80 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
Dhost1x07_hardware.h34 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
38 | host1x_uclass_wait_syncpt_base_offset_f(offset); in host1x_class_host_wait_syncpt_base()
42 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() argument
45 | host1x_uclass_incr_syncpt_base_offset_f(offset); in host1x_class_host_incr_syncpt_base()
56 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() argument
60 | host1x_uclass_indoff_indroffset_f(offset); in host1x_class_host_indoff_reg_write()
67 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() argument
70 | host1x_uclass_indoff_indroffset_f(offset) in host1x_class_host_indoff_reg_read()
79 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() argument
81 return (0 << 28) | (offset << 16) | (class_id << 6) | mask; in host1x_opcode_setclass()
[all …]
/Linux-v5.4/fs/iomap/
Dseek.c74 page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, in page_cache_seek_hole_data() argument
77 pgoff_t index = offset >> PAGE_SHIFT; in page_cache_seek_hole_data()
78 pgoff_t end = DIV_ROUND_UP(offset + length, PAGE_SIZE); in page_cache_seek_hole_data()
79 loff_t lastoff = offset; in page_cache_seek_hole_data()
110 if (lastoff < offset + length) in page_cache_seek_hole_data()
121 iomap_seek_hole_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_hole_actor() argument
126 offset = page_cache_seek_hole_data(inode, offset, length, in iomap_seek_hole_actor()
128 if (offset < 0) in iomap_seek_hole_actor()
132 *(loff_t *)data = offset; in iomap_seek_hole_actor()
140 iomap_seek_hole(struct inode *inode, loff_t offset, const struct iomap_ops *ops) in iomap_seek_hole() argument
[all …]
/Linux-v5.4/drivers/mtd/parsers/
Dbcm47xxpart.c51 uint32_t offset[3]; member
55 u64 offset, uint32_t mask_flags) in bcm47xxpart_add_part() argument
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()
122 offset += blocksize) { in bcm47xxpart_parse()
124 if (IS_ENABLED(CONFIG_BCM47XX) && offset >= 0x2000000) in bcm47xxpart_parse()
133 err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse()
137 offset, err); in bcm47xxpart_parse()
145 offset, MTD_WRITEABLE); in bcm47xxpart_parse()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Ddvo_ns2501.c195 u8 offset; member
301 [0] = { .offset = 0x0a, .value = 0x81, },
303 [1] = { .offset = 0x12, .value = 0x02, },
304 [2] = { .offset = 0x18, .value = 0x07, },
305 [3] = { .offset = 0x19, .value = 0x00, },
306 [4] = { .offset = 0x1a, .value = 0x00, }, /* PLL?, ignored */
308 [5] = { .offset = 0x1e, .value = 0x02, },
309 [6] = { .offset = 0x1f, .value = 0x40, },
310 [7] = { .offset = 0x20, .value = 0x00, },
311 [8] = { .offset = 0x21, .value = 0x00, },
[all …]

12345678910>>...231