Searched refs:writelen (Results 1 – 6 of 6) sorted by relevance
/drivers/mtd/devices/ |
D | mtd_dataflash.c | 309 unsigned int pageaddr, addr, offset, writelen; in dataflash_write() local 327 writelen = priv->page_size - offset; in dataflash_write() 329 writelen = len; in dataflash_write() 334 pageaddr, offset, writelen); in dataflash_write() 355 if (writelen != priv->page_size) { in dataflash_write() 383 x[1].len = writelen; in dataflash_write() 389 dev_name(&spi->dev), addr, writelen, status); in dataflash_write() 425 remaining = remaining - writelen; in dataflash_write() 428 writebuf += writelen; in dataflash_write() 429 *retlen += writelen; in dataflash_write() [all …]
|
/drivers/net/irda/ |
D | irtty-sir.c | 186 int writelen; in irtty_do_write() local 195 writelen = tty_write_room(tty); in irtty_do_write() 196 if (writelen > len) in irtty_do_write() 197 writelen = len; in irtty_do_write() 198 return tty->ops->write(tty, ptr, writelen); in irtty_do_write()
|
/drivers/usb/serial/ |
D | iuu_phoenix.c | 63 int writelen; /* num of byte to write to device */ member 612 *buf_ptr++ = priv->writelen; in iuu_bulk_write() 614 memcpy(buf_ptr, priv->writebuf, priv->writelen); in iuu_bulk_write() 615 buf_len = priv->writelen; in iuu_bulk_write() 616 priv->writelen = 0; in iuu_bulk_write() 694 if (priv->writelen > 0) { in iuu_uart_read_callback() 717 memcpy(priv->writebuf + priv->writelen, buf, count); in iuu_uart_write() 718 priv->writelen += count; in iuu_uart_write()
|
/drivers/staging/wlan-ng/ |
D | hfa384x_usb.c | 2011 u32 writelen; in hfa384x_drvr_flashdl_write() local 2082 writelen = burnlen - (j * HFA384x_USB_RWMEM_MAXLEN); in hfa384x_drvr_flashdl_write() 2083 writelen = writelen > HFA384x_USB_RWMEM_MAXLEN ? in hfa384x_drvr_flashdl_write() 2084 HFA384x_USB_RWMEM_MAXLEN : writelen; in hfa384x_drvr_flashdl_write() 2089 writebuf, writelen); in hfa384x_drvr_flashdl_write()
|
/drivers/mtd/nand/ |
D | nand_base.c | 2227 uint32_t writelen = ops->len; in nand_do_write_ops() local 2239 if (!writelen) in nand_do_write_ops() 2277 int cached = writelen > bytes && page != blockmask; in nand_do_write_ops() 2281 if (unlikely(column || writelen < (mtd->writesize - 1))) { in nand_do_write_ops() 2283 bytes = min_t(int, bytes - column, (int) writelen); in nand_do_write_ops() 2304 writelen -= bytes; in nand_do_write_ops() 2305 if (!writelen) in nand_do_write_ops() 2321 ops->retlen = ops->len - writelen; in nand_do_write_ops()
|
/drivers/net/wireless/ |
D | airo.c | 4494 int writelen; member 4625 priv->writelen = max_t(int, priv->writelen, *offset); in proc_write() 4781 if ( !data->writelen ) return; in proc_config_on_close() 5083 char *end = p + data->writelen; in proc_SSID_on_close() 5085 if (!data->writelen) in proc_SSID_on_close() 5118 if ( !data->writelen ) return; in proc_APList_on_close() 5123 for( i = 0; i < 4 && data->writelen >= (i+1)*6*3; i++ ) { in proc_APList_on_close() 5257 if ( !data->writelen ) return; in proc_wepkey_on_close() 5314 data->writelen = 0; in proc_wepkey_open() 5359 data->writelen = 0; in proc_SSID_open() [all …]
|