| /linux/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/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 | tnc.c | 61 else if (old_idx->offs < o->offs) in do_insert_old_idx() 106 old_idx->offs = offs; in insert_old_idx() 303 old_idx->offs = zbr->offs; in dirty_cow_znode() 483 int offs = zbr->offs; in try_read_node() local 1498 *offs = zt->offs; in ubifs_tnc_locate() 2325 zbr.offs = offs; in ubifs_tnc_add() 2336 zbr->offs = offs; in ubifs_tnc_add() 2387 zbr->offs = offs; in ubifs_tnc_replace() 2416 zbr->offs = offs; in ubifs_tnc_replace() 2488 zbr->offs = offs; in ubifs_tnc_add_nm() [all …]
|
| A D | replay.c | 47 int offs; member 403 r->offs = offs; in insert_node() 459 r->offs = offs; in insert_dent() 911 bud->start = offs; in add_replay_bud() 948 unsigned int offs = le32_to_cpu(ref->offs); in validate_ref() local 958 offs & (c->min_io_size - 1)) in validate_ref() 1023 lnum, offs); in replay_log_leb() 1028 lnum, offs, in replay_log_leb() 1059 if (snod->offs != 0) { in replay_log_leb() 1107 if (snod->offs != 0) { in replay_log_leb() [all …]
|
| /linux/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/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/drivers/gpio/ |
| A D | gpio-syscon.c | 58 unsigned int val, offs; in syscon_gpio_get() local 74 unsigned int offs; in syscon_gpio_set() local 80 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set() 89 unsigned int offs; in syscon_gpio_dir_in() local 91 offs = priv->dir_reg_offset + in syscon_gpio_dir_in() 107 unsigned int offs; in syscon_gpio_dir_out() local 109 offs = priv->dir_reg_offset + in syscon_gpio_dir_out() 114 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_dir_out() 134 unsigned int offs; in rockchip_gpio_set() local 140 bit = offs % SYSCON_REG_BITS; in rockchip_gpio_set() [all …]
|
| /linux/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/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/drivers/net/can/esd/ |
| A D | esdacc.h | 282 iowrite32(v, core->addr + offs); in acc_write32_noswap() 288 u32 v = acc_read32(core, offs); in acc_set_bits() 291 acc_write32(core, offs, v); in acc_set_bits() 297 u32 v = acc_read32(core, offs); in acc_clear_bits() 300 acc_write32(core, offs, v); in acc_clear_bits() 316 unsigned short offs, u32 v) in acc_ov_write32() argument 318 iowrite32be(v, ov->addr + offs); in acc_ov_write32() 324 u32 v = acc_ov_read32(ov, offs); in acc_ov_set_bits() 327 acc_ov_write32(ov, offs, v); in acc_ov_set_bits() 333 u32 v = acc_ov_read32(ov, offs); in acc_ov_clear_bits() [all …]
|
| /linux/drivers/pinctrl/samsung/ |
| A D | pinctrl-exynos.h | 64 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 70 .eint_offset = offs, \ 74 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 80 .eint_offset = offs, \ 84 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 90 .eint_offset = offs, \ 100 .eint_offset = offs, \ 110 .eint_offset = offs, \ 124 #define EXYNOS850_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 130 .eint_offset = offs, \ [all …]
|
| /linux/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/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/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() 139 ptp_priv->offs = &gen4_offs; in rcar_gen4_ptp_set_offs() 174 iowrite32(0x01, ptp_priv->addr + ptp_priv->offs->enable); in rcar_gen4_ptp_register() [all …]
|
| /linux/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/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() 849 offs = td->len; in write_bbt() 852 offs++; in write_bbt() 855 len += offs; in write_bbt() 870 offs = 0; in write_bbt() 1214 BUG_ON(bd->offs); in verify_bbt_descr() 1324 .offs = 8, [all …]
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_topology.c | 219 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \ 233 int offs = 0; in sysprops_show() local 252 return offs; in sysprops_show() 272 int offs = 0; in iolink_show() local 299 return offs; in iolink_show() 314 int offs = 0; in mem_show() local 331 return offs; in mem_show() 346 int offs = 0; in kfd_cache_show() local 367 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "sibling_map "); in kfd_cache_show() 371 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "%d,", in kfd_cache_show() [all …]
|
| /linux/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/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()
|
| /linux/fs/crypto/ |
| A D | crypto.c | 111 unsigned int len, unsigned int offs, in fscrypt_crypt_data_unit() argument 137 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_data_unit() 139 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_data_unit() 182 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument 192 (offs >> du_bits); in fscrypt_encrypt_pagecache_blocks() 206 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_encrypt_pagecache_blocks() 241 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument 267 size_t offs) in fscrypt_decrypt_pagecache_blocks() argument 274 (offs >> du_bits); in fscrypt_decrypt_pagecache_blocks() 284 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_decrypt_pagecache_blocks() [all …]
|