/u-boot/fs/yaffs2/ |
H A D | yaffs_checkptrw.h | 23 int yaffs2_checkpt_wr(struct yaffs_dev *dev, const void *data, int n_bytes); 25 int yaffs2_checkpt_rd(struct yaffs_dev *dev, void *data, int n_bytes);
|
H A D | yaffs_ecc.h | 39 void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, 41 int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes,
|
H A D | yaffs_packedtags2.c | 45 ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number); 58 t->chunk_id, t->n_bytes, t->is_deleted, t->serial_number, 80 ptt->n_bytes = t->n_bytes; 100 ptt->n_bytes = t->extra_equiv_id; 102 ptt->n_bytes = (unsigned) t->extra_file_size; 104 ptt->n_bytes = 0; 134 t->n_bytes = ptt->n_bytes; 142 t->n_bytes [all...] |
H A D | yaffs_summary.c | 44 unsigned n_bytes; member in struct:yaffs_summary_tags 124 int n_bytes; local 134 n_bytes = sizeof(struct yaffs_summary_tags) * 148 this_tx = n_bytes; 153 tags.n_bytes = this_tx + sizeof(hdr); 163 n_bytes -= this_tx; 168 } while (result == YAFFS_OK && n_bytes > 0); 186 int n_bytes; local 197 n_bytes = sizeof(struct yaffs_summary_tags) * dev->chunks_per_summary; 203 this_tx = n_bytes; [all...] |
H A D | yaffs_packedtags1.c | 30 pt->n_bytes = t->n_bytes; 49 t->n_bytes = pt->n_bytes;
|
H A D | yaffs_packedtags1.h | 26 unsigned n_bytes:10; member in struct:yaffs_packed_tags1
|
H A D | yaffs_packedtags2.h | 28 unsigned n_bytes; member in struct:yaffs_packed_tags2_tags_only
|
H A D | yaffs_yaffs2.c | 212 int n_bytes = 0; local 222 n_bytes += sizeof(struct yaffs_checkpt_validity); 223 n_bytes += sizeof(struct yaffs_checkpt_dev); 224 n_bytes += dev_blocks * sizeof(struct yaffs_block_info); 225 n_bytes += dev_blocks * dev->chunk_bit_stride; 226 n_bytes += 229 n_bytes += (dev->tnode_size + sizeof(u32)) * dev->n_tnodes; 230 n_bytes += sizeof(struct yaffs_checkpt_validity); 231 n_bytes += sizeof(u32); /* checksum */ 237 (n_bytes / 313 u32 n_bytes; local 341 u32 n_bytes; local [all...] |
H A D | yaffs_checkptrw.c | 221 tags.n_bytes = dev->data_bytes_per_chunk; 258 int yaffs2_checkpt_wr(struct yaffs_dev *dev, const void *data, int n_bytes) argument 270 while (i < n_bytes && ok) { 288 int yaffs2_checkpt_rd(struct yaffs_dev *dev, void *data, int n_bytes) argument 303 while (i < n_bytes && ok) {
|
H A D | yaffs_ecc.c | 205 void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, argument 214 for (i = 0; i < n_bytes; i++) { 231 int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes, argument 261 if (delta_line >= n_bytes)
|
H A D | yaffs_tagscompat.c | 295 tags.n_bytes_lsb = ext_tags->n_bytes & (1024 - 1); 298 tags.n_bytes_msb = (ext_tags->n_bytes >> 10) & 3; 349 ext_tags->n_bytes = tags.n_bytes_lsb; 352 ext_tags->n_bytes |=
|
H A D | yaffs_guts.h | 134 int n_bytes; /* Only valid if the cache is dirty */ member in struct:yaffs_cache 183 unsigned n_bytes; /* Only valid for data chunks */ member in struct:yaffs_ext_tags 849 int n_bytes); 851 int n_bytes, int write_trhrough); 915 int yaffs_check_ff(u8 *buffer, int n_bytes); 947 int n_bytes, int write_trhrough);
|
H A D | yaffs_guts.c | 42 const u8 *buffer, int n_bytes, int use_reserve); 302 int yaffs_check_ff(u8 *buffer, int n_bytes) argument 305 while (n_bytes--) { 350 temp_tags.n_bytes != tags->n_bytes) 1416 cache->n_bytes, 1); 2404 tags.chunk_id, tags.n_bytes); 2433 tags.n_bytes); 2984 const u8 *buffer, int n_bytes, int use_reserve) 3015 new_tags.n_bytes 2983 yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk, const u8 *buffer, int n_bytes, int use_reserve) argument 3413 yaffs_file_rd(struct yaffs_obj *in, u8 * buffer, loff_t offset, int n_bytes) argument 3492 yaffs_do_file_wr(struct yaffs_obj *in, const u8 *buffer, loff_t offset, int n_bytes, int write_through) argument 3663 yaffs_wr_file(struct yaffs_obj *in, const u8 *buffer, loff_t offset, int n_bytes, int write_through) argument [all...] |
H A D | yaffs_yaffs1.c | 160 tags.n_bytes;
|
/u-boot/drivers/spi/ |
H A D | pic32_spi.c | 110 static u32 pic32_tx_max(struct pic32_spi_priv *priv, int n_bytes) argument 114 tx_left = (priv->tx_end - priv->tx) / n_bytes; 118 rxtx_gap /= n_bytes; 123 static u32 pic32_rx_max(struct pic32_spi_priv *priv, int n_bytes) argument 125 u32 rx_left = (priv->rx_end - priv->rx) / n_bytes;
|
H A D | mxc_spi.c | 420 int n_bytes = DIV_ROUND_UP(bitlen, 8); local 433 while (n_bytes > 0) { 434 if (n_bytes < MAX_SPI_BYTES) 435 blk_size = n_bytes; 449 n_bytes -= blk_size;
|