Searched refs:offs (Results 176 - 200 of 384) sorted by relevance

1234567891011>>

/linux-master/tools/perf/scripts/python/
H A Darm-cs-trace-disasm.py144 offs = get_offset(param_dict, "symoff")
145 start_str = common_start_str(comm, sample) + (symbol + offs).ljust(40)
/linux-master/include/linux/
H A Dtee_drv.h306 * @offs: Offset from start of this shared memory
307 * @returns virtual address of the shared memory + offs if offs is within
310 void *tee_shm_get_va(struct tee_shm *shm, size_t offs);
315 * @offs: Offset from start of this shared memory
317 * @returns 0 if offs is within the bounds of this shared memory, else an
320 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
/linux-master/drivers/i2c/busses/
H A Di2c-sh_mobile.c185 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) argument
187 if (offs == ICIC)
190 iowrite8(data, pd->reg + offs);
193 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) argument
195 return ioread8(pd->reg + offs);
198 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, argument
201 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr);
/linux-master/drivers/s390/char/
H A Dvmur.c515 loff_t *offs)
526 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1);
538 res = (size_t) (*offs % PAGE_SIZE);
546 if (reclen && (copied == 0) && (*offs < PAGE_SIZE))
557 *offs += copied;
565 loff_t *offs)
570 TRACE("ur_read: count=%zu ppos=%li\n", count, (unsigned long) *offs);
579 rc = diag14_read(file, ubuf, count, offs);
514 diag14_read(struct file *file, char __user *ubuf, size_t count, loff_t *offs) argument
564 ur_read(struct file *file, char __user *ubuf, size_t count, loff_t *offs) argument
/linux-master/arch/loongarch/kernel/
H A Dlbt.S18 .macro EX insn, reg, src, offs
19 .ex\@: \insn \reg, \src, \offs
/linux-master/arch/x86/entry/
H A Dcommon.c174 const unsigned int offs = (0x80 / 32) * 0x10; local
188 return apic_read(APIC_ISR + offs) & bit;
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c189 int offs, i, blkaddr; local
195 offs = rvu_read64(rvu, blkaddr, NIX_PRIV_AF_INT_CFG) & 0x3ff;
196 if (!offs)
204 if (rvu->irq_allocated[offs + NIX_AF_INT_VEC_RVU]) {
205 free_irq(pci_irq_vector(rvu->pdev, offs + NIX_AF_INT_VEC_RVU),
207 rvu->irq_allocated[offs + NIX_AF_INT_VEC_RVU] = false;
211 if (rvu->irq_allocated[offs + i]) {
212 free_irq(pci_irq_vector(rvu->pdev, offs + i), rvu_dl);
213 rvu->irq_allocated[offs + i] = false;
735 int i, offs, blkadd local
[all...]
/linux-master/arch/x86/kernel/
H A Duprobes.c641 unsigned long offs = (long)auprobe->branch.offs; local
656 offs = 0;
659 regs->ip = new_ip + offs;
726 case 0x90: /* prefix* + nop; same as jmp with .offs = 0 */
760 auprobe->branch.offs = insn->immediate.value;
/linux-master/include/linux/mtd/
H A Dnand.h739 * @offs: absolute NAND offset (usually passed by the MTD layer)
742 * Converts @offs into a nand_pos representation.
747 loff_t offs,
751 u64 tmp = offs;
911 * @offs: absolute offset
920 loff_t offs, struct mtd_oob_ops *req,
927 iter->req.dataoffs = nanddev_offs_to_pos(nand, offs, &iter->req.pos);
1063 int nanddev_mtd_max_bad_blocks(struct mtd_info *mtd, loff_t offs, size_t len);
746 nanddev_offs_to_pos(struct nand_device *nand, loff_t offs, struct nand_pos *pos) argument
918 nanddev_io_iter_init(struct nand_device *nand, enum nand_page_io_req_type reqtype, loff_t offs, struct mtd_oob_ops *req, struct nand_io_iter *iter) argument
/linux-master/drivers/staging/most/video/
H A Dvideo.c52 u32 offs; member in struct:comp_fh
175 int const rem = mbo->processed_length - fh->offs;
178 if (copy_to_user(buf, mbo->virt_address + fh->offs, cnt)) {
185 fh->offs += cnt;
191 fh->offs = 0;
/linux-master/drivers/mtd/
H A Dmtdpart.c207 uint64_t offs = 0; local
209 while (offs < child->part.size) {
210 if (mtd_block_isreserved(child, offs))
212 else if (mtd_block_isbad(child, offs))
214 offs += child->erasesize;
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c424 unsigned int offs = 1, shift; local
430 if (offs > 9)
432 if (len < offs)
434 byte = buf[offs++];
440 return offs;
/linux-master/fs/smb/client/
H A Dreparse.c354 unsigned int offs; local
358 offs = le16_to_cpu(sym->SubstituteNameOffset);
360 if (offs + 20 > plen || offs + len + 20 > plen) {
365 data->symlink_target = cifs_strndup_from_utf16(sym->PathBuffer + offs,
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c975 const struct qmp_usbc_offsets *offs = cfg->offsets; local
980 if (!offs)
987 qmp->serdes = base + offs->serdes;
988 qmp->pcs = base + offs->pcs;
989 if (offs->pcs_misc)
990 qmp->pcs_misc = base + offs->pcs_misc;
991 qmp->tx = base + offs->tx;
992 qmp->rx = base + offs->rx;
994 qmp->tx2 = base + offs->tx2;
995 qmp->rx2 = base + offs
[all...]
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1287 unsigned int offs; local
1306 for (offs = 0x100000; offs < maxSize; offs += 0x200000)
1307 *tmp++ = mga_readb(vm, offs);
1308 for (offs = 0x100000; offs < maxSize; offs += 0x200000)
1309 mga_writeb(vm, offs, 0x02);
1311 for (offs
[all...]
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_dump.c30 u32 offs; member in struct:lseq_cio_regs
452 LSEQmCIOREGS[i].offs,
454 LSEQmCIOREGS[i].offs));
459 LSEQmCIOREGS[i].offs,
461 LSEQmCIOREGS[i].offs));
466 LSEQmCIOREGS[i].offs,
468 LSEQmCIOREGS[i].offs));
/linux-master/tools/perf/util/
H A Dintel-bts.c232 size_t offs, len; local
235 offs = len_a - len_b;
237 offs = 0;
239 for (; offs < len_a; offs += sizeof(struct branch)) {
240 len = len_a - offs;
241 if (!memcmp(buf_a + offs, buf_b, len))
H A Dprobe-finder.c42 static struct probe_trace_arg_ref *alloc_trace_arg_ref(long offs) argument
47 ref->offset = offs;
67 Dwarf_Word offs = 0; local
134 tvar->ref = alloc_trace_arg_ref((long)offs);
145 offs = op->number;
151 offs += op->number;
157 offs += op->number2;
182 tvar->ref = alloc_trace_arg_ref((long)offs);
317 Dwarf_Word offs; local
412 offs
[all...]
/linux-master/drivers/memory/
H A Drenesas-rpc-if.c415 void rpcif_prepare(struct device *dev, const struct rpcif_op *op, u64 *offs, argument
453 if (offs && len)
454 rpc->smadr = *offs;
491 if (offs && len)
673 ssize_t rpcif_dirmap_read(struct device *dev, u64 offs, size_t len, void *buf) argument
676 loff_t from = offs & (rpc->size - 1);
691 RPCIF_DREAR_EAV(offs >> 25) | RPCIF_DREAR_EAC(1));
/linux-master/arch/arc/kernel/
H A Dunwind.c53 unsigned offs:BITS_PER_LONG / 2; member in struct:__anon2
145 uleb128_t reg, offs; member in struct:unwind_state::cfa
830 state->cfa.offs = get_uleb128(&ptr.p8, end);
832 state->cfa.offs);
838 state->cfa.offs = get_sleb128(&ptr.p8, end)
899 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs])
1148 || state.cfa.offs % sizeof(unsigned long))
1182 cfa = FRAME_REG(state.cfa.reg, unsigned long) + state.cfa.offs;
1191 state.cfa.reg, state.cfa.offs, cfa);
/linux-master/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c1208 const u8 *offs = bank->type->reg_offset; local
1218 bank->pm_save[type] = readl(reg + offs[type]);
1223 readl(reg + offs[PINCFG_TYPE_FUNC] + 4);
1261 const u8 *offs = bank->type->reg_offset; local
1273 readl(reg + offs[PINCFG_TYPE_FUNC]),
1274 readl(reg + offs[PINCFG_TYPE_FUNC] + 4),
1278 reg + offs[PINCFG_TYPE_FUNC] + 4);
1281 reg, readl(reg + offs[PINCFG_TYPE_FUNC]),
1286 writel(bank->pm_save[type], reg + offs[type]);
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c1246 int offs = 0; local
1258 rule->c2_tcam |= ((u64)match.key->vlan_id) << offs;
1259 rule->c2_tcam_mask |= ((u64)match.mask->vlan_id) << offs;
1271 (offs + 13);
1273 (offs + 13);
1282 offs += 16;
1292 rule->c2_tcam |= ((u64)ntohs(match.key->src)) << offs;
1293 rule->c2_tcam_mask |= ((u64)ntohs(match.mask->src)) << offs;
1294 offs += mvpp2_cls_hek_field_size(MVPP22_CLS_HEK_OPT_L4SIP);
1300 rule->c2_tcam |= ((u64)ntohs(match.key->dst)) << offs;
[all...]
/linux-master/arch/um/kernel/
H A Dtime.c435 static void time_travel_update_time_rel(unsigned long long offs) argument
446 time_travel_update_time(time_travel_time + offs, false);
595 static inline void time_travel_update_time_rel(unsigned long long offs) argument
/linux-master/sound/pci/echoaudio/
H A Dechoaudio.c530 int err, per, rest, page, edge, offs; local
564 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params);
567 if (offs + rest > params_buffer_bytes(hw_params))
568 rest = params_buffer_bytes(hw_params) - offs;
571 addr = snd_pcm_sgbuf_get_addr(substream, offs);
572 if (rest <= edge - offs) {
575 offs += rest;
579 edge - offs);
580 rest -= edge - offs;
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c261 size_t offs = (diff_offs + diff->line_offset) / diff->cpp; local
264 rect->x1 = min_t(int, rect->x1, offs);
265 rect->x2 = max_t(int, rect->x2, offs + 1);

Completed in 278 milliseconds

1234567891011>>