Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/test/unittest/platform/common/
Dspi_driver_test.c19 static struct SpiTestConfig g_config; variable
35 HDF_LOGD("SpiTestDispatch: sizeof(g_config): %d, len: %d", sizeof(g_config), g_config.len); in SpiTestDispatch()
36 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in SpiTestDispatch()
40 if (!HdfSbufWriteBuffer(reply, g_config.wbuf, g_config.len)) { in SpiTestDispatch()
83 ret = face->GetUint8Array(node, "wbuf", g_config.wbuf, config->len, 0); in SpiTestInitFromHcs()
109 ret = SpiTestInitFromHcs(&g_config, device->property); in SpiTestBind()
133 OsalMemFree(g_config.wbuf); in SpiTestRelease()
134 g_config.wbuf = NULL; in SpiTestRelease()
Duart_driver_test.c16 static struct UartTestConfig g_config; variable
27 if (!HdfSbufWriteUint32(reply, g_config.port)) { in UartTestDispatch()
31 if (!HdfSbufWriteUint32(reply, g_config.len)) { in UartTestDispatch()
35 if (!HdfSbufWriteBuffer(reply, g_config.wbuf, g_config.len)) { in UartTestDispatch()
103 ret = UartTestReadConfig(&g_config, device->property); in UartTestBind()
126 OsalMemFree(g_config.wbuf); in UartTestRelease()
127 g_config.wbuf = NULL; in UartTestRelease()
Dwatchdog_driver_test.c17 static struct WatchdogTestConfig g_config; variable
29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in WatchdogTestDispatch()
84 ret = WatchdogTestReadConfig(&g_config, device->property); in WatchdogTestBind()
Ddac_driver_test.c17 static struct DacTestConfig g_config; variable
30 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in DacTestDispatch()
96 ret = DacTestReadConfig(&g_config, device->property); in DacTestBind()
Dadc_driver_test.c17 static struct AdcTestConfig g_config; variable
29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in AdcTestDispatch()
95 ret = AdcTestReadConfig(&g_config, device->property); in AdcTestBind()
Di3c_driver_test.c17 static struct I3cTestConfig g_config; variable
30 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in I3cTestDispatch()
95 ret = I3cTestReadConfig(&g_config, device->property); in I3cTestBind()
Dtimer_driver_test.c17 static struct TimerTestConfig g_config; variable
28 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in TimerTestDispatch()
88 ret = TimerTestReadConfig(&g_config, device->property); in TimerTestBind()
Di2c_driver_test.c15 static struct I2cTestConfig g_config; variable
28 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in I2cTestDispatch()
94 ret = I2cTestReadConfig(&g_config, device->property); in I2cTestBind()
Dpin_driver_test.c19 static struct PinTestConfig g_config; variable
30 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in PinTestDispatch()
96 ret = PinTestReadConfig(&g_config, device->property); in PinTestBind()
Dpwm_driver_test.c17 static struct PwmTestConfig g_config; variable
28 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in PwmTestDispatch()
102 ret = PwmTestReadConfig(&g_config, device->property); in PwmTestBind()
Dpcie_driver_test.c17 static struct PcieTestConfig g_config; variable
29 if (!HdfSbufWriteUint32(reply, g_config.busNum)) { in PcieTestDispatch()
52 ret = drsOps->GetUint32(node, "busNum", &(g_config.busNum), 0); in PcieTestReadConfig()
Dgpio_driver_test.c16 static struct GpioTestConfig g_config; variable
29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in GpioTestDispatch()
131 ret = GpioTestReadConfig(&g_config, device->property); in GpioTestBind()
Drtc_driver_test.c20 static struct RtcTestConfig g_config; variable
31 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in RtcTestDispatch()
131 ret = RtcTestReadConfig(&g_config, device->property); in RtcTestBind()
/drivers/hdf_core/framework/test/unittest/platform/config/
Dcan_test_config.c15 static struct CanTestConfig g_config; variable
32 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in CanTestDispatch()
88 CanTestSetDftConfig(&g_config); in CanTestBind()
90 ret = CanTestReadConfig(&g_config, device->property); in CanTestBind()