Searched refs:buzzer_data (Results 1 – 1 of 1) sorted by relevance
59 static struct ipso_buzzer_data buzzer_data[MAX_INSTANCE_COUNT]; variable159 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()[all …]