Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 11 of 11) sorted by relevance

/arch/s390/kernel/
Dcpcmd.c41 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
46 register unsigned long reg5 asm ("5") = *rlen; in diag8_response()
62 : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); in diag8_response()
63 *rlen = reg5; in diag8_response()
72 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
84 memset(response, 0, rlen); in __cpcmd()
85 response_len = rlen; in __cpcmd()
86 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
93 return rlen; in __cpcmd()
97 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
[all …]
/arch/s390/include/asm/
Dcpcmd.h15 extern int __cpcmd(const char *cmd, char *response, int rlen, int *response_code);
30 extern int cpcmd(const char *cmd, char *response, int rlen, int *response_code);
/arch/powerpc/kernel/
Disa-bridge.c69 int rlen = 0; in pci_process_ISA_OF_ranges() local
71 range = of_get_property(isa_node, "ranges", &rlen); in pci_process_ISA_OF_ranges()
72 if (range == NULL || (rlen < sizeof(struct isa_range))) in pci_process_ISA_OF_ranges()
85 rlen -= sizeof(struct isa_range); in pci_process_ISA_OF_ranges()
86 if (rlen < sizeof(struct isa_range)) in pci_process_ISA_OF_ranges()
/arch/ia64/kernel/
Dunwind_decoder.c164 unw_word rlen; in unw_decode_r1() local
166 rlen = (code & 0x1f); in unw_decode_r1()
167 UNW_DEC_PROLOGUE(R1, body, rlen, arg); in unw_decode_r1()
175 unw_word rlen; in unw_decode_r2() local
181 rlen = unw_decode_uleb128 (&dp); in unw_decode_r2()
182 UNW_DEC_PROLOGUE_GR(R2, rlen, mask, grsave, arg); in unw_decode_r2()
189 unw_word rlen; in unw_decode_r3() local
191 rlen = unw_decode_uleb128 (&dp); in unw_decode_r3()
192 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); in unw_decode_r3()
Dunwind.c806 desc_prologue (int body, unw_word rlen, unsigned char mask, unsigned char grsave, in desc_prologue() argument
829 sr->region_len = rlen; in desc_prologue()
/arch/sparc/kernel/
Dof_device_32.c193 unsigned int rlen; in build_one_resource() local
196 ranges = of_get_property(parent, "ranges", &rlen); in build_one_resource()
197 if (ranges == NULL || rlen == 0) { in build_one_resource()
211 rlen /= 4; in build_one_resource()
213 for (; rlen >= rone; rlen -= rone, ranges += rone) { in build_one_resource()
Dof_device_64.c247 int rone, rlen; in build_one_resource() local
249 ranges = of_get_property(parent, "ranges", &rlen); in build_one_resource()
250 if (ranges == NULL || rlen == 0) { in build_one_resource()
264 rlen /= 4; in build_one_resource()
266 for (; rlen >= rone; rlen -= rone, ranges += rone) { in build_one_resource()
/arch/powerpc/platforms/cell/
Dcelleb_pci.c286 unsigned int rlen; in celleb_setup_fake_pci_device() local
304 name = of_get_property(node, "model", &rlen); in celleb_setup_fake_pci_device()
310 wi4 = of_get_property(node, "reg", &rlen); in celleb_setup_fake_pci_device()
369 li = of_get_property(node, "interrupts", &rlen); in celleb_setup_fake_pci_device()
/arch/powerpc/sysdev/
Dfsl_rio.c344 int rlen; in fsl_rio_setup() local
433 dt_range = of_get_property(np, "reg", &rlen); in fsl_rio_setup()
461 dt_range = of_get_property(np, "reg", &rlen); in fsl_rio_setup()
480 dt_range = of_get_property(np, "ranges", &rlen); in fsl_rio_setup()
Dppc4xx_pci.c98 int rlen; in ppc4xx_parse_dma_ranges() local
109 ranges = of_get_property(hose->dn, "dma-ranges", &rlen); in ppc4xx_parse_dma_ranges()
114 while ((rlen -= np * 4) >= 0) { in ppc4xx_parse_dma_ranges()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c765 int rlen = req->reply_len - 1; in pmu_i2c_xfer() local
767 if (rlen != len) { in pmu_i2c_xfer()
769 " bytes, expected %d !\n", rlen, len); in pmu_i2c_xfer()