Home
last modified time | relevance | path

Searched refs:par (Results 1 – 19 of 19) sorted by relevance

/arch/m68k/coldfire/
Dm527x.c65 u16 par; in m527x_qspi_init() local
70 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init()
71 par &= 0x3f3f; in m527x_qspi_init()
72 writew(par, MCFGPIO_PAR_TIMER); in m527x_qspi_init()
86 u8 par; in m527x_i2c_init() local
90 par = readb(MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
91 par |= 0x0f; in m527x_i2c_init()
92 writeb(par, MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
94 u16 par; in m527x_i2c_init()
98 par = readw(MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
[all …]
Dm520x.c125 u16 par; in m520x_qspi_init() local
129 par = readw(MCF_GPIO_PAR_UART); in m520x_qspi_init()
130 par &= 0x00ff; in m520x_qspi_init()
131 writew(par, MCF_GPIO_PAR_UART); in m520x_qspi_init()
140 u8 par; in m520x_i2c_init() local
144 par = readb(MCF_GPIO_PAR_FECI2C); in m520x_i2c_init()
145 par |= 0x0f; in m520x_i2c_init()
146 writeb(par, MCF_GPIO_PAR_FECI2C); in m520x_i2c_init()
154 u16 par; in m520x_uarts_init() local
158 par = readw(MCF_GPIO_PAR_UART); in m520x_uarts_init()
[all …]
Dm523x.c61 u16 par; in m523x_qspi_init() local
66 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init()
67 par &= 0x3f3f; in m523x_qspi_init()
68 writew(par, MCFGPIO_PAR_TIMER); in m523x_qspi_init()
77 u8 par; in m523x_i2c_init() local
81 par = readb(MCFGPIO_PAR_FECI2C); in m523x_i2c_init()
82 par |= 0x0f; in m523x_i2c_init()
83 writeb(par, MCFGPIO_PAR_FECI2C); in m523x_i2c_init()
/arch/arm/mach-pxa/
Dam200epd.c105 static int am200_init_gpio_regs(struct metronomefb_par *par) in am200_init_gpio_regs() argument
137 static void am200_cleanup(struct metronomefb_par *par) in am200_cleanup() argument
141 free_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), par); in am200_cleanup()
259 static int am200_setup_fb(struct metronomefb_par *par) in am200_setup_fb() argument
269 par->metromem_cmd = (struct metromem_cmd *) am200_board.metromem; in am200_setup_fb()
270 par->metromem_wfm = am200_board.metromem + fw; in am200_setup_fb()
271 par->metromem_img = par->metromem_wfm + am200_board.wfm_size; in am200_setup_fb()
272 par->metromem_img_csum = (u16 *) (par->metromem_img + (fw * fh)); in am200_setup_fb()
273 par->metromem_dma = am200_board.host_fbinfo->fix.smem_start; in am200_setup_fb()
285 struct metronomefb_par *par = dev_id; in am200_handle_irq() local
[all …]
Dam300epd.c100 static int am300_wait_event(struct broadsheetfb_par *par) in am300_wait_event() argument
103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event()
107 static int am300_init_gpio_regs(struct broadsheetfb_par *par) in am300_init_gpio_regs() argument
156 am300_wait_event(par); in am300_init_gpio_regs()
171 static int am300_init_board(struct broadsheetfb_par *par) in am300_init_board() argument
173 return am300_init_gpio_regs(par); in am300_init_board()
176 static void am300_cleanup(struct broadsheetfb_par *par) in am300_cleanup() argument
180 free_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), par); in am300_cleanup()
190 static u16 am300_get_hdb(struct broadsheetfb_par *par) in am300_get_hdb() argument
201 static void am300_set_hdb(struct broadsheetfb_par *par, u16 data) in am300_set_hdb() argument
[all …]
Deseries.c845 static void e800_tg_change(struct w100fb_par *par) in e800_tg_change() argument
850 if (par->mode->xres == 480) in e800_tg_change()
/arch/s390/kernel/
Dsthyi.c124 struct par_sctn par; member
178 sctns->hdr.infplen = sizeof(sctns->par); in fill_hdr()
207 sctns->par.infppnum = sysinfo->lpar_number; in fill_stsi_par()
208 memcpy(sctns->par.infppnam, sysinfo->name, sizeof(sctns->par.infppnam)); in fill_stsi_par()
210 sctns->par.infpval1 |= PAR_ID_VLD; in fill_stsi_par()
351 sctns->par.infpflg1 = PAR_MT_EN; in fill_diag()
353 sctns->par.infpval1 |= PAR_GRP_VLD; in fill_diag()
354 sctns->par.infplgcp = scale_cap(lpar_inf.cp.lpar_grp_cap); in fill_diag()
355 sctns->par.infplgif = scale_cap(lpar_inf.ifl.lpar_grp_cap); in fill_diag()
356 memcpy(sctns->par.infplgnm, part_block->hdr.hardware_group_name, in fill_diag()
[all …]
/arch/powerpc/sysdev/
Ddcr.c17 struct device_node *par, *tmp; in find_dcr_parent() local
20 for (par = of_node_get(node); par;) { in find_dcr_parent()
21 if (of_get_property(par, "dcr-controller", NULL)) in find_dcr_parent()
23 p = of_get_property(par, "dcr-parent", NULL); in find_dcr_parent()
24 tmp = par; in find_dcr_parent()
26 par = of_get_parent(par); in find_dcr_parent()
28 par = of_find_node_by_phandle(*p); in find_dcr_parent()
31 return par; in find_dcr_parent()
Dfsl_pci.c499 struct resource *par; in fsl_pcibios_fixup_bus() local
504 par = &hose->io_resource; in fsl_pcibios_fixup_bus()
506 par = &hose->mem_resources[i-1]; in fsl_pcibios_fixup_bus()
507 else par = NULL; in fsl_pcibios_fixup_bus()
509 res->start = par ? par->start : 0; in fsl_pcibios_fixup_bus()
510 res->end = par ? par->end : 0; in fsl_pcibios_fixup_bus()
511 res->flags = par ? par->flags : 0; in fsl_pcibios_fixup_bus()
Dcpm2.c326 u32 dir, par, sor, odr, dat; member
343 setbits32(&iop[port].par, pin); in cpm2_set_pin()
345 clrbits32(&iop[port].par, pin); in cpm2_set_pin()
Dcpm_common.c95 u32 dir, par, sor, odr, dat; member
/arch/arm64/kvm/hyp/
Dswitch.c267 u64 par, tmp; in __translate_far_to_hpfar() local
279 par = read_sysreg(par_el1); in __translate_far_to_hpfar()
284 write_sysreg(par, par_el1); in __translate_far_to_hpfar()
768 static void __hyp_text __hyp_call_panic_nvhe(u64 spsr, u64 elr, u64 par, in __hyp_call_panic_nvhe() argument
793 read_sysreg(hpfar_el2), par, vcpu); in __hyp_call_panic_nvhe()
796 static void __hyp_call_panic_vhe(u64 spsr, u64 elr, u64 par, in __hyp_call_panic_vhe() argument
808 read_sysreg(hpfar_el2), par, vcpu); in __hyp_call_panic_vhe()
816 u64 par = read_sysreg(par_el1); in hyp_panic() local
819 __hyp_call_panic_nvhe(spsr, elr, par, host_ctxt); in hyp_panic()
821 __hyp_call_panic_vhe(spsr, elr, par, host_ctxt); in hyp_panic()
/arch/arm/kvm/hyp/
Dswitch.c124 u64 par, tmp; in __populate_fault_info() local
126 par = read_sysreg(PAR); in __populate_fault_info()
131 write_sysreg(par, PAR); in __populate_fault_info()
/arch/powerpc/platforms/8xx/
Dcpm1.c298 __be16 dir, par, odr_sor, dat, intr; member
303 __be32 dir, par, odr, dat; member
307 __be32 dir, par, sor, odr, dat; member
328 setbits32(&iop->par, pin); in cpm1_set_pin32()
330 clrbits32(&iop->par, pin); in cpm1_set_pin32()
368 setbits16(&iop->par, pin); in cpm1_set_pin16()
370 clrbits16(&iop->par, pin); in cpm1_set_pin16()
/arch/x86/include/asm/
Dirq_remapping.h54 arch_create_remap_msi_irq_domain(struct irq_domain *par, const char *n, int id);
/arch/arm64/include/asm/
Dkvm_arm.h315 #define PAR_TO_HPFAR(par) \ argument
316 (((par) & GENMASK_ULL(PHYS_MASK_SHIFT - 1, 12)) >> 8)
/arch/arm64/mm/
Dfault.c259 u64 par, dfsc; in is_spurious_el1_translation_fault() local
268 par = read_sysreg(par_el1); in is_spurious_el1_translation_fault()
275 if (!(par & SYS_PAR_EL1_F)) in is_spurious_el1_translation_fault()
282 dfsc = FIELD_GET(SYS_PAR_EL1_FST, par); in is_spurious_el1_translation_fault()
/arch/alpha/kernel/
Dcore_cia.c1091 int par; in cia_decode_parity_error() local
1097 par = (cia->cpu_err1 >> 21) & 1; in cia_decode_parity_error()
1100 printk(KERN_CRIT " Command: %s, Parity bit: %d\n", cmd, par); in cia_decode_parity_error()
/arch/x86/boot/
Dheader.S608 # it is on par with the other segments.