Lines Matching refs:lnr
74 u32 tag = DDB_LINK_TAG(port->lnr); in max_send_master_cmd()
76 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_send_master_cmd()
83 mutex_lock(&dev->link[port->lnr].lnb.lock); in max_send_master_cmd()
87 lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); in max_send_master_cmd()
88 mutex_unlock(&dev->link[port->lnr].lnb.lock); in max_send_master_cmd()
183 dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; in max_set_input_unlocked()
185 dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; in max_set_input_unlocked()
187 dev->link[port->lnr].lnb.voltage[dvb->input & 3] |= obit; in max_set_input_unlocked()
201 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_tone()
203 mutex_lock(&dev->link[port->lnr].lnb.lock); in max_set_tone()
209 res = lnb_set_tone(dev, port->lnr, dvb->input, tone); in max_set_tone()
227 mutex_unlock(&dev->link[port->lnr].lnb.lock); in max_set_tone()
238 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
240 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_voltage()
242 mutex_lock(&dev->link[port->lnr].lnb.lock); in max_set_voltage()
252 dev->link[port->lnr].lnb.voltage[dvb->input] &= in max_set_voltage()
255 dev->link[port->lnr].lnb.voltage[dvb->input] |= in max_set_voltage()
258 res = lnb_set_voltage(dev, port->lnr, dvb->input, voltage); in max_set_voltage()
263 dev->link[port->lnr].lnb.voltages &= in max_set_voltage()
266 dev->link[port->lnr].lnb.voltages |= in max_set_voltage()
269 nv = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
287 dev, port->lnr, in max_set_voltage()
291 dev, port->lnr, in max_set_voltage()
295 dev, port->lnr, in max_set_voltage()
298 dev, port->lnr, in max_set_voltage()
302 dev, port->lnr, in max_set_voltage()
305 dev, port->lnr, in max_set_voltage()
309 dev, port->lnr, in max_set_voltage()
314 dev, port->lnr, in max_set_voltage()
318 dev, port->lnr, in max_set_voltage()
321 dev, port->lnr, in max_set_voltage()
324 dev, port->lnr, in max_set_voltage()
331 mutex_unlock(&dev->link[port->lnr].lnb.lock); in max_set_voltage()
405 struct ddb_link *link = &dev->link[port->lnr]; in ddb_fe_attach_mxl5xx()
432 lnb_command(dev, port->lnr, input->nr, LNB_CMD_INIT); in ddb_fe_attach_mxl5xx()
433 lnb_set_voltage(dev, port->lnr, input->nr, SEC_VOLTAGE_OFF); in ddb_fe_attach_mxl5xx()
456 struct ddb_link *link = &dev->link[port->lnr]; in ddb_fe_attach_mci()
481 lnb_command(dev, port->lnr, input->nr, LNB_CMD_INIT); in ddb_fe_attach_mci()
482 lnb_set_voltage(dev, port->lnr, input->nr, SEC_VOLTAGE_OFF); in ddb_fe_attach_mci()