Lines Matching refs:tcw
58 struct tcw *tcw; member
59 struct tcw *intrg_tcw;
72 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw()
74 return itcw->tcw; in itcw_get_tcw()
100 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
105 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
209 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
212 itcw->tcw = chunk; in itcw_init()
213 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init()
217 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
222 tcw_set_intrg(itcw->tcw, itcw->intrg_tcw); in itcw_init()
230 tcw_set_data(itcw->tcw, chunk, 1); in itcw_init()
245 tcw_set_tsb(itcw->tcw, chunk); in itcw_init()
259 tcw_set_tccb(itcw->tcw, chunk); in itcw_init()
295 return tccb_add_dcw(tcw_get_tccb(itcw->tcw), TCCB_MAX_SIZE, cmd, in itcw_add_dcw()
327 following = ((struct tidaw *) tcw_get_data(itcw->tcw)) in itcw_add_tidaw()
330 tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, in itcw_add_tidaw()
335 return tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, flags, addr, count); in itcw_add_tidaw()
352 tcw_set_data(itcw->tcw, addr, use_tidal); in itcw_set_data()
367 tcw_finalize(itcw->tcw, itcw->num_tidaws); in itcw_finalize()