Lines Matching refs:fields
68 } fields; variable
256 regmap_fields_write(fields.setup, info->cs, in set_smc_timing()
261 regmap_fields_write(fields.pulse, info->cs, in set_smc_timing()
266 regmap_fields_write(fields.cycle, info->cs, in set_smc_timing()
269 regmap_fields_write(fields.mode, info->cs, info->mode | in set_smc_timing()
298 regmap_fields_read(fields.mode, info->cs, &mode); in pata_at91_data_xfer_noirq()
301 regmap_fields_write(fields.mode, info->cs, (mode & ~AT91_SMC_DBW) | in pata_at91_data_xfer_noirq()
307 regmap_fields_write(fields.mode, info->cs, (mode & ~AT91_SMC_DBW) | in pata_at91_data_xfer_noirq()
334 fields.setup = devm_regmap_field_alloc(dev, smc, field); in at91sam9_smc_fields_init()
335 if (IS_ERR(fields.setup)) in at91sam9_smc_fields_init()
336 return PTR_ERR(fields.setup); in at91sam9_smc_fields_init()
339 fields.pulse = devm_regmap_field_alloc(dev, smc, field); in at91sam9_smc_fields_init()
340 if (IS_ERR(fields.pulse)) in at91sam9_smc_fields_init()
341 return PTR_ERR(fields.pulse); in at91sam9_smc_fields_init()
344 fields.cycle = devm_regmap_field_alloc(dev, smc, field); in at91sam9_smc_fields_init()
345 if (IS_ERR(fields.cycle)) in at91sam9_smc_fields_init()
346 return PTR_ERR(fields.cycle); in at91sam9_smc_fields_init()
349 fields.mode = devm_regmap_field_alloc(dev, smc, field); in at91sam9_smc_fields_init()
351 return PTR_ERR_OR_ZERO(fields.mode); in at91sam9_smc_fields_init()