Searched refs:ddp (Results 1 – 1 of 1) sorted by relevance
87 struct divider_data *ddp = ÷r_data; in divider_setup() local88 struct adc_sequence *asp = &ddp->adc_seq; in divider_setup()89 struct adc_channel_cfg *accp = &ddp->adc_cfg; in divider_setup()92 if (!device_is_ready(ddp->adc)) { in divider_setup()93 LOG_ERR("ADC device is not ready %s", ddp->adc->name); in divider_setup()112 .buffer = &ddp->raw, in divider_setup()113 .buffer_size = sizeof(ddp->raw), in divider_setup()137 rc = adc_channel_setup(ddp->adc, accp); in divider_setup()176 struct divider_data *ddp = ÷r_data; in battery_sample() local178 struct adc_sequence *sp = &ddp->adc_seq; in battery_sample()[all …]