Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/dma/qcom/ !
Dhidma_ll.c116 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 …]
Dhidma_dbg.c17 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 …]
Dhidma.c85 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 …]
Dhidma.h37 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/ !
Dhci_ll.c130 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/ !
Dchnl_net.c246 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/ !
Dcxgb3i.c187 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/ !
Dt3cdev.h56 struct net_device *lldev; /* LL dev associated with T3C messages */ member
Dcxgb3_main.c1362 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()
Dcxgb3_offload.c921 skb->dev = dev->lldev; in do_trace()
/linux-5.19.10/drivers/net/ethernet/chelsio/libcxgb/ !
Dlibcxgb_ppm.h132 void *lldev; member
327 void *lldev, struct cxgbi_tag_format *,
Dlibcxgb_ppm.c388 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/ !
Dprovider.c342 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/ !
Dlibcxgbi.h483 void *lldev; member
Dlibcxgbi.c201 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()