Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/pci/saa7164/ !
Dsaa7164-api.c98 port->nr, port->hwcfg.unitid); in saa7164_api_set_vbi_format()
105 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
111 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()
127 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
164 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_gop_size()
181 port->hwcfg.sourceid); in saa7164_api_set_encoder()
188 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
194 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
207 ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, in saa7164_api_set_encoder()
[all …]
Dsaa7164-core.c258 if (i++ > port->hwcfg.buffercount) { in saa7164_work_enchandler_helper()
383 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler()
390 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_enchandler()
401 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_enchandler()
459 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
466 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_vbihandler()
477 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
579 BUG_ON(wp > (port->hwcfg.buffercount - 1)); in saa7164_irq_ts()
583 rp = (port->hwcfg.buffercount - 1); in saa7164_irq_ts()
591 BUG_ON(i > port->hwcfg.buffercount); in saa7164_irq_ts()
[all …]
Dsaa7164-buffer.c177 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_zero_offsets()
193 if ((i < 0) || (i >= port->hwcfg.buffercount)) in saa7164_buffer_activate()
245 dprintk(DBGLVL_BUF, " buffercount = %d\n", port->hwcfg.buffercount); in saa7164_buffer_cfg_port()
261 BUG_ON(i > port->hwcfg.buffercount); in saa7164_buffer_cfg_port()
Dsaa7164-vbi.c90 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_vbi_buffers_alloc()
93 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_vbi_buffers_alloc()
708 if (port->hwcfg.BARLocation == 0) { in saa7164_vbi_register()
Dsaa7164-dvb.c343 if (port->hwcfg.BARLocation == 0) { in dvb_register()
363 port->hw_streamingparams.numpagetableentries = port->hwcfg.buffercount; in dvb_register()
366 for (i = 0; i < port->hwcfg.buffercount; i++) { in dvb_register()
Dsaa7164-encoder.c137 params->numpagetableentries = port->hwcfg.buffercount; in saa7164_encoder_buffers_alloc()
140 for (i = 0; i < port->hwcfg.buffercount; i++) { in saa7164_encoder_buffers_alloc()
1006 if (port->hwcfg.BARLocation == 0) { in saa7164_encoder_register()
Dsaa7164.h333 struct tmComResDMATermDescrHeader hwcfg; member
/linux-6.1.9/drivers/spi/ !
Dspi-lantiq-ssc.c170 const struct lantiq_ssc_hwcfg *hwcfg; member
211 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in tx_fifo_level() local
214 return (fstat >> LTQ_SPI_FSTAT_TXFFL_S) & hwcfg->fifo_size_mask; in tx_fifo_level()
219 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in rx_fifo_level() local
222 return (fstat >> LTQ_SPI_FSTAT_RXFFL_S) & hwcfg->fifo_size_mask; in rx_fifo_level()
346 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in lantiq_ssc_hw_init() local
383 lantiq_ssc_writel(spi, hwcfg->irnen_t | hwcfg->irnen_r | in lantiq_ssc_hw_init()
626 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in lantiq_ssc_xmit_interrupt() local
627 u32 val = lantiq_ssc_readl(spi, hwcfg->irncr); in lantiq_ssc_xmit_interrupt()
630 if (hwcfg->irq_ack) in lantiq_ssc_xmit_interrupt()
[all …]
/linux-6.1.9/drivers/net/hamradio/ !
Dscc.c1712 struct scc_hw_config hwcfg; in scc_net_siocdevprivate() local
1733 if (copy_from_user(&hwcfg, arg, sizeof(hwcfg))) in scc_net_siocdevprivate()
1736 if (hwcfg.irq == 2) hwcfg.irq = 9; in scc_net_siocdevprivate()
1738 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_siocdevprivate()
1741 if (!Ivec[hwcfg.irq].used && hwcfg.irq) in scc_net_siocdevprivate()
1743 if (request_irq(hwcfg.irq, scc_isr, in scc_net_siocdevprivate()
1745 (void *)(long) hwcfg.irq)) in scc_net_siocdevprivate()
1746 printk(KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n", hwcfg.irq); in scc_net_siocdevprivate()
1748 Ivec[hwcfg.irq].used = 1; in scc_net_siocdevprivate()
1751 if (hwcfg.vector_latch && !Vector_Latch) { in scc_net_siocdevprivate()
[all …]
/linux-6.1.9/drivers/media/i2c/ccs/ !
Dccs-core.c1035 __ffs(*valid_link_freqs), sensor->hwcfg.op_sys_clock); in ccs_init_late_controls()
1148 for (j = 0; sensor->hwcfg.op_sys_clock[j]; j++) { in ccs_get_mbus_formats()
1149 pll->link_freq = sensor->hwcfg.op_sys_clock[j]; in ccs_get_mbus_formats()
1347 client->addr = sensor->hwcfg.i2c_addr_dfl; in ccs_change_cci_addr()
1350 sensor->hwcfg.i2c_addr_alt << 1); in ccs_change_cci_addr()
1354 client->addr = sensor->hwcfg.i2c_addr_alt; in ccs_change_cci_addr()
1361 if (val != sensor->hwcfg.i2c_addr_alt << 1) in ccs_change_cci_addr()
1375 unsigned int ext_freq = sensor->hwcfg.ext_clk; in ccs_setup_flash_strobe()
1381 strobe_setup = sensor->hwcfg.strobe_setup; in ccs_setup_flash_strobe()
1489 sensor->hwcfg.strobe_setup->trigger = 0; in ccs_setup_flash_strobe()
[all …]
Dccs-quirk.c155 switch (sensor->hwcfg.ext_clk) { in jt8ev1_post_poweron()
161 sensor->hwcfg.ext_clk); in jt8ev1_post_poweron()
Dccs.h225 struct ccs_hwconfig hwcfg; member
/linux-6.1.9/drivers/dma/ !
Ds3c24xx-dma.c889 u32 hwcfg = 0; in s3c24xx_dma_prep_dma_cyclic() local
914 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_dma_cyclic()
918 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_dma_cyclic()
926 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_dma_cyclic()
937 txd->didstc = hwcfg; in s3c24xx_dma_prep_dma_cyclic()
941 txd->disrcc = hwcfg; in s3c24xx_dma_prep_dma_cyclic()
987 u32 hwcfg = 0; in s3c24xx_dma_prep_slave_sg() local
1003 hwcfg |= S3C24XX_DISRCC_LOC_APB; in s3c24xx_dma_prep_slave_sg()
1007 hwcfg |= S3C24XX_DISRCC_LOC_AHB; in s3c24xx_dma_prep_slave_sg()
1015 hwcfg |= S3C24XX_DISRCC_INC_FIXED; in s3c24xx_dma_prep_slave_sg()
[all …]
/linux-6.1.9/drivers/mtd/nand/raw/brcmnand/ !
Dbrcmnand.c315 struct brcmnand_cfg hwcfg; member
995 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()
1177 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_ecc()
1195 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_free()
1235 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_ecc()
1253 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_lp()
1279 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_sp()
1309 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout()
1770 host->hwcfg.sector_size_1k = in brcmnand_cmdfunc()
1806 if (host->hwcfg.sector_size_1k) in brcmnand_cmdfunc()
[all …]
/linux-6.1.9/drivers/net/wireless/atmel/ !
Dat76c50x-usb.c610 union at76_hwcfg *hwcfg = kmalloc(sizeof(*hwcfg), GFP_KERNEL); in at76_get_hw_config() local
612 if (!hwcfg) in at76_get_hw_config()
616 ret = at76_get_hw_cfg_intersil(priv->udev, hwcfg, in at76_get_hw_config()
617 sizeof(hwcfg->i)); in at76_get_hw_config()
620 memcpy(priv->mac_addr, hwcfg->i.mac_addr, ETH_ALEN); in at76_get_hw_config()
621 priv->regulatory_domain = hwcfg->i.regulatory_domain; in at76_get_hw_config()
623 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r3)); in at76_get_hw_config()
626 memcpy(priv->mac_addr, hwcfg->r3.mac_addr, ETH_ALEN); in at76_get_hw_config()
627 priv->regulatory_domain = hwcfg->r3.regulatory_domain; in at76_get_hw_config()
629 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r5)); in at76_get_hw_config()
[all …]
/linux-6.1.9/drivers/media/i2c/ !
Dimx355.c117 struct imx355_hwcfg *hwcfg; member
1742 imx355->hwcfg = imx355_get_hwcfg(&client->dev); in imx355_probe()
1743 if (!imx355->hwcfg) { in imx355_probe()
1750 for (i = 0; i < imx355->hwcfg->nr_of_link_freqs; i++) { in imx355_probe()
1751 if (imx355->hwcfg->link_freqs[i] == imx355->link_def_freq) { in imx355_probe()
1757 if (i == imx355->hwcfg->nr_of_link_freqs) { in imx355_probe()
Dimx319.c131 struct imx319_hwcfg *hwcfg; member
2457 imx319->hwcfg = imx319_get_hwcfg(&client->dev); in imx319_probe()
2458 if (!imx319->hwcfg) { in imx319_probe()
2465 for (i = 0; i < imx319->hwcfg->nr_of_link_freqs; i++) { in imx319_probe()
2466 if (imx319->hwcfg->link_freqs[i] == imx319->link_def_freq) { in imx319_probe()
2472 if (i == imx319->hwcfg->nr_of_link_freqs) { in imx319_probe()
/linux-6.1.9/drivers/net/ethernet/smsc/ !
Dsmsc911x.c636 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() local
639 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
640 hwcfg |= HW_CFG_PHY_CLK_SEL_CLK_DIS_; in smsc911x_phy_enable_external()
641 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
645 hwcfg |= HW_CFG_EXT_PHY_EN_; in smsc911x_phy_enable_external()
646 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
649 hwcfg &= (~HW_CFG_PHY_CLK_SEL_); in smsc911x_phy_enable_external()
650 hwcfg |= HW_CFG_PHY_CLK_SEL_EXT_PHY_; in smsc911x_phy_enable_external()
651 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
654 hwcfg |= HW_CFG_SMI_SEL_; in smsc911x_phy_enable_external()
[all …]
/linux-6.1.9/drivers/usb/host/ !
Disp1362-hcd.c2482 u16 hwcfg; in isp1362_hc_start() local
2508 hwcfg = HCHWCFG_INT_ENABLE | HCHWCFG_DBWIDTH(1); in isp1362_hc_start()
2510 hwcfg |= HCHWCFG_PULLDOWN_DS2 | in isp1362_hc_start()
2513 hwcfg |= HCHWCFG_CLKNOTSTOP; in isp1362_hc_start()
2515 hwcfg |= HCHWCFG_ANALOG_OC; in isp1362_hc_start()
2517 hwcfg |= HCHWCFG_INT_POL; in isp1362_hc_start()
2519 hwcfg |= HCHWCFG_INT_TRIGGER; in isp1362_hc_start()
2521 hwcfg |= HCHWCFG_DREQ_POL; in isp1362_hc_start()
2523 hwcfg |= HCHWCFG_DACK_POL; in isp1362_hc_start()
2524 isp1362_write_reg16(isp1362_hcd, HCHWCFG, hwcfg); in isp1362_hc_start()