Lines Matching refs:ch_params
188 struct hdlcdrv_channel_params ch_params; member
342 bc->ch_params.tx_delay = data[1]; in do_kiss_params()
343 PKP("TX delay = %ums", 10 * bc->ch_params.tx_delay); in do_kiss_params()
346 bc->ch_params.ppersist = data[1]; in do_kiss_params()
347 PKP("p persistence = %u", bc->ch_params.ppersist); in do_kiss_params()
350 bc->ch_params.slottime = data[1]; in do_kiss_params()
351 PKP("slot time = %ums", bc->ch_params.slottime); in do_kiss_params()
354 bc->ch_params.tx_tail = data[1]; in do_kiss_params()
355 PKP("TX tail = %ums", bc->ch_params.tx_tail); in do_kiss_params()
358 bc->ch_params.fulldup = !!data[1]; in do_kiss_params()
359 PKP("%s duplex", bc->ch_params.fulldup ? "full" : "half"); in do_kiss_params()
444 if (!bc->ch_params.fulldup) { in transmit()
446 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
451 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
452 if ((prandom_u32() % 256) > bc->ch_params.ppersist) in transmit()
458 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_delay); in transmit()
483 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail); in transmit()
927 bc->hdlctx.slotcnt = bc->ch_params.slottime; in epp_open()
1018 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_ioctl()
1019 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1020 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_ioctl()
1021 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_ioctl()
1022 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_ioctl()
1028 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_ioctl()
1029 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
1030 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_ioctl()
1031 bc->ch_params.ppersist = hi.data.cp.ppersist; in baycom_ioctl()
1032 bc->ch_params.fulldup = hi.data.cp.fulldup; in baycom_ioctl()
1138 bc->ch_params = dflt_ch_params; in baycom_probe()