| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | devcom.c | 60 devc = kzalloc(sizeof(*devc), GFP_KERNEL); in mlx5_devcom_dev_alloc() 61 if (!devc) in mlx5_devcom_dev_alloc() 64 devc->dev = dev; in mlx5_devcom_dev_alloc() 65 kref_init(&devc->ref); in mlx5_devcom_dev_alloc() 66 return devc; in mlx5_devcom_dev_alloc() 82 if (!devc) { in mlx5_devcom_register_device() 90 return devc; in mlx5_devcom_register_device() 99 list_del(&devc->list); in mlx5_devcom_dev_release() 101 kfree(devc); in mlx5_devcom_dev_release() 154 kref_get(&devc->ref); in devcom_alloc_comp_dev() [all …]
|
| A D | devcom.h | 23 void mlx5_devcom_unregister_device(struct mlx5_devcom_dev *devc); 26 mlx5_devcom_register_component(struct mlx5_devcom_dev *devc,
|
| A D | sd.c | 218 devcom = mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_SD_GROUP, in sd_register()
|
| A D | clock.c | 1353 mdev->clock_state->compdev = mlx5_devcom_register_component(mdev->priv.devc, in mlx5_shared_clock_register()
|
| /drivers/hid/intel-ish-hid/ishtp/ |
| A D | loader.c | 92 struct device *devc = dev->devc; in loader_xfer_cmd() local 102 dev_err(devc, "write cmd %u failed:%d\n", req_hdr.command, rv); in loader_xfer_cmd() 118 dev_err(devc, "not a response for %u\n", req_hdr.command); in loader_xfer_cmd() 123 dev_err(devc, "unexpected cmd response %u:%u\n", req_hdr.command, in loader_xfer_cmd() 369 rv = request_ish_firmware(&ish_fw, dev->devc); in ishtp_loader_work() 371 dev_err(dev->devc, "request ISH firmware failed:%d\n", rv); in ishtp_loader_work() 387 dev_err(dev->devc, "prepare DMA buffer failed.\n"); in ishtp_loader_work() 398 dev_dbg(dev->devc, "ISH Bootloader Version %u.%u.%u.%u\n", in ishtp_loader_work() 415 dev_info(dev->devc, "firmware loaded. size:%zu\n", ish_fw->size); in ishtp_loader_work() 419 dev_info(dev->devc, "FW base version: %u.%u.%u.%u\n", in ishtp_loader_work() [all …]
|
| A D | dma-if.c | 35 dev->ishtp_host_dma_tx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf() 50 dev->ishtp_host_dma_rx_buf = dma_alloc_coherent(dev->devc, in ishtp_cl_alloc_dma_buf() 72 dma_free_coherent(dev->devc, dev->ishtp_host_dma_tx_buf_size, in ishtp_cl_free_dma_buf() 78 dma_free_coherent(dev->devc, dev->ishtp_host_dma_rx_buf_size, in ishtp_cl_free_dma_buf() 108 dev_err(dev->devc, "Fail to allocate Tx map\n"); in ishtp_cl_get_dma_send_buf() 131 dev_err(dev->devc, "No free DMA buffer to send msg\n"); in ishtp_cl_get_dma_send_buf() 154 dev_err(dev->devc, "Bad DMA Tx ack address\n"); in ishtp_cl_release_dma_acked_mem() 159 dev_err(dev->devc, "Fail to allocate Tx map\n"); in ishtp_cl_release_dma_acked_mem() 170 dev_err(dev->devc, "Bad DMA Tx ack address\n"); in ishtp_cl_release_dma_acked_mem()
|
| A D | hbm.c | 106 dev_dbg(dev->devc, in ishtp_hbm_start_wait() 112 dev_err(dev->devc, in ishtp_hbm_start_wait() 585 dev_err(dev->devc, in ishtp_hbm_dispatch() 611 dev_err(dev->devc, in ishtp_hbm_dispatch() 618 dev_err(dev->devc, in ishtp_hbm_dispatch() 627 dev_err(dev->devc, in ishtp_hbm_dispatch() 678 dev_err(dev->devc, in ishtp_hbm_dispatch() 712 dev_err(dev->devc, in ishtp_hbm_dispatch() 723 dev_err(dev->devc, in ishtp_hbm_dispatch() 731 dev_err(dev->devc, "unknown HBM: %u\n", in ishtp_hbm_dispatch() [all …]
|
| A D | init.c | 54 ret = devm_work_autocancel(dev->devc, &dev->work_fw_loader, ishtp_loader_work); in ishtp_device_init() 56 dev_err_probe(dev->devc, ret, "Failed to initialise FW loader work\n"); in ishtp_device_init() 71 dev_err(dev->devc, "HBM haven't started"); in ishtp_start() 80 dev_err(dev->devc, "link layer initialization failed.\n"); in ishtp_start()
|
| A D | bus.c | 53 dev_err(dev->devc, in ishtp_recv() 434 device->dev.parent = dev->devc; in ishtp_bus_add_device() 453 dev_err(dev->devc, "Failed to register ISHTP client device\n"); in ishtp_bus_add_device() 878 return device->ishtp_dev->devc; in ishtp_get_pci_device()
|
| A D | client.c | 992 dev_err(dev->devc, "corrupted message header.\n"); in recv_ishtp_cl_msg() 997 dev_err(dev->devc, in recv_ishtp_cl_msg() 1087 dev_err(dev->devc, "Dropped Rx msg - no request\n"); in recv_ishtp_cl_msg() 1214 dev_err(dev->devc, "Dropped Rx (DMA) msg - no request\n"); in recv_ishtp_cl_msg_dma()
|
| A D | ishtp-dev.h | 153 struct device *devc; /* pointer to lowest device */ member
|
| /drivers/hid/intel-ish-hid/ipc/ |
| A D | ipc.c | 541 dev_err(dev->devc, in ish_fw_reset_handler() 572 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn() 669 dev_err(dev->devc, in ish_irq_handler() 720 dev_err(dev->devc, in ish_disable_dma() 830 dev_err(dev->devc, "Failed to send IPC MNG_RESET_NOTIFY\n"); in _ish_ipc_reset() 837 dev_err(dev->devc, "Timed out waiting for HW ready\n"); in _ish_ipc_reset() 868 dev_err(dev->devc, in ish_hw_start() 955 dev->devc = &pdev->dev; in ish_dev_init() 976 dev_err(dev->devc, in ish_dev_init() 986 dev_err(dev->devc, "Failed to initialise FW reset work\n"); in ish_dev_init()
|
| A D | pci-ish.c | 122 dev_err(dev->devc, "ISH: hw start failed.\n"); in ish_init() 129 dev_err(dev->devc, "ISHTP: Protocol init failed.\n"); in ish_init() 222 dev_set_drvdata(ishtp->devc, ishtp); in ish_probe()
|
| /drivers/hid/intel-ish-hid/ |
| A D | ishtp-fw-loader.c | 259 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in get_firmware_variant() local 261 rv = device_property_read_string(devc, "firmware-name", &val); in get_firmware_variant() 263 dev_err(devc, in get_firmware_variant() 644 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in ish_fw_xfer_direct_dma() local 664 dma_buf = dma_alloc_coherent(devc, payload_max_size, &dma_buf_phy, GFP_KERNEL); in ish_fw_xfer_direct_dma() 713 dma_free_coherent(devc, payload_max_size, dma_buf, dma_buf_phy); in ish_fw_xfer_direct_dma()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | main.c | 985 mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_HCA_PORTS, in mlx5_register_hca_devcom_comp() 1001 dev->priv.devc = mlx5_devcom_register_device(dev); in mlx5_init_once() 1002 if (IS_ERR(dev->priv.devc)) in mlx5_init_once() 1004 PTR_ERR(dev->priv.devc)); in mlx5_init_once() 1144 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_init_once() 1175 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_cleanup_once()
|
| A D | eswitch_offloads.c | 3096 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
|
| A D | en_main.c | 235 priv->devcom = mlx5_devcom_register_component(priv->mdev->priv.devc, in mlx5e_devcom_init_mpv()
|