/Linux-v4.19/drivers/dma/qcom/ |
D | hidma_ll.c | 124 void hidma_ll_free(struct hidma_lldev *lldev, u32 tre_ch) in hidma_ll_free() argument 128 if (tre_ch >= lldev->nr_tres) { in hidma_ll_free() 129 dev_err(lldev->dev, "invalid TRE number in free:%d", tre_ch); in hidma_ll_free() 133 tre = &lldev->trepool[tre_ch]; in hidma_ll_free() 135 dev_err(lldev->dev, "trying to free an unused TRE:%d", tre_ch); in hidma_ll_free() 142 int hidma_ll_request(struct hidma_lldev *lldev, u32 sig, const char *dev_name, in hidma_ll_request() argument 149 if (!tre_ch || !lldev) in hidma_ll_request() 153 for (i = 0; i < lldev->nr_tres - 1; i++) { in hidma_ll_request() 154 if (atomic_add_unless(&lldev->trepool[i].allocated, 1, 1)) in hidma_ll_request() 158 if (i == (lldev->nr_tres - 1)) in hidma_ll_request() [all …]
|
D | hidma_dbg.c | 25 struct hidma_lldev *lldev = llhndl; in hidma_ll_chstats() local 32 if (tre_ch >= lldev->nr_tres) { in hidma_ll_chstats() 33 dev_err(lldev->dev, "invalid TRE number in chstats:%d", tre_ch); in hidma_ll_chstats() 36 tre = &lldev->trepool[tre_ch]; in hidma_ll_chstats() 64 struct hidma_lldev *lldev = llhndl; in hidma_ll_devstats() local 67 seq_printf(s, "lldev init = 0x%x\n", lldev->initialized); in hidma_ll_devstats() 68 seq_printf(s, "trch_state = 0x%x\n", lldev->trch_state); in hidma_ll_devstats() 69 seq_printf(s, "evch_state = 0x%x\n", lldev->evch_state); in hidma_ll_devstats() 70 seq_printf(s, "chidx = 0x%x\n", lldev->chidx); in hidma_ll_devstats() 71 seq_printf(s, "nr_tres = 0x%x\n", lldev->nr_tres); in hidma_ll_devstats() [all …]
|
D | hidma.c | 85 return container_of(_lldevp, struct hidma_dev, lldev); in to_hidma_dev_from_lldev() 145 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed() 231 hidma_ll_start(dmadev->lldev); in hidma_issue_task() 244 hidma_ll_queue_request(dmadev->lldev, qdesc->tre_ch); in hidma_issue_pending() 261 hidma_ll_start(dmadev->lldev); in hidma_issue_pending() 325 if (!hidma_ll_isenabled(dmadev->lldev)) { in hidma_tx_submit() 370 rc = hidma_ll_request(dmadev->lldev, mchan->dma_sig, in hidma_alloc_chan_resources() 385 hidma_ll_free(dmadev->lldev, mdesc->tre_ch); in hidma_alloc_chan_resources() 418 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memcpy() 450 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memset() [all …]
|
D | hidma.h | 45 struct hidma_lldev *lldev; /* lldma device pointer */ member 126 struct hidma_lldev *lldev; member 155 int hidma_ll_disable(struct hidma_lldev *lldev); 159 void hidma_ll_setup_irq(struct hidma_lldev *lldev, bool msi); 160 int hidma_ll_setup(struct hidma_lldev *lldev);
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_ll.c | 143 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_open() local 144 if (!IS_ERR(lldev->ext_clk)) in ll_open() 145 clk_prepare_enable(lldev->ext_clk); in ll_open() 177 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_close() local 178 gpiod_set_value_cansleep(lldev->enable_gpio, 0); in ll_close() 180 clk_disable_unprepare(lldev->ext_clk); in ll_close() 495 static int download_firmware(struct ll_device *lldev) in download_firmware() argument 505 version = read_local_version(lldev->hu.hdev); in download_firmware() 519 err = request_firmware(&fw, bts_scr_name, &lldev->serdev->dev); in download_firmware() 521 bt_dev_err(lldev->hu.hdev, "request_firmware failed(errno %d) for %s", in download_firmware() [all …]
|
/Linux-v4.19/net/caif/ |
D | chnl_net.c | 264 struct net_device *lldev; in chnl_net_open() local 285 lldev = __dev_get_by_index(dev_net(dev), llifindex); in chnl_net_open() 287 if (lldev == NULL) { in chnl_net_open() 293 dev->needed_tailroom = tailroom + lldev->needed_tailroom; in chnl_net_open() 294 dev->hard_header_len = headroom + lldev->hard_header_len + in chnl_net_open() 295 lldev->needed_tailroom; in chnl_net_open() 304 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 185 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_act_open_req() 266 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_abort_req() 289 cxgb3_ofld_send(csk->cdev->lldev, skb); in send_abort_rpl() 318 cxgb3_ofld_send(csk->cdev->lldev, skb); in send_rx_credits() 455 l2t_send(csk->cdev->lldev, skb, csk->l2t); in push_tx_frames() 469 cxgb3_free_atid(csk->cdev->lldev, csk->atid); in free_atid() 490 cxgb3_insert_tid(csk->cdev->lldev, &t3_client, csk, tid); in do_act_establish() 896 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in l2t_put() 907 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in release_offload_resources() 958 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev; in init_act_open() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1029 struct net_device *lldev = iwch_dev->rdev.t3cdev_p->lldev; in fw_vers_string_to_u64() local 1033 lldev->ethtool_ops->get_drvinfo(lldev, &info); in fw_vers_string_to_u64() 1060 memcpy(&props->sys_image_guid, dev->rdev.t3cdev_p->lldev->dev_addr, 6); in iwch_query_device() 1145 struct net_device *lldev = iwch_dev->rdev.t3cdev_p->lldev; in show_hca() local 1148 lldev->ethtool_ops->get_drvinfo(lldev, &info); in show_hca() 1309 struct net_device *lldev = iwch_dev->rdev.t3cdev_p->lldev; in get_dev_fw_ver_str() local 1312 lldev->ethtool_ops->get_drvinfo(lldev, &info); in get_dev_fw_ver_str() 1324 memcpy(&dev->ibdev.node_guid, dev->rdev.t3cdev_p->lldev->dev_addr, 6); in iwch_register_device() 1401 memcpy(dev->ibdev.iwcm->ifname, dev->rdev.t3cdev_p->lldev->name, in iwch_register_device()
|
D | cxio_hal.c | 926 netdev_p = rdev_p->t3cdev_p->lldev; in cxio_rdev_open()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3cdev.h | 56 struct net_device *lldev; /* LL dev associated with T3C messages */ member
|
D | cxgb3_main.c | 1364 tdev->lldev = adapter->port[0]; in offload_open() 1376 if (sysfs_create_group(&tdev->lldev->dev.kobj, &offload_attr_group)) in offload_open() 1403 sysfs_remove_group(&tdev->lldev->dev.kobj, &offload_attr_group); in offload_close() 1408 tdev->lldev = NULL; in offload_close()
|
D | cxgb3_offload.c | 921 skb->dev = dev->lldev; in do_trace()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 132 void *lldev; member 326 void *lldev, struct cxgbi_tag_format *,
|
D | libcxgb_ppm.c | 381 struct pci_dev *pdev, void *lldev, in cxgbi_ppm_init() argument 439 ppm->lldev = lldev; in cxgbi_ppm_init()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 392 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in show_hca() local 395 lldev->ethtool_ops->get_drvinfo(lldev, &info); in show_hca()
|
/Linux-v4.19/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 200 struct cxgbi_device *cxgbi_device_find_by_lldev(void *lldev) in cxgbi_device_find_by_lldev() argument 206 if (cdev->lldev == lldev) { in cxgbi_device_find_by_lldev() 214 "lldev 0x%p, NO match found.\n", lldev); in cxgbi_device_find_by_lldev() 1290 cdev->lldev, tformat, ppmax, llimit, start, in cxgbi_ddp_ppm_setup()
|
D | libcxgbi.h | 463 void *lldev; member
|