Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/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.c290 if (i++ > port->hwcfg.buffercount) { in saa7164_work_enchandler_helper()
415 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler()
422 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_enchandler()
433 if ((rp < 0) || (rp > (port->hwcfg.buffercount - 1))) { in saa7164_work_enchandler()
491 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
498 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_vbihandler()
509 if ((rp < 0) || (rp > (port->hwcfg.buffercount - 1))) { in saa7164_work_vbihandler()
610 if (wp > (port->hwcfg.buffercount - 1)) in saa7164_irq_ts()
615 rp = (port->hwcfg.buffercount - 1); in saa7164_irq_ts()
623 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.c296 if (port->hwcfg.BARLocation == 0) { in dvb_register()
317 port->hw_streamingparams.numpagetableentries = port->hwcfg.buffercount; in dvb_register()
320 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()
1323 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()
1407 if (port->hwcfg.BARLocation == 0) { in saa7164_encoder_register()
Dsaa7164.h343 struct tmComResDMATermDescrHeader hwcfg; member
/linux-2.6.39/drivers/net/hamradio/
Dscc.c1707 struct scc_hw_config hwcfg; in scc_net_ioctl() local
1727 if (copy_from_user(&hwcfg, arg, sizeof(hwcfg))) in scc_net_ioctl()
1730 if (hwcfg.irq == 2) hwcfg.irq = 9; in scc_net_ioctl()
1732 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_ioctl()
1735 if (!Ivec[hwcfg.irq].used && hwcfg.irq) in scc_net_ioctl()
1737 if (request_irq(hwcfg.irq, scc_isr, in scc_net_ioctl()
1739 (void *)(long) hwcfg.irq)) in scc_net_ioctl()
1740 printk(KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n", hwcfg.irq); in scc_net_ioctl()
1742 Ivec[hwcfg.irq].used = 1; in scc_net_ioctl()
1745 if (hwcfg.vector_latch && !Vector_Latch) { in scc_net_ioctl()
[all …]
/linux-2.6.39/arch/arm/plat-s3c24xx/
Ddma.c1112 unsigned int hwcfg; in s3c2410_dma_devconfig() local
1126 hwcfg = 0; /* AHB */ in s3c2410_dma_devconfig()
1130 hwcfg = S3C2410_DISRCC_APB; in s3c2410_dma_devconfig()
1135 hwcfg |= S3C2410_DISRCC_INC; in s3c2410_dma_devconfig()
1141 __func__, devaddr, hwcfg); in s3c2410_dma_devconfig()
1142 dma_wrreg(chan, S3C2410_DMA_DISRCC, hwcfg & 3); in s3c2410_dma_devconfig()
1152 __func__, devaddr, hwcfg); in s3c2410_dma_devconfig()
1155 dma_wrreg(chan, S3C2410_DMA_DIDSTC, hwcfg & 3); in s3c2410_dma_devconfig()
/linux-2.6.39/drivers/net/
Dsmsc911x.c399 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local
402 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
403 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external()
404 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
408 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external()
409 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
412 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
413 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external()
414 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
417 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external()
[all …]
/linux-2.6.39/drivers/net/wireless/
Dat76c50x-usb.c629 union at76_hwcfg *hwcfg = kmalloc(sizeof(*hwcfg), GFP_KERNEL); in at76_get_hw_config() local
631 if (!hwcfg) in at76_get_hw_config()
635 ret = at76_get_hw_cfg_intersil(priv->udev, hwcfg, in at76_get_hw_config()
636 sizeof(hwcfg->i)); in at76_get_hw_config()
639 memcpy(priv->mac_addr, hwcfg->i.mac_addr, ETH_ALEN); in at76_get_hw_config()
640 priv->regulatory_domain = hwcfg->i.regulatory_domain; in at76_get_hw_config()
642 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r3)); in at76_get_hw_config()
645 memcpy(priv->mac_addr, hwcfg->r3.mac_addr, ETH_ALEN); in at76_get_hw_config()
646 priv->regulatory_domain = hwcfg->r3.regulatory_domain; in at76_get_hw_config()
648 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r5)); in at76_get_hw_config()
[all …]
/linux-2.6.39/drivers/usb/host/
Disp1362-hcd.c2521 u16 hwcfg; in isp1362_hc_start() local
2547 hwcfg = HCHWCFG_INT_ENABLE | HCHWCFG_DBWIDTH(1); in isp1362_hc_start()
2549 hwcfg |= HCHWCFG_PULLDOWN_DS2 | in isp1362_hc_start()
2552 hwcfg |= HCHWCFG_CLKNOTSTOP; in isp1362_hc_start()
2554 hwcfg |= HCHWCFG_ANALOG_OC; in isp1362_hc_start()
2556 hwcfg |= HCHWCFG_INT_POL; in isp1362_hc_start()
2558 hwcfg |= HCHWCFG_INT_TRIGGER; in isp1362_hc_start()
2560 hwcfg |= HCHWCFG_DREQ_POL; in isp1362_hc_start()
2562 hwcfg |= HCHWCFG_DACK_POL; in isp1362_hc_start()
2563 isp1362_write_reg16(isp1362_hcd, HCHWCFG, hwcfg); in isp1362_hc_start()