/openbmc/linux/net/ethtool/ |
H A D | eeprom.c | 89 struct ethtool_module_eeprom *page_data, in get_module_eeprom_by_page() argument 109 struct ethtool_module_eeprom page_data = {0}; in eeprom_prepare_data() local 113 page_data.offset = request->offset; in eeprom_prepare_data() 114 page_data.length = request->length; in eeprom_prepare_data() 115 page_data.i2c_address = request->i2c_address; in eeprom_prepare_data() 116 page_data.page = request->page; in eeprom_prepare_data() 117 page_data.bank = request->bank; in eeprom_prepare_data() 118 page_data.data = kmalloc(page_data.length, GFP_KERNEL); in eeprom_prepare_data() 119 if (!page_data.data) in eeprom_prepare_data() 131 reply->data = page_data.data; in eeprom_prepare_data() [all …]
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront_fx.c | 160 unsigned short *page_data = NULL; in snd_wavefront_fx_ioctl() local 194 page_data = memdup_user((unsigned char __user *) in snd_wavefront_fx_ioctl() 197 if (IS_ERR(page_data)) in snd_wavefront_fx_ioctl() 198 return PTR_ERR(page_data); in snd_wavefront_fx_ioctl() 199 pd = page_data; in snd_wavefront_fx_ioctl() 207 kfree(page_data); in snd_wavefront_fx_ioctl()
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdswap.c | 105 unsigned int *page_data; member 719 d->page_data[page] = *newblock; in mtdswap_move_block() 727 d->page_data[page] = BLOCK_ERROR; in mtdswap_move_block() 991 vfree(d->page_data); in mtdswap_cleanup() 1040 mapped = d->page_data[page]; in mtdswap_writesect() 1055 d->page_data[page] = newblock; in mtdswap_writesect() 1096 realblock = d->page_data[page]; in mtdswap_readsect() 1151 mapped = d->page_data[page]; in mtdswap_discard() 1289 if (!d->page_data) in mtdswap_init() 1302 d->page_data[i] = BLOCK_UNDEF; in mtdswap_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1815 const struct ethtool_module_eeprom *page_data, in mlx5e_get_module_eeprom_by_page() argument 1821 u8 *data = page_data->data; in mlx5e_get_module_eeprom_by_page() 1825 if (!page_data->length) in mlx5e_get_module_eeprom_by_page() 1828 memset(data, 0, page_data->length); in mlx5e_get_module_eeprom_by_page() 1830 query.offset = page_data->offset; in mlx5e_get_module_eeprom_by_page() 1831 query.i2c_address = page_data->i2c_address; in mlx5e_get_module_eeprom_by_page() 1832 query.bank = page_data->bank; in mlx5e_get_module_eeprom_by_page() 1833 query.page = page_data->page; in mlx5e_get_module_eeprom_by_page() 1834 while (i < page_data->length) { in mlx5e_get_module_eeprom_by_page() 1835 query.size = page_data->length - i; in mlx5e_get_module_eeprom_by_page() [all …]
|
/openbmc/qemu/dump/ |
H A D | dump.c | 1476 DataCache page_desc, page_data; in write_dump_pages() local 1494 prepare_data_cache(&page_data, s, offset_data); in write_dump_pages() 1515 ret = write_cache(&page_data, buf, s->dump_info.page_size, false); in write_dump_pages() 1558 ret = write_cache(&page_data, buf_out, size_out, false); in write_dump_pages() 1571 ret = write_cache(&page_data, buf_out, size_out, false); in write_dump_pages() 1585 ret = write_cache(&page_data, buf_out, size_out, false); in write_dump_pages() 1600 ret = write_cache(&page_data, buf, in write_dump_pages() 1627 ret = write_cache(&page_data, NULL, 0, true); in write_dump_pages() 1635 free_data_cache(&page_data); in write_dump_pages()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 3332 const struct ethtool_module_eeprom *page_data, in bnxt_get_module_eeprom_by_page() argument 3347 if (page_data->bank && !(bp->phy_flags & BNXT_PHY_FL_BANK_SEL)) { in bnxt_get_module_eeprom_by_page() 3352 rc = bnxt_read_sfp_module_eeprom_info(bp, page_data->i2c_address << 1, in bnxt_get_module_eeprom_by_page() 3353 page_data->page, page_data->bank, in bnxt_get_module_eeprom_by_page() 3354 page_data->offset, in bnxt_get_module_eeprom_by_page() 3355 page_data->length, in bnxt_get_module_eeprom_by_page() 3356 page_data->data); in bnxt_get_module_eeprom_by_page() 3361 return page_data->length; in bnxt_get_module_eeprom_by_page()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 1340 u8 page_data[PAGE_DATA_LEN]; in be_get_module_info() local 1347 0, PAGE_DATA_LEN, page_data); in be_get_module_info() 1349 if (!page_data[SFP_PLUS_SFF_8472_COMP]) { in be_get_module_info()
|
H A D | be_cmds.c | 2328 memcpy(data, resp->page_data + off, len); in be_cmd_read_port_transceiver_data() 2415 u8 page_data[PAGE_DATA_LEN]; in be_cmd_query_cable_type() local 2419 0, PAGE_DATA_LEN, page_data); in be_cmd_query_cable_type() 2424 page_data[QSFP_PLUS_CABLE_TYPE_OFFSET]; in be_cmd_query_cable_type() 2428 page_data[SFP_PLUS_CABLE_TYPE_OFFSET]; in be_cmd_query_cable_type() 2440 u8 page_data[PAGE_DATA_LEN]; in be_cmd_query_sfp_info() local 2444 0, PAGE_DATA_LEN, page_data); in be_cmd_query_sfp_info() 2446 strscpy(adapter->phy.vendor_name, page_data + in be_cmd_query_sfp_info() 2449 page_data + SFP_VENDOR_PN_OFFSET, in be_cmd_query_sfp_info()
|
H A D | be_cmds.h | 1121 u8 page_data[PAGE_DATA_LEN]; member
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | omap2.c | 655 u8 *page_data) in omap_compare_ecc() argument 755 page_data[find_byte] ^= (1 << find_bit); in omap_compare_ecc()
|
/openbmc/linux/fs/smb/client/ |
H A D | file.c | 3193 char *page_data; in cifs_write_end() local 3203 page_data = kmap(page); in cifs_write_end() 3204 rc = cifs_write(cfile, pid, page_data + offset, copied, &pos); in cifs_write_end()
|
/openbmc/linux/drivers/scsi/elx/libefc_sli/ |
H A D | sli4.h | 3159 u8 page_data[128]; member
|
/openbmc/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 10911 union mlx5_ifc_pddr_reg_page_data_auto_bits page_data; member
|