Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/st/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-latest/include/zephyr/drivers/firmware/scmi/
Dutil.h128 #define DT_SCMI_TRANSPORT_CHAN_DEFINE(node_id, idx, proto, pdata) \ argument
131 .data = pdata, \
149 #define DT_SCMI_PROTOCOL_DATA_DEFINE(node_id, proto, pdata) \ argument
154 .data = pdata, \
161 #define DT_SCMI_PROTOCOL_DATA_DEFINE(node_id, proto, pdata) \ argument
165 .data = pdata, \
/Zephyr-latest/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-latest/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-latest/subsys/usb/device/
Dusb_transfer.c308 struct usb_transfer_sync_priv *pdata = priv; in usb_transfer_sync_cb() local
310 pdata->tsize = size; in usb_transfer_sync_cb()
311 k_sem_give(&pdata->sem); in usb_transfer_sync_cb()
316 struct usb_transfer_sync_priv pdata; in usb_transfer_sync() local
319 k_sem_init(&pdata.sem, 0, 1); in usb_transfer_sync()
321 ret = usb_transfer(ep, data, dlen, flags, usb_transfer_sync_cb, &pdata); in usb_transfer_sync()
327 k_sem_take(&pdata.sem, K_FOREVER); in usb_transfer_sync()
329 return pdata.tsize; in usb_transfer_sync()
/Zephyr-latest/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-latest/drivers/sensor/st/vl53l0x/
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,
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()
/Zephyr-latest/drivers/flash/
Dflash_sam0.c240 const uint8_t *pdata = data; in flash_sam0_write() local
269 memcpy(&(ctx->buf[start]), &(pdata[pos]), len_copy); in flash_sam0_write()
292 const uint8_t *pdata = data; in flash_sam0_write() local
319 err = flash_sam0_write_page(dev, offset, pdata, write_len); in flash_sam0_write()
325 pdata += write_len; in flash_sam0_write()
/Zephyr-latest/drivers/mdio/
Dmdio_gpio.c47 static ALWAYS_INLINE void mdio_gpio_read(const struct mdio_gpio_config *dev_cfg, uint16_t *pdata) in mdio_gpio_read() argument
59 *pdata = data; in mdio_gpio_read()
Dmdio_litex_liteeth.c38 static void mdio_litex_read(const struct mdio_litex_config *dev_cfg, uint16_t *pdata) in mdio_litex_read() argument
55 *pdata = data; in mdio_litex_read()
/Zephyr-latest/drivers/spi/
Dspi_mcux_dspi.c282 uint8_t *pdata = (uint8_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
284 if (pdata) { in mcux_spi_context_data_update()
288 temp_data = *pdata; in mcux_spi_context_data_update()
289 pdata++; in mcux_spi_context_data_update()
304 uint16_t *pdata = (uint16_t *)ctx->tx_buf; in mcux_spi_context_data_update() local
306 if (pdata) { in mcux_spi_context_data_update()
308 *pcdata |= *pdata; in mcux_spi_context_data_update()
310 pdata++; in mcux_spi_context_data_update()
/Zephyr-latest/drivers/sensor/ams/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-latest/drivers/sensor/apds9253/
Dapds9253.h102 uint8_t pdata; member
Dapds9253.c237 .pdata = 0U, \
/Zephyr-latest/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-latest/drivers/bluetooth/hci/
Dipm_stm32wb.c45 static void sysevt_received(void *pdata);
117 static void sysevt_received(void *pdata) in sysevt_received() argument
266 void shci_notify_asynch_evt(void *pdata) in shci_notify_asynch_evt() argument
/Zephyr-latest/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-latest/doc/releases/
Drelease-notes-2.3.rst1081 * :github:`23953` - Question: How is pdata.tsize initialized in zephyr/subsys/usb/usb_transfer.c?