| /linux/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 | 22 void mlx5_devcom_unregister_device(struct mlx5_devcom_dev *devc); 25 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()
|
| /linux/drivers/hid/intel-ish-hid/ishtp/ |
| 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 | 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() 113 dev_err(devc, "wait response of cmd %u timeout\n", req_hdr.command); 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() 153 dma_free_coherent(dev->devc, fragment_size, dma_bufs[i], dma_addr); in release_dma_bufs() 346 rv = request_ish_firmware(&ish_fw, dev->devc); in ishtp_loader_work() 348 dev_err(dev->devc, "request ISH firmware failed:%d\n", rv); in ishtp_loader_work() 364 dev_err(dev->devc, "prepare DMA buffer failed.\n"); in ishtp_loader_work() 375 dev_dbg(dev->devc, "ISH Version %u.%u.%u.%u\n", in ishtp_loader_work() [all …]
|
| 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 | 84 ret = devm_work_autocancel(dev->devc, &dev->work_fw_loader, ishtp_loader_work); in ishtp_device_init() 86 dev_err_probe(dev->devc, ret, "Failed to initialise FW loader work\n"); in ishtp_device_init() 101 dev_err(dev->devc, "HBM haven't started"); in ishtp_start() 110 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 | ishtp-dev.h | 147 struct device *devc; /* pointer to lowest device */ member
|
| A D | client.c | 1011 dev_err(dev->devc, "corrupted message header.\n"); in recv_ishtp_cl_msg() 1016 dev_err(dev->devc, in recv_ishtp_cl_msg() 1106 dev_err(dev->devc, "Dropped Rx msg - no request\n"); in recv_ishtp_cl_msg() 1233 dev_err(dev->devc, "Dropped Rx (DMA) msg - no request\n"); in recv_ishtp_cl_msg_dma()
|
| /linux/drivers/hid/intel-ish-hid/ipc/ |
| A D | ipc.c | 537 dev_err(dev->devc, in ish_fw_reset_handler() 568 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn() 666 dev_err(dev->devc, in ish_irq_handler() 717 dev_err(dev->devc, in ish_disable_dma() 827 dev_err(dev->devc, "Failed to send IPC MNG_RESET_NOTIFY\n"); in _ish_ipc_reset() 834 dev_err(dev->devc, "Timed out waiting for HW ready\n"); in _ish_ipc_reset() 865 dev_err(dev->devc, in ish_hw_start() 952 dev->devc = &pdev->dev; in ish_dev_init() 973 dev_err(dev->devc, in ish_dev_init() 983 dev_err(dev->devc, "Failed to initialise FW reset work\n"); in ish_dev_init()
|
| A D | pci-ish.c | 109 dev_err(dev->devc, "ISH: hw start failed.\n"); in ish_init() 116 dev_err(dev->devc, "ISHTP: Protocol init failed.\n"); in ish_init() 209 dev_set_drvdata(ishtp->devc, ishtp); in ish_probe()
|
| /linux/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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | main.c | 979 mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_HCA_PORTS, in mlx5_register_hca_devcom_comp() 995 dev->priv.devc = mlx5_devcom_register_device(dev); in mlx5_init_once() 996 if (IS_ERR(dev->priv.devc)) in mlx5_init_once() 998 PTR_ERR(dev->priv.devc)); in mlx5_init_once() 1135 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_init_once() 1165 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_cleanup_once()
|
| A D | eswitch_offloads.c | 3080 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
|
| A D | en_main.c | 231 priv->devcom = mlx5_devcom_register_component(priv->mdev->priv.devc, in mlx5e_devcom_init_mpv()
|
| /linux/sound/isa/ |
| A D | es18xx.c | 119 struct pnp_dev *devc; member 2023 chip->devc = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_audiodrive_pnpc() 2024 if (chip->devc == NULL) in snd_audiodrive_pnpc() 2028 if (pnp_activate_dev(chip->devc) < 0) { in snd_audiodrive_pnpc() 2034 (unsigned long long)pnp_port_start(chip->devc, 0)); in snd_audiodrive_pnpc()
|
| /linux/include/linux/mlx5/ |
| A D | driver.h | 629 struct mlx5_devcom_dev *devc; member
|