Searched refs:offs (Results 126 - 150 of 384) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c573 __le32 offs = cpu_to_le32(directory->findex) + local
575 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8));
578 return (struct uni_table_desc *) &unirom[offs];
617 u32 offs; local
632 offs = cpu_to_le32(tab_desc->findex) +
634 descr = (struct uni_data_desc *)&unirom[offs];
652 u32 offs; local
667 offs = cpu_to_le32(tab_desc->findex) +
669 descr = (struct uni_data_desc *)&unirom[offs];
705 __le32 flags, file_chiprev, offs; local
769 __le32 offs; local
785 u32 offs = NETXEN_BOOTLD_START; local
798 u32 offs = NETXEN_IMAGE_START; local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Ddiskonchip.c866 unsigned offs; local
870 for (offs = 0; offs < mtd->size; offs += mtd->erasesize) {
871 ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf);
875 pr_warn("ECC error scanning DOC at 0x%x\n", offs);
879 pr_info("Found DiskOnChip %s Media Header at 0x%x\n", id, offs);
881 doc->mh0_page = offs >> this->page_shift;
886 doc->mh1_page = offs >> this->page_shift;
895 offs
916 int offs, numheaders; local
[all...]
/linux-master/fs/ubifs/
H A Ddebug.c434 pr_err("\toffs %u\n", le32_to_cpu(ref->offs));
546 i, le32_to_cpu(br->lnum), le32_to_cpu(br->offs),
857 snod->offs, snod->len);
858 ubifs_dump_node(c, snod->node, c->leb_size - snod->offs);
883 znode, zbr->lnum, zbr->offs, zbr->len, znode->parent, znode->iip,
896 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len,
901 n, zbr->znode, zbr->lnum, zbr->offs, zbr->len,
1231 zbr1->offs, dbg_snprintf_key(c, &key, key_buf,
1243 zbr1->offs, dbg_snprintf_key(c, &key, key_buf,
1266 ubifs_msg(c, "first node at %d:%d\n", zbr1->lnum, zbr1->offs);
2594 dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, int len) argument
[all...]
H A Dgc.c72 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum,
73 c->leb_size - wbuf->offs - wbuf->used);
261 snod->offs, 0);
306 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used;
314 snod->offs, new_lnum, new_offs,
358 avail = c->leb_size - wbuf->offs - wbuf->used -
380 avail = c->leb_size - wbuf->offs - wbuf->used -
498 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 ||
557 snod->offs);
745 space_before = c->leb_size - wbuf->offs
[all...]
H A Dlpt.c389 pack_bits(c, &addr, &pos, nnode->nbranch[i].offs,
758 nnode->nbranch[j].offs = boffs;
763 nnode->nbranch[j].offs = 0;
1030 nnode->nbranch[i].offs = ubifs_unpack_bits(c, &addr, &pos,
1124 int offs = nnode->nbranch[i].offs; local
1127 if (offs != 0)
1133 if (offs < 0 || offs > max_offs)
1208 int err, lnum, offs; local
1276 int err, lnum, offs; local
[all...]
/linux-master/include/linux/
H A Dasync_tx.h199 struct page **ptrs, unsigned int *offs,
204 struct page **ptrs, unsigned int *offs,
H A Dfscrypt.h314 unsigned int offs,
317 unsigned int len, unsigned int offs,
321 size_t offs);
323 unsigned int len, unsigned int offs,
484 unsigned int offs,
493 unsigned int offs, u64 lblk_num,
500 size_t len, size_t offs)
508 unsigned int offs, u64 lblk_num)
482 fscrypt_encrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs, gfp_t gfp_flags) argument
490 fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument
499 fscrypt_decrypt_pagecache_blocks(struct folio *folio, size_t len, size_t offs) argument
505 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
H A Duio_driver.h34 * @offs: offset of device memory within the page
46 unsigned long offs; member in struct:uio_mem
/linux-master/drivers/clocksource/
H A Dsh_tmu.c86 unsigned long offs; local
97 offs = reg_nr << 2;
100 return ioread16(ch->base + offs);
102 return ioread32(ch->base + offs);
108 unsigned long offs; local
119 offs = reg_nr << 2;
122 iowrite16(value, ch->base + offs);
124 iowrite32(value, ch->base + offs);
H A Dem_sti.c53 static inline unsigned long em_sti_read(struct em_sti_priv *p, int offs) argument
55 return ioread32(p->base + offs);
58 static inline void em_sti_write(struct em_sti_priv *p, int offs, argument
61 iowrite32(value, p->base + offs);
H A Dsh_cmt.c81 u32 (*read_control)(void __iomem *base, unsigned long offs);
82 void (*write_control)(void __iomem *base, unsigned long offs,
86 u32 (*read_count)(void __iomem *base, unsigned long offs);
87 void (*write_count)(void __iomem *base, unsigned long offs, u32 value);
159 static u32 sh_cmt_read16(void __iomem *base, unsigned long offs) argument
161 return ioread16(base + (offs << 1));
164 static u32 sh_cmt_read32(void __iomem *base, unsigned long offs) argument
166 return ioread32(base + (offs << 2));
169 static void sh_cmt_write16(void __iomem *base, unsigned long offs, u32 value) argument
171 iowrite16(value, base + (offs <<
174 sh_cmt_write32(void __iomem *base, unsigned long offs, u32 value) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dzl38060.c482 u8 offs, page; local
488 offs = reg_buf8[1] >> 1;
494 txbuf[len++] = offs;
497 txbuf[len++] = offs | 0x80;
510 u8 offs, page; local
515 offs = data8[1] >> 1;
521 buf[len++] = offs;
524 buf[len++] = offs | 0x80;
/linux-master/drivers/tty/serial/
H A Dsifive.c180 * @offs: register address offset from the IP block base address
184 * @v to the IP block register address offset @offs. This function is
189 static void __ssp_early_writel(u32 v, u16 offs, struct uart_port *port) argument
191 writel_relaxed(v, port->membase + offs);
197 * @offs: register address offset from the IP block base address
200 * contents of the IP block register located at offset @offs from the
209 static u32 __ssp_early_readl(struct uart_port *port, u16 offs) argument
211 return readl_relaxed(port->membase + offs);
217 * @offs: register address offset from the IP block base address
220 * Write the value @v to the IP block register located at offset @offs fro
225 __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp) argument
242 __ssp_readl(struct sifive_serial_port *ssp, u16 offs) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cpt.c174 int i, offs; local
178 offs = rvu_read64(rvu, blkaddr, CPT_PRIV_AF_INT_CFG) & 0x7FF;
179 if (!offs) {
186 return cpt_10k_unregister_interrupts(block, offs);
195 if (rvu->irq_allocated[offs + i]) {
196 free_irq(pci_irq_vector(rvu->pdev, offs + i), block);
197 rvu->irq_allocated[offs + i] = false;
263 int i, offs, ret = 0; local
269 offs = rvu_read64(rvu, blkaddr, CPT_PRIV_AF_INT_CFG) & 0x7FF;
270 if (!offs) {
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dphy-ctxt.c38 int offs = chandef->chan->center_freq - chandef->center_freq1; local
39 int abs_offs = abs(offs);
42 if (offs == 0) {
61 ret |= (offs > 0) * IWL_PHY_CTRL_POS_ABOVE;
/linux-master/drivers/video/fbdev/core/
H A Dfb_defio.c26 static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs) argument
31 if (is_vmalloc_addr(screen_base + offs))
32 page = vmalloc_to_page(screen_base + offs);
34 page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT);
/linux-master/drivers/spi/
H A Dspi-stm32.c596 u32 offs = spi->cur_xferlen - spi->tx_len; local
599 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
604 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
625 u32 offs = spi->cur_xferlen - spi->tx_len; local
628 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
633 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
655 u32 offs = spi->cur_xferlen - spi->tx_len; local
658 const u32 *tx_buf32 = (const u32 *)(spi->tx_buf + offs);
663 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
668 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
689 u32 offs = spi->cur_xferlen - spi->rx_len; local
720 u32 offs = spi->cur_xferlen - spi->rx_len; local
763 u32 offs = spi->cur_xferlen - spi->rx_len; local
[all...]
H A Dspi-mem.c529 u64 offs, size_t len, void *buf)
534 op.addr.val = desc->info.offset + offs;
549 u64 offs, size_t len, const void *buf)
554 op.addr.val = desc->info.offset + offs;
713 * @offs: offset to start reading from. Note that this is not an absolute
727 u64 offs, size_t len, void *buf)
739 ret = spi_mem_no_dirmap_read(desc, offs, len, buf);
745 ret = ctlr->mem_ops->dirmap_read(desc, offs, len, buf);
759 * @offs: offset to start writing from. Note that this is not an absolute
773 u64 offs, size_
528 spi_mem_no_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
548 spi_mem_no_dirmap_write(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, const void *buf) argument
726 spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
772 spi_mem_dirmap_write(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, const void *buf) argument
[all...]
/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/lib/
H A Ddecompress_unlzma.c299 uint32_t offs)
303 while (offs > wr->header->dict_size)
304 offs -= wr->header->dict_size;
305 pos = wr->buffer_pos - offs;
308 uint32_t pos = wr->buffer_pos - offs;
330 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) argument
332 return write_byte(wr, peek_old_byte(wr, offs));
298 peek_old_byte(struct writer *wr, uint32_t offs) argument
/linux-master/tools/perf/scripts/python/
H A Dintel-pt-events.py268 offs = get_offset(param_dict, "symoff")
287 print("%s%s (%s)" % (symbol, offs, dso), end=' ')
289 print("%16x %s%s (%s)" % (ip, symbol, offs, dso), end=' ')
294 offs = get_offset(sample, "addr_symoff")
295 print("=> %x %s%s (%s)%s" % (addr, symbol, offs, dso, ipc_str))
304 offs = get_offset(param_dict, "symoff")
305 start_str = common_start_str(comm, sample) + (symbol + offs).ljust(40)
/linux-master/drivers/gpio/
H A Dgpio-rcar.c69 static inline u32 gpio_rcar_read(struct gpio_rcar_priv *p, int offs) argument
71 return ioread32(p->base + offs);
74 static inline void gpio_rcar_write(struct gpio_rcar_priv *p, int offs, argument
77 iowrite32(value, p->base + offs);
80 static void gpio_rcar_modify_bit(struct gpio_rcar_priv *p, int offs, argument
83 u32 tmp = gpio_rcar_read(p, offs);
90 gpio_rcar_write(p, offs, tmp);
/linux-master/block/
H A Dblk-map.c298 size_t offs; local
305 nr_vecs, extraction_flags, &offs);
311 npages = DIV_ROUND_UP(offs + bytes, PAGE_SIZE);
313 if (unlikely(offs & queue_dma_alignment(rq->q)))
318 unsigned int n = PAGE_SIZE - offs;
324 if (!bio_add_hw_page(rq->q, bio, page, n, offs,
331 offs = 0;
/linux-master/drivers/usb/serial/
H A Dgarmin_gps.c467 int offs = 0; local
492 while (offs < count) {
494 data = *(buf+offs);
495 offs++;
740 int offs = 0; local
744 while (offs < count) {
763 if (len > (count-offs))
764 len = (count-offs);
768 memcpy(dest, buf+offs, len);
770 offs
[all...]
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c639 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) argument
642 return brcmnand_soc_read(ctrl->soc, offs);
643 return brcmnand_readl(ctrl->nand_base + offs);
646 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, argument
650 brcmnand_soc_write(ctrl->soc, val, offs);
652 brcmnand_writel(val, ctrl->nand_base + offs);
794 u16 offs = ctrl->reg_offsets[reg]; local
796 if (offs)
797 return nand_readreg(ctrl, offs);
805 u16 offs local
841 u16 offs = ctrl->edu_offsets[reg]; local
849 u16 offs = ctrl->edu_offsets[reg]; local
1013 u16 offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_ACC_CONTROL); local
1209 u16 offs = ctrl->flash_dma_offsets[dma_reg]; local
1217 u16 offs = ctrl->flash_dma_offsets[dma_reg]; local
1472 oob_reg_read(struct brcmnand_controller *ctrl, u32 offs) argument
1490 oob_reg_write(struct brcmnand_controller *ctrl, u32 offs, u32 data) argument
2682 u32 offs, tmp, oob_sector; local
[all...]

Completed in 258 milliseconds

1234567891011>>