Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/openbmc/u-boot/arch/arm/mach-omap2/
H A Dfdt-common.c26 int offs; in ft_hs_disable_rng() local
32 if (offs < 0) { in ft_hs_disable_rng()
74 int offs, len; in ft_hs_fixup_dram() local
84 if (offs >= 0) in ft_hs_fixup_dram()
90 if (offs < 0) { in ft_hs_fixup_dram()
95 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
109 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_fixup_dram()
110 if (offs < 0) { in ft_hs_fixup_dram()
130 int offs; in ft_hs_add_tee() local
147 offs = fdt_add_subnode(fdt, offs, subpath); in ft_hs_add_tee()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-devtrace-io.h22 __field(u32, offs)
27 __entry->offs = offs;
39 __field(u32, offs)
44 __entry->offs = offs;
56 __field(u32, offs)
61 __entry->offs = offs;
73 __field(u64, offs)
78 __entry->offs = offs;
95 __entry->offs = offs;
112 __entry->offs = offs;
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dscan.c96 lnum, offs); in ubifs_scan_a_node()
106 offs, offs + node_len + pad_len); in ubifs_scan_a_node()
111 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node()
145 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan()
148 c->leb_size - offs, lnum, offs, err); in ubifs_start_scan()
199 snod->offs = offs; in ubifs_add_snod()
275 lnum, offs, len); in ubifs_scan()
282 offs += ret; in ubifs_scan()
313 offs += node_len; in ubifs_scan()
321 offs); in ubifs_scan()
[all …]
H A Dio.c246 ubifs_assert(!(offs & 7) && offs < c->leb_size); in ubifs_check_node()
549 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
579 ubifs_assert(offs >= 0 && offs <= c->leb_size); in ubifs_wbuf_seek_nolock()
580 ubifs_assert(offs % c->min_io_size == 0 && !(offs & 7)); in ubifs_wbuf_seek_nolock()
586 wbuf->offs = offs; in ubifs_wbuf_seek_nolock()
691 ubifs_assert(!(wbuf->offs & 7) && wbuf->offs <= c->leb_size); in ubifs_wbuf_write_nolock()
865 int offs) in ubifs_write_node() argument
914 ubifs_assert(!(offs & 7) && offs < c->leb_size); in ubifs_read_node_wbuf()
918 overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs); in ubifs_read_node_wbuf()
926 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
[all …]
H A Drecovery.c117 offs = 0; in get_master_node()
125 offs += sz; in get_master_node()
130 if (offs) { in get_master_node()
133 offs -= sz; in get_master_node()
139 offs -= sz; in get_master_node()
158 offs += sz; in get_master_node()
169 offs += sz; in get_master_node()
471 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
483 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
584 *offs = snod->offs; in drop_last_group()
[all …]
H A Dlpt_commit.c236 offs = 0; in layout_cnodes()
260 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
265 offs += len; in layout_cnodes()
279 offs = 0; in layout_cnodes()
299 offs = 0; in layout_cnodes()
379 from = offs; in write_cnodes()
915 if (branch->lnum != lnum || branch->offs != offs) in make_nnode_dirty()
962 if (branch->lnum != lnum || branch->offs != offs) in make_pnode_dirty()
1083 pad_len = ALIGN(offs, c->min_io_size) - offs; in get_pad_len()
1531 if (branch->lnum != lnum || branch->offs != offs) in dbg_is_nnode_dirty()
[all …]
H A Dreplay.c50 int offs; member
368 r->offs = offs; in insert_node()
421 r->offs = offs; in insert_dent()
757 bud->start = offs; in add_replay_bud()
783 unsigned int offs = le32_to_cpu(ref->offs); in validate_ref() local
793 offs & (c->min_io_size - 1)) in validate_ref()
858 lnum, offs); in replay_log_leb()
863 lnum, offs, in replay_log_leb()
886 if (snod->offs != 0) { in replay_log_leb()
929 if (snod->offs != 0) { in replay_log_leb()
[all …]
/openbmc/linux/fs/ubifs/
H A Dscan.c92 lnum, offs); in ubifs_scan_a_node()
102 offs, offs + node_len + pad_len); in ubifs_scan_a_node()
107 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node()
141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan()
144 c->leb_size - offs, lnum, offs, err); in ubifs_start_scan()
194 snod->offs = offs; in ubifs_add_snod()
270 lnum, offs, len); in ubifs_scan()
277 offs += ret; in ubifs_scan()
308 offs += node_len; in ubifs_scan()
316 offs); in ubifs_scan()
[all …]
H A Drecovery.c113 offs = 0; in get_master_node()
121 offs += sz; in get_master_node()
126 if (offs) { in get_master_node()
129 offs -= sz; in get_master_node()
135 offs -= sz; in get_master_node()
154 offs += sz; in get_master_node()
165 offs += sz; in get_master_node()
465 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
576 *offs = snod->offs; in drop_last_group()
[all …]
H A Dio.c252 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in ubifs_check_node()
609 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
639 ubifs_assert(c, offs >= 0 && offs <= c->leb_size); in ubifs_wbuf_seek_nolock()
640 ubifs_assert(c, offs % c->min_io_size == 0 && !(offs & 7)); in ubifs_wbuf_seek_nolock()
646 wbuf->offs = offs; in ubifs_wbuf_seek_nolock()
650 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
999 int offs) in ubifs_write_node() argument
1029 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in ubifs_read_node_wbuf()
1033 overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs); in ubifs_read_node_wbuf()
1041 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
[all …]
H A Dlpt_commit.c229 offs = 0; in layout_cnodes()
253 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
258 offs += len; in layout_cnodes()
272 offs = 0; in layout_cnodes()
292 offs = 0; in layout_cnodes()
371 from = offs; in write_cnodes()
872 if (branch->lnum != lnum || branch->offs != offs) in make_nnode_dirty()
919 if (branch->lnum != lnum || branch->offs != offs) in make_pnode_dirty()
1040 pad_len = ALIGN(offs, c->min_io_size) - offs; in get_pad_len()
1489 if (branch->lnum != lnum || branch->offs != offs) in dbg_is_nnode_dirty()
[all …]
/openbmc/linux/drivers/misc/mei/
H A Dmei-trace.h21 TP_ARGS(dev, reg, offs, val),
25 __field(u32, offs)
31 __entry->offs = offs;
35 __get_str(dev), __entry->reg, __entry->offs, __entry->val)
40 TP_ARGS(dev, reg, offs, val),
44 __field(u32, offs)
50 __entry->offs = offs;
59 TP_ARGS(dev, reg, offs, val),
63 __field(u32, offs)
69 __entry->offs = offs;
[all …]
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_reg.h101 u16 offs) in asd_ddbsite_read_byte() argument
103 if (offs & 1) in asd_ddbsite_read_byte()
108 offs) & 0xFF; in asd_ddbsite_read_byte()
129 u16 base = offs & ~1; in asd_ddbsite_write_byte()
131 if (offs & 1) in asd_ddbsite_write_byte()
154 u16 offs) in asd_scbsite_read_byte() argument
156 if (offs & 1) in asd_scbsite_read_byte()
182 u16 base = offs & ~1; in asd_scbsite_write_byte()
184 if (offs & 1) in asd_scbsite_write_byte()
231 u16 base = offs & ~1; in asd_ddbsite_update_byte()
[all …]
H A Daic94xx_reg.c18 unsigned long offs, u8 val) in asd_write_byte() argument
29 unsigned long offs, u16 val) in asd_write_word() argument
40 unsigned long offs, u32 val) in asd_write_dword() argument
57 + (offs & 0xFF)); in asd_read_byte()
65 unsigned long offs) in asd_read_word() argument
70 + (offs & 0xFF)); in asd_read_word()
78 unsigned long offs) in asd_read_dword() argument
83 + (offs & 0xFF)); in asd_read_dword()
285 u32 offs, int count) in asd_read_reg_string() argument
291 for ( ; count > 0; count--, offs++, p++) in asd_read_reg_string()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-syscon.c59 unsigned int val, offs; in syscon_gpio_get() local
75 unsigned int offs; in syscon_gpio_set() local
81 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set()
90 unsigned int offs; in syscon_gpio_dir_in() local
92 offs = priv->dir_reg_offset + in syscon_gpio_dir_in()
108 unsigned int offs; in syscon_gpio_dir_out() local
110 offs = priv->dir_reg_offset + in syscon_gpio_dir_out()
115 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_dir_out()
135 unsigned int offs; in rockchip_gpio_set() local
141 bit = offs % SYSCON_REG_BITS; in rockchip_gpio_set()
[all …]
/openbmc/linux/drivers/mtd/tests/
H A Dstresstest.c60 static int rand_len(int offs) in rand_len() argument
68 int offs = rand_offs(); in do_read() local
69 int len = rand_len(offs); in do_read()
73 if (offs >= mtd->erasesize) in do_read()
74 offs -= mtd->erasesize; in do_read()
87 offs = offsets[eb]; in do_write()
92 offs = offsets[eb] = 0; in do_write()
94 len = rand_len(offs); in do_write()
110 offs += len; in do_write()
113 offs -= mtd->erasesize; in do_write()
[all …]
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_utils.c9 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_set_bit() argument
11 u32 value = csrrd32(ioaddr, offs); in tse_set_bit()
13 csrwr32(value, ioaddr, offs); in tse_set_bit()
16 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_clear_bit() argument
18 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit()
20 csrwr32(value, ioaddr, offs); in tse_clear_bit()
23 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_set() argument
25 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set()
29 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_clear() argument
31 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear()
/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dfdt.c33 int offs; in ft_hs_fixup_crossbar() local
52 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_crossbar()
53 if (offs < 0) { in ft_hs_fixup_crossbar()
97 int offs; in ft_hs_fixup_sram() local
108 if (offs < 0) { in ft_hs_fixup_sram()
118 fdt_delprop(fdt, offs, "reg"); in ft_hs_fixup_sram()
201 int offs, node_offs, ret, i; in ft_fixup_clocks() local
205 if (offs < 0) { in ft_fixup_clocks()
207 fdt_strerror(offs)); in ft_fixup_clocks()
208 return offs; in ft_fixup_clocks()
[all …]
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos.h63 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
69 .eint_offset = offs, \
73 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument
79 .eint_offset = offs, \
83 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
89 .eint_offset = offs, \
99 .eint_offset = offs, \
109 .eint_offset = offs, \
123 #define EXYNOS850_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
129 .eint_offset = offs, \
[all …]
/openbmc/u-boot/drivers/mtd/nand/
H A Dbbt.c81 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status() local
87 status = pos[0] >> offs; in nanddev_bbt_get_block_status()
88 if (bits_per_block + offs > BITS_PER_LONG) in nanddev_bbt_get_block_status()
89 status |= pos[1] << (BITS_PER_LONG - offs); in nanddev_bbt_get_block_status()
114 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status() local
120 pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs); in nanddev_bbt_set_block_status()
121 pos[0] |= val << offs; in nanddev_bbt_set_block_status()
123 if (bits_per_block + offs > BITS_PER_LONG) { in nanddev_bbt_set_block_status()
124 unsigned int rbits = bits_per_block + offs - BITS_PER_LONG; in nanddev_bbt_set_block_status()
/openbmc/linux/drivers/mtd/nand/
H A Dbbt.c77 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status() local
83 status = pos[0] >> offs; in nanddev_bbt_get_block_status()
84 if (bits_per_block + offs > BITS_PER_LONG) in nanddev_bbt_get_block_status()
85 status |= pos[1] << (BITS_PER_LONG - offs); in nanddev_bbt_get_block_status()
110 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status() local
116 pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs); in nanddev_bbt_set_block_status()
117 pos[0] |= val << offs; in nanddev_bbt_set_block_status()
119 if (bits_per_block + offs > BITS_PER_LONG) { in nanddev_bbt_set_block_status()
120 unsigned int rbits = bits_per_block + offs - BITS_PER_LONG; in nanddev_bbt_set_block_status()
/openbmc/linux/lib/
H A Dlogic_iomem.c106 long offs; in ioremap() local
111 offs = rreg->ops->map(offset - found->res->start, in ioremap()
114 if (offs < 0) { in ioremap()
257 unsigned long offs, start; in memset_io() local
271 for (offs = 0; offs < size; offs++) in memset_io()
281 unsigned long offs, start; in memcpy_fromio() local
295 for (offs = 0; offs < size; offs++) in memcpy_fromio()
296 buf[offs] = area->ops->read(area->priv, start + offs, 1); in memcpy_fromio()
304 unsigned long offs, start; in memcpy_toio() local
318 for (offs = 0; offs < size; offs++) in memcpy_toio()
[all …]
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dtestcases.c12 size_t offs = 0; in get_header() local
18 while (offs <= resv_sz - HDR_SZ && in get_header()
20 offs += head->size; in get_header()
26 *offset = offs; in get_header()
134 size_t offs = 0; in validate_reserved() local
166 offs = 0; in validate_reserved()
253 offs += head->size; in validate_reserved()
313 size_t offs = 0; in get_starting_head() local
320 if (resv_sz - offs < need_sz) { in get_starting_head()
322 resv_sz - offs); in get_starting_head()
[all …]
/openbmc/linux/drivers/net/ethernet/renesas/
H A Drcar_gen4_ptp.c41 iowrite32(addend, ptp_priv->addr + ptp_priv->offs->increment); in rcar_gen4_ptp_adjfine()
52 ts->tv_nsec = ioread32(ptp_priv->addr + ptp_priv->offs->monitor_t0); in _rcar_gen4_ptp_gettime()
76 iowrite32(1, ptp_priv->addr + ptp_priv->offs->disable); in _rcar_gen4_ptp_settime()
77 iowrite32(0, ptp_priv->addr + ptp_priv->offs->config_t2); in _rcar_gen4_ptp_settime()
78 iowrite32(0, ptp_priv->addr + ptp_priv->offs->config_t1); in _rcar_gen4_ptp_settime()
79 iowrite32(0, ptp_priv->addr + ptp_priv->offs->config_t0); in _rcar_gen4_ptp_settime()
80 iowrite32(1, ptp_priv->addr + ptp_priv->offs->enable); in _rcar_gen4_ptp_settime()
82 iowrite32(ts->tv_sec, ptp_priv->addr + ptp_priv->offs->config_t1); in _rcar_gen4_ptp_settime()
138 ptp_priv->offs = &s4_offs; in rcar_gen4_ptp_set_offs()
157 iowrite32(0x01, ptp_priv->addr + ptp_priv->offs->enable); in rcar_gen4_ptp_register()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_elbc_spl.c37 int nand_spl_load_image(uint32_t offs, unsigned int uboot_size, void *vdst) in nand_spl_load_image() argument
39 static int nand_load_image(uint32_t offs, unsigned int uboot_size, void *vdst) in nand_spl_load_image()
53 if (offs & (block_size - 1)) { in nand_spl_load_image()
82 out_be32(&regs->fbar, offs >> block_shift); in nand_spl_load_image()
86 unsigned int page_offs = (offs & (block_size - 1)) << 1; in nand_spl_load_image()
103 offs = (offs + block_size) & ~(block_size - 1); in nand_spl_load_image()
112 offs += page_size; in nand_spl_load_image()
113 } while ((offs & (block_size - 1)) && (pos < uboot_size)); in nand_spl_load_image()
124 #define nand_spl_load_image(offs, uboot_size, vdst) \ argument
125 nand_load_image(offs, uboot_size, vdst)

12345678910>>...21