Home
last modified time | relevance | path

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

/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/m68k/coldfire/
Dm527x.c62 u16 par; in m527x_qspi_init() local
67 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init()
68 par &= 0x3f3f; in m527x_qspi_init()
69 writew(par, MCFGPIO_PAR_TIMER); in m527x_qspi_init()
102 u16 par; in m527x_fec_init() local
104 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init()
105 writew(par | 0xf00, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
110 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init()
111 writew(par | 0xa0, MCFGPIO_PAR_FECI2C); in m527x_fec_init()
Dm520x.c124 u16 par; in m520x_qspi_init() local
128 par = readw(MCF_GPIO_PAR_UART); in m520x_qspi_init()
129 par &= 0x00ff; in m520x_qspi_init()
130 writew(par, MCF_GPIO_PAR_UART); in m520x_qspi_init()
138 u16 par; in m520x_uarts_init() local
142 par = readw(MCF_GPIO_PAR_UART); in m520x_uarts_init()
143 par |= MCF_GPIO_PAR_UART_PAR_UTXD0 | MCF_GPIO_PAR_UART_PAR_URXD0; in m520x_uarts_init()
144 par |= MCF_GPIO_PAR_UART_PAR_UTXD1 | MCF_GPIO_PAR_UART_PAR_URXD1; in m520x_uarts_init()
145 writew(par, MCF_GPIO_PAR_UART); in m520x_uarts_init()
Dm523x.c58 u16 par; in m523x_qspi_init() local
63 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init()
64 par &= 0x3f3f; in m523x_qspi_init()
65 writew(par, MCFGPIO_PAR_TIMER); in m523x_qspi_init()
/arch/s390/kvm/
Dsthyi.c130 struct par_sctn par; member
169 sctns->hdr.infplen = sizeof(sctns->par); in fill_hdr()
196 sctns->par.infppnum = sysinfo->lpar_number; in fill_stsi_par()
197 memcpy(sctns->par.infppnam, sysinfo->name, sizeof(sctns->par.infppnam)); in fill_stsi_par()
199 sctns->par.infpval1 |= PAR_ID_VLD; in fill_stsi_par()
340 sctns->par.infpflg1 = PAR_MT_EN; in fill_diag()
342 sctns->par.infpval1 |= PAR_GRP_VLD; in fill_diag()
343 sctns->par.infplgcp = scale_cap(lpar_inf.cp.lpar_grp_cap); in fill_diag()
344 sctns->par.infplgif = scale_cap(lpar_inf.ifl.lpar_grp_cap); in fill_diag()
345 memcpy(sctns->par.infplgnm, part_block->hdr.hardware_group_name, in fill_diag()
[all …]
/arch/powerpc/sysdev/
Dscom.c35 struct device_node *par, *tmp; in scom_find_parent() local
38 for (par = of_node_get(node); par;) { in scom_find_parent()
39 if (of_get_property(par, "scom-controller", NULL)) in scom_find_parent()
41 p = of_get_property(par, "scom-parent", NULL); in scom_find_parent()
42 tmp = par; in scom_find_parent()
44 par = of_get_parent(par); in scom_find_parent()
46 par = of_find_node_by_phandle(*p); in scom_find_parent()
49 return par; in scom_find_parent()
Ddcr.c30 struct device_node *par, *tmp; in find_dcr_parent() local
33 for (par = of_node_get(node); par;) { in find_dcr_parent()
34 if (of_get_property(par, "dcr-controller", NULL)) in find_dcr_parent()
36 p = of_get_property(par, "dcr-parent", NULL); in find_dcr_parent()
37 tmp = par; in find_dcr_parent()
39 par = of_get_parent(par); in find_dcr_parent()
41 par = of_find_node_by_phandle(*p); in find_dcr_parent()
44 return par; in find_dcr_parent()
Dcpm1.c295 __be16 dir, par, odr_sor, dat, intr; member
300 __be32 dir, par, odr, dat; member
304 __be32 dir, par, sor, odr, dat; member
325 setbits32(&iop->par, pin); in cpm1_set_pin32()
327 clrbits32(&iop->par, pin); in cpm1_set_pin32()
365 setbits16(&iop->par, pin); in cpm1_set_pin16()
367 clrbits16(&iop->par, pin); in cpm1_set_pin16()
Dfsl_pci.c503 struct resource *par; in fsl_pcibios_fixup_bus() local
508 par = &hose->io_resource; in fsl_pcibios_fixup_bus()
510 par = &hose->mem_resources[i-1]; in fsl_pcibios_fixup_bus()
511 else par = NULL; in fsl_pcibios_fixup_bus()
513 res->start = par ? par->start : 0; in fsl_pcibios_fixup_bus()
514 res->end = par ? par->end : 0; in fsl_pcibios_fixup_bus()
515 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.c98 u32 dir, par, sor, odr, dat; member
/arch/arm64/kvm/hyp/
Dswitch.c191 u64 par, tmp; in __translate_far_to_hpfar() local
203 par = read_sysreg(par_el1); in __translate_far_to_hpfar()
208 write_sysreg(par, par_el1); in __translate_far_to_hpfar()
367 static void __hyp_text __hyp_call_panic_nvhe(u64 spsr, u64 elr, u64 par) in __hyp_call_panic_nvhe() argument
381 read_sysreg(hpfar_el2), par, in __hyp_call_panic_nvhe()
385 static void __hyp_text __hyp_call_panic_vhe(u64 spsr, u64 elr, u64 par) in __hyp_call_panic_vhe() argument
390 read_sysreg(hpfar_el2), par, in __hyp_call_panic_vhe()
402 u64 par = read_sysreg(par_el1); in __hyp_panic() local
417 __hyp_call_panic()(spsr, elr, par); in __hyp_panic()
/arch/cris/arch-v32/kernel/
Ddebugport.c134 tr_ctrl.par = regk_ser_odd; in start_port()
136 rec_ctrl.par = regk_ser_odd; in start_port()
139 tr_ctrl.par = regk_ser_even; in start_port()
141 rec_ctrl.par = regk_ser_odd; in start_port()
/arch/arm/kvm/hyp/
Dswitch.c134 u64 par, tmp; in __populate_fault_info() local
136 par = read_sysreg(PAR); in __populate_fault_info()
141 write_sysreg(par, PAR); in __populate_fault_info()
/arch/cris/include/arch-v32/arch/hwregs/
Dser_defs.h91 unsigned int par : 2; member
118 unsigned int par : 2; member
/arch/openrisc/
DREADME.openrisc99 major rewrite to bring up to par with upstream Linux 2.6.36
/arch/alpha/kernel/
Dcore_cia.c1087 int par; in cia_decode_parity_error() local
1093 par = (cia->cpu_err1 >> 21) & 1; in cia_decode_parity_error()
1096 printk(KERN_CRIT " Command: %s, Parity bit: %d\n", cmd, par); in cia_decode_parity_error()
/arch/x86/boot/
Dheader.S593 # it is on par with the other segments.