Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c39 struct mlx5_devcom_dev *devc; member
57 struct mlx5_devcom_dev *devc; in mlx5_devcom_dev_alloc() local
59 devc = kzalloc(sizeof(*devc), GFP_KERNEL); in mlx5_devcom_dev_alloc()
60 if (!devc) in mlx5_devcom_dev_alloc()
63 devc->dev = dev; in mlx5_devcom_dev_alloc()
64 kref_init(&devc->ref); in mlx5_devcom_dev_alloc()
65 return devc; in mlx5_devcom_dev_alloc()
71 struct mlx5_devcom_dev *devc; in mlx5_devcom_register_device() local
76 devc = ERR_PTR(-EEXIST); in mlx5_devcom_register_device()
80 devc = mlx5_devcom_dev_alloc(dev); in mlx5_devcom_register_device()
[all …]
Ddevcom.h19 void mlx5_devcom_unregister_device(struct mlx5_devcom_dev *devc);
22 mlx5_devcom_register_component(struct mlx5_devcom_dev *devc,
/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
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()
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 …]
Dinit.c93 dev_err(dev->devc, "HBM haven't started"); in ishtp_start()
102 dev_err(dev->devc, "link layer initialization failed.\n"); in ishtp_start()
Dbus.c53 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()
875 return device->ishtp_dev->devc; in ishtp_get_pci_device()
Dishtp-dev.h129 struct device *devc; /* pointer to lowest device */ member
Dclient.c846 dev_err(dev->devc, "corrupted message header.\n"); in recv_ishtp_cl_msg()
851 dev_err(dev->devc, in recv_ishtp_cl_msg()
941 dev_err(dev->devc, "Dropped Rx msg - no request\n"); in recv_ishtp_cl_msg()
1068 dev_err(dev->devc, "Dropped Rx (DMA) msg - no request\n"); in recv_ishtp_cl_msg_dma()
/linux-6.6.21/drivers/hid/intel-ish-hid/ipc/
Dipc.c537 dev_err(dev->devc, in ish_fw_reset_handler()
567 dev_err(ishtp_dev->devc, "[ishtp-ish]: FW reset failed (%d)\n", in fw_reset_work_fn()
665 dev_err(dev->devc, in ish_irq_handler()
716 dev_err(dev->devc, in ish_disable_dma()
826 dev_err(dev->devc, "Failed to send IPC MNG_RESET_NOTIFY\n"); in _ish_ipc_reset()
833 dev_err(dev->devc, "Timed out waiting for HW ready\n"); in _ish_ipc_reset()
864 dev_err(dev->devc, in ish_hw_start()
971 dev_err(dev->devc, in ish_dev_init()
981 dev_err(dev->devc, "Failed to initialise FW reset work\n"); in ish_dev_init()
986 dev->devc = &pdev->dev; in ish_dev_init()
Dpci-ish.c91 dev_err(dev->devc, "ISH: hw start failed.\n"); in ish_init()
98 dev_err(dev->devc, "ISHTP: Protocol init failed.\n"); in ish_init()
229 dev_set_drvdata(ishtp->devc, ishtp); in ish_probe()
385 dev_dbg(dev->devc, "set power state to D0 for ehl\n"); in ish_resume()
/linux-6.6.21/drivers/hid/intel-ish-hid/
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-6.6.21/sound/isa/
Des18xx.c120 struct pnp_dev *devc; member
2019 chip->devc = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_audiodrive_pnpc()
2020 if (chip->devc == NULL) in snd_audiodrive_pnpc()
2024 if (pnp_activate_dev(chip->devc) < 0) { in snd_audiodrive_pnpc()
2029 (unsigned long long)pnp_port_start(chip->devc, 0)); in snd_audiodrive_pnpc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c959 dev->priv.devc = mlx5_devcom_register_device(dev); in mlx5_init_once()
960 if (IS_ERR(dev->priv.devc)) in mlx5_init_once()
962 PTR_ERR(dev->priv.devc)); in mlx5_init_once()
1097 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_init_once()
1126 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_cleanup_once()
Deswitch_offloads.c3048 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h623 struct mlx5_devcom_dev *devc; member