Home
last modified time | relevance | path

Searched refs:pdata (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-2.7.6/samples/sensor/apds9960/src/
Dmain.c30 struct sensor_value intensity, pdata; in main() local
74 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in main()
77 intensity.val1, pdata.val1); in main()
/Zephyr-Core-2.7.6/subsys/usb/
Dusb_transfer.c305 struct usb_transfer_sync_priv *pdata = priv; in usb_transfer_sync_cb() local
307 pdata->tsize = size; in usb_transfer_sync_cb()
308 k_sem_give(&pdata->sem); in usb_transfer_sync_cb()
313 struct usb_transfer_sync_priv pdata; in usb_transfer_sync() local
316 k_sem_init(&pdata.sem, 0, 1); in usb_transfer_sync()
318 ret = usb_transfer(ep, data, dlen, flags, usb_transfer_sync_cb, &pdata); in usb_transfer_sync()
329 ret = k_sem_take(&pdata.sem, K_MSEC(USB_TRANSFER_SYNC_TIMEOUT)); in usb_transfer_sync()
341 return pdata.tsize; in usb_transfer_sync()
/Zephyr-Core-2.7.6/samples/sensor/vcnl4040/src/
Dmain.c22 struct sensor_value pdata; in print_proxy_data() local
24 if (sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata) < 0) { in print_proxy_data()
29 printf("Proximity: %d\n", (uint16_t) pdata.val1); in print_proxy_data()
/Zephyr-Core-2.7.6/drivers/sensor/vl53l0x/
Dvl53l0x_platform.c22 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, in VL53L0X_WriteMulti() argument
31 memcpy(&I2CBuffer[1], pdata, count); in VL53L0X_WriteMulti()
43 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, in VL53L0X_ReadMulti() argument
49 status_int = i2c_burst_read(Dev->i2c, Dev->I2cDevAddr, index, pdata, in VL53L0X_ReadMulti()
Dvl53l0x_platform.h80 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
92 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
/Zephyr-Core-2.7.6/drivers/flash/
Dflash_sam0.c230 const uint8_t *pdata = data; in flash_sam0_write() local
256 ctx->buf[addr % ROW_SIZE] = *pdata++; in flash_sam0_write()
278 const uint8_t *pdata = data; in flash_sam0_write() local
303 &pdata[idx]); in flash_sam0_write()
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_mcux_dspi.c278 uint8_t *pdata = (uint8_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
280 if (pdata) { in mcux_spi_context_data_update()
284 temp_data = *pdata; in mcux_spi_context_data_update()
285 pdata++; in mcux_spi_context_data_update()
300 uint16_t *pdata = (uint16_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
302 if (pdata) { in mcux_spi_context_data_update()
304 *pcdata |= *pdata; in mcux_spi_context_data_update()
306 pdata++; in mcux_spi_context_data_update()
/Zephyr-Core-2.7.6/drivers/sensor/apds9960/
Dapds9960.c85 APDS9960_PDATA_REG, &data->pdata)) { in apds9960_sample_fetch()
143 val->val1 = data->pdata; in apds9960_channel_get()
463 data->pdata = 0U; in apds9960_init()
Dapds9960.h234 uint8_t pdata; member
/Zephyr-Core-2.7.6/drivers/bluetooth/hci/
Dipm_stm32wb.c37 static void sysevt_received(void *pdata);
109 static void sysevt_received(void *pdata) in sysevt_received() argument
233 void shci_notify_asynch_evt(void *pdata) in shci_notify_asynch_evt() argument
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app/src/
Dmain.c495 uint8_t *pdata = net_buf_add(buf, hdr_length); in le_data_write() local
498 edtt_read(pdata, hdr_length, EDTTT_BLOCK); in le_data_write()
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-2.3.rst1081 * :github:`23953` - Question: How is pdata.tsize initialized in zephyr/subsys/usb/usb_transfer.c?