Lines Matching refs:icsp
115 static void msg_init(uint8_t *out_buf, uint8_t cmd, device_t *device, int icsp) in msg_init() argument
128 out_buf[11] = icsp; in msg_init()
135 msg_init(msg, TL866A_REQUEST_STATUS1_MSG1, handle->device, handle->icsp); in tl866a_begin_transaction()
141 msg_init(msg, TL866A_END_TRANSACTION, handle->device, handle->icsp); in tl866a_end_transaction()
149 msg_init(msg, TL866A_PROTECT_OFF, handle->device, handle->icsp); in tl866a_protect_off()
156 msg_init(msg, TL866A_PROTECT_ON, handle->device, handle->icsp); in tl866a_protect_on()
163 msg_init(msg, TL866A_REQUEST_STATUS1_MSG2, handle->device, handle->icsp); in tl866a_get_ovc_status()
189 msg_init(msg, type, handle->device, handle->icsp); in tl866a_read_block()
207 msg_init(msg, type, handle->device, handle->icsp); in tl866a_write_block()
217 msg_init(msg, TL866A_GET_CHIP_ID, handle->device, handle->icsp); in tl866a_get_chip_id()
238 msg_init(msg, type, handle->device, handle->icsp); in tl866a_read_fuses()
263 msg_init(msg, type + 1, handle->device, handle->icsp); in tl866a_write_fuses()
273 msg_init(msg, type - 1, handle->device, handle->icsp); in tl866a_write_fuses()
281 msg_init(msg, type, handle->device, handle->icsp); in tl866a_write_fuses()
297 msg_init(msg, TL866A_ERASE, handle->device, handle->icsp); in tl866a_erase()