Home
last modified time | relevance | path

Searched refs:driver_status (Results 1 – 25 of 59) sorted by relevance

123

/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_mac.c53 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
60 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
67 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
82 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_compute()
86 return( mbedtls_test_driver_mac_hooks.driver_status ); in mbedtls_test_transparent_mac_compute()
100 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
107 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
113 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
122 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_sign_setup()
126 return( mbedtls_test_driver_mac_hooks.driver_status ); in mbedtls_test_transparent_mac_sign_setup()
[all …]
Dhash.c47 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
54 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
59 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
70 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_compute()
74 return( mbedtls_test_driver_hash_hooks.driver_status ); in mbedtls_test_transparent_hash_compute()
85 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
92 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
95 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
100 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_setup()
104 return( mbedtls_test_driver_hash_hooks.driver_status ); in mbedtls_test_transparent_hash_setup()
[all …]
Dtest_driver_aead.c47 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_encrypt()
52 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_encrypt()
62 return( mbedtls_test_driver_aead_hooks.driver_status ); in mbedtls_test_transparent_aead_encrypt()
78 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_decrypt()
83 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_decrypt()
93 return( mbedtls_test_driver_aead_hooks.driver_status ); in mbedtls_test_transparent_aead_decrypt()
/external/mbedtls/tests/src/drivers/
Dtest_driver_mac.c49 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
56 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
63 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
78 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_compute()
82 return( mbedtls_test_driver_mac_hooks.driver_status ); in mbedtls_test_transparent_mac_compute()
96 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
103 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
109 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_sign_setup()
118 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_sign_setup()
122 return( mbedtls_test_driver_mac_hooks.driver_status ); in mbedtls_test_transparent_mac_sign_setup()
[all …]
Dtest_driver_aead.c48 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_encrypt()
55 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_encrypt()
65 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_encrypt()
87 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_encrypt()
91 return( mbedtls_test_driver_aead_hooks.driver_status ); in mbedtls_test_transparent_aead_encrypt()
107 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_decrypt()
114 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_decrypt()
124 mbedtls_test_driver_aead_hooks.driver_status = in mbedtls_test_transparent_aead_decrypt()
146 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_decrypt()
150 return( mbedtls_test_driver_aead_hooks.driver_status ); in mbedtls_test_transparent_aead_decrypt()
[all …]
Dhash.c43 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
50 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
55 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()
66 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_compute()
70 return( mbedtls_test_driver_hash_hooks.driver_status ); in mbedtls_test_transparent_hash_compute()
81 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
88 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
91 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_setup()
96 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_setup()
100 return( mbedtls_test_driver_hash_hooks.driver_status ); in mbedtls_test_transparent_hash_setup()
[all …]
/external/sg3_utils/lib/
Dsg_io_linux.c82 sg_print_driver_status(int driver_status) in sg_print_driver_status() argument
87 driv = driver_status & SG_LIB_DRIVER_MASK; in sg_print_driver_status()
90 pr2ws("Driver_status=0x%02x", driver_status); in sg_print_driver_status()
99 int driver_status, const uint8_t * sense_buffer, in sg_linux_sense_print() argument
106 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_linux_sense_print()
132 if (0 != driver_status) { in sg_linux_sense_print()
134 (SG_LIB_DRIVER_SENSE == (SG_LIB_DRIVER_MASK & driver_status))) in sg_linux_sense_print()
140 sg_print_driver_status(driver_status); in sg_linux_sense_print()
143 (SG_LIB_DRIVER_SENSE == (SG_LIB_DRIVER_MASK & driver_status))) in sg_linux_sense_print()
170 hp->driver_status, hp->sbp, hp->sb_len_wr, in sg_chk_n_print3()
[all …]
/external/sg3_utils/include/
Dsg_io_linux.h145 void sg_print_driver_status(int driver_status);
152 int driver_status, const uint8_t * sense_buffer,
169 int host_status, int driver_status,
181 int sg_err_category(int masked_status, int host_status, int driver_status,
185 int sg_err_category_new(int scsi_status, int host_status, int driver_status,
/external/strace/tests-m32/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/strace/tests-mx32/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/strace/tests/
Dioctl_sg_io_v3.c106 sg_io->driver_status, in main()
149 sg_io->driver_status, in main()
214 sg_io->driver_status, in main()
264 sg_io->driver_status, in main()
313 sg_io->driver_status, in main()
362 sg_io->driver_status, in main()
406 sg_io->driver_status, in main()
Dioctl_sg_io_v4.c121 sg_io->driver_status, in main()
220 sg_io->driver_status, in main()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.h121 extern void sg_print_driver_status(int driver_status);
126 int host_status, int driver_status,
145 int driver_status, const unsigned char * sense_buffer,
149 int driver_status, const unsigned char * sense_buffer,
Dsg_err.c1206 void sg_print_driver_status(int driver_status) in sg_print_driver_status() argument
1210 int dr = driver_status & SG_ERR_DRIVER_MASK; in sg_print_driver_status()
1211 int su = (driver_status & SG_ERR_SUGGEST_MASK) >> 4; in sg_print_driver_status()
1219 fprintf(OUTP, "Driver_status=0x%02x", driver_status); in sg_print_driver_status()
1226 int host_status, int driver_status, in sg_sense_print() argument
1233 if ((0 == scsi_status) && (0 == host_status) && (0 == driver_status)) in sg_sense_print()
1259 if (0 != driver_status) { in sg_sense_print()
1266 sg_print_driver_status(driver_status); in sg_sense_print()
1269 (SG_ERR_DRIVER_SENSE == (0xf & driver_status))) in sg_sense_print()
1279 hp->driver_status, hp->sbp, hp->sb_len_wr); in sg_chk_n_print3()
[all …]
/external/sg3_utils/examples/
Dsg_simple2.c133 if (io_hdr.driver_status) in main()
134 printf("INQUIRY driver_status=0x%x\n", io_hdr.driver_status); in main()
180 else if (io_hdr.driver_status) in main()
182 io_hdr.driver_status); in main()
/external/crosvm/devices/src/virtio/
Dvirtio_mmio_device.rs64 driver_status: u8, field
101 driver_status: 0, in new()
127 self.driver_status == ready_bits && self.driver_status & VIRTIO_CONFIG_S_FAILED as u8 == 0 in is_driver_ready()
132 self.driver_status == DEVICE_RESET as u8 in is_reset_requested()
168 self.driver_status |= VIRTIO_CONFIG_S_NEEDS_RESET as u8; in activate()
221 VIRTIO_MMIO_STATUS => self.driver_status.into(), in read_mmio()
304 VIRTIO_MMIO_STATUS => self.driver_status = val as u8, in write_mmio()
Dvirtio_pci_common_config.rs35 pub driver_status: u8, field
105 0x14 => self.driver_status, in read_common_config_byte()
113 0x14 => self.driver_status = value, in write_common_config_byte()
283 driver_status: 0xaa, in write_base_regs()
/external/kernel-headers/original/scsi/
Dsg.h61 unsigned short driver_status;/* [o] errors from software driver */ member
90 unsigned short driver_status; /* [o] errors from software driver */ member
292 unsigned int driver_status:8; /* [o] driver status+suggestion */ member
/external/musl/include/scsi/
Dsg.h83 unsigned short driver_status; member
124 unsigned driver_status:8; member
/external/sg3_utils/testing/
Dsg_tst_excl.cpp530 pt.driver_status, sense_buffer, pt.response_len)) { in do_rd_inc_wr_twice_v4()
548 pt.driver_status, sense_buffer, in do_rd_inc_wr_twice_v4()
578 pt.driver_status, sense_buffer, pt.response_len)) { in do_rd_inc_wr_twice_v4()
598 pt.driver_status, sense_buffer, in do_rd_inc_wr_twice_v4()
649 pt.driver_status, sense_buffer, pt.response_len)) { in do_rd_inc_wr_twice_v4()
668 pt.driver_status, sense_buffer, in do_rd_inc_wr_twice_v4()
Duapi_sg.h73 unsigned short driver_status;/* [o] errors from software driver */ member
415 unsigned int driver_status:8; /* [o] driver status+suggestion */ member
Dsg_tst_bidi.c379 rio_v4.driver_status, in main()
393 rio_v4.driver_status, in main()
547 rio_v4.driver_status, in main()
561 rio_v4.driver_status, in main()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function1113 TEST_EQUAL( mbedtls_test_driver_aead_hooks.driver_status, forced_status );
1177 TEST_EQUAL( mbedtls_test_driver_aead_hooks.driver_status, forced_status );
1557 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, forced_status );
1592 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, forced_status );
1599 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, forced_status );
1606 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, forced_status );
1644 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, PSA_SUCCESS );
1652 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, forced_status );
1662 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, PSA_SUCCESS );
1701 TEST_EQUAL( mbedtls_test_driver_hash_hooks.driver_status, PSA_SUCCESS );
[all …]

123