/drivers/net/wireless/ti/wlcore/ |
D | boot.c | 176 fw_data_len, CHUNK_SIZE); in wl1271_boot_upload_firmware_chunk() 183 chunk = kmalloc(CHUNK_SIZE, GFP_KERNEL); in wl1271_boot_upload_firmware_chunk() 199 while (chunk_num < fw_data_len / CHUNK_SIZE) { 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() 204 partition_limit = 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() 218 ret = wlcore_write(wl, addr, chunk, CHUNK_SIZE, false); in wl1271_boot_upload_firmware_chunk() [all …]
|
D | wlcore.h | 543 #define CHUNK_SIZE 16384 macro
|
/drivers/net/wireless/ti/wl1251/ |
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 …]
|
D | reg.h | 480 #define CHUNK_SIZE 512 macro
|
/drivers/usb/mon/ |
D | mon_bin.c | 64 #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() 241 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff() 248 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff() 273 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf() 280 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf() 474 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc() 702 size = sizeof(struct mon_pgmap) * (rp->b_size/CHUNK_SIZE); in mon_bin_open() 708 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open() [all …]
|
/drivers/spi/ |
D | spi-npcm-fiu.c | 183 #define CHUNK_SIZE 16 macro 431 num_data_chunks = op->data.nbytes / CHUNK_SIZE; in npcm_fiu_manualwrite() 432 remain_data = op->data.nbytes % CHUNK_SIZE; in npcm_fiu_manualwrite() 448 &data[1], CHUNK_SIZE - 1); in npcm_fiu_manualwrite() 452 data += CHUNK_SIZE; in npcm_fiu_manualwrite()
|
/drivers/media/usb/s2255/ |
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() 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()
|
/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2-main.c | 1907 #define CHUNK_SIZE(a) ((a)->end - (a)->begin + 1) in arrange() macro 1910 while (CHUNK_SIZE(&arr[0]) && CHUNK_SIZE(&arr[1])) { in arrange() 1917 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange() 1929 if (CHUNK_SIZE(&arr[0]) > CHUNK_SIZE(&arr[1])) { in arrange()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dsc.h | 141 DSC_SF(DSCC0_DSCC_PPS_CONFIG1, CHUNK_SIZE, mask_sh), \ 312 type CHUNK_SIZE; \
|
D | dcn20_dsc.c | 161 REG_GET(DSCC_PPS_CONFIG1, CHUNK_SIZE, &s->dsc_chunk_size); in dsc2_read_state() 598 CHUNK_SIZE, reg_vals->pps.slice_chunk_size); in dsc_write_to_registers()
|
D | dcn20_hubp.c | 209 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp2_program_requestor() 1267 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp2_read_state() 1310 CHUNK_SIZE, &rq_regs.rq_regs_l.chunk_size, in hubp2_validate_dml_output()
|
/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 151 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()
|
/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hubp.h | 132 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
|
/drivers/media/dvb-frontends/ |
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()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.h | 345 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\ 545 type CHUNK_SIZE;\
|
D | dcn10_hubp.c | 566 CHUNK_SIZE, rq_regs->rq_regs_l.chunk_size, in hubp1_program_requestor() 1080 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp1_read_state()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 445 CHUNK_SIZE, &rq_regs->rq_regs_l.chunk_size, in hubp3_read_state()
|
D | dcn30_hubp.h | 148 HUBP_SF(HUBP0_DCHUBP_REQ_SIZE_CONFIG, CHUNK_SIZE, mask_sh),\
|
/drivers/gpu/drm/amd/include/ |
D | navi10_enum.h | 1815 typedef enum CHUNK_SIZE { enum 1823 } CHUNK_SIZE; typedef
|