Searched refs:read_buff (Results 1 – 2 of 2) sorted by relevance
421 u8 *read_buff; in udl_get_edid_block() local425 read_buff = kmalloc(2, GFP_KERNEL); in udl_get_edid_block()426 if (!read_buff) in udl_get_edid_block()434 0xA1, read_buff, 2, USB_CTRL_GET_TIMEOUT); in udl_get_edid_block()444 buf[i] = read_buff[1]; in udl_get_edid_block()447 kfree(read_buff); in udl_get_edid_block()452 kfree(read_buff); in udl_get_edid_block()
348 static int adm1266_nvmem_read_blackbox(struct adm1266_data *data, u8 *read_buff) in adm1266_nvmem_read_blackbox() argument365 ret = adm1266_pmbus_block_xfer(data, ADM1266_READ_BLACKBOX, 1, &index, read_buff); in adm1266_nvmem_read_blackbox()372 read_buff += ADM1266_BLACKBOX_SIZE; in adm1266_nvmem_read_blackbox()