• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/sysdev/qe_lib/

Lines Matching defs:uf_info

32 	printk(KERN_INFO "UCC%d Fast registers:", uccf->uf_info->ucc_num);
134 int ucc_fast_init(struct ucc_fast_info * uf_info, struct ucc_fast_private ** uccf_ret)
141 if (!uf_info)
145 if ((uf_info->ucc_num < 0) || (uf_info->ucc_num > UCC_MAX_NUM - 1)) {
151 if (uf_info->max_rx_buf_length & (UCC_FAST_MRBLR_ALIGNMENT - 1)) {
157 if (uf_info->urfs < UCC_FAST_URFS_MIN_VAL) {
162 if (uf_info->urfs & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
167 if (uf_info->urfet & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
172 if (uf_info->urfset & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
177 if (uf_info->utfs & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
182 if (uf_info->utfet & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
187 if (uf_info->utftt & (UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT - 1)) {
199 uccf->uf_info = uf_info;
201 uccf->uf_regs = ioremap(uf_info->regs, sizeof(struct ucc_fast));
231 if ((ret = ucc_set_type(uf_info->ucc_num,
239 uccf->mrblr = uf_info->max_rx_buf_length;
243 gumr = uf_info->ttx_trx;
244 if (uf_info->tci)
246 if (uf_info->cdp)
248 if (uf_info->ctsp)
250 if (uf_info->cds)
252 if (uf_info->ctss)
254 if (uf_info->txsy)
256 if (uf_info->rsyn)
258 gumr |= uf_info->synl;
259 if (uf_info->rtsm)
261 gumr |= uf_info->renc;
262 if (uf_info->revd)
264 gumr |= uf_info->tenc;
265 gumr |= uf_info->tcrc;
266 gumr |= uf_info->mode;
271 qe_muram_alloc(uf_info->utfs, UCC_FAST_VIRT_FIFO_REGS_ALIGNMENT);
281 qe_muram_alloc(uf_info->urfs +
292 out_be16(&uf_regs->urfs, uf_info->urfs);
293 out_be16(&uf_regs->urfet, uf_info->urfet);
294 out_be16(&uf_regs->urfset, uf_info->urfset);
295 out_be16(&uf_regs->utfs, uf_info->utfs);
296 out_be16(&uf_regs->utfet, uf_info->utfet);
297 out_be16(&uf_regs->utftt, uf_info->utftt);
304 ucc_set_qe_mux_grant(uf_info->ucc_num, uf_info->grant_support);
306 ucc_set_qe_mux_bkpt(uf_info->ucc_num, uf_info->brkpt_support);
308 ucc_set_qe_mux_tsa(uf_info->ucc_num, uf_info->tsa);
310 if (!uf_info->tsa) {
312 if ((uf_info->rx_clock != QE_CLK_NONE) &&
313 ucc_set_qe_mux_rxtx(uf_info->ucc_num, uf_info->rx_clock,
321 if ((uf_info->tx_clock != QE_CLK_NONE) &&
322 ucc_set_qe_mux_rxtx(uf_info->ucc_num, uf_info->tx_clock,
332 out_be32(&uf_regs->uccm, uf_info->uccm_mask);