Home
last modified time | relevance | path

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

/drivers/dma/
Dbcm-sba-raid.c113 struct sba_device *sba; member
203 static struct sba_request *sba_alloc_request(struct sba_device *sba) in sba_alloc_request() argument
209 spin_lock_irqsave(&sba->reqs_lock, flags); in sba_alloc_request()
210 list_for_each_entry(req, &sba->reqs_free_list, node) { in sba_alloc_request()
212 list_move_tail(&req->node, &sba->reqs_alloc_list); in sba_alloc_request()
217 spin_unlock_irqrestore(&sba->reqs_lock, flags); in sba_alloc_request()
226 mbox_client_peek_data(sba->mchan); in sba_alloc_request()
235 dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan); in sba_alloc_request()
242 static void _sba_pending_request(struct sba_device *sba, in _sba_pending_request() argument
245 lockdep_assert_held(&sba->reqs_lock); in _sba_pending_request()
[all …]
DMakefile22 obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o
/drivers/s390/net/
Dism_drv.c91 struct ism_sba *sba; in register_sba() local
93 sba = dma_alloc_coherent(&ism->pdev->dev, PAGE_SIZE, &dma_handle, in register_sba()
95 if (!sba) in register_sba()
101 cmd.request.sba = dma_handle; in register_sba()
104 dma_free_coherent(&ism->pdev->dev, PAGE_SIZE, sba, dma_handle); in register_sba()
108 ism->sba = sba; in register_sba()
147 if (!ism->sba) in unregister_sba()
155 ism->sba, ism->sba_dma_addr); in unregister_sba()
157 ism->sba = NULL; in unregister_sba()
448 bv = (void *) &ism->sba->dmb_bits[ISM_DMB_WORD_OFFSET]; in ism_handle_irq()
[all …]
Dism.h51 u64 sba; member
89 u64 sba; member
197 struct ism_sba *sba; member
Dqeth_core_main.c512 void *data = phys_to_virt(aob->sba[i]); in qeth_qdio_handle_aob()
/drivers/mailbox/
Dbcm-flexrm-mailbox.c719 if (!msg->sba.cmds || !msg->sba.cmds_count) in flexrm_sba_sanity_check()
722 for (i = 0; i < msg->sba.cmds_count; i++) { in flexrm_sba_sanity_check()
723 if (((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_B) || in flexrm_sba_sanity_check()
724 (msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_C)) && in flexrm_sba_sanity_check()
725 (msg->sba.cmds[i].flags & BRCM_SBA_CMD_HAS_OUTPUT)) in flexrm_sba_sanity_check()
727 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_B) && in flexrm_sba_sanity_check()
728 (msg->sba.cmds[i].data_len > SRCT_LENGTH_MASK)) in flexrm_sba_sanity_check()
730 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_TYPE_C) && in flexrm_sba_sanity_check()
731 (msg->sba.cmds[i].data_len > SRCT_LENGTH_MASK)) in flexrm_sba_sanity_check()
733 if ((msg->sba.cmds[i].flags & BRCM_SBA_CMD_HAS_RESP) && in flexrm_sba_sanity_check()
[all …]
/drivers/parisc/
Dsba_iommu.c1238 setup_ibase_imask(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in setup_ibase_imask() argument
1245 device_for_each_child(&sba->dev, &ibase_data, in setup_ibase_imask()
1263 sba_ioc_init_pluto(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in sba_ioc_init_pluto() argument
1325 setup_ibase_imask(sba, ioc, ioc_num); in sba_ioc_init_pluto()
1372 device_for_each_child(&sba->dev, &agp_found, sba_ioc_find_quicksilver); in sba_ioc_init_pluto()
1384 sba_ioc_init(struct parisc_device *sba, struct ioc *ioc, int ioc_num) in sba_ioc_init() argument
1471 setup_ibase_imask(sba, ioc, ioc_num); in sba_ioc_init()
1997 struct sba_device *sba = dev_get_drvdata(&sba_dev->dev); in sba_get_iommu() local
2003 return &(sba->ioc[iocnum]); in sba_get_iommu()
2018 struct sba_device *sba = dev_get_drvdata(&sba_dev->dev); in sba_directed_lmmio() local
[all …]
/drivers/char/agp/
Dparisc-agp.c398 struct parisc_device *sba = NULL, *lba = NULL; in parisc_agp_init() local
405 sba = sba_list->dev; in parisc_agp_init()
406 if (!IS_PLUTO(sba)) { in parisc_agp_init()
412 device_for_each_child(&sba->dev, &lba, find_quicksilver); in parisc_agp_init()
/drivers/atm/
Dfore200e.c646 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_enable()
647 fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr); in fore200e_sba_irq_enable()
652 return fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_INTR_REQ; in fore200e_sba_irq_check()
657 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_ack()
658 fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr); in fore200e_sba_irq_ack()
663 fore200e->bus->write(SBA200E_HCR_RESET, fore200e->regs.sba.hcr); in fore200e_sba_reset()
665 fore200e->bus->write(0, fore200e->regs.sba.hcr); in fore200e_sba_reset()
674 fore200e->regs.sba.hcr = of_ioremap(&op->resource[0], 0, SBA200E_HCR_LENGTH, "SBA HCR"); in fore200e_sba_map()
675 fore200e->regs.sba.bsr = of_ioremap(&op->resource[1], 0, SBA200E_BSR_LENGTH, "SBA BSR"); in fore200e_sba_map()
676 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/s390/char/
Dtty3270.c372 char *sba, *str; in tty3270_update() local
415 sba = invalid_sba; in tty3270_update()
427 if (s->string[1] == sba[0] && s->string[2] == sba[1]) in tty3270_update()
433 sba = s->string + s->len - 3; in tty3270_update()
435 sba = invalid_sba; in tty3270_update()
/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()