Searched refs:nb_bytes (Results 1 – 5 of 5) sorted by relevance
30 unsigned int nb_bytes; member130 channel->nb_bytes = 0; in ipoctal_free_channel()206 if (channel->nb_bytes == 0) in ipoctal_irq_tx()215 channel->nb_bytes--; in ipoctal_irq_tx()231 if ((sr & SR_TX_EMPTY) && (channel->nb_bytes == 0)) { in ipoctal_irq_channel()404 channel->nb_bytes = 0; in ipoctal_inst_slot()446 if (i <= (PAGE_SIZE - channel->nb_bytes)) { in ipoctal_copy_write_buffer()450 channel->nb_bytes++; in ipoctal_copy_write_buffer()486 return PAGE_SIZE - channel->nb_bytes; in ipoctal_write_room()493 return channel->nb_bytes; in ipoctal_chars_in_buffer()[all …]
131 size_t nb_bytes; in drm_fb_dma_sync_non_coherent() local145 nb_bytes = (clip.y2 - clip.y1) * state->fb->pitches[i]; in drm_fb_dma_sync_non_coherent()147 nb_bytes, DMA_TO_DEVICE); in drm_fb_dma_sync_non_coherent()
505 int ret, nb_bytes; in dw_mipi_dsi_host_transfer() local530 nb_bytes = msg->rx_len; in dw_mipi_dsi_host_transfer()532 nb_bytes = packet.size; in dw_mipi_dsi_host_transfer()535 return nb_bytes; in dw_mipi_dsi_host_transfer()
251 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes);1336 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes) in write_scratchpad() argument1357 w1_write_block(dev_master, data, nb_bytes); in write_scratchpad()
610 static void doc_hamming_ecc_init(struct docg3 *docg3, int nb_bytes) in doc_hamming_ecc_init() argument616 ecc_conf1 |= (nb_bytes & DOC_ECCCONF1_HAMMING_BITS_MASK); in doc_hamming_ecc_init()