Searched refs:devc (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | devcom.c | 47 struct mlx5_devcom_dev *devc; member 65 struct mlx5_devcom_dev *devc; in mlx5_devcom_dev_alloc() local 67 devc = kzalloc(sizeof(*devc), GFP_KERNEL); in mlx5_devcom_dev_alloc() 68 if (!devc) in mlx5_devcom_dev_alloc() 71 devc->dev = dev; in mlx5_devcom_dev_alloc() 72 kref_init(&devc->ref); in mlx5_devcom_dev_alloc() 73 return devc; in mlx5_devcom_dev_alloc() 79 struct mlx5_devcom_dev *devc = NULL; in mlx5_devcom_register_device() local 88 devc = mlx5_devcom_dev_alloc(dev); in mlx5_devcom_register_device() 89 if (!devc) in mlx5_devcom_register_device() [all …]
|
| H A D | sd.c | 222 devcom = mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_SD_GROUP, in sd_register()
|
| H A D | clock.c | 1446 compd = mlx5_devcom_register_component(mdev->priv.devc, in mlx5_shared_clock_register()
|
| /linux/drivers/hid/intel-ish-hid/ishtp/ |
| H 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()
|
| H 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() 129 dev_err(devc, "cmd %u failed %u\n", req_hdr.command, resp_hdr.status); in loader_xfer_cmd() 153 dma_free_coherent(dev->devc, fragment_size, dma_bufs[i], dma_addr); in release_dma_bufs() 181 dma_bufs[i] = dma_alloc_coherent(dev->devc, fragment_size, &dma_addr, GFP_KERNEL); in prepare_dma_bufs() 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() [all …]
|
| /linux/drivers/hid/intel-ish-hid/ |
| H 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()
|