Lines Matching refs:alm_weekday

177 	alm_regs->alm_weekday.weekday = time_buffer->tm_wday;  in encode_alarm()
354 read_register(dev, alarm_reg_address, (uint8_t *)&alm_regs->alm_weekday); in mcp7940n_handle_interrupt()
356 if (alm_regs->alm_weekday.alm_if) { in mcp7940n_handle_interrupt()
358 alm_regs->alm_weekday.alm_if = 0; in mcp7940n_handle_interrupt()
360 *((uint8_t *)(&alm_regs->alm_weekday))); in mcp7940n_handle_interrupt()
535 alm_regs->alm_weekday.alm_msk = MCP7940N_ALARM_TRIGGER_ALL; in mcp7940n_counter_set_alarm()
612 (uint8_t *)&data->alm0_registers.alm_weekday); in mcp7940n_counter_get_pending_int()
617 if (data->alm0_registers.alm_weekday.alm_if) { in mcp7940n_counter_get_pending_int()
619 data->alm0_registers.alm_weekday.alm_if = 0; in mcp7940n_counter_get_pending_int()
621 *((uint8_t *)(&data->alm0_registers.alm_weekday))); in mcp7940n_counter_get_pending_int()
630 (uint8_t *)&data->alm1_registers.alm_weekday); in mcp7940n_counter_get_pending_int()
635 if (data->alm1_registers.alm_weekday.alm_if) { in mcp7940n_counter_get_pending_int()
637 data->alm1_registers.alm_weekday.alm_if = 0; in mcp7940n_counter_get_pending_int()
639 *((uint8_t *)(&data->alm1_registers.alm_weekday))); in mcp7940n_counter_get_pending_int()
723 data->alm0_registers.alm_weekday.alm_pol = data->int_active_high; in mcp7940n_init()
724 data->alm1_registers.alm_weekday.alm_pol = data->int_active_high; in mcp7940n_init()
726 *((uint8_t *)(&data->alm0_registers.alm_weekday))); in mcp7940n_init()
728 *((uint8_t *)(&data->alm1_registers.alm_weekday))); in mcp7940n_init()