Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/usb/device_next/class/
Dusbd_msc_scsi.c494 uint8_t *page_start = &buf[4]; in fill_vpd_page() local
499 page_start[offset++] = VPD_SUPPORTED_VPD_PAGES; in fill_vpd_page()
500 page_start[offset++] = VPD_UNIT_SERIAL_NUMBER; in fill_vpd_page()
501 page_start[offset++] = VPD_DEVICE_IDENTIFICATION; in fill_vpd_page()
512 page_start[offset++] = CODE_SET_ASCII; in fill_vpd_page()
513 page_start[offset++] = DESIGNATOR_T10_VENDOR_ID_BASED; in fill_vpd_page()
514 page_start[offset++] = 0x00; in fill_vpd_page()
515 page_start[offset++] = T10_VENDOR_LENGTH + sizeof(UNIT_SERIAL_NUMBER) - 1; in fill_vpd_page()
516 strncpy(&page_start[offset], ctx->vendor, T10_VENDOR_LENGTH); in fill_vpd_page()
518 memcpy(&page_start[offset], UNIT_SERIAL_NUMBER, sizeof(UNIT_SERIAL_NUMBER) - 1); in fill_vpd_page()
[all …]