Home
last modified time | relevance | path

Searched refs:subpage (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/
H A Dcpupower.c78 static int print_man_page(const char *subpage) in print_man_page() argument
84 if (subpage != NULL) in print_man_page()
85 len += strlen(subpage); in print_man_page()
92 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page()
94 strcat(page, subpage); in print_man_page()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_spc.c931 uint8_t subpage; member
934 { .page = 0x01, .subpage = 0x00, .emulate = spc_modesense_rwrecovery },
935 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching },
936 { .page = 0x0a, .subpage = 0x00, .emulate = spc_modesense_control },
937 { .page = 0x1c, .subpage = 0x00, .emulate = spc_modesense_informational_exceptions },
1001 u8 subpage = cdb[3]; in spc_emulate_modesense() local
1059 if (subpage != 0x00 && subpage != 0xff) { in spc_emulate_modesense()
1060 pr_warn("MODE_SENSE: Invalid subpage code: 0x%02x\n", subpage); in spc_emulate_modesense()
1071 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense()
1084 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() argument
70 int want_fault = (subpage == ((page + 3) % 16)); in check_faulted()
73 want_fault |= (subpage == ((page + 1) % 16)); in check_faulted()
77 addr, page, subpage, write, in check_faulted()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.ubispl106 * FLASH chip to do subpage writes.
108 * If the flash chip supports subpage writes, then the VID
109 * header starts at the second subpage. So for 2k pages size
112 * If the flash chip does not support subpage writes then the
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/
H A Dnand-macronix.txt6 randomizer are subpage accesses prohibited and more time period needed
11 For more high-reliability concern, if subpage write is not available
/OK3568_Linux_fs/kernel/mm/
H A Drmap.c1453 struct page *subpage; in try_to_unmap_one() local
1539 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_unmap_one()
1612 subpage = page; in try_to_unmap_one()
1642 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one()
1685 entry = make_migration_entry(subpage, in try_to_unmap_one()
1698 swp_entry_t entry = { .val = page_private(subpage) }; in try_to_unmap_one()
1808 page_remove_rmap(subpage, PageHuge(page)); in try_to_unmap_one()
H A Dmemory.c5868 struct page *subpage = dst_page; in copy_huge_page_from_user() local
5871 i++, subpage = mem_map_next(subpage, dst_page, i)) { in copy_huge_page_from_user()
5873 page_kaddr = kmap(subpage); in copy_huge_page_from_user()
5875 page_kaddr = kmap_atomic(subpage); in copy_huge_page_from_user()
5880 kunmap(subpage); in copy_huge_page_from_user()
5888 flush_dcache_page(subpage); in copy_huge_page_from_user()
H A Dhuge_memory.c2528 struct page *subpage = head + i; in __split_huge_page() local
2529 if (subpage == page) in __split_huge_page()
2531 unlock_page(subpage); in __split_huge_page()
2540 put_page(subpage); in __split_huge_page()
H A Dhugetlb.c1341 struct page *subpage = page; in update_and_free_page() local
1349 i++, subpage = mem_map_next(subpage, page, i)) { in update_and_free_page()
1350 subpage->flags &= ~(1 << PG_locked | 1 << PG_error | in update_and_free_page()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/onenand/
H A Donenand_base.c1699 int column, subpage; in onenand_panic_write() local
1728 subpage = thislen < mtd->writesize; in onenand_panic_write()
1729 if (subpage) { in onenand_panic_write()
1743 onenand_update_bufferram(mtd, to, !subpage); in onenand_panic_write()
1746 onenand_update_bufferram(mtd, to + this->writesize, !subpage); in onenand_panic_write()
1789 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local
1834 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock()
1835 if (subpage) { in onenand_write_ops_nolock()
1915 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock()
1939 prev_subpage = subpage; in onenand_write_ops_nolock()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dwacom_wac.c1805 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1808 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage()
1809 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage()
1810 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage()
1811 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage()
1824 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
1825 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage()
1827 return subpage | subusage; in wacom_equivalent_usage()
1831 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1837 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
[all …]
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dtranshuge.rst140 This optimization is required to lower the overhead of per-subpage mapcount
181 memory immediately. Instead, we detect that a subpage of THP is not in use
/OK3568_Linux_fs/u-boot/drivers/mtd/onenand/
H A Donenand_base.c1414 int written = 0, column, thislen, subpage; in onenand_write_ops_nolock() local
1455 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock()
1456 if (subpage) { in onenand_write_ops_nolock()
1488 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock()
1491 onenand_update_bufferram(mtd, to + this->writesize, !ret && !subpage); in onenand_write_ops_nolock()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c3092 int status, subpage; in nand_write_page() local
3096 subpage = offset || (data_len < mtd->writesize); in nand_write_page()
3098 subpage = 0; in nand_write_page()
3109 else if (subpage) in nand_write_page()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_base.c3922 int status, subpage; in nand_write_page() local
3926 subpage = offset || (data_len < mtd->writesize); in nand_write_page()
3928 subpage = 0; in nand_write_page()
3933 else if (subpage) in nand_write_page()
/OK3568_Linux_fs/u-boot/
H A DREADME3582 Option to disable subpage write in NAND driver