Home
last modified time | relevance | path

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

/drivers/dma/
Dbcm-sba-raid.c105 struct sba_device *sba; member
195 static struct sba_request *sba_alloc_request(struct sba_device *sba) in sba_alloc_request() argument
201 spin_lock_irqsave(&sba->reqs_lock, flags); in sba_alloc_request()
202 list_for_each_entry(req, &sba->reqs_free_list, node) { in sba_alloc_request()
204 list_move_tail(&req->node, &sba->reqs_alloc_list); in sba_alloc_request()
209 spin_unlock_irqrestore(&sba->reqs_lock, flags); in sba_alloc_request()
218 mbox_client_peek_data(sba->mchan); in sba_alloc_request()
227 dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan); in sba_alloc_request()
234 static void _sba_pending_request(struct sba_device *sba, in _sba_pending_request() argument
237 lockdep_assert_held(&sba->reqs_lock); in _sba_pending_request()
[all …]
DMakefile24 obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o
/drivers/s390/net/
Dism_drv.c181 struct ism_sba *sba; in register_sba() local
183 sba = dma_alloc_coherent(&ism->pdev->dev, PAGE_SIZE, &dma_handle, in register_sba()
185 if (!sba) in register_sba()
191 cmd.request.sba = dma_handle; in register_sba()
194 dma_free_coherent(&ism->pdev->dev, PAGE_SIZE, sba, dma_handle); in register_sba()
198 ism->sba = sba; in register_sba()
237 if (!ism->sba) in unregister_sba()
245 ism->sba, ism->sba_dma_addr); in unregister_sba()
247 ism->sba = NULL; in unregister_sba()
519 bv = (void *) &ism->sba->dmb_bits[ISM_DMB_WORD_OFFSET]; in ism_handle_irq()
[all …]
Dism.h51 u64 sba; member
89 u64 sba; member
Dqeth_core_main.c1444 void *data = phys_to_virt(aob->sba[i]); in qeth_tx_complete_pending_bufs()
/drivers/mailbox/
Dbcm-flexrm-mailbox.c709 if (!msg->sba.cmds || !msg->sba.cmds_count) in flexrm_sba_sanity_check()
712 for (i = 0; i < msg->sba.cmds_count; i++) { in flexrm_sba_sanity_check()
713 if (((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_B) || in flexrm_sba_sanity_check()
714 (msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_C)) && in flexrm_sba_sanity_check()
715 (msg->sba.cmds[i].flags & BRCM_SBA_CMD_HAS_OUTPUT)) in flexrm_sba_sanity_check()
717 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_B) && in flexrm_sba_sanity_check()
718 (msg->sba.cmds[i].data_len > SRCT_LENGTH_MASK)) in flexrm_sba_sanity_check()
720 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_C) && in flexrm_sba_sanity_check()
721 (msg->sba.cmds[i].data_len > SRCT_LENGTH_MASK)) in flexrm_sba_sanity_check()
723 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_HAS_RESP) && in flexrm_sba_sanity_check()
[all …]
/drivers/parisc/
Dsba_iommu.c1248 setup_ibase_imask(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in setup_ibase_imask() argument
1255 device_for_each_child(&sba->dev, &ibase_data, in setup_ibase_imask()
1273 sba_ioc_init_pluto(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in sba_ioc_init_pluto() argument
1335 setup_ibase_imask(sba, ioc, ioc_num); in sba_ioc_init_pluto()
1382 device_for_each_child(&sba->dev, &agp_found, sba_ioc_find_quicksilver); in sba_ioc_init_pluto()
1394 sba_ioc_init(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in sba_ioc_init() argument
1481 setup_ibase_imask(sba, ioc, ioc_num); in sba_ioc_init()
2008 struct sba_device *sba = dev_get_drvdata(&sba_dev->dev); in sba_get_iommu() local
2014 return &(sba->ioc[iocnum]); in sba_get_iommu()
2029 struct sba_device *sba = dev_get_drvdata(&sba_dev->dev); in sba_directed_lmmio() local
[all …]
/drivers/char/agp/
Dparisc-agp.c400 struct parisc_device *sba = NULL, *lba = NULL; in parisc_agp_init() local
407 sba = sba_list->dev; in parisc_agp_init()
408 if (!IS_PLUTO(sba)) { in parisc_agp_init()
414 device_for_each_child(&sba->dev, &lba, find_quicksilver); in parisc_agp_init()
/drivers/atm/
Dfore200e.c644 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_enable()
645 fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr); in fore200e_sba_irq_enable()
650 return fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_INTR_REQ; in fore200e_sba_irq_check()
655 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_ack()
656 fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr); in fore200e_sba_irq_ack()
661 fore200e->bus->write(SBA200E_HCR_RESET, fore200e->regs.sba.hcr); in fore200e_sba_reset()
663 fore200e->bus->write(0, fore200e->regs.sba.hcr); in fore200e_sba_reset()
672 fore200e->regs.sba.hcr = of_ioremap(&op->resource[0], 0, SBA200E_HCR_LENGTH, "SBA HCR"); in fore200e_sba_map()
673 fore200e->regs.sba.bsr = of_ioremap(&op->resource[1], 0, SBA200E_BSR_LENGTH, "SBA BSR"); in fore200e_sba_map()
674 fore200e->regs.sba.isr = of_ioremap(&op->resource[2], 0, SBA200E_ISR_LENGTH, "SBA ISR"); in fore200e_sba_map()
[all …]
Dfore200e.h792 struct fore200e_sba_regs sba; /* SBA-200E registers */ member
/drivers/net/fddi/skfp/h/
Dsmc.h455 struct s_sba sba ; /* SBA variables */ member
Dcmtdef.h611 void sba();
/drivers/net/fddi/skfp/
Dsmt.c510 smc->sba.sm = sm ; in smt_received_pack()
511 sba(smc,NIF) ; in smt_received_pack()
/drivers/net/wireless/ath/ath6kl/
Dwmi.h1178 __le32 sba; member
Ddebug.c1547 pstream.sba = cpu_to_le32(val32); in ath6kl_create_qos_write()