Lines Matching refs:ch_params
173 struct hdlcdrv_channel_params ch_params; member
331 bc->ch_params.tx_delay = data[1]; in do_kiss_params()
332 PKP("TX delay = %ums", 10 * bc->ch_params.tx_delay); in do_kiss_params()
335 bc->ch_params.ppersist = data[1]; in do_kiss_params()
336 PKP("p persistence = %u", bc->ch_params.ppersist); in do_kiss_params()
339 bc->ch_params.slottime = data[1]; in do_kiss_params()
340 PKP("slot time = %ums", bc->ch_params.slottime); in do_kiss_params()
343 bc->ch_params.tx_tail = data[1]; in do_kiss_params()
344 PKP("TX tail = %ums", bc->ch_params.tx_tail); in do_kiss_params()
347 bc->ch_params.fulldup = !!data[1]; in do_kiss_params()
348 PKP("%s duplex", bc->ch_params.fulldup ? "full" : "half"); in do_kiss_params()
433 if (!bc->ch_params.fulldup) { in transmit()
435 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
440 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
441 if (get_random_u8() > bc->ch_params.ppersist) in transmit()
447 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_delay); in transmit()
472 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail); in transmit()
933 bc->hdlctx.slotcnt = bc->ch_params.slottime; in epp_open()
1024 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_siocdevprivate()
1025 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_siocdevprivate()
1026 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_siocdevprivate()
1027 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_siocdevprivate()
1028 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_siocdevprivate()
1034 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_siocdevprivate()
1035 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_siocdevprivate()
1036 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_siocdevprivate()
1037 bc->ch_params.ppersist = hi.data.cp.ppersist; in baycom_siocdevprivate()
1038 bc->ch_params.fulldup = hi.data.cp.fulldup; in baycom_siocdevprivate()
1144 bc->ch_params = dflt_ch_params; in baycom_probe()