Searched defs:branch (Results 1 - 16 of 16) sorted by relevance

/drivers/usb/host/
H A Dohci-q.c88 /* search for the right schedule branch to use for a periodic ed.
89 * does some load balancing; returns the branch, or negative errno.
93 int i, branch = -ENOSPC; local
99 /* search for the least loaded schedule branch of that period
103 if (branch < 0 || ohci->load [branch] > ohci->load [i]) {
113 branch = i;
116 return branch;
129 ohci_vdbg (ohci, "link %sed %p branch %d [%dus.], interval %d\n",
131 ed, ed->branch, e
167 int branch; local
[all...]
H A Dsl811-hcd.c450 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
451 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
461 ep->branch = PERIODIC_SIZE;
757 * each branch minimized. see fig 3.5 in the OHCI spec for example.
763 int i, branch = -ENOSPC; local
765 /* search for the least loaded schedule branch of that period
769 if (branch < 0 || sl811->load[branch] > sl811->load[i]) {
779 branch
[all...]
H A Disp116x-hcd.c323 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
324 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
334 ep->branch = PERIODIC_SIZE;
653 int i, branch = -ENOSPC; local
655 /* search for the least loaded schedule branch of that period
658 if (branch < 0 || isp116x->load[branch] > isp116x->load[i]) {
668 branch = i;
671 return branch;
[all...]
H A Dsl811.h183 u16 branch; member in struct:sl811h_ep
H A Disp1362-hcd.c338 ptd->faddr |= PTD_SF_INT(ep->branch);
491 DBG(1, "deschedule qh%d/%p branch %d load %d bandwidth %d -> %d\n", ep->interval,
492 ep, ep->branch, ep->load,
493 isp1362_hcd->load[ep->branch],
494 isp1362_hcd->load[ep->branch] - ep->load);
495 isp1362_hcd->load[ep->branch] -= ep->load;
496 ep->branch = PERIODIC_SIZE;
1190 int i, branch = -ENOSPC; local
1192 /* search for the least loaded schedule branch of that interval
1196 if (branch <
[all...]
H A Disp116x.h318 u16 branch; member in struct:isp116x_ep
H A Dohci.h62 u8 branch; member in struct:ed
H A Disp1362.h452 u8 branch; member in struct:isp1362_ep
/drivers/net/wimax/i2400m/
H A Dcontrol.c1020 unsigned major, minor, branch; local
1056 branch = le16_to_cpu(l4mv->branch);
1060 "%u.%u.%u\n", major, minor, branch);
1066 major, minor, branch);
1067 /* Yes, we ignore the branch -- we don't have to track it */
1070 major, minor, branch);
/drivers/edac/
H A Di7300_edac.c56 * On normal operation mode, the two channels on a branch should be
69 #define to_channel(ch, branch) ((((branch)) << 1) | (ch))
71 #define to_csrow(slot, ch, branch) \
72 (to_channel(ch, branch) | ((slot) << 2))
432 unsigned branch, channel, bank, rank, cas, ras; local
449 branch = (GET_FBD_FAT_IDX(error_reg) == 2) ? 1 : 0;
469 branch, bank,
475 edac_mc_handle_fbd_ue(mci, rank, branch << 1,
476 (branch <<
617 decode_mtr(struct i7300_pvt *pvt, int slot, int ch, int branch, struct i7300_dimm_info *dinfo, struct csrow_info *p_csrow, u32 *nr_pages) argument
780 int ch, branch, slot, channel; local
934 int branch; local
[all...]
H A Di5400_edac.c526 int branch; local
548 branch = extract_fbdchan_indx(info->ferr_fat_fbd);
549 channel = branch;
561 rank, channel, channel + 1, branch >> 1, bank,
571 type, branch >> 1, bank, buf_id, rdwr_str(rdwr), ras, cas,
590 int branch; local
614 branch = extract_fbdchan_indx(info->ferr_nf_fbd);
621 * from branch base of 0 */
622 channel += branch;
635 rank, channel, branch >>
[all...]
H A Di5000_edac.c476 int branch; local
488 branch = EXTRACT_FBDCHAN_INDX(info->ferr_fat_fbd);
489 channel = branch;
500 rank, channel, channel + 1, branch >> 1, bank,
538 branch >> 1, bank, rdwr ? "Write" : "Read", ras, cas,
562 int branch; local
579 branch = EXTRACT_FBDCHAN_INDX(info->ferr_nf_fbd);
585 channel = branch & 2;
596 rank, channel, channel + 1, branch >> 1, bank,
638 branch >>
[all...]
/drivers/video/
H A Dpxafb.c85 struct fb_var_screeninfo *var, int branch);
1106 int branch)
1112 dma = DMA_BASE + (branch ? DMA_MAX : 0);
1113 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0);
1104 setup_base_frame(struct pxafb_info *fbi, struct fb_var_screeninfo *var, int branch) argument
/drivers/net/tokenring/
H A Dsmctr.c757 short branch, tsize; local
775 branch = ROOT;
776 while((tree + branch)->tag != LEAF && weight)
778 branch = *ucode & bit ? (tree + branch)->llink
779 : (tree + branch)->rlink;
791 buff |= (tree + branch)->info << shift;
/drivers/firewire/
H A Dohci.c146 * The descriptor containing the branch address of the first
152 * The last descriptor in the DMA program. It contains the branch
1044 __le16 branch; local
1046 branch = d->control & cpu_to_le16(DESCRIPTOR_BRANCH_ALWAYS);
1048 /* figure out which descriptor the branch address goes in */
1049 if (z == 2 && branch == cpu_to_le16(DESCRIPTOR_BRANCH_ALWAYS))
1073 /* If the branch address points to a buffer outside of the
1150 * branch address and looks like it's been sent. That way we
/drivers/mfd/
H A Ddb8500-prcmu.c430 int branch; member in struct:clk_mgt
1588 int branch)
1611 if ((branch == PLL_FIX) || ((branch == PLL_DIV) &&
1642 rate = pll_rate(PRCM_PLLSOC0_FREQ, rate, clk_mgt[clock].branch);
1644 rate = pll_rate(PRCM_PLLSOC1_FREQ, rate, clk_mgt[clock].branch);
1646 rate = pll_rate(PRCM_PLLDDR_FREQ, rate, clk_mgt[clock].branch);
1722 static unsigned long clock_source_rate(u32 clk_mgt_val, int branch) argument
1728 return pll_rate(PRCM_PLLSOC0_FREQ, ROOT_CLOCK_RATE, branch);
1730 return pll_rate(PRCM_PLLSOC1_FREQ, ROOT_CLOCK_RATE, branch);
1587 pll_rate(void __iomem *reg, unsigned long src_rate, int branch) argument
[all...]

Completed in 272 milliseconds