Home
last modified time | relevance | path

Searched refs:nfc_err (Results 1 – 25 of 25) sorted by relevance

/linux-4.4.14/drivers/nfc/nxp-nci/
Di2c.c95 nfc_err(&client->dev, "Error %d on I2C send\n", r); in nxp_nci_i2c_write()
97 nfc_err(&client->dev, in nxp_nci_i2c_write()
126 nfc_err(&client->dev, "Incorrect header length: %u\n", r); in nxp_nci_i2c_fw_read()
144 nfc_err(&client->dev, in nxp_nci_i2c_fw_read()
170 nfc_err(&client->dev, "Incorrect header length: %u\n", r); in nxp_nci_i2c_nci_read()
186 nfc_err(&client->dev, in nxp_nci_i2c_nci_read()
244 nfc_err(&client->dev, "Read failed with error %d\n", r); in nxp_nci_i2c_irq_thread_fn()
283 nfc_err(&client->dev, "Failed to get EN gpio, error: %d\n", r); in nxp_nci_i2c_parse_devtree()
292 nfc_err(&client->dev, "Failed to get FW gpio, error: %d\n", r); in nxp_nci_i2c_parse_devtree()
299 nfc_err(&client->dev, "Unable to get irq, error: %d\n", r); in nxp_nci_i2c_parse_devtree()
[all …]
/linux-4.4.14/drivers/nfc/
Dnfcwilink.c151 nfc_err(&drv->pdev->dev, in nfcwilink_get_bts_file_name()
173 nfc_err(&drv->pdev->dev, in nfcwilink_get_bts_file_name()
182 nfc_err(&drv->pdev->dev, "invalid nci_vs_nfcc_info_rsp\n"); in nfcwilink_get_bts_file_name()
210 nfc_err(&drv->pdev->dev, in nfcwilink_send_bts_cmd()
222 nfc_err(&drv->pdev->dev, "no memory for bts cmd\n"); in nfcwilink_send_bts_cmd()
237 nfc_err(&drv->pdev->dev, in nfcwilink_send_bts_cmd()
261 nfc_err(&drv->pdev->dev, "request_firmware failed %d\n", rc); in nfcwilink_download_fw()
281 nfc_err(&drv->pdev->dev, "wrong bts magic number\n"); in nfcwilink_download_fw()
362 nfc_err(&drv->pdev->dev, "nci_recv_frame failed %d\n", rc); in nfcwilink_receive()
415 nfc_err(&drv->pdev->dev, in nfcwilink_open()
[all …]
Dpn533.c724 nfc_err(&dev->interface->dev, in pn533_recv_response()
736 nfc_err(&dev->interface->dev, "Received an invalid frame\n"); in pn533_recv_response()
742 nfc_err(&dev->interface->dev, in pn533_recv_response()
779 nfc_err(&dev->interface->dev, in pn533_recv_ack()
787 nfc_err(&dev->interface->dev, "Received an invalid ack\n"); in pn533_recv_ack()
794 nfc_err(&dev->interface->dev, in pn533_recv_ack()
1168 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in pn533_send_complete()
1469 nfc_err(&dev->interface->dev, in pn533_target_found()
1788 nfc_err(&dev->interface->dev, in pn533_init_target_complete()
1823 nfc_err(&dev->interface->dev, "RF setting error %d\n", rc); in pn533_rf_complete()
[all …]
Dport100.c606 nfc_err(&dev->interface->dev, in port100_recv_response()
611 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in port100_recv_response()
619 nfc_err(&dev->interface->dev, "Received an invalid frame\n"); in port100_recv_response()
628 nfc_err(&dev->interface->dev, in port100_recv_response()
659 nfc_err(&dev->interface->dev, in port100_recv_ack()
664 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in port100_recv_ack()
672 nfc_err(&dev->interface->dev, "Received an invalid ack\n"); in port100_recv_ack()
679 nfc_err(&dev->interface->dev, in port100_recv_ack()
875 nfc_err(&dev->interface->dev, in port100_send_complete()
880 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in port100_send_complete()
[all …]
Dnfcsim.c22 #define DEV_ERR(_dev, fmt, args...) nfc_err(&_dev->nfc_dev->dev, \
/linux-4.4.14/drivers/nfc/st-nci/
Di2c.c143 nfc_err(&client->dev, "invalid frame len\n"); in st_nci_i2c_read()
228 nfc_err(&client->dev, in st_nci_i2c_of_request_resources()
237 nfc_err(&client->dev, "Failed to request reset pin\n"); in st_nci_i2c_of_request_resources()
266 nfc_err(&client->dev, "No platform data\n"); in st_nci_i2c_request_resources()
298 nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); in st_nci_i2c_probe()
315 nfc_err(&client->dev, "No platform data\n"); in st_nci_i2c_probe()
321 nfc_err(&client->dev, in st_nci_i2c_probe()
326 nfc_err(&client->dev, in st_nci_i2c_probe()
335 nfc_err(&client->dev, "Unable to register ndlc layer\n"); in st_nci_i2c_probe()
345 nfc_err(&client->dev, "Unable to register IRQ handler\n"); in st_nci_i2c_probe()
Dspi.c156 nfc_err(&dev->dev, "invalid frame len\n"); in st_nci_spi_read()
243 nfc_err(&dev->dev, in st_nci_spi_of_request_resources()
252 nfc_err(&dev->dev, "Failed to request reset pin\n"); in st_nci_spi_of_request_resources()
281 nfc_err(&dev->dev, "No platform data\n"); in st_nci_spi_request_resources()
331 nfc_err(&dev->dev, "No platform data\n"); in st_nci_spi_probe()
337 nfc_err(&dev->dev, in st_nci_spi_probe()
342 nfc_err(&dev->dev, in st_nci_spi_probe()
351 nfc_err(&dev->dev, "Unable to register ndlc layer\n"); in st_nci_spi_probe()
361 nfc_err(&dev->dev, "Unable to register IRQ handler\n"); in st_nci_spi_probe()
Dse.c284 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on admin gate\n"); in st_nci_hci_admin_event_received()
309 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on apdu reader gate\n"); in st_nci_hci_apdu_reader_event_received()
365 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on connectivity gate\n"); in st_nci_hci_connectivity_event_received()
Dvendor_cmds.c346 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on loopback gate\n"); in st_nci_hci_loopback_event_received()
/linux-4.4.14/drivers/nfc/nfcmrvl/
Di2c.c48 nfc_err(&drv_data->i2c->dev, "cannot read NCI header\n"); in nfcmrvl_i2c_read()
53 nfc_err(&drv_data->i2c->dev, "invalid packet payload size\n"); in nfcmrvl_i2c_read()
72 nfc_err(&drv_data->i2c->dev, in nfcmrvl_i2c_read()
103 nfc_err(&drv_data->i2c->dev, "read failed %d\n", ret); in nfcmrvl_i2c_int_irq_thread_fn()
107 nfc_err(&drv_data->i2c->dev, "corrupted RX packet\n"); in nfcmrvl_i2c_int_irq_thread_fn()
148 nfc_err(drv_data->dev, in nfcmrvl_i2c_nci_send()
207 nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); in nfcmrvl_i2c_probe()
236 nfc_err(&drv_data->i2c->dev, in nfcmrvl_i2c_probe()
Dspi.c60 nfc_err(&drv_data->spi->dev, "failed to read spi packet"); in nfcmrvl_spi_int_irq_thread_fn()
65 nfc_err(&drv_data->spi->dev, "corrupted RX packet"); in nfcmrvl_spi_int_irq_thread_fn()
100 nfc_err(priv->dev, "spi_send failed %d", err); in nfcmrvl_spi_nci_send()
172 nfc_err(&drv_data->spi->dev, "Unable to register IRQ handler"); in nfcmrvl_spi_probe()
Dfw_dnld.c137 nfc_err(priv->dev, "FW loading timeout"); in fw_dnld_timeout()
280 nfc_err(priv->dev, "bad command"); in process_state_fw_dnld()
291 nfc_err(priv->dev, "bad len complement: %x %x %x", in process_state_fw_dnld()
314 nfc_err(priv->dev, "bad packet: waiting for credit"); in process_state_fw_dnld()
341 nfc_err(priv->dev, "bad packet: waiting for credit"); in process_state_fw_dnld()
353 nfc_err(priv->dev, "bad packet: waiting for credit"); in process_state_fw_dnld()
449 nfc_err(priv->dev, "FW loading error"); in fw_dnld_rx_work()
515 nfc_err(priv->dev, "failed to retrieve FW %s", firmware_name); in nfcmrvl_fw_dnld_start()
523 nfc_err(priv->dev, "bad firmware binary %s magic=0x%x phy=%d", in nfcmrvl_fw_dnld_start()
Dmain.c132 nfc_err(dev, "failed to request reset_n io\n"); in nfcmrvl_nci_register_dev()
155 nfc_err(dev, "nci_allocate_device failed\n"); in nfcmrvl_nci_register_dev()
164 nfc_err(dev, "nci_register_device failed %d\n", rc); in nfcmrvl_nci_register_dev()
173 nfc_err(dev, "failed to initialize FW download %d\n", rc); in nfcmrvl_nci_register_dev()
Dusb.c84 nfc_err(&drv_data->udev->dev, "failed to alloc mem\n"); in nfcmrvl_bulk_complete()
89 nfc_err(&drv_data->udev->dev, in nfcmrvl_bulk_complete()
106 nfc_err(&drv_data->udev->dev, in nfcmrvl_bulk_complete()
147 nfc_err(&drv_data->udev->dev, in nfcmrvl_submit_bulk_urb()
263 nfc_err(&drv_data->udev->dev, in nfcmrvl_usb_nci_send()
/linux-4.4.14/drivers/nfc/pn544/
Di2c.c239 nfc_err(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init()
383 nfc_err(&client->dev, "cannot read len byte\n"); in pn544_hci_i2c_read()
389 nfc_err(&client->dev, "invalid len byte\n"); in pn544_hci_i2c_read()
441 nfc_err(&client->dev, "cannot read fw status\n"); in pn544_hci_i2c_fw_read_status()
901 nfc_err(dev, "Unable to get EN GPIO\n"); in pn544_hci_i2c_acpi_request_resources()
911 nfc_err(dev, "Unable to get FW GPIO\n"); in pn544_hci_i2c_acpi_request_resources()
921 nfc_err(dev, "Unable to get IRQ GPIO\n"); in pn544_hci_i2c_acpi_request_resources()
930 nfc_err(dev, "Fail pin IRQ mapping\n"); in pn544_hci_i2c_acpi_request_resources()
959 nfc_err(&client->dev, in pn544_hci_i2c_of_request_resources()
968 nfc_err(&client->dev, "Fail EN pin\n"); in pn544_hci_i2c_of_request_resources()
[all …]
/linux-4.4.14/drivers/nfc/st21nfca/
Di2c.c527 nfc_err(&client->dev, "Failed to retrieve enable-gpios from device tree\n"); in st21nfca_hci_i2c_of_request_resources()
535 nfc_err(&client->dev, "Failed to request enable pin\n"); in st21nfca_hci_i2c_of_request_resources()
565 nfc_err(&client->dev, "No platform data\n"); in st21nfca_hci_i2c_request_resources()
599 nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); in st21nfca_hci_i2c_probe()
622 nfc_err(&client->dev, "No platform data\n"); in st21nfca_hci_i2c_probe()
628 nfc_err(&client->dev, "Cannot get platform resources\n"); in st21nfca_hci_i2c_probe()
632 nfc_err(&client->dev, "st21nfca platform resources not available\n"); in st21nfca_hci_i2c_probe()
638 nfc_err(&client->dev, "Unable to reboot st21nfca\n"); in st21nfca_hci_i2c_probe()
647 nfc_err(&client->dev, "Unable to register IRQ handler\n"); in st21nfca_hci_i2c_probe()
Dse.c347 nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n"); in st21nfca_connectivity_event_received()
380 nfc_err(&hdev->ndev->dev, "Unexpected event on apdu reader gate\n"); in st21nfca_apdu_reader_event_received()
Dvendor_cmds.c251 nfc_err(&hdev->ndev->dev, "Unexpected event on loopback gate\n"); in st21nfca_hci_loopback_event_received()
Ddep.c438 nfc_err(&hdev->ndev->dev, "Unexpected event on card f gate\n"); in st21nfca_dep_event_received()
Dcore.c897 nfc_err(&hdev->ndev->dev, "Unexpected event on admin gate\n"); in st21nfca_admin_event_received()
/linux-4.4.14/drivers/nfc/fdp/
Dfdp.c300 nfc_err(dev, "RAM patch request error\n"); in fdp_nci_request_firmware()
317 nfc_err(dev, "OTP patch request error\n"); in fdp_nci_request_firmware()
396 nfc_err(dev, "OTP patch error 0x%x\n", r); in fdp_nci_patch_otp()
407 nfc_err(dev, "OTP patch error 0x%x\n", r); in fdp_nci_patch_otp()
467 nfc_err(dev, "RAM patch error 0x%x\n", r); in fdp_nci_patch_ram()
478 nfc_err(dev, "RAM patch error 0x%x\n", r); in fdp_nci_patch_ram()
548 nfc_err(dev, "Firmware update failed"); in fdp_nci_setup()
562 nfc_err(dev, "Setup error %d\n", r); in fdp_nci_setup()
579 nfc_err(dev, "Vendor specific config set error %d\n", in fdp_nci_post_setup()
588 nfc_err(dev, "Clock set error %d\n", r); in fdp_nci_post_setup()
[all …]
Di2c.c297 nfc_err(dev, "No I2C_FUNC_I2C support\n"); in fdp_nci_i2c_probe()
321 nfc_err(&client->dev, "Unable to register IRQ handler\n"); in fdp_nci_i2c_probe()
330 nfc_err(dev, "Power GPIO request failed\n"); in fdp_nci_i2c_probe()
343 nfc_err(dev, "NCI probing error\n"); in fdp_nci_i2c_probe()
/linux-4.4.14/drivers/nfc/microread/
Di2c.c161 nfc_err(&client->dev, "cannot read len byte\n"); in microread_i2c_read()
167 nfc_err(&client->dev, "invalid len byte\n"); in microread_i2c_read()
258 nfc_err(&client->dev, "client %p: missing platform data\n", in microread_i2c_probe()
275 nfc_err(&client->dev, "Unable to register IRQ handler\n"); in microread_i2c_probe()
/linux-4.4.14/net/nfc/nci/
Duart.c344 nfc_err(nu->tty->dev, in nci_uart_default_recv_buf()
389 nfc_err(nu->tty->dev, "corrupted RX packet\n"); in nci_uart_default_recv_buf()
/linux-4.4.14/include/net/nfc/
Dnfc.h31 #define nfc_err(dev, fmt, ...) dev_err((dev), "NFC: " fmt, ##__VA_ARGS__) macro