• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/cio/

Lines Matching refs:tcw

18  * struct itcw - incremental tcw helper data type
21 * tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate
22 * tcw and associated data. The data structures are contained inside a single
31 * - optionally provide ready-made interrogate tcw and associated structures
58 struct tcw *tcw;
59 struct tcw *intrg_tcw;
67 * itcw_get_tcw - return pointer to tcw associated with the itcw
70 * Return pointer to the tcw associated with the itcw.
72 struct tcw *itcw_get_tcw(struct itcw *itcw)
74 return itcw->tcw;
80 * @intrg: if non-zero, add an interrogate tcw
84 * by the interrogate tcw, if specified
99 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE +
104 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE +
137 * itcw_init - initialize incremental tcw data structure
140 * @op: %ITCW_OP_READ for a read operation tcw, %ITCW_OP_WRITE for a write
141 * operation tcw
142 * @intrg: if non-zero, add and initialize an interrogate tcw
146 * by the interrogate tcw, if specified
148 * Prepare the specified buffer to be used as an incremental tcw, i.e. a
149 * helper data structure that can be used to construct a valid tcw by
151 * located below the 2G address limit. The resulting tcw has the following
156 * - tcw specifies either read or write operation
158 * On success, return pointer to the resulting incremental tcw data structure,
183 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
186 itcw->tcw = chunk;
187 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0,
191 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
196 tcw_set_intrg(itcw->tcw, itcw->intrg_tcw);
204 tcw_set_data(itcw->tcw, chunk, 1);
219 tcw_set_tsb(itcw->tcw, chunk);
233 tcw_set_tccb(itcw->tcw, chunk);
269 return tccb_add_dcw(tcw_get_tccb(itcw->tcw), TCCB_MAX_SIZE, cmd,
293 return tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, flags, addr, count);
310 tcw_set_data(itcw->tcw, addr, use_tidal);
318 * Calculate tcw input-/output-count and tccbl fields and add a tcat the tccb.
325 tcw_finalize(itcw->tcw, itcw->num_tidaws);