Searched refs:cfi_ch_info (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 1844 uint8_t cfi_ch_info[TAVOR_CFI_INFO_SIZE]; in tavor_flash_cfi_init() local 1852 tavor_flash_cfi_byte(cfi_ch_info, cfi_info[0x04], 0x10); in tavor_flash_cfi_init() 1853 if (cfi_ch_info[0x10] == 'M' && in tavor_flash_cfi_init() 1854 cfi_ch_info[0x11] == 'X' && in tavor_flash_cfi_init() 1855 cfi_ch_info[0x12] == '2') { in tavor_flash_cfi_init() 1865 tavor_flash_cfi_byte(cfi_ch_info, data, i); in tavor_flash_cfi_init() 1870 if (cfi_ch_info[0x20] == 'Q' && in tavor_flash_cfi_init() 1871 cfi_ch_info[0x22] == 'R' && in tavor_flash_cfi_init() 1872 cfi_ch_info[0x24] == 'Y') { in tavor_flash_cfi_init() 1878 cfi_ch_info[i/2] = cfi_ch_info[i]; in tavor_flash_cfi_init() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ioctl.c | 2478 uint8_t cfi_ch_info[HERMON_CFI_INFO_SIZE]; in hermon_flash_cfi_init() local 2495 cfi_ch_info[0x13] = HERMON_FLASH_SPI_CMDSET; in hermon_flash_cfi_init() 2496 hermon_flash_cfi_dword(&cfi_info[4], cfi_ch_info, 0x10); in hermon_flash_cfi_init() 2505 hermon_flash_cfi_byte(cfi_ch_info, cfi_info[0x04], 0x10); in hermon_flash_cfi_init() 2506 if (cfi_ch_info[0x10] == 'M' && in hermon_flash_cfi_init() 2507 cfi_ch_info[0x11] == 'X' && in hermon_flash_cfi_init() 2508 cfi_ch_info[0x12] == '2') { in hermon_flash_cfi_init() 2531 hermon_flash_cfi_byte(cfi_ch_info, data, i); in hermon_flash_cfi_init() 2536 if (cfi_ch_info[0x20] == 'Q' && in hermon_flash_cfi_init() 2537 cfi_ch_info[0x22] == 'R' && in hermon_flash_cfi_init() [all …]
|