Lines Matching refs:hi

1006 	struct hdlcdrv_ioctl hi;  in baycom_siocdevprivate()  local
1011 if (copy_from_user(&hi, data, sizeof(hi))) in baycom_siocdevprivate()
1013 switch (hi.cmd) { in baycom_siocdevprivate()
1018 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_siocdevprivate()
1019 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_siocdevprivate()
1020 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_siocdevprivate()
1021 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_siocdevprivate()
1022 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_siocdevprivate()
1028 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_siocdevprivate()
1029 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_siocdevprivate()
1030 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_siocdevprivate()
1031 bc->ch_params.ppersist = hi.data.cp.ppersist; in baycom_siocdevprivate()
1032 bc->ch_params.fulldup = hi.data.cp.fulldup; in baycom_siocdevprivate()
1037 hi.data.mp.iobase = dev->base_addr; in baycom_siocdevprivate()
1038 hi.data.mp.irq = dev->irq; in baycom_siocdevprivate()
1039 hi.data.mp.dma = dev->dma; in baycom_siocdevprivate()
1040 hi.data.mp.dma2 = 0; in baycom_siocdevprivate()
1041 hi.data.mp.seriobase = 0; in baycom_siocdevprivate()
1042 hi.data.mp.pariobase = 0; in baycom_siocdevprivate()
1043 hi.data.mp.midiiobase = 0; in baycom_siocdevprivate()
1049 dev->base_addr = hi.data.mp.iobase; in baycom_siocdevprivate()
1055 hi.data.cs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_siocdevprivate()
1056 hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_siocdevprivate()
1057 hi.data.cs.ptt_keyed = bc->ptt_keyed; in baycom_siocdevprivate()
1058 hi.data.cs.tx_packets = dev->stats.tx_packets; in baycom_siocdevprivate()
1059 hi.data.cs.tx_errors = dev->stats.tx_errors; in baycom_siocdevprivate()
1060 hi.data.cs.rx_packets = dev->stats.rx_packets; in baycom_siocdevprivate()
1061 hi.data.cs.rx_errors = dev->stats.rx_errors; in baycom_siocdevprivate()
1065 hi.data.ocs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_siocdevprivate()
1066 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_siocdevprivate()
1067 hi.data.ocs.ptt_keyed = bc->ptt_keyed; in baycom_siocdevprivate()
1073 bc->hdlctx.calibrate = hi.data.calibrate * bc->bitrate / 8; in baycom_siocdevprivate()
1077 strncpy(hi.data.drivername, "baycom_epp", sizeof(hi.data.drivername)); in baycom_siocdevprivate()
1081 sprintf(hi.data.modename, "%sclk,%smodem,fclk=%d,bps=%d%s", in baycom_siocdevprivate()
1090 hi.data.modename[sizeof(hi.data.modename)-1] = '\0'; in baycom_siocdevprivate()
1091 return baycom_setmode(bc, hi.data.modename); in baycom_siocdevprivate()
1094 strncpy(hi.data.modename, "intclk,extclk,intmodem,extmodem,divider=x", in baycom_siocdevprivate()
1095 sizeof(hi.data.modename)); in baycom_siocdevprivate()
1102 if (copy_to_user(data, &hi, sizeof(hi))) in baycom_siocdevprivate()