Lines Matching refs:period
354 tinfo->current.period,
374 /*period*/0,
710 tid_no, /*period*/0, /*offset*/0,
712 if (tinfo->current.period != tinfo->goal.period) {
713 adv_msgout_sdtr(adv, tinfo->goal.period,
965 tid_no, /*period*/0, /*offset*/0,
970 tid_no, /*period*/0, /*offset*/0,
988 tid_no, /*period*/0, /*offset*/0,
990 if (tinfo->current.period != tinfo->goal.period) {
991 adv_msgout_sdtr(adv, tinfo->goal.period,
1048 tid_no, /*period*/0, /*offset*/0,
1080 u_int8_t sync_data, u_int8_t *period,
1085 *period = *offset = 0;
1087 *period = adv->sdtr_period_tbl[((sync_data >> 4) & 0xF)];
1094 u_int tid, u_int period, u_int offset, u_int type)
1105 sdtr_data = adv_period_offset_to_sdtr(adv, &period,
1108 old_period = tinfo->current.period;
1112 && ((old_period != period || old_offset != offset)
1113 || period == 0 || offset == 0) /*Changes in asyn fix settings*/) {
1135 tinfo->current.period = period;
1154 spi->sync_period = period;
1163 tinfo->goal.period = period;
1168 tinfo->user.period = period;
1174 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period,
1186 if (period == NULL) {
1188 period = &dummy_period;
1192 if (*period != 0 && *offset != 0) {
1194 if (*period <= adv->sdtr_period_tbl[i]) {
1202 * if the period we use to send data to it
1203 * is lower. Only lower the response period
1207 *period = adv->sdtr_period_tbl[0];
1214 *period = 0;
1821 if ((tinfo->current.period != tinfo->goal.period)
1824 adv_msgout_sdtr(adv, tinfo->goal.period, tinfo->goal.offset);
1919 u_int period;
1931 if (ext_msg.xfer_period < tinfo->goal.period) {
1933 ext_msg.xfer_period = tinfo->goal.period;
1937 period = ext_msg.xfer_period;
1939 adv_period_offset_to_sdtr(adv, &period, &offset, tid_no);
1940 ext_msg.xfer_period = period;
1949 /* Offset too high or large period forced async */
2065 adv_set_syncrate(adv, NULL, i, /*period*/0,