us_info 44 drivers/soc/fsl/qe/ucc_slow.c struct ucc_slow_info *us_info = uccs->us_info; us_info 47 drivers/soc/fsl/qe/ucc_slow.c id = ucc_slow_get_qe_cr_subblock(us_info->ucc_num); us_info 55 drivers/soc/fsl/qe/ucc_slow.c struct ucc_slow_info *us_info = uccs->us_info; us_info 58 drivers/soc/fsl/qe/ucc_slow.c id = ucc_slow_get_qe_cr_subblock(us_info->ucc_num); us_info 65 drivers/soc/fsl/qe/ucc_slow.c struct ucc_slow_info *us_info = uccs->us_info; us_info 68 drivers/soc/fsl/qe/ucc_slow.c id = ucc_slow_get_qe_cr_subblock(us_info->ucc_num); us_info 119 drivers/soc/fsl/qe/ucc_slow.c int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** uccs_ret) us_info 130 drivers/soc/fsl/qe/ucc_slow.c if (!us_info) us_info 134 drivers/soc/fsl/qe/ucc_slow.c if ((us_info->ucc_num < 0) || (us_info->ucc_num > UCC_MAX_NUM - 1)) { us_info 145 drivers/soc/fsl/qe/ucc_slow.c if ((!us_info->rfw) && us_info 146 drivers/soc/fsl/qe/ucc_slow.c (us_info->max_rx_buf_length & (UCC_SLOW_MRBLR_ALIGNMENT - 1))) { us_info 159 drivers/soc/fsl/qe/ucc_slow.c uccs->us_info = us_info; us_info 161 drivers/soc/fsl/qe/ucc_slow.c uccs->us_regs = ioremap(us_info->regs, sizeof(struct ucc_slow)); us_info 187 drivers/soc/fsl/qe/ucc_slow.c id = ucc_slow_get_qe_cr_subblock(us_info->ucc_num); us_info 188 drivers/soc/fsl/qe/ucc_slow.c qe_issue_cmd(QE_ASSIGN_PAGE_TO_DEVICE, id, us_info->protocol, us_info 194 drivers/soc/fsl/qe/ucc_slow.c ret = ucc_set_type(us_info->ucc_num, UCC_SPEED_TYPE_SLOW); us_info 201 drivers/soc/fsl/qe/ucc_slow.c out_be16(&uccs->us_pram->mrblr, us_info->max_rx_buf_length); us_info 207 drivers/soc/fsl/qe/ucc_slow.c qe_muram_alloc(us_info->rx_bd_ring_len * sizeof(struct qe_bd), us_info 211 drivers/soc/fsl/qe/ucc_slow.c us_info->rx_bd_ring_len); us_info 218 drivers/soc/fsl/qe/ucc_slow.c qe_muram_alloc(us_info->tx_bd_ring_len * sizeof(struct qe_bd), us_info 229 drivers/soc/fsl/qe/ucc_slow.c for (i = 0; i < us_info->tx_bd_ring_len - 1; i++) { us_info 242 drivers/soc/fsl/qe/ucc_slow.c for (i = 0; i < us_info->rx_bd_ring_len - 1; i++) { us_info 255 drivers/soc/fsl/qe/ucc_slow.c gumr = us_info->tcrc; us_info 256 drivers/soc/fsl/qe/ucc_slow.c if (us_info->cdp) us_info 258 drivers/soc/fsl/qe/ucc_slow.c if (us_info->ctsp) us_info 260 drivers/soc/fsl/qe/ucc_slow.c if (us_info->cds) us_info 262 drivers/soc/fsl/qe/ucc_slow.c if (us_info->ctss) us_info 264 drivers/soc/fsl/qe/ucc_slow.c if (us_info->tfl) us_info 266 drivers/soc/fsl/qe/ucc_slow.c if (us_info->rfw) us_info 268 drivers/soc/fsl/qe/ucc_slow.c if (us_info->txsy) us_info 270 drivers/soc/fsl/qe/ucc_slow.c if (us_info->rtsm) us_info 275 drivers/soc/fsl/qe/ucc_slow.c gumr = us_info->tdcr | us_info->rdcr | us_info->tenc | us_info->renc | us_info 276 drivers/soc/fsl/qe/ucc_slow.c us_info->diag | us_info->mode; us_info 277 drivers/soc/fsl/qe/ucc_slow.c if (us_info->tci) us_info 279 drivers/soc/fsl/qe/ucc_slow.c if (us_info->rinv) us_info 281 drivers/soc/fsl/qe/ucc_slow.c if (us_info->tinv) us_info 283 drivers/soc/fsl/qe/ucc_slow.c if (us_info->tend) us_info 300 drivers/soc/fsl/qe/ucc_slow.c ucc_set_qe_mux_grant(us_info->ucc_num, us_info->grant_support); us_info 302 drivers/soc/fsl/qe/ucc_slow.c ucc_set_qe_mux_bkpt(us_info->ucc_num, us_info->brkpt_support); us_info 304 drivers/soc/fsl/qe/ucc_slow.c ucc_set_qe_mux_tsa(us_info->ucc_num, us_info->tsa); us_info 306 drivers/soc/fsl/qe/ucc_slow.c if (!us_info->tsa) { us_info 308 drivers/soc/fsl/qe/ucc_slow.c if (ucc_set_qe_mux_rxtx(us_info->ucc_num, us_info->rx_clock, us_info 316 drivers/soc/fsl/qe/ucc_slow.c if (ucc_set_qe_mux_rxtx(us_info->ucc_num, us_info->tx_clock, us_info 326 drivers/soc/fsl/qe/ucc_slow.c out_be16(&us_regs->uccm, us_info->uccm_mask); us_info 336 drivers/soc/fsl/qe/ucc_slow.c if (us_info->init_tx && us_info->init_rx) us_info 338 drivers/soc/fsl/qe/ucc_slow.c else if (us_info->init_tx) us_info 343 drivers/soc/fsl/qe/ucc_slow.c qe_issue_cmd(command, id, us_info->protocol, 0); us_info 177 drivers/tty/serial/ucc_uart.c struct ucc_slow_info us_info; us_info 965 drivers/tty/serial/ucc_uart.c qe_setbrg(qe_port->us_info.rx_clock, baud, 16); us_info 966 drivers/tty/serial/ucc_uart.c qe_setbrg(qe_port->us_info.tx_clock, baud, 1); us_info 968 drivers/tty/serial/ucc_uart.c qe_setbrg(qe_port->us_info.rx_clock, baud, 16); us_info 969 drivers/tty/serial/ucc_uart.c qe_setbrg(qe_port->us_info.tx_clock, baud, 16); us_info 991 drivers/tty/serial/ucc_uart.c struct ucc_slow_info *us_info = &qe_port->us_info; us_info 997 drivers/tty/serial/ucc_uart.c ret = ucc_slow_init(us_info, &uccs); us_info 1309 drivers/tty/serial/ucc_uart.c qe_port->us_info.rx_clock = qe_clock_source(sprop); us_info 1310 drivers/tty/serial/ucc_uart.c if ((qe_port->us_info.rx_clock < QE_BRG1) || us_info 1311 drivers/tty/serial/ucc_uart.c (qe_port->us_info.rx_clock > QE_BRG16)) { us_info 1319 drivers/tty/serial/ucc_uart.c qe_port->us_info.tx_clock = qe_port->us_info.rx_clock; us_info 1327 drivers/tty/serial/ucc_uart.c qe_port->us_info.tx_clock = qe_clock_source(sprop); us_info 1329 drivers/tty/serial/ucc_uart.c if ((qe_port->us_info.tx_clock < QE_BRG1) || us_info 1330 drivers/tty/serial/ucc_uart.c (qe_port->us_info.tx_clock > QE_BRG16)) { us_info 1421 drivers/tty/serial/ucc_uart.c qe_port->us_info.ucc_num = qe_port->ucc_num; us_info 1422 drivers/tty/serial/ucc_uart.c qe_port->us_info.regs = (phys_addr_t) res.start; us_info 1423 drivers/tty/serial/ucc_uart.c qe_port->us_info.irq = qe_port->port.irq; us_info 1425 drivers/tty/serial/ucc_uart.c qe_port->us_info.rx_bd_ring_len = qe_port->rx_nrfifos; us_info 1426 drivers/tty/serial/ucc_uart.c qe_port->us_info.tx_bd_ring_len = qe_port->tx_nrfifos; us_info 1429 drivers/tty/serial/ucc_uart.c qe_port->us_info.init_tx = 1; us_info 1430 drivers/tty/serial/ucc_uart.c qe_port->us_info.init_rx = 1; us_info 185 include/soc/fsl/qe/ucc_slow.h struct ucc_slow_info *us_info; us_info 223 include/soc/fsl/qe/ucc_slow.h int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** uccs_ret);