Lines Matching defs:regaddr
71 static int sdspi_card_regread(sdioh_info_t *sd, int func, uint32 regaddr,
73 static int sdspi_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr,
566 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, uint8 *byte)
576 cmd_arg = SFIELD(cmd_arg, CMD52_REG_ADDR, regaddr);
581 sd_trace(("%s: rw=%d, func=%d, regaddr=0x%08x\n", __FUNCTION__, rw, func, regaddr));
1015 uint32 regaddr, fbraddr;
1022 for (regaddr = SDIOD_CCCR_CISPTR_0; regaddr <= SDIOD_CCCR_CISPTR_2; regaddr++) {
1023 if ((status = sdspi_card_regread (sd, 0, regaddr, 1, ®data)) != SUCCESS)
1038 for (regaddr = SDIOD_FBR_CISPTR_0; regaddr <= SDIOD_FBR_CISPTR_2; regaddr++) {
1039 if ((status = sdspi_card_regread (sd, 0, regaddr + fbraddr, 1, ®data))
1068 sdspi_card_regread(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 *data)
1078 cmd_arg = SFIELD(cmd_arg, CMD52_REG_ADDR, regaddr);
1099 cmd_arg = SFIELD(cmd_arg, CMD53_REG_ADDR, regaddr);
1123 __FUNCTION__, func, regaddr, regsize, *data));
1133 sdspi_card_regwrite(sdioh_info_t *sd, int func, uint32 regaddr, int regsize, uint32 data)
1142 cmd_arg = SFIELD(cmd_arg, CMD52_REG_ADDR, regaddr);
1161 cmd_arg = SFIELD(cmd_arg, CMD53_REG_ADDR, regaddr);
1168 __FUNCTION__, func, regaddr, regsize, data));