Lines Matching refs:eeprom
778 struct mwifiex_ds_read_eeprom *eeprom; in mwifiex_ret_reg_access() local
784 struct host_cmd_ds_802_11_eeprom_access *eeprom; in mwifiex_ret_reg_access() member
791 eeprom = data_buf; in mwifiex_ret_reg_access()
820 r.eeprom = &resp->params.eeprom; in mwifiex_ret_reg_access()
821 pr_debug("info: EEPROM read len=%x\n", r.eeprom->byte_count); in mwifiex_ret_reg_access()
822 if (le16_to_cpu(eeprom->byte_count) < in mwifiex_ret_reg_access()
823 le16_to_cpu(r.eeprom->byte_count)) { in mwifiex_ret_reg_access()
824 eeprom->byte_count = cpu_to_le16(0); in mwifiex_ret_reg_access()
828 eeprom->offset = r.eeprom->offset; in mwifiex_ret_reg_access()
829 eeprom->byte_count = r.eeprom->byte_count; in mwifiex_ret_reg_access()
830 if (le16_to_cpu(eeprom->byte_count) > 0) in mwifiex_ret_reg_access()
831 memcpy(&eeprom->value, &r.eeprom->value, in mwifiex_ret_reg_access()
832 le16_to_cpu(r.eeprom->byte_count)); in mwifiex_ret_reg_access()