Lines Matching refs:dev
22 struct device *dev; member
111 dev_warn(ir->dev, "receive overflow\n"); in process_ir_data()
115 dev_warn(ir->dev, "control code %02x received\n", in process_ir_data()
165 dev_dbg(ir->dev, "Error: urb status = %d\n", urb->status); in iguanair_rx()
171 dev_warn(ir->dev, "failed to resubmit urb: %d\n", rc); in iguanair_rx()
179 dev_dbg(ir->dev, "Error: out urb status = %d\n", urb->status); in iguanair_irq_out()
220 dev_info(ir->dev, "failed to get version\n"); in iguanair_get_features()
225 dev_err(ir->dev, "firmware 0x%04x is too old\n", ir->version); in iguanair_get_features()
237 dev_info(ir->dev, "failed to get buffer size\n"); in iguanair_get_features()
242 dev_info(ir->dev, "buffer size %u larger than expected\n", in iguanair_get_features()
251 dev_info(ir->dev, "failed to get features\n"); in iguanair_get_features()
271 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument
273 struct iguanair *ir = dev->priv; in iguanair_set_tx_carrier()
309 static int iguanair_set_tx_mask(struct rc_dev *dev, uint32_t mask) in iguanair_set_tx_mask() argument
311 struct iguanair *ir = dev->priv; in iguanair_set_tx_mask()
321 static int iguanair_tx(struct rc_dev *dev, unsigned *txbuf, unsigned count) in iguanair_tx() argument
323 struct iguanair *ir = dev->priv; in iguanair_tx()
377 dev_warn(ir->dev, "failed to disable receiver: %d\n", rc); in iguanair_close()
415 ir->dev = &intf->dev; in iguanair_probe()
434 dev_warn(&intf->dev, "failed to submit urb: %d\n", ret); in iguanair_probe()
450 rc->dev.parent = &intf->dev; in iguanair_probe()
470 dev_err(&intf->dev, "failed to register rc device %d", ret); in iguanair_probe()
516 dev_warn(ir->dev, "failed to disable receiver for suspend\n"); in iguanair_suspend()
532 dev_warn(&intf->dev, "failed to submit urb: %d\n", rc); in iguanair_resume()
537 dev_warn(ir->dev, "failed to enable receiver after resume\n"); in iguanair_resume()