Home
last modified time | relevance | path

Searched refs:pagemask (Results 1 – 7 of 7) sorted by relevance

/drivers/media/video/
Dsaa5246a.c498 if (req->pagemask < 0 || req->pagemask >= PGMASK_MAX) in saa5246a_request_page()
500 if (req->pagemask & PGMASK_PAGE) in saa5246a_request_page()
503 if (req->pagemask & PGMASK_HOUR) in saa5246a_request_page()
506 if (req->pagemask & PGMASK_MINUTE) in saa5246a_request_page()
521 (req->pagemask & PG_HUND ? in saa5246a_request_page()
526 (req->pagemask & PG_TEN ? in saa5246a_request_page()
531 (req->pagemask & PG_UNIT ? in saa5246a_request_page()
536 (req->pagemask & HR_TEN ? in saa5246a_request_page()
541 (req->pagemask & HR_UNIT ? in saa5246a_request_page()
546 (req->pagemask & MIN_TEN ? in saa5246a_request_page()
[all …]
Dsaa5249.c233 if (!(req->pagemask & PGMASK_PAGE)) in do_saa5249_ioctl()
235 if (!(req->pagemask & PGMASK_HOUR)) in do_saa5249_ioctl()
237 if (!(req->pagemask & PGMASK_MINUTE)) in do_saa5249_ioctl()
243 req->pagemask < 0 || req->pagemask >= PGMASK_MAX || req->pgbuf < 0 || req->pgbuf >= NUM_DAUS) in do_saa5249_ioctl()
245 t->vdau[req->pgbuf].sregs[0] = (req->pagemask & PG_HUND ? 0x10 : 0) | (req->page / 0x100); in do_saa5249_ioctl()
246 t->vdau[req->pgbuf].sregs[1] = (req->pagemask & PG_TEN ? 0x10 : 0) | ((req->page / 0x10) & 0xf); in do_saa5249_ioctl()
247 t->vdau[req->pgbuf].sregs[2] = (req->pagemask & PG_UNIT ? 0x10 : 0) | (req->page & 0xf); in do_saa5249_ioctl()
248 t->vdau[req->pgbuf].sregs[3] = (req->pagemask & HR_TEN ? 0x10 : 0) | (req->hour / 0x10); in do_saa5249_ioctl()
249 t->vdau[req->pgbuf].sregs[4] = (req->pagemask & HR_UNIT ? 0x10 : 0) | (req->hour & 0xf); in do_saa5249_ioctl()
250 t->vdau[req->pgbuf].sregs[5] = (req->pagemask & MIN_TEN ? 0x10 : 0) | (req->minute / 0x10); in do_saa5249_ioctl()
[all …]
/drivers/mtd/nand/
Dalauda.c72 u32 pagemask; member
209 u32 page = (from >> al->card->pageshift) & al->pagemask; in __alauda_read_page()
274 u32 page = (to >> al->card->pageshift) & al->pagemask; in alauda_write_page()
475 u32 page = (to >> al->card->pageshift) & al->pagemask; in alauda_write()
587 al->pagemask = (1 << (card->blockshift - card->pageshift)) - 1; in alauda_init_media()
Dnand_base.c307 page = (int)(ofs >> chip->page_shift) & chip->pagemask; in nand_block_bad()
1055 page = realpage & chip->pagemask; in nand_do_read_ops()
1137 page = realpage & chip->pagemask; in nand_do_read_ops()
1387 page = realpage & chip->pagemask; in nand_do_read_oob()
1415 page = realpage & chip->pagemask; in nand_do_read_oob()
1741 page = realpage & chip->pagemask; in nand_do_write_ops()
1784 page = realpage & chip->pagemask; in nand_do_write_ops()
1905 status = chip->ecc.write_oob(mtd, chip, page & chip->pagemask); in nand_do_write_oob()
2103 chip->erase_cmd(mtd, page & chip->pagemask); in nand_erase_nand()
2139 if (len && !(page & chip->pagemask)) { in nand_erase_nand()
[all …]
Dfsl_elbc_nand.c668 if (chip->pagemask & 0xffff0000) in fsl_elbc_chip_init_tail()
670 if (chip->pagemask & 0xff000000) in fsl_elbc_chip_init_tail()
682 chip->pagemask); in fsl_elbc_chip_init_tail()
Dnandsim.c2309 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in ns_init_module()
/drivers/net/
Dtg3.c10655 u32 pagemask = pagesize - 1; in tg3_nvram_write_block_unbuffered() local
10667 phy_addr = offset & ~pagemask; in tg3_nvram_write_block_unbuffered()
10677 page_off = offset & pagemask; in tg3_nvram_write_block_unbuffered()