Searched refs:read_buff (Results 1 – 2 of 2) sorted by relevance
21 u8 *read_buff; in udl_get_edid_block() local24 read_buff = kmalloc(2, GFP_KERNEL); in udl_get_edid_block()25 if (!read_buff) in udl_get_edid_block()33 0xA1, read_buff, 2, HZ); in udl_get_edid_block()36 kfree(read_buff); in udl_get_edid_block()39 buf[i] = read_buff[1]; in udl_get_edid_block()42 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()