Searched refs:offs (Results 101 - 125 of 387) sorted by last modified time

1234567891011>>

/linux-master/arch/loongarch/kernel/
H A Dlbt.S18 .macro EX insn, reg, src, offs
19 .ex\@: \insn \reg, \src, \offs
/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/include/linux/mtd/
H A Dmtd.h640 static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs) argument
642 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd);
/linux-master/fs/nfs/
H A Ddirect.c124 loff_t offs = req_offset(req); local
125 size_t req_start = (size_t)(offs - dreq->io_start);
/linux-master/fs/ext4/
H A Dxattr.c260 u16 offs = le16_to_cpu(entry->e_value_offs); local
269 if (offs > end - value_start) {
273 value = value_start + offs;
1370 size_t offs = le16_to_cpu(last->e_value_offs); local
1371 if (offs < *min_offs)
1372 *min_offs = offs;
1643 size_t offs = le16_to_cpu(here->e_value_offs); local
1644 void *val = s->base + offs;
1667 size_t offs = le16_to_cpu(last->e_value_offs); local
1668 if (offs < min_off
1756 size_t offs = le16_to_cpu(here->e_value_offs); local
[all...]
/linux-master/drivers/tty/
H A Dmips_ejtag_fdc.c172 unsigned int offs, unsigned int data)
174 __raw_writel(data, priv->reg + offs);
178 unsigned int offs)
180 return __raw_readl(priv->reg + offs);
171 mips_ejtag_fdc_write(struct mips_ejtag_fdc_tty *priv, unsigned int offs, unsigned int data) argument
177 mips_ejtag_fdc_read(struct mips_ejtag_fdc_tty *priv, unsigned int offs) argument
/linux-master/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c46 static void r8a779f0_eth_serdes_write32(void __iomem *addr, u32 offs, u32 bank, u32 data) argument
49 iowrite32(data, addr + offs);
54 u32 offs, u32 bank, u32 mask, u32 expected)
61 ret = readl_poll_timeout_atomic(channel->addr + offs, val,
66 "%s: index %d, offs %x, bank %x, mask %x, expected %x\n",
67 __func__, channel->index, offs, bank, mask, expected);
53 r8a779f0_eth_serdes_reg_wait(struct r8a779f0_eth_serdes_channel *channel, u32 offs, u32 bank, u32 mask, u32 expected) argument
/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...]
H A Dphy-qcom-qmp-usb.c2086 const struct qmp_usb_offsets *offs = cfg->offsets; local
2091 if (!offs)
2098 qmp->serdes = base + offs->serdes;
2099 qmp->pcs = base + offs->pcs;
2100 if (offs->pcs_usb)
2101 qmp->pcs_usb = base + offs->pcs_usb;
2102 if (offs->pcs_misc)
2103 qmp->pcs_misc = base + offs->pcs_misc;
2104 qmp->tx = base + offs->tx;
2105 qmp->rx = base + offs
[all...]
H A Dphy-qcom-qmp-usb-legacy.c1212 const struct qmp_usb_legacy_offsets *offs = cfg->offsets; local
1216 if (!offs)
1223 qmp->serdes = base + offs->serdes;
1224 qmp->pcs = base + offs->pcs;
1225 qmp->pcs_usb = base + offs->pcs_usb;
1226 qmp->tx = base + offs->tx;
1227 qmp->rx = base + offs->rx;
H A Dphy-qcom-qmp-ufs.c1811 const struct qmp_ufs_offsets *offs = cfg->offsets; local
1814 if (!offs)
1821 qmp->serdes = base + offs->serdes;
1822 qmp->pcs = base + offs->pcs;
1823 qmp->tx = base + offs->tx;
1824 qmp->rx = base + offs->rx;
1827 qmp->tx2 = base + offs->tx2;
1828 qmp->rx2 = base + offs->rx2;
H A Dphy-qcom-qmp-pcie.c3337 const struct qmp_pcie_offsets *offs = cfg->offsets; local
3340 tx3 = qmp->port_b + offs->tx;
3341 rx3 = qmp->port_b + offs->rx;
3342 tx4 = qmp->port_b + offs->tx2;
3343 rx4 = qmp->port_b + offs->rx2;
3807 const struct qmp_pcie_offsets *offs = cfg->offsets; local
3812 if (!offs)
3823 qmp->serdes = base + offs->serdes;
3824 qmp->pcs = base + offs->pcs;
3825 qmp->pcs_misc = base + offs
[all...]
/linux-master/drivers/mtd/
H A Dssfdc.c163 static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf) argument
174 ret = mtd_read_oob(mtd, offs, &ops);
/linux-master/drivers/mtd/spi-nor/
H A Dcore.c178 static int spi_nor_controller_ops_erase(struct spi_nor *nor, loff_t offs) argument
183 return nor->controller_ops->erase(nor, offs);
/linux-master/drivers/mtd/nand/raw/
H A Dnand_bbt.c113 if (memcmp(buf + paglen + td->offs, td->pattern, td->len))
131 if (memcmp(buf + td->offs, td->pattern, td->len))
162 * @offs: block number offset in the table
167 struct nand_bbt_descr *td, int offs)
218 (loff_t)(offs + act) <<
220 bbt_mark_entry(this, offs + act,
230 (loff_t)(offs + act) <<
234 bbt_mark_entry(this, offs + act,
237 bbt_mark_entry(this, offs + act,
267 int offs local
166 read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num, struct nand_bbt_descr *td, int offs) argument
287 scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs, struct nand_bbt_descr *td) argument
312 scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len) argument
343 scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len, struct nand_bbt_descr *td) argument
353 scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len, uint8_t *buf, uint8_t *oob) argument
414 scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, loff_t offs, uint8_t *buf) argument
451 bbt_block_checkbad(struct nand_chip *this, struct nand_bbt_descr *td, loff_t offs, uint8_t *buf) argument
589 loff_t offs = (loff_t)actblock << this->bbt_erase_shift; local
752 int bits, page, offs, numblocks, sft, sftmsk; local
1073 nand_update_bbt(struct nand_chip *this, loff_t offs) argument
1433 nand_isreserved_bbt(struct nand_chip *this, loff_t offs) argument
1447 nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt) argument
1476 nand_markbad_bbt(struct nand_chip *this, loff_t offs) argument
[all...]
H A Dnand_base.c4761 * @offs: offset relative to mtd start
4763 static int nand_block_isbad(struct mtd_info *mtd, loff_t offs) argument
4766 int chipnr = (int)(offs >> chip->chip_shift);
4774 ret = nand_block_checkbad(chip, offs, 0);
H A Dfsl_elbc_nand.c128 .offs = 11,
138 .offs = 11,
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c236 u32 offs; member in struct:atmel_smc_nand_ebi_csa_cfg
1596 smc_nc->ebi_csa->offs,
1601 smc_nc->ebi_csa->offs,
1909 .offs = AT91SAM9260_MATRIX_EBICSA,
1913 .offs = AT91SAM9261_MATRIX_EBICSA,
1917 .offs = AT91SAM9263_MATRIX_EBI0CSA,
1921 .offs = AT91SAM9RL_MATRIX_EBICSA,
1925 .offs = AT91SAM9G45_MATRIX_EBICSA,
1929 .offs = AT91SAM9N12_MATRIX_EBICSA,
1933 .offs
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c1090 unsigned int offs = *ppos; local
1098 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1);
1108 offs += c2;
/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/arch/arm64/kvm/
H A Darch_timer.c754 struct arch_timer_offset *offs = &map->direct_vtimer->offset; local
757 offs->vcpu_offset = NULL;
759 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2);
960 struct arch_timer_offset *offs = &vcpu_vtimer(vcpu)->offset; local
962 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2);
963 offs->vm_offset = &vcpu->kvm->arch.timer_data.poffset;
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dtestcases.c12 size_t offs = 0; local
18 while (offs <= resv_sz - HDR_SZ &&
20 offs += head->size;
26 *offset = offs;
134 size_t offs = 0; local
150 while (head && !terminated && offs < resv_sz) {
166 offs = 0;
261 offs += head->size;
262 if (resv_sz < offs + sizeof(*head)) {
321 size_t offs local
[all...]
/linux-master/tools/perf/util/
H A Dsymbol-elf.c1348 u64 offs = 0; local
1376 if (offs && PERF_ALIGN(offs, shdr.sh_addralign ?: 1) != shdr.sh_offset)
1379 offs = shdr.sh_offset + shdr.sh_size;
1382 return offs;
2599 off_t offs = p->rel + offset; local
2601 if (kcore__add_phdr(&extract, idx++, offs, p->addr, p->len))
2610 off_t offs = p->rel + offset; local
2614 if (copy_bytes(kcore.fd, p->offset, extract.fd, offs, p->len))
2667 if (copy_bytes(kcore.fd, kce->offs, extrac
[all...]
H A Dsort.c1189 size_t ret = 0, offs; local
1201 offs = ip - sym->start;
1202 if (offs)
1203 ret += repsep_snprintf(bf + ret, size - ret, "+0x%llx", offs);
H A Dprobe-event.c704 struct map *map, u64 offs)
707 u64 addr = tp->address - offs;
729 tp->address -= offs;
703 post_process_probe_trace_point(struct probe_trace_point *tp, struct map *map, u64 offs) argument

Completed in 409 milliseconds

1234567891011>>