Lines Matching refs:ch_params

238 		s->ch_params.tx_delay = data[1];  in do_kiss_params()
239 PKP("TX delay = %ums", 10 * s->ch_params.tx_delay); in do_kiss_params()
242 s->ch_params.ppersist = data[1]; in do_kiss_params()
243 PKP("p persistence = %u", s->ch_params.ppersist); in do_kiss_params()
246 s->ch_params.slottime = data[1]; in do_kiss_params()
247 PKP("slot time = %ums", s->ch_params.slottime); in do_kiss_params()
250 s->ch_params.tx_tail = data[1]; in do_kiss_params()
251 PKP("TX tail = %ums", s->ch_params.tx_tail); in do_kiss_params()
254 s->ch_params.fulldup = !!data[1]; in do_kiss_params()
255 PKP("%s duplex", s->ch_params.fulldup ? "full" : "half"); in do_kiss_params()
304 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail); in hdlcdrv_transmitter()
368 s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay); in start_tx()
381 if (s->ch_params.fulldup) { in hdlcdrv_arbitrate()
386 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_arbitrate()
391 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_arbitrate()
392 if ((prandom_u32() % 256) > s->ch_params.ppersist) in hdlcdrv_arbitrate()
465 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_open()
518 bi.data.cp.tx_delay = s->ch_params.tx_delay; in hdlcdrv_ioctl()
519 bi.data.cp.tx_tail = s->ch_params.tx_tail; in hdlcdrv_ioctl()
520 bi.data.cp.slottime = s->ch_params.slottime; in hdlcdrv_ioctl()
521 bi.data.cp.ppersist = s->ch_params.ppersist; in hdlcdrv_ioctl()
522 bi.data.cp.fulldup = s->ch_params.fulldup; in hdlcdrv_ioctl()
528 s->ch_params.tx_delay = bi.data.cp.tx_delay; in hdlcdrv_ioctl()
529 s->ch_params.tx_tail = bi.data.cp.tx_tail; in hdlcdrv_ioctl()
530 s->ch_params.slottime = bi.data.cp.slottime; in hdlcdrv_ioctl()
531 s->ch_params.ppersist = bi.data.cp.ppersist; in hdlcdrv_ioctl()
532 s->ch_params.fulldup = bi.data.cp.fulldup; in hdlcdrv_ioctl()
647 s->ch_params = dflt_ch_params; in hdlcdrv_setup()
662 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_setup()