/Zephyr-latest/drivers/sensor/st/vl53l1x/ |
D | vl53l1_platform.c | 24 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 *)(®), 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 …]
|
D | vl53l1_platform.h | 31 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/ |
D | util.h | 128 #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/ |
D | main.c | 27 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/ |
D | main.c | 30 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/ |
D | usb_transfer.c | 308 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/ |
D | main.c | 22 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/ |
D | vl53l0x_platform.h | 78 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,
|
D | vl53l0x_platform.c | 22 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/ |
D | flash_sam0.c | 240 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/ |
D | mdio_gpio.c | 47 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()
|
D | mdio_litex_liteeth.c | 38 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/ |
D | spi_mcux_dspi.c | 282 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/ |
D | tmd2620.c | 125 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()
|
D | tmd2620.h | 149 uint8_t pdata; member
|
/Zephyr-latest/drivers/sensor/apds9253/ |
D | apds9253.h | 102 uint8_t pdata; member
|
D | apds9253.c | 237 .pdata = 0U, \
|
/Zephyr-latest/drivers/sensor/apds9960/ |
D | apds9960.c | 86 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()
|
D | apds9960.h | 229 uint8_t pdata; member
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | ipm_stm32wb.c | 45 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/ |
D | main.c | 553 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/ |
D | release-notes-2.3.rst | 1081 * :github:`23953` - Question: How is pdata.tsize initialized in zephyr/subsys/usb/usb_transfer.c?
|