/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-devtrace-io.h | 22 __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 …]
|
/linux-6.3-rc2/fs/ubifs/ |
A D | scan.c | 92 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 …]
|
A D | io.c | 252 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 …]
|
A D | recovery.c | 113 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 …]
|
A D | lpt_commit.c | 229 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 …]
|
A D | log.c | 225 bud->start = offs; in ubifs_add_bud_to_log() 323 bud->start = wbuf->offs; in remove_buds() 395 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit() local 405 ref->offs = cpu_to_le32(offs); in ubifs_log_start_commit() 620 ubifs_pad(c, buf + *offs, sz - *offs); in add_node() 625 *offs = 0; in add_node() 628 *offs += ALIGN(len, 8); in add_node() 696 if (offs) { in ubifs_consolidate_log() 699 ubifs_pad(c, buf + offs, sz - offs); in ubifs_consolidate_log() 703 offs = ALIGN(offs, c->min_io_size); in ubifs_consolidate_log() [all …]
|
A D | replay.c | 47 int offs; member 402 r->offs = offs; in insert_node() 457 r->offs = offs; in insert_dent() 909 bud->start = offs; in add_replay_bud() 946 unsigned int offs = le32_to_cpu(ref->offs); in validate_ref() local 956 offs & (c->min_io_size - 1)) in validate_ref() 1021 lnum, offs); in replay_log_leb() 1026 lnum, offs, in replay_log_leb() 1057 if (snod->offs != 0) { in replay_log_leb() 1105 if (snod->offs != 0) { in replay_log_leb() [all …]
|
A D | tnc.c | 79 old_idx->offs = offs; in insert_old_idx() 89 else if (offs < o->offs) in insert_old_idx() 91 else if (offs > o->offs) in insert_old_idx() 452 int offs = zbr->offs; in try_read_node() local 1467 *offs = zt->offs; in ubifs_tnc_locate() 2294 zbr.offs = offs; in ubifs_tnc_add() 2305 zbr->offs = offs; in ubifs_tnc_add() 2356 zbr->offs = offs; in ubifs_tnc_replace() 2385 zbr->offs = offs; in ubifs_tnc_replace() 2457 zbr->offs = offs; in ubifs_tnc_add_nm() [all …]
|
/linux-6.3-rc2/drivers/misc/mei/ |
A D | mei-trace.h | 21 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 …]
|
/linux-6.3-rc2/drivers/scsi/aic94xx/ |
A D | aic94xx_reg.h | 101 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 …]
|
A D | aic94xx_reg.c | 18 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 …]
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-syscon.c | 60 unsigned int val, offs; in syscon_gpio_get() local 76 unsigned int offs; in syscon_gpio_set() local 82 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set() 91 unsigned int offs; in syscon_gpio_dir_in() local 93 offs = priv->dir_reg_offset + in syscon_gpio_dir_in() 109 unsigned int offs; in syscon_gpio_dir_out() local 111 offs = priv->dir_reg_offset + in syscon_gpio_dir_out() 116 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_dir_out() 136 unsigned int offs; in rockchip_gpio_set() local 142 bit = offs % SYSCON_REG_BITS; in rockchip_gpio_set() [all …]
|
/linux-6.3-rc2/drivers/mtd/tests/ |
A D | stresstest.c | 60 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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/altera/ |
A D | altera_utils.c | 9 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()
|
/linux-6.3-rc2/drivers/pinctrl/samsung/ |
A D | pinctrl-exynos.h | 63 #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 …]
|
/linux-6.3-rc2/lib/ |
A D | logic_iomem.c | 106 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 …]
|
/linux-6.3-rc2/drivers/mtd/nand/ |
A D | bbt.c | 77 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()
|
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/testcases/ |
A D | testcases.c | 12 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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/renesas/ |
A D | rcar_gen4_ptp.c | 41 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 …]
|
/linux-6.3-rc2/crypto/async_tx/ |
A D | async_raid6_recov.c | 169 p_off = offs[disks-2]; in __2data_recov_4() 171 q_off = offs[disks-1]; in __2data_recov_4() 174 a_off = offs[faila]; in __2data_recov_4() 176 b_off = offs[failb]; in __2data_recov_4() 236 g_off = offs[good]; in __2data_recov_5() 243 dp_off = offs[faila]; in __2data_recov_5() 245 dq_off = offs[failb]; in __2data_recov_5() 319 dp_off = offs[faila]; in __2data_recov_n() 324 dq_off = offs[failb]; in __2data_recov_n() 334 offs[faila] = dp_off; in __2data_recov_n() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_topology.c | 236 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \ 250 int offs = 0; in sysprops_show() local 269 return offs; in sysprops_show() 289 int offs = 0; in iolink_show() local 314 return offs; in iolink_show() 329 int offs = 0; in mem_show() local 346 return offs; in mem_show() 361 int offs = 0; in kfd_cache_show() local 382 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "sibling_map "); in kfd_cache_show() 386 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "%d,", in kfd_cache_show() [all …]
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A D | nand_bbt.c | 267 int offs = 0; in read_abs_bbt() local 272 td, offs); in read_abs_bbt() 338 offs += mtd->writesize; in scan_read_oob() 462 td->offs >= bd->offs && td->offs < bd->offs + bd->len) in bbt_block_checkbad() 850 offs = td->len; in write_bbt() 853 offs++; in write_bbt() 856 len += offs; in write_bbt() 871 offs = 0; in write_bbt() 1215 BUG_ON(bd->offs); in verify_bbt_descr() 1325 .offs = 8, [all …]
|
/linux-6.3-rc2/fs/crypto/ |
A D | crypto.c | 104 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument 130 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block() 132 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block() 174 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument 183 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks() 197 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks() 234 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace() 255 size_t offs) in fscrypt_decrypt_pagecache_blocks() argument 261 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks() 271 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks() [all …]
|
/linux-6.3-rc2/drivers/mtd/parsers/ |
A D | scpart.c | 53 uint32_t offs; in scpart_scan_partmap() local 71 for (offs = MAP_OFFS_IN_BLK; in scpart_scan_partmap() 72 offs < master->erasesize - sizeof(*tmpdesc); in scpart_scan_partmap() 73 offs += sizeof(*tmpdesc)) { in scpart_scan_partmap() 74 tmpdesc = (struct sc_part_desc *)&buf[offs]; in scpart_scan_partmap() 107 loff_t offs = 0; in scpart_find_partmap() local 112 (offs < master->size) && in scpart_find_partmap() 113 !mtd_block_isbad(master, offs)) { in scpart_find_partmap() 120 pr_debug("Signature found at 0x%llx\n", offs); in scpart_find_partmap() 122 res = scpart_scan_partmap(master, offs, ppdesc); in scpart_find_partmap() [all …]
|
/linux-6.3-rc2/security/integrity/platform_certs/ |
A D | efi_parser.c | 43 unsigned int offs = 0; in parse_efi_signature_list() local 57 offs, in parse_efi_signature_list() 68 __func__, offs); in parse_efi_signature_list() 77 pr_devel("- bad size combo @%x\n", offs); in parse_efi_signature_list() 85 offs += lsize; in parse_efi_signature_list() 91 offs += sizeof(list) + hsize; in parse_efi_signature_list() 96 pr_devel("ELEM[%04x]\n", offs); in parse_efi_signature_list() 103 offs += esize; in parse_efi_signature_list()
|