Lines Matching refs:tcw
59 struct tcw *tcw; member
60 struct tcw *intrg_tcw;
73 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw()
75 return itcw->tcw; in itcw_get_tcw()
101 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
106 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
210 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
213 itcw->tcw = chunk; in itcw_init()
214 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init()
218 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
223 tcw_set_intrg(itcw->tcw, itcw->intrg_tcw); in itcw_init()
231 tcw_set_data(itcw->tcw, chunk, 1); in itcw_init()
246 tcw_set_tsb(itcw->tcw, chunk); in itcw_init()
260 tcw_set_tccb(itcw->tcw, chunk); in itcw_init()
296 return tccb_add_dcw(tcw_get_tccb(itcw->tcw), TCCB_MAX_SIZE, cmd, in itcw_add_dcw()
328 following = ((struct tidaw *) tcw_get_data(itcw->tcw)) in itcw_add_tidaw()
331 tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, in itcw_add_tidaw()
336 return tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, flags, addr, count); in itcw_add_tidaw()
353 tcw_set_data(itcw->tcw, addr, use_tidal); in itcw_set_data()
368 tcw_finalize(itcw->tcw, itcw->num_tidaws); in itcw_finalize()