/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-devtrace-io.h | 18 TP_PROTO(const struct device *dev, u32 offs, u32 val), 19 TP_ARGS(dev, offs, val), 22 __field(u32, offs) 27 __entry->offs = offs; 31 __get_str(dev), __entry->offs, __entry->val) 35 TP_PROTO(const struct device *dev, u32 offs, u8 val), 36 TP_ARGS(dev, offs, val), 39 __field(u32, offs) 44 __entry->offs = offs; 48 __get_str(dev), __entry->offs, __entry->val) [all …]
|
/linux-6.1.9/fs/ubifs/ |
D | scan.c | 58 int offs, int quiet) in ubifs_scan_a_node() argument 66 dbg_scan("hit empty space at LEB %d:%d", lnum, offs); in ubifs_scan_a_node() 77 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node() 79 if (ubifs_check_node(c, buf, len, lnum, offs, quiet, 1)) in ubifs_scan_a_node() 89 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node() 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() 126 int offs, void *sbuf) in ubifs_start_scan() argument 131 dbg_scan("scan LEB %d:%d", lnum, offs); in ubifs_start_scan() [all …]
|
D | io.c | 87 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() argument 92 err = ubi_read(c->ubi, lnum, buf, offs, len); in ubifs_leb_read() 99 len, lnum, offs, err); in ubifs_leb_read() 105 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() argument 114 err = ubi_leb_write(c->ubi, lnum, buf, offs, len); in ubifs_leb_write() 116 err = dbg_leb_write(c, lnum, buf, offs, len); in ubifs_leb_write() 119 len, lnum, offs, err); in ubifs_leb_write() 245 int lnum, int offs, int quiet, int must_chk_crc) in ubifs_check_node() argument 251 ubifs_assert(c, lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in ubifs_check_node() 252 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in ubifs_check_node() [all …]
|
D | recovery.c | 101 int err, offs, len; in get_master_node() local 113 offs = 0; in get_master_node() 116 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) { 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() 132 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() 133 if (ret != SCANNED_A_NODE && offs) { in get_master_node() 135 offs -= sz; in get_master_node() 138 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() [all …]
|
D | lpt_commit.c | 184 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local 194 offs = c->nhead_offs; in layout_cnodes() 198 if (!done_lsave && offs + c->lsave_sz <= c->leb_size) { in layout_cnodes() 201 c->lsave_offs = offs; in layout_cnodes() 202 offs += c->lsave_sz; in layout_cnodes() 206 if (offs + c->ltab_sz <= c->leb_size) { in layout_cnodes() 209 c->ltab_offs = offs; in layout_cnodes() 210 offs += c->ltab_sz; in layout_cnodes() 222 while (offs + len > c->leb_size) { in layout_cnodes() 223 alen = ALIGN(offs, c->min_io_size); in layout_cnodes() [all …]
|
D | log.c | 164 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() argument 204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) { in ubifs_add_bud_to_log() 225 bud->start = offs; in ubifs_add_bud_to_log() 231 ref->offs = cpu_to_le32(bud->start); in ubifs_add_bud_to_log() 319 c->cmt_bud_bytes += wbuf->offs - bud->start; in remove_buds() 322 wbuf->offs - bud->start, c->cmt_bud_bytes); in remove_buds() 323 bud->start = wbuf->offs; in remove_buds() 395 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit() local 397 if (lnum == -1 || offs == c->leb_size) in ubifs_log_start_commit() 401 lnum, offs, dbg_jhead(i)); in ubifs_log_start_commit() [all …]
|
D | replay.c | 47 int offs; member 248 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry() 254 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 279 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 383 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() argument 390 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_node() 402 r->offs = offs; in insert_node() 432 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent() argument 440 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_dent() 457 r->offs = offs; in insert_dent() [all …]
|
D | tnc.c | 70 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() argument 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() 118 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode() 122 c->zroot.offs); in insert_old_idx_znode() 143 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode() 147 zbr->offs = 0; in ins_clr_old_idx_znode() 152 err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs); in ins_clr_old_idx_znode() 156 c->zroot.offs = 0; in ins_clr_old_idx_znode() [all …]
|
/linux-6.1.9/drivers/misc/mei/ |
D | mei-trace.h | 20 TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val), 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) 39 TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val), 40 TP_ARGS(dev, reg, offs, val), 44 __field(u32, offs) 50 __entry->offs = offs; 54 __get_str(dev), __entry->reg, __entry->offs, __entry->val) [all …]
|
/linux-6.1.9/drivers/scsi/aic94xx/ |
D | aic94xx_reg.h | 55 u32 offs, int count); 57 u32 offs, int count); 61 u32 offs) \ 64 type val = read##S (io_handle->addr + (unsigned long) offs); \ 75 u32 offs, type val) \ 78 write##S (val, io_handle->addr + (unsigned long) offs); \ 89 u16 offs) \ 91 asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs); \ 101 u16 offs) in asd_ddbsite_read_byte() argument 103 if (offs & 1) in asd_ddbsite_read_byte() [all …]
|
D | aic94xx_reg.c | 18 unsigned long offs, u8 val) in asd_write_byte() argument 22 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_byte() 24 writeb(val, asd_ha->io_handle[0].addr + offs); in asd_write_byte() 29 unsigned long offs, u16 val) in asd_write_word() argument 33 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_word() 35 writew(val, asd_ha->io_handle[0].addr + offs); in asd_write_word() 40 unsigned long offs, u32 val) in asd_write_dword() argument 44 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_dword() 46 writel(val, asd_ha->io_handle[0].addr + offs); in asd_write_dword() 52 static u8 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs) in asd_read_byte() argument [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-syscon.c | 60 unsigned int val, offs; in syscon_gpio_get() local 63 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_get() 66 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, &val); in syscon_gpio_get() 70 return !!(val & BIT(offs % SYSCON_REG_BITS)); in syscon_gpio_get() 76 unsigned int offs; in syscon_gpio_set() local 78 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_set() 81 (offs / SYSCON_REG_BITS) * SYSCON_REG_SIZE, in syscon_gpio_set() 82 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set() 83 val ? BIT(offs % SYSCON_REG_BITS) : 0); in syscon_gpio_set() 91 unsigned int offs; in syscon_gpio_dir_in() local [all …]
|
/linux-6.1.9/drivers/mtd/tests/ |
D | stresstest.c | 60 static int rand_len(int offs) in rand_len() argument 62 return prandom_u32_max(bufsize - offs); in rand_len() 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() 75 if (offs + len > mtd->erasesize) in do_read() 76 len = mtd->erasesize - offs; in do_read() 78 addr = (loff_t)eb * mtd->erasesize + offs; in do_read() 84 int eb = rand_eb(), offs, err, len; in do_write() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/altera/ |
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.1.9/drivers/pinctrl/samsung/ |
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, \ 93 #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 99 .eint_offset = offs, \ 103 #define EXYNOS5433_PIN_BANK_EINTW_EXT(pins, reg, id, offs, pctl_idx) \ argument 109 .eint_offset = offs, \ [all …]
|
/linux-6.1.9/tools/testing/selftests/arm64/signal/testcases/ |
D | testcases.c | 8 size_t offs = 0; in get_header() local 14 while (offs <= resv_sz - HDR_SZ && in get_header() 16 offs += head->size; in get_header() 22 *offset = offs; in get_header() 110 size_t offs = 0; in validate_reserved() local 124 while (head && !terminated && offs < resv_sz) { in validate_reserved() 140 offs = 0; in validate_reserved() 208 offs += head->size; in validate_reserved() 209 if (resv_sz < offs + sizeof(*head)) { in validate_reserved() 260 size_t offs = 0; in get_starting_head() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 235 #define sysfs_show_gen_prop(buffer, offs, fmt, ...) \ argument 236 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \ 238 #define sysfs_show_32bit_prop(buffer, offs, name, value) \ argument 239 sysfs_show_gen_prop(buffer, offs, "%s %u\n", name, value) 240 #define sysfs_show_64bit_prop(buffer, offs, name, value) \ argument 241 sysfs_show_gen_prop(buffer, offs, "%s %llu\n", name, value) 242 #define sysfs_show_32bit_val(buffer, offs, value) \ argument 243 sysfs_show_gen_prop(buffer, offs, "%u\n", value) 244 #define sysfs_show_str_val(buffer, offs, value) \ argument 245 sysfs_show_gen_prop(buffer, offs, "%s\n", value) [all …]
|
/linux-6.1.9/lib/ |
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() 124 ret = (void __iomem *)(IOREMAP_BIAS + (i << AREA_SHIFT) + offs); in ioremap() 257 unsigned long offs, start; in memset_io() local 271 for (offs = 0; offs < size; offs++) in memset_io() 272 area->ops->write(area->priv, start + offs, 1, value); 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() [all …]
|
/linux-6.1.9/drivers/mtd/nand/ |
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.1.9/crypto/async_tx/ |
D | async_raid6_recov.c | 154 struct page **blocks, unsigned int *offs, in __2data_recov_4() argument 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() 204 struct page **blocks, unsigned int *offs, in __2data_recov_5() argument 232 p_off = offs[disks-2]; in __2data_recov_5() 234 q_off = offs[disks-1]; in __2data_recov_5() 236 g_off = offs[good]; in __2data_recov_5() 243 dp_off = offs[faila]; in __2data_recov_5() [all …]
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 113 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) in check_pattern() 131 if (memcmp(buf + td->offs, td->pattern, td->len)) in check_short_pattern() 167 struct nand_bbt_descr *td, int offs) in read_bbt() argument 218 (loff_t)(offs + act) << in read_bbt() 220 bbt_mark_entry(this, offs + act, in read_bbt() 230 (loff_t)(offs + act) << in read_bbt() 234 bbt_mark_entry(this, offs + act, in read_bbt() 237 bbt_mark_entry(this, offs + act, in read_bbt() 267 int offs = 0; in read_abs_bbt() local 272 td, offs); in read_abs_bbt() [all …]
|
/linux-6.1.9/fs/crypto/ |
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() 190 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks() 197 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks() 230 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument 234 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace() 256 unsigned int offs) in fscrypt_decrypt_pagecache_blocks() argument [all …]
|
/linux-6.1.9/drivers/mtd/parsers/ |
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() 114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf); in scpart_find_partmap() 120 pr_debug("Signature found at 0x%llx\n", offs); in scpart_find_partmap() [all …]
|
/linux-6.1.9/security/integrity/platform_certs/ |
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-6.1.9/drivers/tee/optee/ |
D | call.c | 193 u_int offs; in optee_get_msg_arg() local 234 offs = bit * sz; in optee_get_msg_arg() 235 res = tee_shm_get_va(entry->shm, offs); in optee_get_msg_arg() 244 *offs_ret = offs; in optee_get_msg_arg() 259 struct optee_shm_arg_entry *entry, u_int offs) in optee_free_msg_arg() argument 265 if (offs > SHM_ENTRY_SIZE || offs % sz) { in optee_free_msg_arg() 266 pr_err("Invalid offs %u\n", offs); in optee_free_msg_arg() 269 bit = offs / sz; in optee_free_msg_arg() 291 u_int offs; in optee_open_session() local 296 &entry, &shm, &offs); in optee_open_session() [all …]
|