Lines Matching refs:lodev
51 struct loopback_dev *lodev = dev->priv; in loop_set_tx_mask() local
59 lodev->txmask = mask; in loop_set_tx_mask()
65 struct loopback_dev *lodev = dev->priv; in loop_set_tx_carrier() local
68 lodev->txcarrier = carrier; in loop_set_tx_carrier()
74 struct loopback_dev *lodev = dev->priv; in loop_set_tx_duty_cycle() local
82 lodev->txduty = duty_cycle; in loop_set_tx_duty_cycle()
88 struct loopback_dev *lodev = dev->priv; in loop_set_rx_carrier_range() local
96 lodev->rxcarriermin = min; in loop_set_rx_carrier_range()
97 lodev->rxcarriermax = max; in loop_set_rx_carrier_range()
103 struct loopback_dev *lodev = dev->priv; in loop_tx_ir() local
108 if (lodev->txcarrier < lodev->rxcarriermin || in loop_tx_ir()
109 lodev->txcarrier > lodev->rxcarriermax) { in loop_tx_ir()
114 if (lodev->learning) in loop_tx_ir()
119 if (!(rxmask & lodev->txmask)) { in loop_tx_ir()
144 struct loopback_dev *lodev = dev->priv; in loop_set_idle() local
146 if (lodev->idle != enable) { in loop_set_idle()
148 lodev->idle = enable; in loop_set_idle()
154 struct loopback_dev *lodev = dev->priv; in loop_set_learning_mode() local
156 if (lodev->learning != enable) { in loop_set_learning_mode()
158 lodev->learning = !!enable; in loop_set_learning_mode()
166 struct loopback_dev *lodev = dev->priv; in loop_set_carrier_report() local
168 if (lodev->carrierreport != enable) { in loop_set_carrier_report()
170 lodev->carrierreport = !!enable; in loop_set_carrier_report()