Searched refs:offs (Results 76 - 100 of 384) sorted by relevance

1234567891011>>

/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-encoder.c27 unsigned int offs,
52 addr = idx + offs;
65 offs += chunkCnt;
73 unsigned int offs,
101 hdw->cmd_buffer[5] = ((offs>>16) & 0xffu);
102 hdw->cmd_buffer[6] = ((offs>>8) & 0xffu);
103 hdw->cmd_buffer[7] = (offs & 0xffu);
115 offs += chunkCnt;
26 pvr2_encoder_write_words(struct pvr2_hdw *hdw, unsigned int offs, const u32 *data, unsigned int dlen) argument
72 pvr2_encoder_read_words(struct pvr2_hdw *hdw, unsigned int offs, u32 *data, unsigned int dlen) argument
H A Dpvrusb2-i2c-core.c385 u16 tcnt,bcnt,offs; local
399 offs = 0;
406 msgs[0].buf+offs,bcnt)) {
410 offs += bcnt;
432 u16 tcnt,bcnt,wcnt,offs; local
439 offs = 0;
447 msgs[1].buf+offs,bcnt)) {
451 offs += bcnt;
468 unsigned int idx,offs,cnt; local
480 for (offs
[all...]
/linux-master/include/media/
H A Ddvb_ringbuffer.h120 * DVB_RINGBUFFER_PEEK - peek at byte @offs in the buffer
123 * @offs: offset inside the ringbuffer
125 #define DVB_RINGBUFFER_PEEK(rbuf, offs) \
126 ((rbuf)->data[((rbuf)->pread + (offs)) % (rbuf)->size])
/linux-master/drivers/gpio/
H A Dgpio-em.c58 static inline unsigned long em_gio_read(struct em_gio_priv *p, int offs) argument
60 if (offs < GIO_IDT0)
61 return ioread32(p->base0 + offs);
63 return ioread32(p->base1 + (offs - GIO_IDT0));
66 static inline void em_gio_write(struct em_gio_priv *p, int offs, argument
69 if (offs < GIO_IDT0)
70 iowrite32(value, p->base0 + offs);
72 iowrite32(value, p->base1 + (offs - GIO_IDT0));
/linux-master/tools/perf/util/
H A Dbpf-utils.c228 __u64 addr, offs; local
236 offs = addr - ptr_to_u64(info_linear->data);
238 desc->array_offset, offs);
248 __u64 addr, offs; local
254 offs = bpf_prog_info_read_offset_u64(&info_linear->info,
256 addr = offs + ptr_to_u64(info_linear->data);
H A Ddebuginfo.c142 int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs, argument
171 *offs = shdr->sh_addr;
173 *offs -= shdr->sh_offset;
/linux-master/crypto/async_tx/
H A Draid6test.c58 struct page **ptrs, unsigned int *offs)
72 tx = async_gen_syndrome(ptrs, offs,
96 tx = async_gen_syndrome(ptrs, offs,
104 faila, ptrs, offs, &submit);
109 faila, failb, ptrs, offs, &submit);
114 tx = async_syndrome_val(ptrs, offs,
57 raid6_dual_recov(int disks, size_t bytes, int faila, int failb, struct page **ptrs, unsigned int *offs) argument
/linux-master/drivers/mtd/ubi/
H A Dupd.c268 int lnum, offs, err = 0, len, to_write = count; local
276 lnum = div_u64_rem(vol->upd_received, vol->usable_leb_size, &offs);
284 if (offs != 0) {
292 len = vol->usable_leb_size - offs;
296 err = copy_from_user(vol->upd_buf + offs, buf, len);
300 if (offs + len == vol->usable_leb_size ||
302 int flush_len = offs + len;
/linux-master/drivers/mfd/
H A D88pm860x-core.c346 int offs; /* bit offset in mask register */ member in struct:pm860x_irq_data
353 .offs = 1 << 0,
358 .offs = 1 << 1,
363 .offs = 1 << 2,
368 .offs = 1 << 3,
373 .offs = 1 << 4,
378 .offs = 1 << 5,
383 .offs = 1 << 0,
388 .offs = 1 << 1,
393 .offs
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dorion_nand.c34 u32 offs; local
40 offs = (1 << board->cle);
42 offs = (1 << board->ale);
47 offs <<= 1;
49 writeb(cmd, nc->legacy.IO_ADDR_W + offs);
H A Dinternals.h158 int nand_markbad_bbt(struct nand_chip *chip, loff_t offs);
159 int nand_isreserved_bbt(struct nand_chip *chip, loff_t offs);
160 int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
/linux-master/drivers/clk/tegra/
H A Dclk-dfll.c331 static inline u32 dfll_readl(struct tegra_dfll *td, u32 offs) argument
333 return __raw_readl(td->base + offs);
336 static inline void dfll_writel(struct tegra_dfll *td, u32 val, u32 offs) argument
338 WARN_ON(offs >= DFLL_I2C_CFG);
339 __raw_writel(val, td->base + offs);
349 static inline u32 dfll_i2c_readl(struct tegra_dfll *td, u32 offs) argument
351 return __raw_readl(td->i2c_base + offs);
354 static inline void dfll_i2c_writel(struct tegra_dfll *td, u32 val, u32 offs) argument
356 __raw_writel(val, td->i2c_base + offs);
1326 u32 val, offs; local
[all...]
/linux-master/drivers/scsi/mvsas/
H A Dmv_64xx.c199 u32 offs; local
201 offs = PCR_PHY_CTL;
203 offs = PCR_PHY_CTL2;
206 pci_read_config_dword(mvi->pdev, offs, &tmp);
208 pci_write_config_dword(mvi->pdev, offs, tmp);
221 u32 offs; local
223 offs = PCR_PHY_CTL;
225 offs = PCR_PHY_CTL2;
228 pci_read_config_dword(mvi->pdev, offs, &tmp);
230 pci_write_config_dword(mvi->pdev, offs, tm
498 u32 tmp, offs; local
523 u32 tmp, offs; local
[all...]
/linux-master/arch/x86/kernel/
H A Ddumpstack_64.c61 * @offs: Offset from the start of the exception stack area
66 u32 offs; member in struct:estack_pages
74 .offs = CEA_ESTACK_OFFS(st), \
124 begin += (unsigned long)ep->offs;
/linux-master/arch/loongarch/include/asm/
H A Dasm.h19 #define PREF(hint, addr, offs) \
20 preld hint, addr, offs; \
27 #define PREF(hint, addr, offs)
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.h127 static inline unsigned int mga_readb(vaddr_t va, unsigned int offs) { argument
128 return readb(va.vaddr + offs);
131 static inline void mga_writeb(vaddr_t va, unsigned int offs, u_int8_t value) { argument
132 writeb(value, va.vaddr + offs);
135 static inline void mga_writew(vaddr_t va, unsigned int offs, u_int16_t value) { argument
136 writew(value, va.vaddr + offs);
139 static inline u_int32_t mga_readl(vaddr_t va, unsigned int offs) { argument
140 return readl(va.vaddr + offs);
143 static inline void mga_writel(vaddr_t va, unsigned int offs, u_int32_t value) { argument
144 writel(value, va.vaddr + offs);
178 vaddr_add(vaddr_t* va, unsigned long offs) argument
[all...]
/linux-master/include/linux/
H A Dtimekeeping.h69 extern ktime_t ktime_get_with_offset(enum tk_offsets offs);
70 extern ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs);
71 extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs);
/linux-master/drivers/uio/
H A Duio_pci_generic.c123 uiomem->offs = r->start & ~PAGE_MASK;
125 (uiomem->offs + resource_size(r) + PAGE_SIZE - 1) &
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dfwio.c174 u32 offs, bytes_done = 0; local
181 offs = 0;
182 while (offs < len) {
186 if (offs + DNLD_BLOCK_SIZE - bytes_done < DNLD_FIFO_SIZE)
197 ret = wfx_sram_write_dma_safe(wdev, WFX_DNLD_FIFO + (offs % DNLD_FIFO_SIZE),
198 data + offs, DNLD_BLOCK_SIZE);
203 offs += DNLD_BLOCK_SIZE;
204 ret = wfx_sram_reg_write(wdev, WFX_DCA_PUT, offs);
/linux-master/drivers/clocksource/
H A Dsh_mtu2.c158 unsigned long offs; local
163 offs = mtu2_reg_offs[reg_nr];
166 return ioread16(ch->base + offs);
168 return ioread8(ch->base + offs);
174 unsigned long offs; local
179 offs = mtu2_reg_offs[reg_nr];
182 iowrite16(value, ch->base + offs);
184 iowrite8(value, ch->base + offs);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.h147 u8 offs = is_mt7981(&dev->mt76) ? 8 : 7; local
148 u8 val = eep[MT_EE_WIFI_CONF + offs];
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c752 u32 offs = le32_to_cpu(directory->findex) + local
754 u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8));
757 return (struct uni_table_desc *) &unirom[offs];
792 u32 offs, tab_size, data_size, idx; local
810 offs = le32_to_cpu(tab_desc->findex) +
812 descr = (struct uni_data_desc *)&unirom[offs];
828 u32 offs, tab_size, data_size, idx; local
845 offs = le32_to_cpu(tab_desc->findex) +
847 descr = (struct uni_data_desc *)&unirom[offs];
880 u32 flags, file_chiprev, offs; local
942 u32 offs, idx; local
962 u32 offs = QLCNIC_BOOTLD_START; local
977 u32 offs = QLCNIC_IMAGE_START; local
[all...]
/linux-master/fs/ufs/
H A Ddir.c121 unsigned offs, rec_len; local
134 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) {
135 p = (struct ufs_dir_entry *)(kaddr + offs);
144 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask)
150 if (offs != limit)
181 dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
185 p = (struct ufs_dir_entry *)(kaddr + offs);
[all...]
/linux-master/fs/ext2/
H A Ddir.c105 unsigned offs, rec_len; local
117 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) {
118 p = (ext2_dirent *)(kaddr + offs);
127 if (unlikely(((offs + rec_len - 1) ^ offs) & ~(chunk_size-1)))
132 if (offs != limit)
164 dir->i_ino, error, folio_pos(folio) + offs,
170 p = (ext2_dirent *)(kaddr + offs);
[all...]
/linux-master/fs/ubifs/
H A Dcommit.c175 c->mst_node->root_offs = cpu_to_le32(zroot.offs);
528 int lnum, offs, len, err = 0; local
533 offs = d->old_zroot.offs;
540 err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
566 int lnum, offs, len, err = 0, last_level, child_cnt; local
586 offs = d->old_zroot.offs;
608 err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
697 offs
[all...]

Completed in 547 milliseconds

1234567891011>>