Searched refs:bus_on (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/pci/hotplug/
H A Dibmphp_core.c89 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); get_cur_bus_info()
91 slot_cur->bus_on->current_bus_mode = get_cur_bus_info()
94 slot_cur->bus_on->current_bus_mode = 0xFF; get_cur_bus_info()
98 slot_cur->bus_on->current_speed, get_cur_bus_info()
99 slot_cur->bus_on->current_bus_mode); get_cur_bus_info()
521 if (slot_cur->bus_on->current_speed == 0xFF) init_ops()
632 bus_speed = slot_cur->bus_on->current_speed; ibmphp_update_slot_info()
633 mode = slot_cur->bus_on->current_bus_mode; ibmphp_update_slot_info()
834 u8 i = slot_cur->bus_on->slot_min; is_bus_empty()
836 while (i <= slot_cur->bus_on->slot_max) { is_bus_empty()
965 for (i = slot_cur->bus_on->slot_min; i <= slot_cur->bus_on->slot_max; i++) { check_limitations()
974 switch (slot_cur->bus_on->current_speed) { check_limitations()
976 limitation = slot_cur->bus_on->slots_at_33_conv; check_limitations()
979 if (slot_cur->bus_on->current_bus_mode == BUS_MODE_PCIX) check_limitations()
980 limitation = slot_cur->bus_on->slots_at_66_pcix; check_limitations()
982 limitation = slot_cur->bus_on->slots_at_66_conv; check_limitations()
985 limitation = slot_cur->bus_on->slots_at_100_pcix; check_limitations()
988 limitation = slot_cur->bus_on->slots_at_133_pcix; check_limitations()
1045 slot_cur->bus_on->current_speed); enable_slot()
1088 slot_cur->bus_on->current_speed); enable_slot()
H A Dibmphp_ebda.c706 if (slot->bus_on->supported_bus_mode fillslotinfo()
707 && (slot->bus_on->supported_speed == BUS_SPEED_66)) fillslotinfo()
710 hotplug_slot->info->max_bus_speed_status = slot->bus_on->supported_speed; fillslotinfo()
727 slot->bus_on = NULL; release_slot()
949 tmp_slot->bus_on = bus_info_ptr1; ebda_rsrc_controller()
H A Dibmphp.h720 struct bus_info *bus_on; member in struct:slot
/linux-4.4.14/drivers/scsi/
H A Daha1542.c38 static int bus_on[MAXBOARDS] = { -1, -1, -1, -1 }; /* power-on default: 11us */ variable
39 module_param_array(bus_on, int, NULL, 0);
40 MODULE_PARM_DESC(bus_on, "bus on time [us] (2-15, default=-1 [HW default: 11])");
665 static void aha1542_set_bus_times(struct Scsi_Host *sh, int bus_on, int bus_off, int dma_speed) aha1542_set_bus_times() argument
667 if (bus_on > 0) { aha1542_set_bus_times()
668 u8 oncmd[] = { CMD_BUSON_TIME, clamp(bus_on, 2, 15) }; aha1542_set_bus_times()
725 aha1542_set_bus_times(sh, bus_on[indx], bus_off[indx], dma_speed[indx]); aha1542_hw_init()
H A Dwd7000.c250 int bus_on; /* This adapter's BUS_ON time */ member in struct:adapter
302 short bus_on; /* Time that WD7000 spends on the AT-bus when */ member in struct:__anon10219
381 unchar bus_on; /* Bus on time, x 125ns (see below) */ member in struct:initCmd
681 configs[wd7000_card_num].bus_on = BUS_ON; wd7000_setup()
683 configs[wd7000_card_num].bus_on = ints[4] / 125; wd7000_setup()
685 configs[wd7000_card_num].bus_on = BUS_ON; wd7000_setup()
717 "BUS_ON=%dns, BUS_OFF=%dns\n", configs[wd7000_card_num].irq, configs[wd7000_card_num].dma, configs[wd7000_card_num].iobase, configs[wd7000_card_num].bus_on * 125, configs[wd7000_card_num].bus_off * 125); wd7000_setup()
1183 host->bus_on, wd7000_adapter_reset()
1325 seq_printf(m, " BUS_ON time: %d nanoseconds\n", adapter->bus_on * 125); wd7000_show_info()
1489 host->bus_on = configs[pass].bus_on; wd7000_detect()
1517 printk(" BUS_ON time: %dns, BUS_OFF time: %dns\n", host->bus_on * 125, host->bus_off * 125); wd7000_detect()
/linux-4.4.14/drivers/mmc/host/
H A Dsdhci.c2777 if (host->bus_on) sdhci_runtime_pm_bus_on()
2779 host->bus_on = true; sdhci_runtime_pm_bus_on()
2785 if (!host->bus_on) sdhci_runtime_pm_bus_off()
2787 host->bus_on = false; sdhci_runtime_pm_bus_off()
H A Dsdhci.h462 bool bus_on; /* Bus power prevents runtime suspend */ member in struct:sdhci_host

Completed in 282 milliseconds