/Linux-v5.10/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf_al7230b.c | 65 static const struct zd_ioreq16 ioreqs[] = { in zd1211b_al7230b_finalize() local 73 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al7230b_finalize() 319 static const struct zd_ioreq16 ioreqs[] = { in zd1211_al7230b_set_channel() local 357 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211_al7230b_set_channel() 410 static const struct zd_ioreq16 ioreqs[] = { in zd1211_al7230b_switch_radio_on() local 415 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211_al7230b_switch_radio_on() 421 static const struct zd_ioreq16 ioreqs[] = { in zd1211b_al7230b_switch_radio_on() local 426 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al7230b_switch_radio_on() 432 static const struct zd_ioreq16 ioreqs[] = { in al7230b_switch_radio_off() local 437 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in al7230b_switch_radio_off() [all …]
|
D | zd_chip.c | 132 const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_async_locked() argument 154 ioreqs16[j].value = ioreqs[i].value >> 16; in _zd_iowrite32v_async_locked() 155 ioreqs16[j].addr = inc_addr(ioreqs[i].addr); in _zd_iowrite32v_async_locked() 156 ioreqs16[j+1].value = ioreqs[i].value; in _zd_iowrite32v_async_locked() 157 ioreqs16[j+1].addr = ioreqs[i].addr; in _zd_iowrite32v_async_locked() 170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked() argument 176 r = _zd_iowrite32v_async_locked(chip, ioreqs, count); in _zd_iowrite32v_locked() 185 const struct zd_ioreq16 *ioreqs, unsigned int count) in zd_iowrite16a_locked() argument 199 if (!ioreqs[i+j].addr) { in zd_iowrite16a_locked() 205 r = zd_usb_iowrite16v_async(&chip->usb, &ioreqs[i], j); in zd_iowrite16a_locked() [all …]
|
D | zd_rf_al2230.c | 69 static const struct zd_ioreq16 ioreqs[] = { in zd1211b_al2230_finalize_rf() local 78 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al2230_finalize_rf() 352 static const struct zd_ioreq16 ioreqs[] = { in zd1211_al2230_set_channel() local 360 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211_al2230_set_channel() 384 static const struct zd_ioreq16 ioreqs[] = { in zd1211_al2230_switch_radio_on() local 389 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211_al2230_switch_radio_on() 395 static const struct zd_ioreq16 ioreqs[] = { in zd1211b_al2230_switch_radio_on() local 400 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al2230_switch_radio_on() 406 static const struct zd_ioreq16 ioreqs[] = { in al2230_switch_radio_off() local 411 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in al2230_switch_radio_off()
|
D | zd_rf_uw2453.c | 303 static const struct zd_ioreq16 ioreqs[] = { in uw2453_init_hw() local 365 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in uw2453_init_hw() 436 static const struct zd_ioreq16 ioreqs[] = { in uw2453_set_channel() local 458 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in uw2453_set_channel() 473 struct zd_ioreq16 ioreqs[] = { in uw2453_switch_radio_on() local 483 ioreqs[1].value = 0x7f; in uw2453_switch_radio_on() 485 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in uw2453_switch_radio_on() 492 static const struct zd_ioreq16 ioreqs[] = { in uw2453_switch_radio_off() local 502 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in uw2453_switch_radio_off()
|
D | zd_rf_rf2959.c | 141 static const struct zd_ioreq16 ioreqs[] = { in rf2959_init_hw() local 211 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in rf2959_init_hw() 234 static const struct zd_ioreq16 ioreqs[] = { in rf2959_switch_radio_on() local 240 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in rf2959_switch_radio_on() 245 static const struct zd_ioreq16 ioreqs[] = { in rf2959_switch_radio_off() local 251 return zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in rf2959_switch_radio_off()
|
D | zd_mac.c | 709 struct zd_ioreq32 *ioreqs; in zd_mac_config_beacon() local 721 ioreqs = kmalloc_array(num_cmds, sizeof(struct zd_ioreq32), in zd_mac_config_beacon() 723 if (!ioreqs) { in zd_mac_config_beacon() 759 ioreqs[req_pos].addr = CR_BCN_FIFO; in zd_mac_config_beacon() 760 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon() 763 ioreqs[req_pos].addr = CR_BCN_LENGTH; in zd_mac_config_beacon() 764 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon() 769 ioreqs[req_pos].addr = CR_BCN_FIFO; in zd_mac_config_beacon() 770 ioreqs[req_pos].value = *((u8 *)(beacon->data + j)); in zd_mac_config_beacon() 775 ioreqs[req_pos].addr = CR_BCN_FIFO; in zd_mac_config_beacon() [all …]
|
D | zd_usb.h | 269 int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, 271 int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs,
|
D | zd_chip.h | 833 const struct zd_ioreq16 *ioreqs, unsigned int count); 835 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, 850 const struct zd_ioreq32 *ioreqs, unsigned int count); 874 int zd_iowrite32a(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs,
|
D | zd_usb.c | 1864 int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v_async() argument 1911 rw->addr = cpu_to_le16((u16)ioreqs[i].addr); in zd_usb_iowrite16v_async() 1912 rw->value = cpu_to_le16(ioreqs[i].value); in zd_usb_iowrite16v_async() 1947 int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, in zd_usb_iowrite16v() argument 1953 r = zd_usb_iowrite16v_async(usb, ioreqs, count); in zd_usb_iowrite16v()
|