Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/amlogic/common/
Daml_scpi.c146 uint32_t aml_scpi_get_chip_id(uint8_t *obuff, uint32_t osize) in aml_scpi_get_chip_id() argument
163 memcpy((void *)obuff, (const void *)response, osize); in aml_scpi_get_chip_id()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c991 char obuff[256]; in sg_print_asc_ascq() local
1001 for (j = 0; *ccp && (j < sizeof(obuff)); ++ccp) { in sg_print_asc_ascq()
1006 strcpy(obuff + j, oup); in sg_print_asc_ascq()
1009 strcpy(obuff + j, "???"); in sg_print_asc_ascq()
1013 obuff[j++] = c; in sg_print_asc_ascq()
1015 if (j < sizeof(obuff)) in sg_print_asc_ascq()
1016 obuff[j] = '\0'; in sg_print_asc_ascq()
1018 obuff[sizeof(obuff) - 1] = '\0'; in sg_print_asc_ascq()
1019 fprintf(OUTP, "Additional sense: %s\n", obuff); in sg_print_asc_ascq()
/external/arm-trusted-firmware/plat/amlogic/common/include/
Daml_private.h34 uint32_t aml_scpi_get_chip_id(uint8_t *obuff, uint32_t osize);
/external/sg3_utils/src/
Dsg_inq.c2486 fetch_unit_serial_num(int sg_fd, char * obuff, int obuff_len, int verbose) in fetch_unit_serial_num() argument
2521 obuff[k] = isprint(c) ? c : ' '; in fetch_unit_serial_num()
2525 obuff[k] = '\0'; in fetch_unit_serial_num()
2903 char obuff[DEF_ALLOC_LEN]; in vpd_decode() local
2906 memset(obuff, 0, sizeof(obuff)); in vpd_decode()
2908 if (len >= (int)sizeof(obuff)) in vpd_decode()
2909 len = sizeof(obuff) - 1; in vpd_decode()
2910 memcpy(obuff, rp + 4, len); in vpd_decode()
2912 k = encode_whitespaces((uint8_t *)obuff, len); in vpd_decode()
2917 if ((obuff[m] >= '0' && obuff[m] <= '9') || in vpd_decode()
[all …]
Dsg_vpd.c1137 char obuff[DEF_ALLOC_LEN]; in svpd_decode_t10() local
1261 memset(obuff, 0, sizeof(obuff)); in svpd_decode_t10()
1263 if (len >= (int)sizeof(obuff)) in svpd_decode_t10()
1264 len = sizeof(obuff) - 1; in svpd_decode_t10()
1265 memcpy(obuff, rp + 4, len); in svpd_decode_t10()
1267 sgj_haj_vs(jsp, jo2p, 2, np, SGJ_SEP_COLON_1_SPACE, obuff); in svpd_decode_t10()