Home
last modified time | relevance | path

Searched refs:NUM_CHANS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mailbox/
H A Dsun6i-msgbox.c20 #define NUM_CHANS 8 macro
79 for (n = 0; n < NUM_CHANS; ++n) { in sun6i_msgbox_irq()
207 chans = devm_kcalloc(dev, NUM_CHANS, sizeof(*chans), GFP_KERNEL); in sun6i_msgbox_probe()
211 for (i = 0; i < NUM_CHANS; ++i) in sun6i_msgbox_probe()
268 mbox->controller.num_chans = NUM_CHANS; in sun6i_msgbox_probe()
/openbmc/linux/drivers/edac/
H A Di7core_edac.c197 #define NUM_CHANS 3 macro
253 struct pci_dev *pci_ch[NUM_CHANS][MAX_CHAN_FUNC + 1];
259 struct i7core_channel channel[NUM_CHANS];
267 unsigned long rdimm_ce_count[NUM_CHANS][MAX_DIMMS];
268 int rdimm_last_ce_count[NUM_CHANS][MAX_DIMMS];
530 for (i = 0; i < NUM_CHANS; i++) { in get_dimm_config()
1473 } else if (likely(slot >= 4 && slot < 4 + NUM_CHANS)) { in mci_bind_devs()
2139 layers[0].size = NUM_CHANS; in i7core_register_mci()