Lines Matching refs:buzzer_data
59 static struct ipso_buzzer_data buzzer_data[MAX_INSTANCE_COUNT]; variable
159 if (!buzzer_data[i].onoff && buzzer_data[i].active) { in onoff_post_write_cb()
160 return stop_buzzer(&buzzer_data[i], true); in onoff_post_write_cb()
161 } else if (buzzer_data[i].onoff && !buzzer_data[i].active) { in onoff_post_write_cb()
162 return start_buzzer(&buzzer_data[i]); in onoff_post_write_cb()
202 (void)memset(&buzzer_data[avail], 0, sizeof(buzzer_data[avail])); in buzzer_create()
203 k_work_init_delayable(&buzzer_data[avail].buzzer_work, buzzer_work_cb); in buzzer_create()
204 buzzer_data[avail].level = 50; /* 50% */ in buzzer_create()
205 buzzer_data[avail].delay_duration = 1; /* 1 seconds */ in buzzer_create()
206 buzzer_data[avail].obj_inst_id = obj_inst_id; in buzzer_create()
214 true, &buzzer_data[avail].onoff, in buzzer_create()
215 sizeof(buzzer_data[avail].onoff), in buzzer_create()
218 &buzzer_data[avail].level, in buzzer_create()
219 sizeof(buzzer_data[avail].level)); in buzzer_create()
221 &buzzer_data[avail].delay_duration, in buzzer_create()
222 sizeof(buzzer_data[avail].delay_duration)); in buzzer_create()
224 j, &buzzer_data[avail].min_off_time, in buzzer_create()
225 sizeof(buzzer_data[avail].min_off_time)); in buzzer_create()
229 res_inst[avail], j, &buzzer_data[avail].active, in buzzer_create()
230 sizeof(buzzer_data[avail].active)); in buzzer_create()