Home
last modified time | relevance | path

Searched refs:par (Results 1 – 22 of 22) 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.c852 static void e800_tg_change(struct w100fb_par *par) in e800_tg_change() argument
857 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.c325 u32 dir, par, sor, odr, dat; member
342 setbits32(&iop[port].par, pin); in cpm2_set_pin()
344 clrbits32(&iop[port].par, pin); in cpm2_set_pin()
Dcpm_common.c97 u32 dir, par, sor, odr, dat; member
/arch/arm64/kvm/hyp/vhe/
Dswitch.c204 static void __hyp_call_panic(u64 spsr, u64 elr, u64 par) in __hyp_call_panic() argument
218 read_sysreg(hpfar_el2), par, vcpu); in __hyp_call_panic()
226 u64 par = read_sysreg_par(); in hyp_panic() local
228 __hyp_call_panic(spsr, elr, par); in hyp_panic()
/arch/x86/include/asm/
Dirq_remapping.h52 arch_create_remap_msi_irq_domain(struct irq_domain *par, const char *n, int id);
/arch/powerpc/platforms/8xx/
Dcpm1.c286 __be16 dir, par, odr_sor, dat, intr; member
291 __be32 dir, par, odr, dat; member
295 __be32 dir, par, sor, odr, dat; member
316 setbits32(&iop->par, pin); in cpm1_set_pin32()
318 clrbits32(&iop->par, pin); in cpm1_set_pin32()
356 setbits16(&iop->par, pin); in cpm1_set_pin16()
358 clrbits16(&iop->par, pin); in cpm1_set_pin16()
/arch/arm64/kvm/hyp/nvhe/
Dswitch.c268 u64 par = read_sysreg_par(); in hyp_panic() local
282 __hyp_do_panic(host_ctxt, spsr, elr, par); in hyp_panic()
/arch/arm64/include/asm/
Dkvm_arm.h318 #define PAR_TO_HPFAR(par) \ argument
319 (((par) & GENMASK_ULL(PHYS_MASK_SHIFT - 1, 12)) >> 8)
Dkvm_hyp.h108 u64 elr, u64 par);
Dsysreg.h1234 u64 par; \
1236 par = read_sysreg(par_el1); \
1238 par; \
/arch/arm64/kvm/hyp/include/hyp/
Dswitch.h136 u64 par, tmp; in __translate_far_to_hpfar() local
148 par = read_sysreg_par(); in __translate_far_to_hpfar()
153 write_sysreg(par, par_el1); in __translate_far_to_hpfar()
/arch/arm64/mm/
Dfault.c261 u64 par, dfsc; in is_spurious_el1_translation_fault() local
270 par = read_sysreg_par(); in is_spurious_el1_translation_fault()
277 if (!(par & SYS_PAR_EL1_F)) in is_spurious_el1_translation_fault()
284 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.S618 # it is on par with the other segments.