Home
last modified time | relevance | path

Searched refs:ald (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/rtc/
Drtc-rx8025.c329 u8 ald[2]; in rx8025_read_alarm() local
332 err = rx8025_read_regs(client, RX8025_REG_ALDMIN, 2, ald); in rx8025_read_alarm()
341 __func__, ald[0], ald[1], ctrl2); in rx8025_read_alarm()
345 t->time.tm_min = bcd2bin(ald[0] & 0x7f); in rx8025_read_alarm()
347 t->time.tm_hour = bcd2bin(ald[1] & 0x3f); in rx8025_read_alarm()
349 t->time.tm_hour = bcd2bin(ald[1] & 0x1f) % 12 in rx8025_read_alarm()
350 + (ald[1] & 0x20 ? 12 : 0); in rx8025_read_alarm()
363 u8 ald[2]; in rx8025_set_alarm() local
366 ald[0] = bin2bcd(t->time.tm_min); in rx8025_set_alarm()
368 ald[1] = bin2bcd(t->time.tm_hour); in rx8025_set_alarm()
[all …]
Drtc-ds1307.c588 u8 ald[3], ctl[3]; in rx8130_read_alarm() local
592 ret = regmap_bulk_read(ds1307->regmap, RX8130_REG_ALARM_MIN, ald, in rx8130_read_alarm()
593 sizeof(ald)); in rx8130_read_alarm()
608 t->time.tm_min = bcd2bin(ald[0] & 0x7f); in rx8130_read_alarm()
609 t->time.tm_hour = bcd2bin(ald[1] & 0x7f); in rx8130_read_alarm()
611 t->time.tm_mday = bcd2bin(ald[2] & 0x7f); in rx8130_read_alarm()
627 u8 ald[3], ctl[3]; in rx8130_set_alarm() local
652 ald[0] = bin2bcd(t->time.tm_min); in rx8130_set_alarm()
653 ald[1] = bin2bcd(t->time.tm_hour); in rx8130_set_alarm()
654 ald[2] = bin2bcd(t->time.tm_mday); in rx8130_set_alarm()
[all …]
/linux-6.1.9/arch/s390/kvm/
Dgaccess.c226 union ald { union
260 unsigned long ald : 32; member
387 union ald ald; in ar_translation() local
414 rc = read_guest_real(vcpu, ald_addr + 16, &ald.val, sizeof(union ald)); in ar_translation()
418 if (alet.alen / 8 > ald.all) in ar_translation()
421 if (0x7fffffff - ald.alo * 128 < alet.alen * 16) in ar_translation()
424 rc = read_guest_real(vcpu, ald.alo * 128 + alet.alen * 16, &ale, in ar_translation()
/linux-6.1.9/net/ncsi/
Dncsi-pkt.h62 unsigned char ald; /* Allow link down */ member
Dncsi-cmd.c92 cmd->ald = nca->bytes[0]; in ncsi_cmd_handler_dc()