Home
last modified time | relevance | path

Searched refs:csindex (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/bus/
Dintel-ixp4xx-eb.c287 u32 csindex; in ixp4xx_exp_setup_child() local
298 for (csindex = 0; csindex < IXP4XX_EXP_NUM_CS; csindex++) in ixp4xx_exp_setup_child()
299 cs_sizes[csindex] = 0; in ixp4xx_exp_setup_child()
305 i * IXP4XX_OF_REG_SIZE, &csindex); in ixp4xx_exp_setup_child()
317 if (csindex >= IXP4XX_EXP_NUM_CS) { in ixp4xx_exp_setup_child()
318 dev_err(eb->dev, "illegal CS %d\n", csindex); in ixp4xx_exp_setup_child()
330 dev_dbg(eb->dev, "CS%d size %#08x\n", csindex, cssize); in ixp4xx_exp_setup_child()
331 if (cs_sizes[csindex] < cssize) in ixp4xx_exp_setup_child()
332 cs_sizes[csindex] = cssize; in ixp4xx_exp_setup_child()
335 for (csindex = 0; csindex < IXP4XX_EXP_NUM_CS; csindex++) { in ixp4xx_exp_setup_child()
[all …]
Dqcom-ebi2.c230 u32 csindex) in qcom_ebi2_setup_chipselect() argument
238 csd = &cs_info[csindex]; in qcom_ebi2_setup_chipselect()
242 dev_dbg(dev, "enabled CS%u\n", csindex); in qcom_ebi2_setup_chipselect()
255 xp->prop, csindex); in qcom_ebi2_setup_chipselect()
284 csindex, slowcfg, fastcfg); in qcom_ebi2_setup_chipselect()
352 u32 csindex; in qcom_ebi2_probe() local
355 ret = of_property_read_u32(child, "reg", &csindex); in qcom_ebi2_probe()
361 if (csindex > 5) { in qcom_ebi2_probe()
364 csindex); in qcom_ebi2_probe()
372 csindex); in qcom_ebi2_probe()
/Linux-v6.6/drivers/ata/
Dpata_ixp4xx_cf.c241 u32 csindex; in ixp4xx_pata_probe() local
253 ret = of_property_read_u32_index(np, "reg", 0, &csindex); in ixp4xx_pata_probe()
256 dev_info(dev, "using CS%d for PIO timing configuration\n", csindex); in ixp4xx_pata_probe()
257 ixpp->cmd_csreg = csindex * IXP4XX_EXP_TIMING_STRIDE; in ixp4xx_pata_probe()