Lines Matching defs:win
158 static int cbb_cardbus_io_open(device_t brdev, int win, uint32_t start,
160 static int cbb_cardbus_mem_open(device_t brdev, int win,
914 * used is the square of the voltage, lower voltages is a big win
1074 cbb_cardbus_io_open(device_t brdev, int win, uint32_t start, uint32_t end)
1079 if ((win < 0) || (win > 1)) {
1081 "cbb_cardbus_io_open: window out of range %d\n", win));
1085 basereg = win * 8 + CBBR_IOBASE0;
1086 limitreg = win * 8 + CBBR_IOLIMIT0;
1095 cbb_cardbus_mem_open(device_t brdev, int win, uint32_t start, uint32_t end)
1100 if ((win < 0) || (win > 1)) {
1102 "cbb_cardbus_mem_open: window out of range %d\n", win));
1106 basereg = win * 8 + CBBR_MEMBASE0;
1107 limitreg = win * 8 + CBBR_MEMLIMIT0;