Searched refs:nb_bytes (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/ipack/devices/ |
H A D | ipoctal.c | 32 unsigned int nb_bytes; member 132 channel->nb_bytes = 0; in ipoctal_free_channel() 210 if (channel->nb_bytes == 0) in ipoctal_irq_tx() 219 channel->nb_bytes--; in ipoctal_irq_tx() 235 if ((sr & SR_TX_EMPTY) && (channel->nb_bytes == 0)) { in ipoctal_irq_channel() 409 channel->nb_bytes = 0; in ipoctal_inst_slot() 452 if (i <= (PAGE_SIZE - channel->nb_bytes)) { in ipoctal_copy_write_buffer() 456 channel->nb_bytes++; in ipoctal_copy_write_buffer() 492 return PAGE_SIZE - channel->nb_bytes; in ipoctal_write_room() 499 return channel->nb_bytes; in ipoctal_chars_in_buffer() [all...] |
/kernel/linux/linux-6.6/drivers/ipack/devices/ |
H A D | ipoctal.c | 30 unsigned int nb_bytes; member 130 channel->nb_bytes = 0; in ipoctal_free_channel() 208 if (channel->nb_bytes == 0) in ipoctal_irq_tx() 217 channel->nb_bytes--; in ipoctal_irq_tx() 233 if ((sr & SR_TX_EMPTY) && (channel->nb_bytes == 0)) { in ipoctal_irq_channel() 406 channel->nb_bytes = 0; in ipoctal_inst_slot() 448 if (i <= (PAGE_SIZE - channel->nb_bytes)) { in ipoctal_copy_write_buffer() 452 channel->nb_bytes++; in ipoctal_copy_write_buffer() 488 return PAGE_SIZE - channel->nb_bytes; in ipoctal_write_room() 495 return channel->nb_bytes; in ipoctal_chars_in_buffer() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fb_dma_helper.c | 130 size_t nb_bytes; in drm_fb_dma_sync_non_coherent() local 144 nb_bytes = (clip.y2 - clip.y1) * state->fb->pitches[i]; in drm_fb_dma_sync_non_coherent() 146 nb_bytes, DMA_TO_DEVICE); in drm_fb_dma_sync_non_coherent()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 509 int ret, nb_bytes; in dw_mipi_dsi_host_transfer() local 534 nb_bytes = msg->rx_len; in dw_mipi_dsi_host_transfer() 536 nb_bytes = packet.size; in dw_mipi_dsi_host_transfer() 539 return nb_bytes; in dw_mipi_dsi_host_transfer()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 502 int ret, nb_bytes; in dw_mipi_dsi_host_transfer() local 527 nb_bytes = msg->rx_len; in dw_mipi_dsi_host_transfer() 529 nb_bytes = packet.size; in dw_mipi_dsi_host_transfer() 532 return nb_bytes; in dw_mipi_dsi_host_transfer()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_therm.c | 244 * write_scratchpad() - write nb_bytes in the device RAM 247 * @nb_bytes: number of bytes to be written (2 for DS18S20, 3 otherwise) 251 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes); 1271 static int write_scratchpad(struct w1_slave *sl, const u8 *data, u8 nb_bytes) in write_scratchpad() argument 1292 w1_write_block(dev_master, data, nb_bytes); in write_scratchpad()
|
/kernel/linux/linux-6.6/drivers/w1/slaves/ |
H A D | w1_therm.c | 244 * write_scratchpad() - write nb_bytes in the device RAM 247 * @nb_bytes: number of bytes to be written (2 for DS18S20, 3 otherwise) 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() argument 1357 w1_write_block(dev_master, data, nb_bytes); in write_scratchpad()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | docg3.c | 605 * @nb_bytes: the number of bytes covered by the ECC (Hamming covered) 610 static void doc_hamming_ecc_init(struct docg3 *docg3, int nb_bytes) in doc_hamming_ecc_init() argument 616 ecc_conf1 |= (nb_bytes & DOC_ECCCONF1_HAMMING_BITS_MASK); in doc_hamming_ecc_init()
|
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | docg3.c | 605 * @nb_bytes: the number of bytes covered by the ECC (Hamming covered) 610 static void doc_hamming_ecc_init(struct docg3 *docg3, int nb_bytes) in doc_hamming_ecc_init() argument 616 ecc_conf1 |= (nb_bytes & DOC_ECCCONF1_HAMMING_BITS_MASK); in doc_hamming_ecc_init()
|
Completed in 17 milliseconds