Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/media/pci/saa7164/
A Dsaa7164-api.c98 port->nr, port->hwcfg.unitid); in saa7164_api_set_vbi_format()
181 port->hwcfg.sourceid); in saa7164_api_set_encoder()
241 port->hwcfg.sourceid); in saa7164_api_get_encoder()
833 (sizeof(u32) * port->hwcfg.buffercount); in saa7164_api_configure_port_vbi()
836 (sizeof(u32) * port->hwcfg.buffercount); in saa7164_api_configure_port_vbi()
838 port->hwcfg.BARLocation); in saa7164_api_configure_port_vbi()
868 (sizeof(u32) * port->hwcfg.buffercount); in saa7164_api_configure_port_mpeg2ts()
871 (sizeof(u32) * port->hwcfg.buffercount); in saa7164_api_configure_port_mpeg2ts()
873 port->hwcfg.BARLocation); in saa7164_api_configure_port_mpeg2ts()
902 (sizeof(u32) * port->hwcfg.buffercount); in saa7164_api_configure_port_mpeg2ps()
[all …]
A 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()
458 if (wp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
465 mcb = (port->hwcfg.buffercount - 1); in saa7164_work_vbihandler()
476 if (rp > (port->hwcfg.buffercount - 1)) { in saa7164_work_vbihandler()
577 BUG_ON(wp > (port->hwcfg.buffercount - 1)); in saa7164_irq_ts()
581 rp = (port->hwcfg.buffercount - 1); in saa7164_irq_ts()
589 BUG_ON(i > port->hwcfg.buffercount); in saa7164_irq_ts()
[all …]
A 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()
A 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()
A 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()
A 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()
A Dsaa7164.h333 struct tmComResDMATermDescrHeader hwcfg; member
/linux-6.3-rc2/drivers/spi/
A Dspi-lantiq-ssc.c211 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in tx_fifo_level() local
219 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in rx_fifo_level() local
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
630 if (hwcfg->irq_ack) in lantiq_ssc_xmit_interrupt()
667 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in lantiq_ssc_err_interrupt() local
675 if (hwcfg->irq_ack) in lantiq_ssc_err_interrupt()
706 const struct lantiq_ssc_hwcfg *hwcfg = spi->hwcfg; in intel_lgm_ssc_isr() local
715 if ((val & hwcfg->irnen_t) || (val & hwcfg->irnen_r)) in intel_lgm_ssc_isr()
[all …]
/linux-6.3-rc2/drivers/net/hamradio/
A 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()
1758 if (hwcfg.clock == 0) in scc_net_siocdevprivate()
1765 disable_irq(hwcfg.irq); in scc_net_siocdevprivate()
1766 Outb(hwcfg.ctrl_a, 0); in scc_net_siocdevprivate()
1774 enable_irq(hwcfg.irq); in scc_net_siocdevprivate()
1815 chan? hwcfg.data_b : hwcfg.data_a, in scc_net_siocdevprivate()
[all …]
/linux-6.3-rc2/drivers/media/i2c/ccs/
A Dccs-core.c3184 struct ccs_hwconfig *hwcfg = &sensor->hwcfg; in ccs_get_hwconfig() local
3219 hwcfg->lanes = 1; in ccs_get_hwconfig()
3231 hwcfg->module_board_orient = in ccs_get_hwconfig()
3244 &hwcfg->ext_clk); in ccs_get_hwconfig()
3249 hwcfg->csi_signalling_mode); in ccs_get_hwconfig()
3260 if (!hwcfg->op_sys_clock) { in ccs_get_hwconfig()
3331 if (sensor->hwcfg.ext_clk) { in ccs_probe()
3339 sensor->hwcfg.ext_clk); in ccs_probe()
3353 sensor->hwcfg.ext_clk); in ccs_probe()
3357 sensor->hwcfg.ext_clk); in ccs_probe()
[all …]
A Dccs-quirk.c155 switch (sensor->hwcfg.ext_clk) { in jt8ev1_post_poweron()
161 sensor->hwcfg.ext_clk); in jt8ev1_post_poweron()
A Dccs.h225 struct ccs_hwconfig hwcfg; member
/linux-6.3-rc2/drivers/mtd/nand/raw/brcmnand/
A 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()
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()
1808 host->hwcfg.sector_size_1k); in brcmnand_cmdfunc()
2136 host->hwcfg.sector_size_1k); in brcmnand_read_by_pio()
2405 host->hwcfg.sector_size_1k); in brcmnand_write()
2859 host->hwcfg.config_ext); in brcmnand_save_restore_cs_config()
[all …]
/linux-6.3-rc2/drivers/net/wireless/atmel/
A 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()
629 ret = at76_get_hw_cfg(priv->udev, hwcfg, sizeof(hwcfg->r5)); in at76_get_hw_config()
632 memcpy(priv->mac_addr, hwcfg->r5.mac_addr, ETH_ALEN); in at76_get_hw_config()
[all …]
/linux-6.3-rc2/drivers/media/i2c/
A Dimx319.c131 struct imx319_hwcfg *hwcfg; member
2461 imx319->hwcfg = imx319_get_hwcfg(&client->dev); in imx319_probe()
2462 if (!imx319->hwcfg) { in imx319_probe()
2469 for (i = 0; i < imx319->hwcfg->nr_of_link_freqs; i++) { in imx319_probe()
2470 if (imx319->hwcfg->link_freqs[i] == imx319->link_def_freq) { in imx319_probe()
2476 if (i == imx319->hwcfg->nr_of_link_freqs) { in imx319_probe()
A Dimx355.c117 struct imx355_hwcfg *hwcfg; member
1746 imx355->hwcfg = imx355_get_hwcfg(&client->dev); in imx355_probe()
1747 if (!imx355->hwcfg) { in imx355_probe()
1754 for (i = 0; i < imx355->hwcfg->nr_of_link_freqs; i++) { in imx355_probe()
1755 if (imx355->hwcfg->link_freqs[i] == imx355->link_def_freq) { in imx355_probe()
1761 if (i == imx355->hwcfg->nr_of_link_freqs) { in imx355_probe()
/linux-6.3-rc2/drivers/net/ethernet/smsc/
A Dsmsc911x.c639 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()
655 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
[all …]
/linux-6.3-rc2/drivers/usb/host/
A 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()

Completed in 96 milliseconds