Home
last modified time | relevance | path

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

/arch/s390/kernel/
Dcpcmd.c38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
41 unsigned long _rlen = *rlen; in diag8_response()
53 : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); in diag8_response()
54 *rlen = reg5; in diag8_response()
62 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
75 memset(response, 0, rlen); in __cpcmd()
76 response_len = rlen; in __cpcmd()
77 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
84 return rlen; in __cpcmd()
88 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
[all …]
/arch/powerpc/kernel/
Disa-bridge.c66 int rlen = 0; in pci_process_ISA_OF_ranges() local
68 range = of_get_property(isa_node, "ranges", &rlen); in pci_process_ISA_OF_ranges()
69 if (range == NULL || (rlen < sizeof(struct isa_range))) in pci_process_ISA_OF_ranges()
82 rlen -= sizeof(struct isa_range); in pci_process_ISA_OF_ranges()
83 if (rlen < sizeof(struct isa_range)) in pci_process_ISA_OF_ranges()
175 int rlen, i, rs; in isa_bridge_init_non_pci() local
200 ranges = of_get_property(np, "ranges", &rlen); in isa_bridge_init_non_pci()
201 if (ranges == NULL || rlen < rs) { in isa_bridge_init_non_pci()
208 for (i = 0; (i + rs - 1) < rlen; i += rs) { in isa_bridge_init_non_pci()
/arch/s390/include/asm/
Dcpcmd.h15 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code);
30 int cpcmd(const char *cmd, char *response, int rlen, int *response_code);
/arch/ia64/kernel/
Dunwind_decoder.c165 unw_word rlen; in unw_decode_r1() local
167 rlen = (code & 0x1f); in unw_decode_r1()
168 UNW_DEC_PROLOGUE(R1, body, rlen, arg); in unw_decode_r1()
176 unw_word rlen; in unw_decode_r2() local
182 rlen = unw_decode_uleb128 (&dp); in unw_decode_r2()
183 UNW_DEC_PROLOGUE_GR(R2, rlen, mask, grsave, arg); in unw_decode_r2()
190 unw_word rlen; in unw_decode_r3() local
192 rlen = unw_decode_uleb128 (&dp); in unw_decode_r3()
193 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); in unw_decode_r3()
Dunwind.c807 desc_prologue (int body, unw_word rlen, unsigned char mask, unsigned char grsave, in desc_prologue() argument
830 sr->region_len = rlen; in desc_prologue()
/arch/sparc/kernel/
Dof_device_32.c195 unsigned int rlen; in build_one_resource() local
198 ranges = of_get_property(parent, "ranges", &rlen); in build_one_resource()
199 if (ranges == NULL || rlen == 0) { in build_one_resource()
213 rlen /= 4; in build_one_resource()
215 for (; rlen >= rone; rlen -= rone, ranges += rone) { in build_one_resource()
Dof_device_64.c249 int rone, rlen; in build_one_resource() local
251 ranges = of_get_property(parent, "ranges", &rlen); in build_one_resource()
252 if (ranges == NULL || rlen == 0) { in build_one_resource()
266 rlen /= 4; in build_one_resource()
268 for (; rlen >= rone; rlen -= rone, ranges += rone) { in build_one_resource()
/arch/powerpc/sysdev/
Dfsl_rio.c447 int rlen; in fsl_rio_setup() local
541 dt_range = of_get_property(np, "reg", &rlen); in fsl_rio_setup()
569 dt_range = of_get_property(np, "reg", &rlen); in fsl_rio_setup()
588 dt_range = of_get_property(np, "ranges", &rlen); in fsl_rio_setup()
/arch/powerpc/platforms/powermac/
Dlow_i2c.c762 int rlen = req->reply_len - 1; in pmu_i2c_xfer() local
764 if (rlen != len) { in pmu_i2c_xfer()
766 " bytes, expected %d !\n", rlen, len); in pmu_i2c_xfer()
/arch/powerpc/platforms/4xx/
Dpci.c97 int rlen; in ppc4xx_parse_dma_ranges() local
108 ranges = of_get_property(hose->dn, "dma-ranges", &rlen); in ppc4xx_parse_dma_ranges()
113 while ((rlen -= np * 4) >= 0) { in ppc4xx_parse_dma_ranges()