Lines Matching refs:zd_addr_t

77 static zd_addr_t inc_addr(zd_addr_t addr)  in inc_addr()
86 return (zd_addr_t)a; in inc_addr()
92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked()
97 zd_addr_t a16[USB_MAX_IOREAD32_COUNT * 2]; in zd_ioread32v_locked()
106 BUG_ON(count16 * sizeof(zd_addr_t) > sizeof(a16)); in zd_ioread32v_locked()
255 int zd_ioread16(struct zd_chip *chip, zd_addr_t addr, u16 *value) in zd_ioread16()
265 int zd_ioread32(struct zd_chip *chip, zd_addr_t addr, u32 *value) in zd_ioread32()
275 int zd_iowrite16(struct zd_chip *chip, zd_addr_t addr, u16 value) in zd_iowrite16()
285 int zd_iowrite32(struct zd_chip *chip, zd_addr_t addr, u32 value) in zd_iowrite32()
295 int zd_ioread32v(struct zd_chip *chip, const zd_addr_t *addresses, in zd_ioread32v()
429 zd_addr_t e2p_addr, u32 guard) in read_values()
438 (zd_addr_t)((u16)e2p_addr+i/2)); in read_values()
473 static const zd_addr_t addresses[] = { in read_ofdm_cal_values()
841 static const zd_addr_t aw_pt_bi_addr[] = in get_aw_pt_bi()
845 r = zd_ioread32v_locked(chip, values, (const zd_addr_t *)aw_pt_bi_addr, in get_aw_pt_bi()
947 static zd_addr_t fw_reg_addr(struct zd_chip *chip, u16 offset) in fw_reg_addr()
949 return (zd_addr_t)((u16)chip->fw_regs_base + offset); in fw_reg_addr()
953 static int dump_cr(struct zd_chip *chip, const zd_addr_t addr, in dump_cr()
986 const zd_addr_t addr[4] = { in dump_fw_registers()
996 r = zd_ioread16v_locked(chip, values, (const zd_addr_t*)addr, in dump_fw_registers()
1303 const zd_addr_t a[] = { in zd_chip_control_leds()
1317 r = zd_ioread16v_locked(chip, v, (const zd_addr_t *)a, ARRAY_SIZE(a)); in zd_chip_control_leds()
1531 static const zd_addr_t aw_pt_bi_addr[] = in zd_chip_get_tsf()
1537 r = zd_ioread32v_locked(chip, values, (const zd_addr_t *)aw_pt_bi_addr, in zd_chip_get_tsf()