Searched refs:mode_caching_page (Results 1 – 2 of 2) sorted by relevance
1918 struct mode_caching *mode_caching_page; in sbd_handle_mode_sense() local1920 mode_caching_page = (struct mode_caching *)&p[n]; in sbd_handle_mode_sense()1922 mode_caching_page->mode_page.code = MODEPAGE_CACHING; in sbd_handle_mode_sense()1923 mode_caching_page->mode_page.ps = 1; /* A saveable page */ in sbd_handle_mode_sense()1924 mode_caching_page->mode_page.length = 0x12; in sbd_handle_mode_sense()1930 mode_caching_page->wce = 1; in sbd_handle_mode_sense()1938 mode_caching_page->wce = 1; in sbd_handle_mode_sense()1945 mode_caching_page->wce = 1; in sbd_handle_mode_sense()1950 mode_caching_page->mode_page.length); in sbd_handle_mode_sense()
9405 struct mode_caching *mode_caching_page; in sd_get_caching_mode_page() local9453 mode_caching_page = (struct mode_caching *)(*header + hdrlen + *bdlen); in sd_get_caching_mode_page()9454 if (mode_caching_page->mode_page.code != MODEPAGE_CACHING) { in sd_get_caching_mode_page()9457 __func__, mode_caching_page->mode_page.code); in sd_get_caching_mode_page()9494 struct mode_caching *mode_caching_page; in sd_cache_control() local9505 mode_caching_page = (struct mode_caching *)(header + hdrlen + in sd_cache_control()9507 if ((mode_caching_page->rcd && rcd_flag == SD_CACHE_ENABLE) || in sd_cache_control()9508 (!mode_caching_page->rcd && rcd_flag == SD_CACHE_DISABLE) || in sd_cache_control()9509 (mode_caching_page->wce && wce_flag == SD_CACHE_DISABLE) || in sd_cache_control()9510 (!mode_caching_page->wce && wce_flag == SD_CACHE_ENABLE)) { in sd_cache_control()[all …]