/linux-5.19.10/drivers/dma/qcom/ ! |
D | hidma_ll.c | 116 void hidma_ll_free(struct hidma_lldev *lldev, u32 tre_ch) in hidma_ll_free() argument 120 if (tre_ch >= lldev->nr_tres) { in hidma_ll_free() 121 dev_err(lldev->dev, "invalid TRE number in free:%d", tre_ch); in hidma_ll_free() 125 tre = &lldev->trepool[tre_ch]; in hidma_ll_free() 127 dev_err(lldev->dev, "trying to free an unused TRE:%d", tre_ch); in hidma_ll_free() 134 int hidma_ll_request(struct hidma_lldev *lldev, u32 sig, const char *dev_name, in hidma_ll_request() argument 141 if (!tre_ch || !lldev) in hidma_ll_request() 145 for (i = 0; i < lldev->nr_tres - 1; i++) { in hidma_ll_request() 146 if (atomic_add_unless(&lldev->trepool[i].allocated, 1, 1)) in hidma_ll_request() 150 if (i == (lldev->nr_tres - 1)) in hidma_ll_request() [all …]
|
D | hidma_dbg.c | 17 struct hidma_lldev *lldev = llhndl; in hidma_ll_chstats() local 24 if (tre_ch >= lldev->nr_tres) { in hidma_ll_chstats() 25 dev_err(lldev->dev, "invalid TRE number in chstats:%d", tre_ch); in hidma_ll_chstats() 28 tre = &lldev->trepool[tre_ch]; in hidma_ll_chstats() 56 struct hidma_lldev *lldev = llhndl; in hidma_ll_devstats() local 59 seq_printf(s, "lldev init = 0x%x\n", lldev->initialized); in hidma_ll_devstats() 60 seq_printf(s, "trch_state = 0x%x\n", lldev->trch_state); in hidma_ll_devstats() 61 seq_printf(s, "evch_state = 0x%x\n", lldev->evch_state); in hidma_ll_devstats() 62 seq_printf(s, "chidx = 0x%x\n", lldev->chidx); in hidma_ll_devstats() 63 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() 135 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed() 226 hidma_ll_start(dmadev->lldev); in hidma_issue_task() 239 hidma_ll_queue_request(dmadev->lldev, qdesc->tre_ch); in hidma_issue_pending() 256 hidma_ll_start(dmadev->lldev); in hidma_issue_pending() 320 if (!hidma_ll_isenabled(dmadev->lldev)) { in hidma_tx_submit() 365 rc = hidma_ll_request(dmadev->lldev, mchan->dma_sig, in hidma_alloc_chan_resources() 380 hidma_ll_free(dmadev->lldev, mdesc->tre_ch); in hidma_alloc_chan_resources() 414 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memcpy() 458 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memset() [all …]
|
D | hidma.h | 37 struct hidma_lldev *lldev; /* lldma device pointer */ member 116 struct hidma_lldev *lldev; member 144 int hidma_ll_disable(struct hidma_lldev *lldev); 148 void hidma_ll_setup_irq(struct hidma_lldev *lldev, bool msi); 149 int hidma_ll_setup(struct hidma_lldev *lldev);
|
/linux-5.19.10/drivers/bluetooth/ ! |
D | hci_ll.c | 130 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_open() local 132 if (!IS_ERR(lldev->ext_clk)) in ll_open() 133 clk_prepare_enable(lldev->ext_clk); in ll_open() 165 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_close() local 167 gpiod_set_value_cansleep(lldev->enable_gpio, 0); in ll_close() 169 clk_disable_unprepare(lldev->ext_clk); in ll_close() 486 static int send_command_from_firmware(struct ll_device *lldev, in send_command_from_firmware() argument 495 bt_dev_warn(lldev->hu.hdev, in send_command_from_firmware() 500 bt_dev_dbg(lldev->hu.hdev, "command type %d", cmd->prefix); in send_command_from_firmware() 502 skb = __hci_cmd_sync(lldev->hu.hdev, cmd->opcode, cmd->plen, in send_command_from_firmware() [all …]
|
/linux-5.19.10/net/caif/ ! |
D | chnl_net.c | 246 struct net_device *lldev; in chnl_net_open() local 267 lldev = __dev_get_by_index(dev_net(dev), llifindex); in chnl_net_open() 269 if (lldev == NULL) { in chnl_net_open() 275 dev->needed_tailroom = tailroom + lldev->needed_tailroom; in chnl_net_open() 276 dev->hard_header_len = headroom + lldev->hard_header_len + in chnl_net_open() 277 lldev->needed_tailroom; in chnl_net_open() 286 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
|
/linux-5.19.10/drivers/scsi/cxgbi/cxgb3i/ ! |
D | cxgb3i.c | 187 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_act_open_req() 268 l2t_send(csk->cdev->lldev, skb, csk->l2t); in send_abort_req() 291 cxgb3_ofld_send(csk->cdev->lldev, skb); in send_abort_rpl() 320 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() 891 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in l2t_put() 906 struct t3cdev *t3dev = (struct t3cdev *)csk->cdev->lldev; in release_offload_resources() 957 struct t3cdev *t3dev = (struct t3cdev *)cdev->lldev; in init_act_open() [all …]
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/ ! |
D | t3cdev.h | 56 struct net_device *lldev; /* LL dev associated with T3C messages */ member
|
D | cxgb3_main.c | 1362 tdev->lldev = adapter->port[0]; in offload_open() 1374 if (sysfs_create_group(&tdev->lldev->dev.kobj, &offload_attr_group)) in offload_open() 1401 sysfs_remove_group(&tdev->lldev->dev.kobj, &offload_attr_group); in offload_close() 1406 tdev->lldev = NULL; in offload_close()
|
D | cxgb3_offload.c | 921 skb->dev = dev->lldev; in do_trace()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/libcxgb/ ! |
D | libcxgb_ppm.h | 132 void *lldev; member 327 void *lldev, struct cxgbi_tag_format *,
|
D | libcxgb_ppm.c | 388 struct pci_dev *pdev, void *lldev, in cxgbi_ppm_init() argument 476 ppm->lldev = lldev; in cxgbi_ppm_init()
|
/linux-5.19.10/drivers/infiniband/hw/cxgb4/ ! |
D | provider.c | 342 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in hca_type_show() local 345 lldev->ethtool_ops->get_drvinfo(lldev, &info); in hca_type_show()
|
/linux-5.19.10/drivers/scsi/cxgbi/ ! |
D | libcxgbi.h | 483 void *lldev; member
|
D | libcxgbi.c | 201 struct cxgbi_device *cxgbi_device_find_by_lldev(void *lldev) in cxgbi_device_find_by_lldev() argument 207 if (cdev->lldev == lldev) { in cxgbi_device_find_by_lldev() 215 "lldev 0x%p, NO match found.\n", lldev); in cxgbi_device_find_by_lldev() 1220 cdev->lldev, tformat, iscsi_size, llimit, start, in cxgbi_ddp_ppm_setup()
|