Home
last modified time | relevance | path

Searched refs:devc (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c47 struct mlx5_devcom_dev *devc; member
65 struct mlx5_devcom_dev *devc; in mlx5_devcom_dev_alloc() local
67 devc = kzalloc_obj(*devc); 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 Dsd.c222 devcom = mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_SD_GROUP, in sd_register()
H A Dclock.c1445 compd = mlx5_devcom_register_component(mdev->priv.devc, in mlx5_shared_clock_register()
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Ddma-if.c35 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 Dhbm.c99 dev_dbg(dev->devc, "Going to wait for ishtp start. hbm_state=%08X\n", in ishtp_hbm_start_wait()
105 dev_dbg(dev->devc, in ishtp_hbm_start_wait()
111 dev_err(dev->devc, in ishtp_hbm_start_wait()
146 dev_err(dev->devc, "version message send failed\n"); in ishtp_hbm_start_req()
175 dev_err(dev->devc, "enumeration request send failed\n"); in ishtp_hbm_enum_clients_req()
223 dev_err(dev->devc, "properties request send failed\n"); in ishtp_hbm_prop_req()
453 dev_err(dev->devc, "Bad DMA Tx ack message address\n"); in ishtp_hbm_dma_xfer_ack()
458 dev_err(dev->devc, "Bad DMA Tx ack message size\n"); in ishtp_hbm_dma_xfer_ack()
518 dev_err(dev->devc, "Bad DMA Rx message address\n"); in ishtp_hbm_dma_xfer()
523 dev_err(dev->devc, "Bad DMA Rx message size\n"); in ishtp_hbm_dma_xfer()
[all …]
H A Dbus.c53 dev_err(dev->devc, in ishtp_recv()
442 device->dev.parent = dev->devc; in ishtp_bus_add_device()
461 dev_err(dev->devc, "Failed to register ISHTP client device\n"); in ishtp_bus_add_device()
883 return device->ishtp_dev->devc; in ishtp_get_pci_device()
H A Dclient.c992 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()
/linux/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c259 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/
H A Dmain.c991 dev->priv.devc = mlx5_devcom_register_device(dev); in mlx5_init_once()
992 if (!dev->priv.devc) in mlx5_init_once()
1123 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_init_once()
1152 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_cleanup_once()
H A Deswitch_offloads.c3254 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
H A Den_main.c240 priv->devcom = mlx5_devcom_register_component(priv->mdev->priv.devc, in mlx5e_devcom_init_mpv()
/linux/include/linux/mlx5/
H A Ddriver.h606 struct mlx5_devcom_dev *devc; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c1648 mlx5_devcom_register_component(dev->priv.devc, in mlx5_lag_register_hca_devcom_comp()