/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-eeprom.c | 52 unsigned int offs; local 96 offs = tcnt + (eepromSize - EEPROM_SIZE); 98 iadd[0] = offs >> 8; 99 iadd[1] = offs; 101 iadd[0] = offs; 108 "eeprom fetch set offs err=%d",ret);
|
H A D | pvrusb2-encoder.c | 41 unsigned int offs, 66 addr = idx + offs; 79 offs += chunkCnt; 87 unsigned int offs, 115 hdw->cmd_buffer[5] = ((offs>>16) & 0xffu); 116 hdw->cmd_buffer[6] = ((offs>>8) & 0xffu); 117 hdw->cmd_buffer[7] = (offs & 0xffu); 129 offs += chunkCnt; 40 pvr2_encoder_write_words(struct pvr2_hdw *hdw, unsigned int offs, const u32 *data, unsigned int dlen) argument 86 pvr2_encoder_read_words(struct pvr2_hdw *hdw, unsigned int offs, u32 *data, unsigned int dlen) argument
|
H A D | pvrusb2-i2c-core.c | 406 u16 tcnt,bcnt,offs; local 420 offs = 0; 427 msgs[0].buf+offs,bcnt)) { 431 offs += bcnt; 454 u16 tcnt,bcnt,wcnt,offs; local 461 offs = 0; 469 msgs[1].buf+offs,bcnt)) { 473 offs += bcnt; 491 unsigned int idx,offs,cnt; local 505 for (offs [all...] |
/drivers/net/can/softing/ |
H A D | softing_platform.h | 28 unsigned long offs; member in struct:softing_platform_data::__anon1833
|
/drivers/mtd/nand/ |
H A D | orion_nand.c | 28 u32 offs; local 34 offs = (1 << board->cle); 36 offs = (1 << board->ale); 41 offs <<= 1; 43 writeb(cmd, nc->IO_ADDR_W + offs);
|
/drivers/mtd/ubi/ |
H A D | upd.c | 285 int lnum, offs, err = 0, len, to_write = count; local 293 lnum = div_u64_rem(vol->upd_received, vol->usable_leb_size, &offs); 301 if (offs != 0) { 309 len = vol->usable_leb_size - offs; 313 err = copy_from_user(vol->upd_buf + offs, buf, len); 317 if (offs + len == vol->usable_leb_size || 319 int flush_len = offs + len;
|
H A D | gluebi.c | 174 int err = 0, lnum, offs, total_read; local 178 lnum = div_u64_rem(from, mtd->erasesize, &offs); 181 size_t to_read = mtd->erasesize - offs; 186 err = ubi_read(gluebi->desc, lnum, buf, offs, to_read); 191 offs = 0; 214 int err = 0, lnum, offs, total_written; local 218 lnum = div_u64_rem(to, mtd->erasesize, &offs); 220 if (len % mtd->writesize || offs % mtd->writesize) 225 size_t to_write = mtd->erasesize - offs; 230 err = ubi_write(gluebi->desc, lnum, buf, offs, to_writ [all...] |
/drivers/isdn/hysdn/ |
H A D | boardergo.c | 207 /* this is done in two steps. First the 1024 hi-words are written (offs=0), */ 215 unsigned long offs) 222 hysdn_addlog(card, "ERGO: write bootldr offs=0x%lx ", offs); 225 dst += (offs + ERG_DPRAM_FILL_SIZE); /* offset in the DPRAM */ 233 /* if low words (offs = 2) have been written, clear the rest of the DPRAM, */ 235 if (offs) { 214 ergo_writebootimg(struct HYSDN_CARD *card, unsigned char *buf, unsigned long offs) argument
|
/drivers/mtd/onenand/ |
H A D | onenand_bbt.c | 96 from + j * this->writesize + bd->offs, &ops); 143 * @param offs offset in the device 146 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) argument 154 block = (int) (onenand_block(this, offs) << 1); 157 pr_debug("onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n", 158 (unsigned int) offs, block >> 1, res); 222 .offs = 0,
|
/drivers/net/wireless/ath/carl9170/ |
H A D | cmd.c | 66 __le32 *offs, *res; local 69 offs = (__le32 *)out; 71 offs[i] = cpu_to_le32(regs[i]); 77 4 * nregs, (u8 *)offs,
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-io.c | 272 int offs; local 278 for (offs = 0; offs < words; offs++) 279 vals[offs] = iwl_read32(trans, HBUS_TARG_MEM_RDAT); 298 int offs, result = 0; local 304 for (offs = 0; offs < words; offs++) 305 iwl_write32(trans, HBUS_TARG_MEM_WDAT, vals[offs]); [all...] |
H A D | iwl-ucode.c | 368 u32 offs; local 376 for (offs = 0; 377 offs < len && errors < 20; 378 offs += sizeof(u32), image++) { 384 offs, val, le32_to_cpu(*image));
|
/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.c | 33 * this function is *offs = val. 36 unsigned long offs, u8 val) 40 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); 42 writeb(val, asd_ha->io_handle[0].addr + offs); 47 unsigned long offs, u16 val) 51 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); 53 writew(val, asd_ha->io_handle[0].addr + offs); 58 unsigned long offs, u32 val) 62 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); 64 writel(val, asd_ha->io_handle[0].addr + offs); 35 asd_write_byte(struct asd_ha_struct *asd_ha, unsigned long offs, u8 val) argument 46 asd_write_word(struct asd_ha_struct *asd_ha, unsigned long offs, u16 val) argument 57 asd_write_dword(struct asd_ha_struct *asd_ha, unsigned long offs, u32 val) argument 70 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs) argument 82 asd_read_word(struct asd_ha_struct *asd_ha, unsigned long offs) argument 95 asd_read_dword(struct asd_ha_struct *asd_ha, unsigned long offs) argument 302 asd_read_reg_string(struct asd_ha_struct *asd_ha, void *dst, u32 offs, int count) argument 321 asd_write_reg_string(struct asd_ha_struct *asd_ha, void *src, u32 offs, int count) argument [all...] |
H A D | aic94xx_dump.c | 48 u32 offs; member in struct:lseq_cio_regs 470 LSEQmCIOREGS[i].offs, 472 LSEQmCIOREGS[i].offs)); 477 LSEQmCIOREGS[i].offs, 479 LSEQmCIOREGS[i].offs)); 484 LSEQmCIOREGS[i].offs, 486 LSEQmCIOREGS[i].offs));
|
H A D | aic94xx_reg.h | 73 u32 offs, int count); 75 u32 offs, int count); 79 u32 offs) \ 82 type val = read##S (io_handle->addr + (unsigned long) offs); \ 93 u32 offs, type val) \ 96 write##S (val, io_handle->addr + (unsigned long) offs); \ 107 u16 offs) \ 109 asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs); \ 119 u16 offs) 121 if (offs 117 asd_ddbsite_read_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs) argument 143 asd_ddbsite_write_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u8 val) argument 170 asd_scbsite_read_byte(struct asd_ha_struct *asd_ha, u16 scb_site_no, u16 offs) argument 196 asd_scbsite_write_byte(struct asd_ha_struct *asd_ha, u16 scb_site_no, u16 offs, u8 val) argument 224 asd_ddbsite_update_word(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u16 oldval, u16 newval) argument 245 asd_ddbsite_update_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u8 _oldval, u8 _newval) argument [all...] |
/drivers/video/ |
H A D | fb_defio.c | 26 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);
|
/drivers/clocksource/ |
H A D | dw_apb_timer.c | 52 static unsigned long apbt_readl(struct dw_apb_timer *timer, unsigned long offs) argument 54 return readl(timer->base + offs); 58 unsigned long offs) 60 writel(val, timer->base + offs); 57 apbt_writel(struct dw_apb_timer *timer, unsigned long val, unsigned long offs) argument
|
H A D | sh_mtu2.c | 71 unsigned long offs; local 76 offs = mtu2_reg_offs[reg_nr]; 79 return ioread16(base + offs); 81 return ioread8(base + offs); 89 unsigned long offs; local 96 offs = mtu2_reg_offs[reg_nr]; 99 iowrite16(value, base + offs); 101 iowrite8(value, base + offs);
|
H A D | sh_tmu.c | 59 unsigned long offs; local 64 offs = reg_nr << 2; 67 return ioread16(base + offs); 69 return ioread32(base + offs); 77 unsigned long offs; local 84 offs = reg_nr << 2; 87 iowrite16(value, base + offs); 89 iowrite32(value, base + offs);
|
/drivers/leds/ |
H A D | leds-renesas-tpu.c | 70 unsigned long offs = reg_nr << 2; local 75 return ioread16(base + offs); 83 unsigned long offs = reg_nr << 2; local 90 iowrite16(value, base + offs);
|
/drivers/media/dvb/dvb-usb/ |
H A D | dibusb-common.c | 170 int dibusb_read_eeprom_byte(struct dvb_usb_device *d, u8 offs, u8 *val) argument 172 u8 wbuf[1] = { offs };
|
/drivers/mfd/ |
H A D | 88pm860x-core.c | 159 int offs; /* bit offset in mask register */ member in struct:pm860x_irq_data 166 .offs = 1 << 0, 171 .offs = 1 << 1, 176 .offs = 1 << 2, 181 .offs = 1 << 3, 186 .offs = 1 << 4, 191 .offs = 1 << 5, 196 .offs = 1 << 0, 201 .offs = 1 << 1, 206 .offs [all...] |
H A D | max8925-core.c | 192 int offs; /* bit offset in mask register */ member in struct:max8925_irq_data 201 .offs = 1 << 0, 206 .offs = 1 << 1, 211 .offs = 1 << 2, 216 .offs = 1 << 0, 221 .offs = 1 << 1, 226 .offs = 1 << 2, 231 .offs = 1 << 3, 236 .offs = 1 << 4, 241 .offs [all...] |
/drivers/mtd/ |
H A D | nftlcore.c | 136 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, argument 144 ops.ooboffs = offs & mask; 149 res = mtd_read_oob(mtd, offs & ~mask, &ops); 157 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, argument 165 ops.ooboffs = offs & mask; 170 res = mtd_write_oob(mtd, offs & ~mask, &ops); 180 static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len, argument 188 ops.ooboffs = offs & mask; 194 res = mtd_write_oob(mtd, offs & ~mask, &ops);
|
/drivers/mtd/tests/ |
H A D | mtd_stresstest.c | 82 int offs; local 85 offs = simple_rand(); 87 offs = (simple_rand() << 15) | simple_rand(); 88 offs %= bufsize; 89 return offs; 92 static int rand_len(int offs) argument 100 len %= (bufsize - offs); 145 int offs = rand_offs(); local 146 int len = rand_len(offs), err; 150 if (offs > 171 int eb = rand_eb(), offs, err, len; local [all...] |