Home
last modified time | relevance | path

Searched refs:payload (Results 1 - 23 of 23) sorted by relevance

/drivers/liteos/hievent/src/
H A Dhiview_hievent.c88 struct HiviewHieventPayload *payload);
92 struct HiviewHieventPayload *payload = NULL; in HiviewHieventPayloadCreate() local
94 payload = LOS_MemAlloc((VOID *)OS_SYS_MEM_ADDR, in HiviewHieventPayloadCreate()
96 if (!payload) { in HiviewHieventPayloadCreate()
100 payload->key = NULL; in HiviewHieventPayloadCreate()
101 payload->value = NULL; in HiviewHieventPayloadCreate()
102 payload->next = NULL; in HiviewHieventPayloadCreate()
104 return payload; in HiviewHieventPayloadCreate()
139 struct HiviewHieventPayload *payload) in HiviewHieventAddPayload()
142 obj->head = payload; in HiviewHieventAddPayload()
138 HiviewHieventAddPayload(struct HiviewHievent *obj, struct HiviewHieventPayload *payload) HiviewHieventAddPayload() argument
174 struct HiviewHieventPayload *payload = NULL; HiviewHieventPutIntegral() local
212 struct HiviewHieventPayload *payload = NULL; HiviewHieventPutString() local
[all...]
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
H A Dmipi_drm_adapter.c121 ret = mipi_dsi_generic_write(linuxPanel, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
122 HDF_LOGD("MipiDsiAdapterSetCmd: [mipi_dsi_generic_write] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
123 cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
131 ret = mipi_dsi_dcs_write_buffer(linuxPanel, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
132 HDF_LOGD("MipiDsiAdapterSetCmd: [mipi_dsi_dcs_write_buffer] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
133 cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
140 cmd->payload = NULL; in MipiDsiAdapterSetCmd()
142 ret = mipi_dsi_dcs_write(linuxPanel, cmd->dataType, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
175 if (cmd->payload != NULL) { in MipiDsiAdapterGetCmd()
176 params = cmd->payload; in MipiDsiAdapterGetCmd()
[all...]
H A Dmipi_tx_hi35xx.c1188 cmdInfo.cmd = cmd->payload; in Hi35xxSetCmd()
1190 uint16_t tmp = cmd->payload[1]; /* 3: payload */ in Hi35xxSetCmd()
1191 tmp = (tmp & 0x00ff) << 8; /* 0x00ff , 8: payload to high */ in Hi35xxSetCmd()
1193 tmp = tmp | cmd->payload[0]; /* 2: reg addr */ in Hi35xxSetCmd()
1198 cmdInfo.cmdSize = cmd->payload[0]; /* 2: reg addr */ in Hi35xxSetCmd()
1257 cmdInfo.dataParam = cmd->payload[0]; in Hi35xxGetCmd()
H A Dmipi_tx_dev.c374 arg->payload, arg->dataLen)) { in MipiDsiDevSetCmd()
375 HDF_LOGE("MipiDsiDevSetCmd: payload is illegal user space address!"); in MipiDsiDevSetCmd()
/drivers/peripheral/input/hal/src/
H A Dinput_controller.c214 if (pos->payload.devIndex != devIndex) { in SetPowerStatus()
245 if (pos->payload.devIndex != devIndex) { in GetPowerStatus()
281 if (pos->payload.devIndex != devIndex) { in GetDeviceType()
294 pos->payload.devType = *deviceType; in GetDeviceType()
319 if (pos->payload.devIndex != devIndex) { in GetDevStringInfo()
324 tempInfo = pos->payload.chipName; in GetDevStringInfo()
327 tempInfo = pos->payload.chipInfo; in GetDevStringInfo()
330 tempInfo = pos->payload.vendorName; in GetDevStringInfo()
389 if (pos->payload.devIndex != devIndex) { in SetGestureMode()
424 if (pos->payload in RunCapacitanceTest()
[all...]
H A Dinput_manager.c71 if (pos->payload.devIndex != devIndex) { in GetInputDevice()
74 *devInfo = &pos->payload; in GetInputDevice()
109 *tempList = &pos->payload; in GetInputDeviceList()
128 if (pos->payload.devIndex != devIndex) { in CloseInputDevice()
157 device->payload.devIndex = index; in AddService()
180 if (pos->payload.devIndex == devIndex) { in CheckIndex()
H A Dinput_reporter.c78 pos->eventCb->EventPkgCallback((const InputEventPackage **)pkgs, count, pos->payload.devIndex); in EventListenerCallback()
111 if (pos->payload.devIndex != devIndex) { in RegisterReportCallback()
153 if (pos->payload.devIndex != devIndex) { in UnregisterReportCallback()
/drivers/hdf_core/adapter/platform/mipi_dsi/
H A Dmipi_drm_imx8mm.c93 if (cmd->payload == NULL) { in MipiDsiAdapterSetCmd()
94 HDF_LOGE("%s: payload is NULL!", __func__); in MipiDsiAdapterSetCmd()
102 ret = mipi_dsi_generic_write(linuxPanel, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
110 ret = mipi_dsi_dcs_write_buffer(linuxPanel, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
111 HDF_LOGE("%s: [mipi_dsi_dcs_write_buffer] dataType = 0x%x, payload = 0x%x, dataLen = 0x%x", in MipiDsiAdapterSetCmd()
112 __func__, cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
119 cmd->payload = NULL; in MipiDsiAdapterSetCmd()
121 ret = mipi_dsi_dcs_write(linuxPanel, cmd->dataType, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
/drivers/hdf_core/framework/support/platform/src/i3c/
H A Di3c_if.c66 int32_t I3cRequestIbi(DevHandle handle, uint16_t addr, I3cIbiFunc func, uint32_t payload) in I3cRequestIbi() argument
68 return I3cCntlrRequestIbi((struct I3cCntlr *)handle, addr, func, payload); in I3cRequestIbi()
H A Di3c_core.c579 int32_t I3cCntlrRequestIbi(struct I3cCntlr *cntlr, uint16_t addr, I3cIbiFunc func, uint32_t payload) in I3cCntlrRequestIbi() argument
618 ibi->payload = payload; in I3cCntlrRequestIbi()
619 ibi->data = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * payload); in I3cCntlrRequestIbi()
684 ibiData->payload = device->ibi->payload; in I3cCntlrIbiCallback()
/drivers/hdf_core/framework/include/platform/
H A Di3c_if.h171 * @attention The data of IBI can be obtained by payload and buf in the IBI function when generate an IBI.
176 /** payload data length. Indicates the length of IBI payload data. It is automatically generated when an
179 uint32_t payload; member
180 /** data buffer. The pointer of payload data. */
265 * @param payload Indicates the length of payload data, in bytes.
271 int32_t I3cRequestIbi(DevHandle handle, uint16_t addr, I3cIbiFunc func, uint32_t payload);
H A Dmipi_dsi_if.h191 uint8_t *payload; member
/drivers/hdf_core/framework/support/platform/include/i3c/
H A Di3c_core.h92 uint32_t payload; member
268 * @param payload Indicates the length of payload data, in bytes.
273 int32_t I3cCntlrRequestIbi(struct I3cCntlr *cntlr, uint16_t addr, I3cIbiFunc func, uint32_t payload);
/drivers/peripheral/input/hal/include/
H A Dinput_common.h52 InputDeviceInfo payload; /* Device information payload */ member
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dmipi_dsi_test.c21 test->msgs.payload = &buf; in MipiDsiTestMallocBuf()
104 .payload = &data, in MipiDsiTxRxTest()
/drivers/hdf_core/framework/model/display/driver/lcdkit/
H A Dlcdkit_parse_config.c43 OsalMemFree(dsiCmd[i]->payload); in FreeDsiPayload()
65 tmpCmd->payload = (uint8_t *)OsalMemCalloc(tmpCmd->dataLen * sizeof(uint8_t)); in ParseDsiCmd()
66 if (tmpCmd->payload == NULL) { in ParseDsiCmd()
76 ret = memcpy_s(tmpCmd->payload, tmpCmd->dataLen, &tmpArray[DSI_CMD_HEAD], DSI_CMD_HEAD); in ParseDsiCmd()
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnetbuf_adapter.c641 hdr = (struct eth_hdr *)p->payload; in NetBuf2Pbuf()
677 if (tmp->len == 0 || tmp->payload == NULL) { in Pbuf2NetBuf()
688 if (memcpy_s(nb->mem + offset, tmp->len, tmp->payload, tmp->len) != EOK) { in Pbuf2NetBuf()
/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnetbuf_adapter.c640 hdr = (struct eth_hdr *)p->payload; in NetBuf2Pbuf()
677 if (tmp->len == 0 || tmp->payload == NULL) { in Pbuf2NetBuf()
688 if (memcpy_s(nb->mem + offset, tmp->len, tmp->payload, tmp->len) != EOK) { in Pbuf2NetBuf()
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
H A Dservice_manager_hdi_test.cpp132 payload = data.ReadInt32();
137 static int32_t payload; member in OHOS::IPCObjectStubTest
140 int32_t IPCObjectStubTest::payload = 0; member in OHOS::IPCObjectStubTest
153 int32_t payload = PAYLOAD_NUM; in HWTEST_F() local
156 data.WriteInt32(payload); in HWTEST_F()
162 ASSERT_EQ(IPCObjectStubTest::payload, payload); in HWTEST_F()
H A Dservice_manager_hdi_c_test.cpp147 int32_t payload = PAYLOAD_NUM; in HWTEST_F() local
148 HdfSbufWriteInt32(data, payload); in HWTEST_F()
153 ASSERT_EQ(g_callbackPayload, payload); in HWTEST_F()
/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Di3c_virtual.c249 if (device->ibi->payload > VIRTUAL_I3C_TEST_STR_LEN) { in I3cIbiHandle()
/drivers/hdf_core/framework/model/display/driver/panel/
H A Dili9881c_boe.c15 /* panel on command payload */
404 /* panel off command payload */
426 mipi_dsi_generic_write(dsi, cmds[i].payload, cmds[i].dataLen); in Ili9881cBoeSendCmds()
H A Dili9881_st_5p5.c15 /* panel on command payload */
400 /* panel off command payload */
462 mipi_dsi_dcs_write_buffer(dsi, cmds[i].payload, cmds[i].dataLen); in PanelSendCmds()

Completed in 18 milliseconds