Lines Matching refs:branch

69 #define to_channel(ch, branch)	((((branch)) << 1) | (ch))  argument
71 #define to_csrow(slot, ch, branch) \ argument
72 (to_channel(ch, branch) | ((slot) << 2))
413 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local
430 branch = (GET_FBD_FAT_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
452 branch, -1, rank, in i7300_process_fbd_error()
466 branch = (GET_FBD_NF_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
484 channel = (branch << 1); in i7300_process_fbd_error()
500 branch >> 1, channel % 2, rank, in i7300_process_fbd_error()
588 int slot, int ch, int branch, in decode_mtr() argument
594 channel = to_channel(ch, branch); in decode_mtr()
596 mtr = pvt->mtr[slot][branch]; in decode_mtr()
753 int ch, branch, slot, channel, max_channel, max_branch; in i7300_init_csrows() local
769 for (branch = 0; branch < max_branch; branch++) { in i7300_init_csrows()
771 channel = to_channel(0, branch); in i7300_init_csrows()
772 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
781 channel = to_channel(1, branch); in i7300_init_csrows()
782 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
792 for (branch = 0; branch < max_branch; branch++) { in i7300_init_csrows()
793 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
795 &pvt->mtr[slot][branch]); in i7300_init_csrows()
797 int channel = to_channel(ch, branch); in i7300_init_csrows()
800 mci->n_layers, branch, ch, slot); in i7300_init_csrows()
804 mtr = decode_mtr(pvt, slot, ch, branch, in i7300_init_csrows()
915 int branch; in i7300_put_devices() local
920 for (branch = 0; branch < MAX_CH_PER_BRANCH; branch++) in i7300_put_devices()
921 pci_dev_put(pvt->pci_dev_2x_0_fbd_branch[branch]); in i7300_put_devices()