Home
last modified time | relevance | path

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

/linux/drivers/media/pci/saa7164/
H A 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 …]
H 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 …]
H 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()
H 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()
H 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()
H 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()
H A Dsaa7164.h333 struct tmComResDMATermDescrHeader hwcfg; member
/linux/drivers/media/i2c/ccs/
H A Dccs-core.c1047 __ffs(*valid_link_freqs), sensor->hwcfg.op_sys_clock); in ccs_init_late_controls()
1160 for (j = 0; sensor->hwcfg.op_sys_clock[j]; j++) { in ccs_get_mbus_formats()
1161 pll->link_freq = sensor->hwcfg.op_sys_clock[j]; in ccs_get_mbus_formats()
1355 client->addr = sensor->hwcfg.i2c_addr_dfl; in ccs_change_cci_addr()
1358 sensor->hwcfg.i2c_addr_alt << 1); in ccs_change_cci_addr()
1362 client->addr = sensor->hwcfg.i2c_addr_alt; in ccs_change_cci_addr()
1369 if (val != sensor->hwcfg.i2c_addr_alt << 1) in ccs_change_cci_addr()
1383 unsigned int ext_freq = sensor->hwcfg.ext_clk; in ccs_setup_flash_strobe()
1389 strobe_setup = sensor->hwcfg.strobe_setup; in ccs_setup_flash_strobe()
1497 sensor->hwcfg.strobe_setup->trigger = 0; in ccs_setup_flash_strobe()
[all …]
H A Dccs-quirk.c155 switch (sensor->hwcfg.ext_clk) { in jt8ev1_post_poweron()
161 sensor->hwcfg.ext_clk); in jt8ev1_post_poweron()
H A Dccs.h210 struct ccs_hwconfig hwcfg; member
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c316 struct brcmnand_cfg hwcfg; member
1020 acc_control |= host->hwcfg.ecc_level << ctrl->ecc_level_shift; in brcmnand_set_ecc_enabled()
1256 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_ecc()
1274 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_free()
1314 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_ecc()
1332 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_lp()
1358 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_sp()
1388 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout()
1836 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_edu_trans()
2067 host->hwcfg.sector_size_1k); in brcmnand_read_by_pio()
[all …]
/linux/drivers/net/wireless/atmel/
H 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()
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/drivers/media/i2c/
H A Dimx355.c116 struct imx355_hwcfg *hwcfg; member
1704 imx355->hwcfg = imx355_get_hwcfg(&client->dev); in imx355_probe()
1705 if (!imx355->hwcfg) { in imx355_probe()
H A Dimx319.c130 struct imx319_hwcfg *hwcfg; member
2410 imx319->hwcfg = imx319_get_hwcfg(&client->dev); in imx319_probe()
2411 if (!imx319->hwcfg) { in imx319_probe()