Searched refs:cur_drv (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/block/ |
H A D | fdc.c | 1170 FDrive *cur_drv = get_drv(fdctrl, fdctrl->cur_drv); in get_cur_drv() local 1387 cur_drv->head, cur_drv->track, cur_drv->sect, in fdctrl_seek_to_next_sect() 1626 cur_drv->track, cur_drv->sect, fd_sector(cur_drv), in fdctrl_transfer_handler() 1828 if (cur_drv->sect == cur_drv->last_sect) { in fdctrl_format_sector() 2050 fd_seek(cur_drv, cur_drv->head, fdctrl->fifo[2], cur_drv->sect, 1); in fdctrl_handle_seek() 2118 if (fdctrl->fifo[2] + cur_drv->track >= cur_drv->max_track) { in fdctrl_handle_relative_seek_in() 2119 fd_seek(cur_drv, cur_drv->head, cur_drv->max_track - 1, in fdctrl_handle_relative_seek_in() 2122 fd_seek(cur_drv, cur_drv->head, in fdctrl_handle_relative_seek_in() 2138 fd_seek(cur_drv, cur_drv->head, 0, cur_drv->sect, 1); in fdctrl_handle_relative_seek_out() 2140 fd_seek(cur_drv, cur_drv->head, in fdctrl_handle_relative_seek_out() [all …]
|
H A D | fdc-internal.h | 109 uint8_t cur_drv; member
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k8.c | 1154 const char *cur_drv; in __request_acpi_cpufreq() local 1156 cur_drv = cpufreq_get_current_driver(); in __request_acpi_cpufreq() 1157 if (!cur_drv) in __request_acpi_cpufreq() 1160 if (strncmp(cur_drv, drv, min_t(size_t, strlen(cur_drv), strlen(drv)))) in __request_acpi_cpufreq() 1161 pr_warn("WTF driver: %s\n", cur_drv); in __request_acpi_cpufreq()
|