Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dboot.c176 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
183 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk()
201 addr = dest + (chunk_num + 2) * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
203 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
213 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
214 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
215 memcpy(chunk, p, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
226 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
227 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk()
228 memcpy(chunk, p, fw_data_len % CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk()
[all …]
H A Dwlcore.h543 #define CHUNK_SIZE 16384 macro
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dboot.c319 CHUNK_SIZE); in wl1251_boot_upload_firmware()
326 buf = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1251_boot_upload_firmware()
341 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1251_boot_upload_firmware()
344 (chunk_num + 2) * CHUNK_SIZE; in wl1251_boot_upload_firmware()
347 chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
348 partition_limit = chunk_num * CHUNK_SIZE + in wl1251_boot_upload_firmware()
359 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
364 len = CHUNK_SIZE; in wl1251_boot_upload_firmware()
372 addr = WL1251_PART_DOWN_MEM_START + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
373 p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE; in wl1251_boot_upload_firmware()
[all …]
H A Dreg.h480 #define CHUNK_SIZE 512 macro
/openbmc/linux/arch/mips/dec/prom/
H A Dmemory.c28 #define CHUNK_SIZE 0x400000 macro
45 for (memory_page = (unsigned char *)CKSEG1 + CHUNK_SIZE; in pmax_setup_memory_region()
47 memory_page += CHUNK_SIZE) { in pmax_setup_memory_region()
52 memblock_add(0, (unsigned long)memory_page - CKSEG1 - CHUNK_SIZE); in pmax_setup_memory_region()
/openbmc/linux/tools/perf/util/
H A Dzlib.c14 #define CHUNK_SIZE 16384 macro
23 unsigned char buf[CHUNK_SIZE]; in gzip_decompress_to_file()
51 zs.avail_out = CHUNK_SIZE; in gzip_decompress_to_file()
65 len = CHUNK_SIZE - zs.avail_out; in gzip_decompress_to_file()
/openbmc/u-boot/drivers/spi/
H A Datcspi200_spi.c19 #define CHUNK_SIZE 1 macro
242 num_blks = DIV_ROUND_UP(tran_len , CHUNK_SIZE); in __atcspi200_spi_xfer()
243 num_bytes = (tran_len) % CHUNK_SIZE; in __atcspi200_spi_xfer()
245 num_bytes = CHUNK_SIZE; in __atcspi200_spi_xfer()
252 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
253 dout += CHUNK_SIZE; in __atcspi200_spi_xfer()
258 if (rf_cnt >= CHUNK_SIZE) in __atcspi200_spi_xfer()
259 rx_bytes = CHUNK_SIZE; in __atcspi200_spi_xfer()
266 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
/openbmc/openbmc/poky/meta/recipes-devtools/bootchart2/bootchart2/
H A D0001-collector-Allocate-space-on-heap-for-chunks.patch23 - char buffer[CHUNK_SIZE];
25 + char *buffer = malloc(CHUNK_SIZE);
30 - read (s->mem, &buffer, CHUNK_SIZE);
31 + read (s->mem, buffer, CHUNK_SIZE);
/openbmc/linux/drivers/usb/mon/
H A Dmon_bin.c64 #define CHUNK_SIZE PAGE_SIZE macro
65 #define CHUNK_ALIGN(x) (((x)+CHUNK_SIZE-1) & ~(CHUNK_SIZE-1))
207 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR()
244 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff()
251 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
276 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf()
283 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
477 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
1037 ret = mon_alloc_buff(vec, size/CHUNK_SIZE); in mon_bin_ioctl()
1046 mon_free_buff(vec, size/CHUNK_SIZE); in mon_bin_ioctl()
[all …]
/openbmc/linux/mm/
H A Dzbud.c71 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
72 #define ZHDR_SIZE_ALIGNED CHUNK_SIZE
129 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
256 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in zbud_alloc()
H A Dz3fold.c57 #define CHUNK_SIZE (1 << CHUNK_SHIFT) macro
58 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE)
188 return (size + CHUNK_SIZE - 1) >> CHUNK_SHIFT; in size_to_chunks()
1015 if (size > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE) in z3fold_alloc()
1430 BUILD_BUG_ON(ZHDR_SIZE_ALIGNED > PAGE_SIZE - CHUNK_SIZE); in init_z3fold()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_tlv.h12 #define CHUNK_SIZE 16 macro
13 #define CHUNKS(x) (((x) + CHUNK_SIZE - 1) / CHUNK_SIZE)
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_lxml.py39 CHUNK_SIZE = 512 variable in LXMLTreeBuilderForXML
120 data = markup.read(self.CHUNK_SIZE)
126 data = markup.read(self.CHUNK_SIZE)
/openbmc/linux/drivers/spi/
H A Dspi-npcm-fiu.c187 #define CHUNK_SIZE 16 macro
450 num_data_chunks = op->data.nbytes / CHUNK_SIZE; in npcm_fiu_manualwrite()
451 remain_data = op->data.nbytes % CHUNK_SIZE; in npcm_fiu_manualwrite()
467 &data[1], CHUNK_SIZE - 1); in npcm_fiu_manualwrite()
471 data += CHUNK_SIZE; in npcm_fiu_manualwrite()
/openbmc/linux/drivers/media/usb/s2255/
H A Ds2255drv.c511 #define CHUNK_SIZE 512 in s2255_fwchunk_complete() macro
517 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? in s2255_fwchunk_complete()
518 data->fw_size % CHUNK_SIZE : CHUNK_SIZE; in s2255_fwchunk_complete()
520 if (len < CHUNK_SIZE) in s2255_fwchunk_complete()
521 memset(data->pfw_data, 0, CHUNK_SIZE); in s2255_fwchunk_complete()
527 data->pfw_data, CHUNK_SIZE, in s2255_fwchunk_complete()
2188 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start()
2189 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start()
2193 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start()
2272 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_hubp.c81 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
/openbmc/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c1904 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro
1907 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange()
1914 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1926 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
/openbmc/qemu/migration/
H A Dblock-dirty-bitmap.c84 #define CHUNK_SIZE (1 << 10) macro
578 dbms->sectors_per_chunk = CHUNK_SIZE * 8LLU * in add_bitmaps_to_list()
1008 if (buf_size > 10 * CHUNK_SIZE) { in dirty_bitmap_load_bits()
/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c54 #define CHUNK_SIZE 0x20 macro
327 dev_err(dev, "Chunk size: %d\n", readl(mxic->regs + CHUNK_SIZE)); in mxic_ecc_init_ctx()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dsc.h141 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
312 type CHUNK_SIZE; \
H A Ddcn20_dsc.c157 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state()
644 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hubp.h132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_hubp.c151 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp21_program_requestor()
273 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp21_validate_dml_output()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hubp.h148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
H A Ddcn30_hubp.c435 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()

12