Searched refs:shadow_regs (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dpmu.c48 struct cbe_pmd_shadow_regs *shadow_regs; \
50 shadow_regs = cbe_get_cpu_pmd_shadow_regs(cpu); \
52 shadow_regs->reg = _x; \
57 struct cbe_pmd_shadow_regs *shadow_regs; \
58 shadow_regs = cbe_get_cpu_pmd_shadow_regs(cpu); \
59 (val) = shadow_regs->reg; \
95 struct cbe_pmd_shadow_regs *shadow_regs; cbe_write_phys_ctr() local
113 shadow_regs = cbe_get_cpu_pmd_shadow_regs(cpu); cbe_write_phys_ctr()
114 shadow_regs->counter_value_in_latch |= (1 << phys_ctr); cbe_write_phys_ctr()
311 struct cbe_pmd_shadow_regs *shadow_regs; cbe_enable_pm() local
314 shadow_regs = cbe_get_cpu_pmd_shadow_regs(cpu); cbe_enable_pm()
315 shadow_regs->counter_value_in_latch = 0; cbe_enable_pm()
/linux-4.1.27/drivers/regulator/
H A Dmax8660.c83 u8 shadow_regs[MAX8660_N_REGS]; /* as chip is write only */ member in struct:max8660
93 u8 reg_val = (max8660->shadow_regs[reg] & mask) | val; max8660_write()
101 max8660->shadow_regs[reg] = reg_val; max8660_write()
114 u8 val = max8660->shadow_regs[MAX8660_OVER1]; max8660_dcdc_is_enabled()
140 u8 selector = max8660->shadow_regs[reg]; max8660_dcdc_get_voltage_sel()
179 u8 selector = max8660->shadow_regs[MAX8660_MDTV2]; max8660_ldo5_get_voltage_sel()
212 u8 val = max8660->shadow_regs[MAX8660_OVER2]; max8660_ldo67_is_enabled()
238 u8 selector = (max8660->shadow_regs[MAX8660_L12VCR] >> shift) & 0xf; max8660_ldo67_get_voltage_sel()
423 max8660->shadow_regs[MAX8660_OVER1] = 5; max8660_probe()
435 max8660->shadow_regs[MAX8660_ADTV1] = max8660_probe()
436 max8660->shadow_regs[MAX8660_ADTV2] = max8660_probe()
437 max8660->shadow_regs[MAX8660_SDTV1] = max8660_probe()
438 max8660->shadow_regs[MAX8660_SDTV2] = 0x1b; max8660_probe()
439 max8660->shadow_regs[MAX8660_MDTV1] = max8660_probe()
440 max8660->shadow_regs[MAX8660_MDTV2] = 0x04; max8660_probe()
452 max8660->shadow_regs[MAX8660_OVER1] |= 1; max8660_probe()
457 max8660->shadow_regs[MAX8660_OVER1] |= 4; max8660_probe()
465 max8660->shadow_regs[MAX8660_OVER2] |= 2; max8660_probe()
475 max8660->shadow_regs[MAX8660_OVER2] |= 4; max8660_probe()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_def.h706 struct shadow_regs *shadow_regs; member in struct:scsi_qla_host
H A Dql4_init.c125 ha->shadow_regs->req_q_out = __constant_cpu_to_le32(0); qla4xxx_init_rings()
126 ha->shadow_regs->rsp_q_in = __constant_cpu_to_le32(0); qla4xxx_init_rings()
H A Dql4_fw.h250 struct shadow_regs { struct
H A Dql4_os.c4144 ha->shadow_regs = NULL; qla4xxx_mem_free()
4198 sizeof(struct shadow_regs) + qla4xxx_mem_alloc()
4231 ha->shadow_regs = (struct shadow_regs *) (ha->queues + align + qla4xxx_mem_alloc()
5682 return (uint16_t)le32_to_cpu(ha->shadow_regs->req_q_out); qla4xxx_rd_shdw_req_q_out()
5692 return (uint16_t)le32_to_cpu(ha->shadow_regs->rsp_q_in); qla4xxx_rd_shdw_rsp_q_in()

Completed in 278 milliseconds