Searched refs:page_data (Results 1 – 4 of 4) sorted by relevance
46 page_data->page = page; in ethtool_cmis_page_init()47 page_data->offset = offset; in ethtool_cmis_page_init()48 page_data->length = length; in ethtool_cmis_page_init()74 page_data.data = (u8 *)&rpl; in cmis_rev_major_get()118 page_data.data = (u8 *)&rpl; in cmis_cdb_advertisement_get()504 page_data->data = kmalloc(page_data->length, GFP_KERNEL); in cmis_cdb_process_reply()505 if (!page_data->data) in cmis_cdb_process_reply()526 kfree(page_data->data); in cmis_cdb_process_reply()540 page_data->data = kmemdup(data, page_data->length, GFP_KERNEL); in __ethtool_cmis_cdb_execute_cmd()541 if (!page_data->data) in __ethtool_cmis_cdb_execute_cmd()[all …]
89 struct ethtool_module_eeprom *page_data, in get_module_eeprom_by_page() argument115 struct ethtool_module_eeprom page_data = {0}; in eeprom_prepare_data() local119 page_data.offset = request->offset; in eeprom_prepare_data()120 page_data.length = request->length; in eeprom_prepare_data()121 page_data.i2c_address = request->i2c_address; in eeprom_prepare_data()122 page_data.page = request->page; in eeprom_prepare_data()123 page_data.bank = request->bank; in eeprom_prepare_data()124 page_data.data = kmalloc(page_data.length, GFP_KERNEL); in eeprom_prepare_data()125 if (!page_data.data) in eeprom_prepare_data()137 reply->data = page_data.data; in eeprom_prepare_data()[all …]
244 struct ethtool_module_eeprom page_data = {}; in module_flash_fw_work_init() local252 page_data.page = MODULE_EEPROM_PHYS_ID_PAGE; in module_flash_fw_work_init()253 page_data.offset = SFP_PHYS_ID; in module_flash_fw_work_init()254 page_data.length = sizeof(phys_id); in module_flash_fw_work_init()255 page_data.i2c_address = MODULE_EEPROM_PHYS_ID_I2C_ADDR; in module_flash_fw_work_init()256 page_data.data = &phys_id; in module_flash_fw_work_init()258 err = ops->get_module_eeprom_by_page(dev, &page_data, extack); in module_flash_fw_work_init()
114 void ethtool_cmis_page_init(struct ethtool_module_eeprom *page_data,
Completed in 8 milliseconds