Searched refs:mode_caching_page (Results 1 – 2 of 2) sorted by relevance
2044 struct mode_caching *mode_caching_page; in sbd_handle_mode_sense() local2046 mode_caching_page = (struct mode_caching *)&p[n]; in sbd_handle_mode_sense()2048 mode_caching_page->mode_page.code = MODEPAGE_CACHING; in sbd_handle_mode_sense()2049 mode_caching_page->mode_page.ps = 1; /* A saveable page */ in sbd_handle_mode_sense()2050 mode_caching_page->mode_page.length = 0x12; in sbd_handle_mode_sense()2056 mode_caching_page->wce = 1; in sbd_handle_mode_sense()2064 mode_caching_page->wce = 1; in sbd_handle_mode_sense()2071 mode_caching_page->wce = 1; in sbd_handle_mode_sense()2076 mode_caching_page->mode_page.length); in sbd_handle_mode_sense()
8697 struct mode_caching *mode_caching_page; in sd_get_caching_mode_page() local8745 mode_caching_page = (struct mode_caching *)(*header + hdrlen + *bdlen); in sd_get_caching_mode_page()8746 if (mode_caching_page->mode_page.code != MODEPAGE_CACHING) { in sd_get_caching_mode_page()8749 __func__, mode_caching_page->mode_page.code); in sd_get_caching_mode_page()8786 struct mode_caching *mode_caching_page; in sd_cache_control() local8797 mode_caching_page = (struct mode_caching *)(header + hdrlen + in sd_cache_control()8799 if ((mode_caching_page->rcd && rcd_flag == SD_CACHE_ENABLE) || in sd_cache_control()8800 (!mode_caching_page->rcd && rcd_flag == SD_CACHE_DISABLE) || in sd_cache_control()8801 (mode_caching_page->wce && wce_flag == SD_CACHE_DISABLE) || in sd_cache_control()8802 (!mode_caching_page->wce && wce_flag == SD_CACHE_ENABLE)) { in sd_cache_control()[all …]