/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.c | 40 struct mlx5_devcom_dev *devc; member 58 struct mlx5_devcom_dev *devc; in mlx5_devcom_dev_alloc() local 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() 72 struct mlx5_devcom_dev *devc; in mlx5_devcom_register_device() local 77 devc = ERR_PTR(-EEXIST); in mlx5_devcom_register_device() 81 devc = mlx5_devcom_dev_alloc(dev); in mlx5_devcom_register_device() [all …]
|
D | devcom.h | 22 void mlx5_devcom_unregister_device(struct mlx5_devcom_dev *devc); 25 mlx5_devcom_register_component(struct mlx5_devcom_dev *devc,
|
D | sd.c | 218 devcom = mlx5_devcom_register_component(dev->priv.devc, MLX5_DEVCOM_SD_GROUP, in sd_register()
|
/linux-6.14.4/drivers/hid/intel-ish-hid/ishtp/ |
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()
|
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 …]
|
D | hbm.c | 100 dev_dbg(dev->devc, "Going to wait for ishtp start. hbm_state=%08X\n", in ishtp_hbm_start_wait() 106 dev_dbg(dev->devc, in ishtp_hbm_start_wait() 112 dev_err(dev->devc, in ishtp_hbm_start_wait() 147 dev_err(dev->devc, "version message send failed\n"); in ishtp_hbm_start_req() 176 dev_err(dev->devc, "enumeration request send failed\n"); in ishtp_hbm_enum_clients_req() 224 dev_err(dev->devc, "properties request send failed\n"); in ishtp_hbm_prop_req() 454 dev_err(dev->devc, "Bad DMA Tx ack message address\n"); in ishtp_hbm_dma_xfer_ack() 459 dev_err(dev->devc, "Bad DMA Tx ack message size\n"); in ishtp_hbm_dma_xfer_ack() 519 dev_err(dev->devc, "Bad DMA Rx message address\n"); in ishtp_hbm_dma_xfer() 524 dev_err(dev->devc, "Bad DMA Rx message size\n"); in ishtp_hbm_dma_xfer() [all …]
|
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()
|
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()
|
D | ishtp-dev.h | 153 struct device *devc; /* pointer to lowest device */ member
|
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()
|
/linux-6.14.4/drivers/hid/intel-ish-hid/ipc/ |
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()
|
D | pci-ish.c | 116 dev_err(dev->devc, "ISH: hw start failed.\n"); in ish_init() 123 dev_err(dev->devc, "ISHTP: Protocol init failed.\n"); in ish_init() 216 dev_set_drvdata(ishtp->devc, ishtp); in ish_probe()
|
/linux-6.14.4/drivers/hid/intel-ish-hid/ |
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-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/ |
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() 1141 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_init_once() 1171 mlx5_devcom_unregister_device(dev->priv.devc); in mlx5_cleanup_once()
|
D | eswitch_offloads.c | 3095 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
|
D | en_main.c | 231 priv->devcom = mlx5_devcom_register_component(priv->mdev->priv.devc, in mlx5e_devcom_init_mpv()
|
/linux-6.14.4/sound/isa/ |
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-6.14.4/include/linux/mlx5/ |
D | driver.h | 602 struct mlx5_devcom_dev *devc; member
|