/Linux-v4.19/drivers/media/pci/saa7164/ |
D | saa7164-api.c | 108 port->nr, port->hwcfg.unitid); in saa7164_api_set_vbi_format() 115 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format() 121 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format() 131 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format() 137 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format() 174 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_gop_size() 191 port->hwcfg.sourceid); in saa7164_api_set_encoder() 198 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder() 204 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder() 217 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder() [all …]
|
D | saa7164-core.c | 270 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 …]
|
D | saa7164-buffer.c | 185 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_zero_offsets() 201 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_activate() 253 dprintk(DBGLVL_BUF, " buffercount = %d\n", port->hwcfg.buffercount); in saa7164_buffer_cfg_port() 270 if (i++ > port->hwcfg.buffercount) in saa7164_buffer_cfg_port()
|
D | saa7164-vbi.c | 100 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_vbi_buffers_alloc() 103 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_vbi_buffers_alloc() 725 if (port->hwcfg.BARLocation == 0) { in saa7164_vbi_register()
|
D | saa7164-dvb.c | 354 if (port->hwcfg.BARLocation == 0) { in dvb_register() 374 port->hw_streamingparams.numpagetableentries = port->hwcfg.buffercount; in dvb_register() 377 for (i = 0; i < port->hwcfg.buffercount; i++) { in dvb_register()
|
D | saa7164-encoder.c | 147 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_encoder_buffers_alloc() 150 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_encoder_buffers_alloc() 1023 if (port->hwcfg.BARLocation == 0) { in saa7164_encoder_register()
|
D | saa7164.h | 343 struct tmComResDMATermDescrHeader hwcfg; member
|
/Linux-v4.19/drivers/net/hamradio/ |
D | scc.c | 1710 struct scc_hw_config hwcfg; in scc_net_ioctl() local 1730 if (copy_from_user(&hwcfg, arg, sizeof(hwcfg))) in scc_net_ioctl() 1733 if (hwcfg.irq == 2) hwcfg.irq = 9; in scc_net_ioctl() 1735 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_ioctl() 1738 if (!Ivec[hwcfg.irq].used && hwcfg.irq) in scc_net_ioctl() 1740 if (request_irq(hwcfg.irq, scc_isr, in scc_net_ioctl() 1742 (void *)(long) hwcfg.irq)) in scc_net_ioctl() 1743 printk(KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n", hwcfg.irq); in scc_net_ioctl() 1745 Ivec[hwcfg.irq].used = 1; in scc_net_ioctl() 1748 if (hwcfg.vector_latch && !Vector_Latch) { in scc_net_ioctl() [all …]
|
/Linux-v4.19/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 638 for (max = 0; sensor->hwcfg->op_sys_clock[max + 1]; max++); in smiapp_init_late_controls() 643 __ffs(*valid_link_freqs), sensor->hwcfg->op_sys_clock); in smiapp_init_late_controls() 860 for (j = 0; sensor->hwcfg->op_sys_clock[j]; j++) { in smiapp_get_mbus_formats() 861 pll->link_freq = sensor->hwcfg->op_sys_clock[j]; in smiapp_get_mbus_formats() 1052 client->addr = sensor->hwcfg->i2c_addr_dfl; in smiapp_change_cci_addr() 1056 sensor->hwcfg->i2c_addr_alt << 1); in smiapp_change_cci_addr() 1060 client->addr = sensor->hwcfg->i2c_addr_alt; in smiapp_change_cci_addr() 1067 if (val != sensor->hwcfg->i2c_addr_alt << 1) in smiapp_change_cci_addr() 1081 unsigned int ext_freq = sensor->hwcfg->ext_clk; in smiapp_setup_flash_strobe() 1087 strobe_setup = sensor->hwcfg->strobe_setup; in smiapp_setup_flash_strobe() [all …]
|
D | smiapp-quirk.c | 179 switch (sensor->hwcfg->ext_clk) { in jt8ev1_post_poweron() 185 sensor->hwcfg->ext_clk); in jt8ev1_post_poweron()
|
D | smiapp.h | 188 struct smiapp_hwconfig *hwcfg; member
|
/Linux-v4.19/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 193 struct brcmnand_cfg hwcfg; member 710 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled() 877 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_ecc() 895 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_free() 935 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_ecc() 953 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_lp() 979 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_sp() 1009 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout() 1369 host->hwcfg.sector_size_1k = in brcmnand_cmdfunc() 1410 if (host->hwcfg.sector_size_1k) in brcmnand_cmdfunc() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-lantiq-ssc.c | 175 const struct lantiq_ssc_hwcfg *hwcfg; member 348 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in lantiq_ssc_hw_init() local 385 lantiq_ssc_writel(spi, hwcfg->irnen_t | hwcfg->irnen_r | in lantiq_ssc_hw_init() 805 const struct lantiq_ssc_hwcfg *hwcfg; in lantiq_ssc_probe() local 816 hwcfg = match->data; in lantiq_ssc_probe() 849 spi->hwcfg = hwcfg; in lantiq_ssc_probe()
|
/Linux-v4.19/drivers/dma/ |
D | s3c24xx-dma.c | 893 u32 hwcfg = 0; in s3c24xx_dma_prep_dma_cyclic() local 918 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_dma_cyclic() 922 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_dma_cyclic() 930 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_dma_cyclic() 941 txd->didstc = hwcfg; in s3c24xx_dma_prep_dma_cyclic() 945 txd->disrcc = hwcfg; in s3c24xx_dma_prep_dma_cyclic() 991 u32 hwcfg = 0; in s3c24xx_dma_prep_slave_sg() local 1007 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_slave_sg() 1011 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_slave_sg() 1019 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_slave_sg() [all …]
|
/Linux-v4.19/drivers/net/wireless/atmel/ |
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-v4.19/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 645 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local 648 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external() 649 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external() 650 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 654 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external() 655 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 658 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external() 659 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external() 660 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 663 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external() [all …]
|
/Linux-v4.19/drivers/usb/host/ |
D | isp1362-hcd.c | 2494 u16 hwcfg; in isp1362_hc_start() local 2520 hwcfg = HCHWCFG_INT_ENABLE | HCHWCFG_DBWIDTH(1); in isp1362_hc_start() 2522 hwcfg |= HCHWCFG_PULLDOWN_DS2 | in isp1362_hc_start() 2525 hwcfg |= HCHWCFG_CLKNOTSTOP; in isp1362_hc_start() 2527 hwcfg |= HCHWCFG_ANALOG_OC; in isp1362_hc_start() 2529 hwcfg |= HCHWCFG_INT_POL; in isp1362_hc_start() 2531 hwcfg |= HCHWCFG_INT_TRIGGER; in isp1362_hc_start() 2533 hwcfg |= HCHWCFG_DREQ_POL; in isp1362_hc_start() 2535 hwcfg |= HCHWCFG_DACK_POL; in isp1362_hc_start() 2536 isp1362_write_reg16(isp1362_hcd, HCHWCFG, hwcfg); in isp1362_hc_start()
|