Home
last modified time | relevance | path

Searched refs:current_len (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/mtd/lpddr/
Dlpddr2_nvm.c321 u_long add, current_len, tot_len, target_len, my_data; in lpddr2_nvm_write() local
350 current_len = min(target_len - tot_len, in lpddr2_nvm_write()
353 0x00, add, current_len, write_buf + tot_len); in lpddr2_nvm_write()
357 add += current_len; in lpddr2_nvm_write()
358 tot_len += current_len; in lpddr2_nvm_write()
/Linux-v6.6/rust/alloc/vec/
Dset_len_on_drop.rs25 pub(super) fn current_len(&self) -> usize { in current_len() method
Dmod.rs3117 ptr::write(ptr.add(local_len.current_len()), element); in extend_trusted()
3150 ptr::write(ptr.add(local_len.current_len()), element); in try_extend_trusted()
/Linux-v6.6/drivers/isdn/hardware/mISDN/
Dhfcsusb.c1163 int k, tx_offset, num_isoc_packets, sink, remain, current_len, in tx_iso_complete() local
1254 current_len = (0 - fifo->bit_line) / 8; in tx_iso_complete()
1255 if (current_len > 14) in tx_iso_complete()
1256 current_len = 14; in tx_iso_complete()
1257 if (current_len < 0) in tx_iso_complete()
1258 current_len = 0; in tx_iso_complete()
1259 if (remain < current_len) in tx_iso_complete()
1260 current_len = remain; in tx_iso_complete()
1263 fifo->bit_line += current_len * 8; in tx_iso_complete()
1266 if (current_len == remain) { in tx_iso_complete()
[all …]
/Linux-v6.6/arch/mips/cavium-octeon/
Docteon-platform.c491 int current_len; in octeon_fdt_set_phy() local
544 &current_len); in octeon_fdt_set_phy()
545 if (p && current_len >= strlen(new_name)) in octeon_fdt_set_phy()
547 "compatible", new_name, current_len); in octeon_fdt_set_phy()
558 p = fdt_get_name(initial_boot_params, phy, &current_len); in octeon_fdt_set_phy()
559 if (p && current_len == strlen(new_name)) in octeon_fdt_set_phy()
/Linux-v6.6/drivers/parisc/
Dccio-dma.c910 unsigned long prev_len = 0, current_len = 0; in ccio_map_sg() local
965 current_len += sg_dma_len(sglist + i); in ccio_map_sg()
967 BUG_ON(current_len != prev_len); in ccio_map_sg()
/Linux-v6.6/drivers/dma/
Dat_hdmac.c613 static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla) in atc_calc_bytes_left() argument
624 return current_len - (btsize << src_width); in atc_calc_bytes_left()