/linux-4.1.27/drivers/media/pci/saa7164/ |
D | saa7164-api.c | 112 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 …]
|
D | saa7164-core.c | 269 if (i++ > port->hwcfg.buffercount) { in saa7164_work_enchandler_helper() 394 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler() 401 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_enchandler() 412 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler() 470 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler() 477 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_vbihandler() 488 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler() 589 if (wp > (port->hwcfg.buffercount - 1)) in saa7164_irq_ts() 594 rp = (port->hwcfg.buffercount - 1); in saa7164_irq_ts() 602 if (i++ > port->hwcfg.buffercount) in saa7164_irq_ts() [all …]
|
D | saa7164-buffer.c | 191 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()
|
D | saa7164-dvb.c | 292 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()
|
D | saa7164-vbi.c | 128 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_vbi_buffers_alloc() 131 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_vbi_buffers_alloc() 1317 if (port->hwcfg.BARLocation == 0) { in saa7164_vbi_register()
|
D | saa7164-encoder.c | 157 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_encoder_buffers_alloc() 160 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_encoder_buffers_alloc() 1368 if (port->hwcfg.BARLocation == 0) { in saa7164_encoder_register()
|
D | saa7164.h | 342 struct tmComResDMATermDescrHeader hwcfg; member
|
/linux-4.1.27/drivers/net/hamradio/ |
D | scc.c | 1709 struct scc_hw_config hwcfg; in scc_net_ioctl() local 1729 if (copy_from_user(&hwcfg, arg, sizeof(hwcfg))) in scc_net_ioctl() 1732 if (hwcfg.irq == 2) hwcfg.irq = 9; in scc_net_ioctl() 1734 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_ioctl() 1737 if (!Ivec[hwcfg.irq].used && hwcfg.irq) in scc_net_ioctl() 1739 if (request_irq(hwcfg.irq, scc_isr, in scc_net_ioctl() 1741 (void *)(long) hwcfg.irq)) in scc_net_ioctl() 1742 printk(KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n", hwcfg.irq); in scc_net_ioctl() 1744 Ivec[hwcfg.irq].used = 1; in scc_net_ioctl() 1747 if (hwcfg.vector_latch && !Vector_Latch) { in scc_net_ioctl() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | s3c24xx-dma.c | 894 u32 hwcfg = 0; in s3c24xx_dma_prep_dma_cyclic() local 919 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_dma_cyclic() 923 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_dma_cyclic() 931 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_dma_cyclic() 942 txd->didstc = hwcfg; in s3c24xx_dma_prep_dma_cyclic() 946 txd->disrcc = hwcfg; in s3c24xx_dma_prep_dma_cyclic() 992 u32 hwcfg = 0; in s3c24xx_dma_prep_slave_sg() local 1008 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_slave_sg() 1012 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_slave_sg() 1020 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_slave_sg() [all …]
|
/linux-4.1.27/drivers/net/wireless/ |
D | at76c50x-usb.c | 615 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 …]
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 629 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local 632 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external() 633 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external() 634 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 638 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external() 639 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 642 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external() 643 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external() 644 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 647 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external() [all …]
|
/linux-4.1.27/drivers/usb/host/ |
D | isp1362-hcd.c | 2492 u16 hwcfg; in isp1362_hc_start() local 2518 hwcfg = HCHWCFG_INT_ENABLE | HCHWCFG_DBWIDTH(1); in isp1362_hc_start() 2520 hwcfg |= HCHWCFG_PULLDOWN_DS2 | in isp1362_hc_start() 2523 hwcfg |= HCHWCFG_CLKNOTSTOP; in isp1362_hc_start() 2525 hwcfg |= HCHWCFG_ANALOG_OC; in isp1362_hc_start() 2527 hwcfg |= HCHWCFG_INT_POL; in isp1362_hc_start() 2529 hwcfg |= HCHWCFG_INT_TRIGGER; in isp1362_hc_start() 2531 hwcfg |= HCHWCFG_DREQ_POL; in isp1362_hc_start() 2533 hwcfg |= HCHWCFG_DACK_POL; in isp1362_hc_start() 2534 isp1362_write_reg16(isp1362_hcd, HCHWCFG, hwcfg); in isp1362_hc_start()
|