Searched refs:read_buff (Results 1 – 2 of 2) sorted by relevance
22 u8 *read_buff; in udl_get_edid_block() local26 read_buff = kmalloc(2, GFP_KERNEL); in udl_get_edid_block()27 if (!read_buff) in udl_get_edid_block()34 0xA1, read_buff, 2, 1000); in udl_get_edid_block()37 kfree(read_buff); in udl_get_edid_block()40 buf[i] = read_buff[1]; in udl_get_edid_block()43 kfree(read_buff); in udl_get_edid_block()
349 static int adm1266_nvmem_read_blackbox(struct adm1266_data *data, u8 *read_buff) in adm1266_nvmem_read_blackbox() argument366 ret = adm1266_pmbus_block_xfer(data, ADM1266_READ_BLACKBOX, 1, &index, read_buff); in adm1266_nvmem_read_blackbox()373 read_buff += ADM1266_BLACKBOX_SIZE; in adm1266_nvmem_read_blackbox()