| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | boot.c | 173 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk() 180 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk() 196 while (chunk_num < fw_data_len / CHUNK_SIZE) { in wl1271_boot_upload_firmware_chunk() 198 addr = dest + (chunk_num + 2) * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk() 200 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk() 201 partition_limit = chunk_num * CHUNK_SIZE + in wl1271_boot_upload_firmware_chunk() 210 addr = dest + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk() 211 p = buf + chunk_num * CHUNK_SIZE; in wl1271_boot_upload_firmware_chunk() 212 memcpy(chunk, p, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk() 215 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk() [all …]
|
| H A D | wlcore.h | 543 #define CHUNK_SIZE 16384 macro
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | boot.c | 319 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() 358 addr = WL1251_PART_DOWN_MEM_START + 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() [all …]
|
| H A D | reg.h | 480 #define CHUNK_SIZE 512 macro
|
| /linux/arch/mips/dec/prom/ |
| H A D | memory.c | 28 #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()
|
| /linux/tools/perf/util/ |
| H A D | zlib.c | 14 #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()
|
| /linux/drivers/usb/mon/ |
| H A D | mon_bin.c | 64 #define CHUNK_SIZE PAGE_SIZE macro 65 #define CHUNK_ALIGN(x) (((x)+CHUNK_SIZE-1) & ~(CHUNK_SIZE-1)) 209 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR() 246 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff() 253 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff() 278 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf() 285 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf() 479 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc() 707 size = sizeof(struct mon_pgmap) * (rp->b_size/CHUNK_SIZE); in mon_bin_open() 713 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open() [all …]
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_tlv.h | 12 #define CHUNK_SIZE 16 macro 13 #define CHUNKS(x) (((x) + CHUNK_SIZE - 1) / CHUNK_SIZE)
|
| /linux/drivers/media/usb/s2255/ |
| H A D | s2255drv.c | 511 #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() 2187 dev->fw_data->fw->data, CHUNK_SIZE); in s2255_fwload_start() 2188 dev->fw_data->fw_loaded = CHUNK_SIZE; in s2255_fwload_start() 2192 CHUNK_SIZE, s2255_fwchunk_complete, in s2255_fwload_start() 2271 dev->fw_data->pfw_data = kzalloc(CHUNK_SIZE, GFP_KERNEL); in s2255_probe()
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
| H A D | dcn201_hubp.c | 82 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp201_program_requestor()
|
| /linux/drivers/gpu/drm/amd/display/dc/dsc/dcn401/ |
| H A D | dcn401_dsc.c | 104 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc401_read_state() 268 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
|
| H A D | dcn401_dsc.h | 81 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \
|
| /linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
| H A D | dcn20_dsc.c | 151 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state() 649 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | drxd_hard.c | 24 #define CHUNK_SIZE 48 macro 286 u8 mm[CHUNK_SIZE + 4] = { reg & 0xff, (reg >> 16) & 0xff, in write_chunk() 304 u16 Chunk = BlockSize > CHUNK_SIZE ? CHUNK_SIZE : BlockSize; in WriteBlock()
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | soc24_enum.h | 1839 typedef enum CHUNK_SIZE { enum 1847 } CHUNK_SIZE; typedef
|
| H A D | navi10_enum.h | 1815 typedef enum CHUNK_SIZE { enum 1823 } CHUNK_SIZE; typedef
|
| H A D | soc21_enum.h | 1703 typedef enum CHUNK_SIZE { enum 1711 } CHUNK_SIZE; typedef
|