Home
last modified time | relevance | path

Searched refs:hwcfg (Results 1 – 12 of 12) sorted by relevance

/drivers/media/pci/saa7164/
Dsaa7164-api.c112 port->nr, port->hwcfg.unitid); in saa7164_api_set_vbi_format()
119 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
125 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
135 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
141 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
178 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_gop_size()
195 port->hwcfg.sourceid); in saa7164_api_set_encoder()
202 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
208 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
221 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
[all …]
Dsaa7164-core.c269 if (i++ > port->hwcfg.buffercount) { in saa7164_work_enchandler_helper()
395 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler()
402 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_enchandler()
413 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler()
471 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
478 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_vbihandler()
489 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
590 if (wp > (port->hwcfg.buffercount - 1)) in saa7164_irq_ts()
595 rp = (port->hwcfg.buffercount - 1); in saa7164_irq_ts()
603 if (i++ > port->hwcfg.buffercount) in saa7164_irq_ts()
[all …]
Dsaa7164-buffer.c191 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_zero_offsets()
207 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_activate()
260 dprintk(DBGLVL_BUF, " buffercount = %d\n", port->hwcfg.buffercount); in saa7164_buffer_cfg_port()
277 if (i++ > port->hwcfg.buffercount) in saa7164_buffer_cfg_port()
Dsaa7164-dvb.c292 if (port->hwcfg.BARLocation == 0) { in dvb_register()
313 port->hw_streamingparams.numpagetableentries = port->hwcfg.buffercount; in dvb_register()
316 for (i = 0; i < port->hwcfg.buffercount; i++) { in dvb_register()
Dsaa7164-vbi.c128 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_vbi_buffers_alloc()
131 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_vbi_buffers_alloc()
1316 if (port->hwcfg.BARLocation == 0) { in saa7164_vbi_register()
Dsaa7164-encoder.c157 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_encoder_buffers_alloc()
160 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_encoder_buffers_alloc()
1367 if (port->hwcfg.BARLocation == 0) { in saa7164_encoder_register()
Dsaa7164.h342 struct tmComResDMATermDescrHeader hwcfg; member
/drivers/net/hamradio/
Dscc.c1706 struct scc_hw_config hwcfg; in scc_net_ioctl() local
1726 if (copy_from_user(&hwcfg, arg, sizeof(hwcfg))) in scc_net_ioctl()
1729 if (hwcfg.irq == 2) hwcfg.irq = 9; in scc_net_ioctl()
1731 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_ioctl()
1734 if (!Ivec[hwcfg.irq].used && hwcfg.irq) in scc_net_ioctl()
1736 if (request_irq(hwcfg.irq, scc_isr, in scc_net_ioctl()
1738 (void *)(long) hwcfg.irq)) in scc_net_ioctl()
1739 printk(KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n", hwcfg.irq); in scc_net_ioctl()
1741 Ivec[hwcfg.irq].used = 1; in scc_net_ioctl()
1744 if (hwcfg.vector_latch && !Vector_Latch) { in scc_net_ioctl()
[all …]
/drivers/dma/
Ds3c24xx-dma.c902 u32 hwcfg = 0; in s3c24xx_dma_prep_dma_cyclic() local
927 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_dma_cyclic()
931 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_dma_cyclic()
939 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_dma_cyclic()
950 txd->didstc = hwcfg; in s3c24xx_dma_prep_dma_cyclic()
954 txd->disrcc = hwcfg; in s3c24xx_dma_prep_dma_cyclic()
1000 u32 hwcfg = 0; in s3c24xx_dma_prep_slave_sg() local
1016 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_slave_sg()
1020 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_slave_sg()
1028 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_slave_sg()
[all …]
/drivers/net/wireless/
Dat76c50x-usb.c615 union at76_hwcfg *hwcfg = kmalloc(sizeof(*hwcfg), GFP_KERNEL); in at76_get_hw_config() local
617 if (!hwcfg) in at76_get_hw_config()
621 ret = at76_get_hw_cfg_intersil(priv->udev, hwcfg, in at76_get_hw_config()
622 sizeof(hwcfg->i)); in at76_get_hw_config()
625 memcpy(priv->mac_addr, hwcfg->i.mac_addr, ETH_ALEN); in at76_get_hw_config()
626 priv->regulatory_domain = hwcfg->i.regulatory_domain; in at76_get_hw_config()
628 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r3)); in at76_get_hw_config()
631 memcpy(priv->mac_addr, hwcfg->r3.mac_addr, ETH_ALEN); in at76_get_hw_config()
632 priv->regulatory_domain = hwcfg->r3.regulatory_domain; in at76_get_hw_config()
634 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r5)); in at76_get_hw_config()
[all …]
/drivers/net/ethernet/smsc/
Dsmsc911x.c627 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local
630 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
631 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external()
632 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
636 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external()
637 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
640 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
641 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external()
642 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
645 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external()
[all …]
/drivers/usb/host/
Disp1362-hcd.c2488 u16 hwcfg; in isp1362_hc_start() local
2514 hwcfg = HCHWCFG_INT_ENABLE | HCHWCFG_DBWIDTH(1); in isp1362_hc_start()
2516 hwcfg |= HCHWCFG_PULLDOWN_DS2 | in isp1362_hc_start()
2519 hwcfg |= HCHWCFG_CLKNOTSTOP; in isp1362_hc_start()
2521 hwcfg |= HCHWCFG_ANALOG_OC; in isp1362_hc_start()
2523 hwcfg |= HCHWCFG_INT_POL; in isp1362_hc_start()
2525 hwcfg |= HCHWCFG_INT_TRIGGER; in isp1362_hc_start()
2527 hwcfg |= HCHWCFG_DREQ_POL; in isp1362_hc_start()
2529 hwcfg |= HCHWCFG_DACK_POL; in isp1362_hc_start()
2530 isp1362_write_reg16(isp1362_hcd, HCHWCFG, hwcfg); in isp1362_hc_start()