/linux/drivers/dma/qcom/ |
H A 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 …]
|
H A 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 …]
|
H A 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/net/caif/ |
H A 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/drivers/scsi/cxgbi/cxgb3i/ |
H A 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/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3cdev.h | 56 struct net_device *lldev; /* LL dev associated with T3C messages */ member
|
H A D | cxgb3_main.c | 1361 tdev->lldev = adapter->port[0]; in offload_open() 1373 if (sysfs_create_group(&tdev->lldev->dev.kobj, &offload_attr_group)) in offload_open() 1400 sysfs_remove_group(&tdev->lldev->dev.kobj, &offload_attr_group); in offload_close() 1405 tdev->lldev = NULL; in offload_close()
|
/linux/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_ppm.h | 132 void *lldev; member 327 void *lldev, struct cxgbi_tag_format *,
|
H A 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/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 341 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in hca_type_show() local 344 lldev->ethtool_ops->get_drvinfo(lldev, &info); in hca_type_show()
|
/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 482 void *lldev; member
|
H A 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()
|