Lines Matching refs:boardnum
346 unsigned boardnum; member
379 munich_board_t *board = slicecom_boards + hw->boardnum; in rework_idle_channels()
403 void slicecom_set_framing(int boardnum, int value) in slicecom_set_framing() argument
405 u8 *lbi = slicecom_boards[boardnum].lbi; in slicecom_set_framing()
409 slicecom_boards[boardnum].framing = value; in slicecom_set_framing()
422 " value %d\n", boardnum, value); in slicecom_set_framing()
432 void slicecom_set_linecode(int boardnum, int value) in slicecom_set_linecode() argument
434 u8 *lbi = slicecom_boards[boardnum].lbi; in slicecom_set_linecode()
438 slicecom_boards[boardnum].linecode = value; in slicecom_set_linecode()
449 " value %d\n", boardnum, value); in slicecom_set_linecode()
458 void slicecom_set_clock_source(int boardnum, int value) in slicecom_set_clock_source() argument
460 u8 *lbi = slicecom_boards[boardnum].lbi; in slicecom_set_clock_source()
464 slicecom_boards[boardnum].clock_source = value; in slicecom_set_clock_source()
475 " value %d\n", boardnum, value); in slicecom_set_clock_source()
484 void slicecom_set_loopback(int boardnum, int value) in slicecom_set_loopback() argument
486 u8 *lbi = slicecom_boards[boardnum].lbi; in slicecom_set_loopback()
490 slicecom_boards[boardnum].loopback = value; in slicecom_set_loopback()
507 " value %d\n", boardnum, value); in slicecom_set_loopback()
784 int boardnum; in munich_probe() local
791 for (boardnum = 0; boardnum < MAX_BOARDS; boardnum++) in munich_probe()
793 pcicom_boards[boardnum].pci = 0; in munich_probe()
794 pcicom_boards[boardnum].bar1 = 0; in munich_probe()
795 pcicom_boards[boardnum].lbi = 0; in munich_probe()
796 slicecom_boards[boardnum].pci = 0; in munich_probe()
797 slicecom_boards[boardnum].bar1 = 0; in munich_probe()
798 slicecom_boards[boardnum].lbi = 0; in munich_probe()
806 for (boardnum = 0; in munich_probe()
807 boardnum < MAX_BOARDS && (pci = pci_find_device(PCI_VENDOR_ID_SIEMENS, in munich_probe()
808 PCI_DEVICE_ID_SIEMENS_MUNICH32X, pci)); boardnum++) in munich_probe()
885 if (!pci && !boardnum) in munich_probe()
1421 board = hw->boardnum + (ch->hardware == &pcicomhw ? pcicom_boards : slicecom_boards); in MUNICH_open()
1434 ch->hardware->name, hw->boardnum); in MUNICH_open()
1631 slicecom_set_framing(hw->boardnum, board->framing); in MUNICH_open()
1632 slicecom_set_linecode(hw->boardnum, board->linecode); in MUNICH_open()
1633 slicecom_set_clock_source(hw->boardnum, board->clock_source); in MUNICH_open()
1634 slicecom_set_loopback(hw->boardnum, board->loopback); in MUNICH_open()
1910 board = hw->boardnum + (ch->hardware == &pcicomhw ? pcicom_boards : slicecom_boards); in MUNICH_close()
2053 board = hw->boardnum + (ch->hardware == &pcicomhw ? pcicom_boards : slicecom_boards); in MUNICH_minden()
2305 board = hw->boardnum + (ch->hardware == &pcicomhw ? pcicom_boards : slicecom_boards); in munich_read_proc()
2308 len = sprintf(page, "%d\n", hw->boardnum); in munich_read_proc()
2406 board = hw->boardnum + (ch->hardware == &pcicomhw ? pcicom_boards : slicecom_boards); in munich_write_proc()
2430 hw->boardnum = tmp_boardnum; in munich_write_proc()
2489 slicecom_set_framing(hw->boardnum, slicecom_framings[i].value); in munich_write_proc()
2520 slicecom_set_linecode(hw->boardnum, in munich_write_proc()
2552 slicecom_set_clock_source(hw->boardnum, in munich_write_proc()
2583 slicecom_set_loopback(hw->boardnum, in munich_write_proc()
2761 hw->boardnum = SLICECOM_BOARDNUM_DEFAULT; in BOARD_init()