Lines Matching refs:ch_ctrl
1120 readl(&info->u.cyz.ch_ctrl->rs_status); in cyz_handle_cmd()
1312 struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; in cy_startup() local
1323 cy_writel(&ch_ctrl->op_mode, C_CH_ENABLE); in cy_startup()
1326 cy_writel(&ch_ctrl->intr_enable, in cy_startup()
1330 cy_writel(&ch_ctrl->intr_enable, in cy_startup()
1335 cy_writel(&ch_ctrl->intr_enable, in cy_startup()
1339 cy_writel(&ch_ctrl->intr_enable, C_IN_MDCD); in cy_startup()
1721 struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; in cy_do_close() local
1724 if (readl(&ch_ctrl->flow_status) != C_FS_TXIDLE) { in cy_do_close()
2140 struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; in cy_set_line_char() local
2158 cy_writel(&ch_ctrl->comm_baud, baud); in cy_set_line_char()
2179 cy_writel(&ch_ctrl->comm_data_l, C_DL_CS5); in cy_set_line_char()
2182 cy_writel(&ch_ctrl->comm_data_l, C_DL_CS6); in cy_set_line_char()
2185 cy_writel(&ch_ctrl->comm_data_l, C_DL_CS7); in cy_set_line_char()
2188 cy_writel(&ch_ctrl->comm_data_l, C_DL_CS8); in cy_set_line_char()
2192 cy_writel(&ch_ctrl->comm_data_l, in cy_set_line_char()
2193 readl(&ch_ctrl->comm_data_l) | C_DL_2STOP); in cy_set_line_char()
2195 cy_writel(&ch_ctrl->comm_data_l, in cy_set_line_char()
2196 readl(&ch_ctrl->comm_data_l) | C_DL_1STOP); in cy_set_line_char()
2200 cy_writel(&ch_ctrl->comm_parity, C_PR_ODD); in cy_set_line_char()
2202 cy_writel(&ch_ctrl->comm_parity, C_PR_EVEN); in cy_set_line_char()
2204 cy_writel(&ch_ctrl->comm_parity, C_PR_NONE); in cy_set_line_char()
2208 cy_writel(&ch_ctrl->hw_flow, in cy_set_line_char()
2209 readl(&ch_ctrl->hw_flow) | C_RS_CTS | C_RS_RTS); in cy_set_line_char()
2211 cy_writel(&ch_ctrl->hw_flow, readl(&ch_ctrl->hw_flow) & in cy_set_line_char()
2225 cy_writel(&ch_ctrl->sw_flow, sw_flow); in cy_set_line_char()
2237 cy_writel(&ch_ctrl->rs_control, in cy_set_line_char()
2238 readl(&ch_ctrl->rs_control) & ~C_RS_DTR); in cy_set_line_char()
2243 cy_writel(&ch_ctrl->rs_control, in cy_set_line_char()
2244 readl(&ch_ctrl->rs_control) | C_RS_DTR); in cy_set_line_char()
2410 lstatus = readl(&info->u.cyz.ch_ctrl->rs_status); in cy_tiocmget()
2439 struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; in cy_tiocmset() local
2447 rs = readl(&ch_ctrl->rs_control); in cy_tiocmset()
2465 cy_writel(&ch_ctrl->rs_control, rs); in cy_tiocmset()
3002 return readl(&info->u.cyz.ch_ctrl->rs_status) & C_RS_DCD; in cyz_carrier_raised()
3010 struct CH_CTRL __iomem *ch_ctrl = info->u.cyz.ch_ctrl; in cyz_dtr_rts() local
3014 rs = readl(&ch_ctrl->rs_control); in cyz_dtr_rts()
3019 cy_writel(&ch_ctrl->rs_control, rs); in cyz_dtr_rts()
3085 info->u.cyz.ch_ctrl = &zfw_ctrl->ch_ctrl[channel]; in cy_init_card()