/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 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() 81 if (!devc) { in mlx5_devcom_register_device() 89 return devc; in mlx5_devcom_register_device() 98 list_del(&devc->list); in mlx5_devcom_dev_release() 100 kfree(devc); in mlx5_devcom_dev_release() 150 kref_get(&devc->ref); in devcom_alloc_comp_dev() [all …]
|
H A D | devcom.h | 19 void mlx5_devcom_unregister_device(struct mlx5_devcom_dev *devc); 22 mlx5_devcom_register_component(struct mlx5_devcom_dev *devc,
|
/openbmc/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 | hbm.c | 105 dev_dbg(dev->devc, in ishtp_hbm_start_wait() 111 dev_err(dev->devc, in ishtp_hbm_start_wait() 580 dev_err(dev->devc, in ishtp_hbm_dispatch() 606 dev_err(dev->devc, in ishtp_hbm_dispatch() 613 dev_err(dev->devc, in ishtp_hbm_dispatch() 622 dev_err(dev->devc, in ishtp_hbm_dispatch() 673 dev_err(dev->devc, in ishtp_hbm_dispatch() 707 dev_err(dev->devc, in ishtp_hbm_dispatch() 718 dev_err(dev->devc, in ishtp_hbm_dispatch() 726 dev_err(dev->devc, "unknown HBM: %u\n", in ishtp_hbm_dispatch() [all …]
|
H A D | init.c | 93 dev_err(dev->devc, "HBM haven't started"); in ishtp_start() 102 dev_err(dev->devc, "link layer initialization failed.\n"); in ishtp_start()
|
H 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() 875 return device->ishtp_dev->devc; in ishtp_get_pci_device()
|
H A D | ishtp-dev.h | 129 struct device *devc; /* pointer to lowest device */ member
|
H A D | client.c | 846 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()
|
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 537 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() 951 dev->devc = &pdev->dev; in ish_dev_init() 972 dev_err(dev->devc, in ish_dev_init() 982 dev_err(dev->devc, "Failed to initialise FW reset work\n"); in ish_dev_init()
|
H A D | pci-ish.c | 91 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() 234 dev_set_drvdata(ishtp->devc, ishtp); in ish_probe() 390 dev_dbg(dev->devc, "set power state to D0 for ehl\n"); in ish_resume()
|
/openbmc/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()
|
/openbmc/linux/sound/isa/ |
H A D | es18xx.c | 120 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 959 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()
|
H A D | eswitch_offloads.c | 3065 esw->devcom = mlx5_devcom_register_component(esw->dev->priv.devc, in mlx5_esw_offloads_devcom_init()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | driver.h | 623 struct mlx5_devcom_dev *devc; member
|