Home
last modified time | relevance | path

Searched refs:eft (Results 1 – 6 of 6) sorted by relevance

/drivers/rtc/
Drtc-efi.c27 compute_yday(efi_time_t *eft) in compute_yday() argument
30 return rtc_year_days(eft->day, eft->month - 1, eft->year); in compute_yday()
37 compute_wday(efi_time_t *eft, int yday) in compute_wday() argument
39 int ndays = eft->year * (365 % 7) in compute_wday()
40 + (eft->year - 1) / 4 in compute_wday()
41 - (eft->year - 1) / 100 in compute_wday()
42 + (eft->year - 1) / 400 in compute_wday()
53 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) in convert_to_efi_time() argument
55 eft->year = wtime->tm_year + 1900; in convert_to_efi_time()
56 eft->month = wtime->tm_mon + 1; in convert_to_efi_time()
[all …]
/drivers/scsi/qla2xxx/
Dqla_tmpl.c466 if (vha->hw->eft) { in qla27xx_fwdt_entry_t268()
471 qla27xx_insertbuf(vha->hw->eft, EFT_SIZE, buf, len); in qla27xx_fwdt_entry_t268()
Dqla_init.c3292 if (ha->eft) { in qla2x00_init_eft_trace()
3321 ha->eft = tc; in qla2x00_init_eft_trace()
3389 if (ha->eft) in qla2x00_alloc_fw_dump()
7118 if (ha->eft) { in qla2x00_abort_isp()
7119 memset(ha->eft, 0, EFT_SIZE); in qla2x00_abort_isp()
8911 if (ha->eft) { in qla82xx_restart_isp()
8912 memset(ha->eft, 0, EFT_SIZE); in qla82xx_restart_isp()
Dqla_dbg.c475 if (!ha->eft) in qla24xx_copy_eft()
478 memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); in qla24xx_copy_eft()
Dqla_os.c3568 if (ha->eft) in qla2x00_shutdown()
4623 if (ha->eft) in qla2x00_free_fw_dump()
4625 EFT_SIZE, ha->eft, ha->eft_dma); in qla2x00_free_fw_dump()
4633 ha->eft = NULL; in qla2x00_free_fw_dump()
Dqla_def.h4383 void *eft; member