Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/sensor/vl53l1x/
Dvl53l1_platform.c24 uint8_t *pdata, uint32_t count) in VL53L1_WriteMulti() argument
34 memcpy(&buffer[2], pdata, count); in VL53L1_WriteMulti()
47 uint8_t *pdata, uint32_t count) in VL53L1_ReadMulti() argument
54 status_int = i2c_write_read_dt(pdev->i2c, (uint8_t *)(&reg), 2, pdata, count); in VL53L1_ReadMulti()
96 VL53L1_Error VL53L1_RdByte(VL53L1_Dev_t *pdev, uint16_t reg, uint8_t *pdata) in VL53L1_RdByte() argument
100 status = VL53L1_ReadMulti(pdev, reg, pdata, 1); in VL53L1_RdByte()
105 VL53L1_Error VL53L1_RdWord(VL53L1_Dev_t *pdev, uint16_t reg, uint16_t *pdata) in VL53L1_RdWord() argument
109 status = VL53L1_ReadMulti(pdev, reg, (uint8_t *)pdata, 2); in VL53L1_RdWord()
110 *pdata = sys_be16_to_cpu(*pdata); in VL53L1_RdWord()
115 VL53L1_Error VL53L1_RdDWord(VL53L1_Dev_t *pdev, uint16_t reg, uint32_t *pdata) in VL53L1_RdDWord() argument
[all …]
Dvl53l1_platform.h31 uint8_t *pdata, uint32_t count);
43 uint8_t *pdata, uint32_t count);
83 VL53L1_Error VL53L1_RdByte(VL53L1_Dev_t *pdev, uint16_t index, uint8_t *pdata);
93 VL53L1_Error VL53L1_RdWord(VL53L1_Dev_t *pdev, uint16_t index, uint16_t *pdata);
103 VL53L1_Error VL53L1_RdDWord(VL53L1_Dev_t *pdev, uint16_t index, uint32_t *pdata);
/Zephyr-Core-3.4.0/samples/sensor/proximity_polling/src/
Dmain.c27 struct sensor_value pdata; in print_prox_data() local
36 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in print_prox_data()
37 printk("Proximity on %s: %d\n", dev->name, pdata.val1); in print_prox_data()
/Zephyr-Core-3.4.0/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-3.4.0/subsys/usb/device/
Dusb_transfer.c301 struct usb_transfer_sync_priv *pdata = priv; in usb_transfer_sync_cb() local
303 pdata->tsize = size; in usb_transfer_sync_cb()
304 k_sem_give(&pdata->sem); in usb_transfer_sync_cb()
309 struct usb_transfer_sync_priv pdata; in usb_transfer_sync() local
312 k_sem_init(&pdata.sem, 0, 1); in usb_transfer_sync()
314 ret = usb_transfer(ep, data, dlen, flags, usb_transfer_sync_cb, &pdata); in usb_transfer_sync()
320 k_sem_take(&pdata.sem, K_FOREVER); in usb_transfer_sync()
322 return pdata.tsize; in usb_transfer_sync()
/Zephyr-Core-3.4.0/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-3.4.0/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.h78 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
90 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
/Zephyr-Core-3.4.0/drivers/flash/
Dflash_sam0.c229 const uint8_t *pdata = data; in flash_sam0_write() local
258 memcpy(&(ctx->buf[start]), &(pdata[pos]), len_copy); in flash_sam0_write()
281 const uint8_t *pdata = data; in flash_sam0_write() local
306 &pdata[idx]); in flash_sam0_write()
/Zephyr-Core-3.4.0/drivers/spi/
Dspi_mcux_dspi.c281 uint8_t *pdata = (uint8_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
283 if (pdata) { in mcux_spi_context_data_update()
287 temp_data = *pdata; in mcux_spi_context_data_update()
288 pdata++; in mcux_spi_context_data_update()
303 uint16_t *pdata = (uint16_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
305 if (pdata) { in mcux_spi_context_data_update()
307 *pcdata |= *pdata; in mcux_spi_context_data_update()
309 pdata++; in mcux_spi_context_data_update()
/Zephyr-Core-3.4.0/drivers/sensor/tmd2620/
Dtmd2620.c125 ret = i2c_reg_read_byte_dt(&config->i2c, TMD2620_PDATA_REG, &data->pdata); in tmd2620_sample_fetch()
160 val->val1 = (256 - data->pdata); in tmd2620_channel_get()
329 data->pdata = 0U; in tmd2620_init()
Dtmd2620.h149 uint8_t pdata; member
/Zephyr-Core-3.4.0/drivers/sensor/apds9960/
Dapds9960.c86 APDS9960_PDATA_REG, &data->pdata)) { in apds9960_sample_fetch()
144 val->val1 = data->pdata; in apds9960_channel_get()
454 data->pdata = 0U; in apds9960_init()
Dapds9960.h229 uint8_t pdata; member
/Zephyr-Core-3.4.0/drivers/bluetooth/hci/
Dipm_stm32wb.c41 static void sysevt_received(void *pdata);
118 static void sysevt_received(void *pdata) in sysevt_received() argument
261 void shci_notify_asynch_evt(void *pdata) in shci_notify_asynch_evt() argument
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/edtt/hci_test_app/src/
Dmain.c553 uint8_t *pdata = net_buf_add(buf, hdr_length); in le_data_write() local
556 edtt_read(pdata, hdr_length, EDTTT_BLOCK); in le_data_write()
670 uint8_t *pdata = net_buf_add(buf, hdr_length); in le_iso_data_write() local
673 edtt_read(pdata, hdr_length, EDTTT_BLOCK); in le_iso_data_write()
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-2.3.rst1081 * :github:`23953` - Question: How is pdata.tsize initialized in zephyr/subsys/usb/usb_transfer.c?