Lines Matching refs:ch_params
188 struct hdlcdrv_channel_params ch_params; member
346 bc->ch_params.tx_delay = data[1]; in do_kiss_params()
347 PKP("TX delay = %ums", 10 * bc->ch_params.tx_delay); in do_kiss_params()
350 bc->ch_params.ppersist = data[1]; in do_kiss_params()
351 PKP("p persistence = %u", bc->ch_params.ppersist); in do_kiss_params()
354 bc->ch_params.slottime = data[1]; in do_kiss_params()
355 PKP("slot time = %ums", bc->ch_params.slottime); in do_kiss_params()
358 bc->ch_params.tx_tail = data[1]; in do_kiss_params()
359 PKP("TX tail = %ums", bc->ch_params.tx_tail); in do_kiss_params()
362 bc->ch_params.fulldup = !!data[1]; in do_kiss_params()
363 PKP("%s duplex", bc->ch_params.fulldup ? "full" : "half"); in do_kiss_params()
448 if (!bc->ch_params.fulldup) { in transmit()
450 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
455 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
456 if ((prandom_u32() % 256) > bc->ch_params.ppersist) in transmit()
462 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_delay); in transmit()
487 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail); in transmit()
947 bc->hdlctx.slotcnt = bc->ch_params.slottime; in epp_open()
1038 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_ioctl()
1039 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1040 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_ioctl()
1041 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_ioctl()
1042 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_ioctl()
1048 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_ioctl()
1049 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
1050 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_ioctl()
1051 bc->ch_params.ppersist = hi.data.cp.ppersist; in baycom_ioctl()
1052 bc->ch_params.fulldup = hi.data.cp.fulldup; in baycom_ioctl()
1158 bc->ch_params = dflt_ch_params; in baycom_probe()