| /drivers/media/v4l2-core/ |
| A D | v4l2-vp9.c | 1683 *counts->eob[i][j][k][l][m][1], in _adapt_coeff() 1684 *counts->eob[i][j][k][l][m][0] - *counts->eob[i][j][k][l][m][1], in _adapt_coeff() 1702 _adapt_coeff(i, j, k, probs, counts, uf); in _adapt_coef_probs() 1711 _adapt_coef_probs(probs, counts, 112); in v4l2_vp9_adapt_coef_probs() 1714 _adapt_coef_probs(probs, counts, 128); in v4l2_vp9_adapt_coef_probs() 1716 _adapt_coef_probs(probs, counts, 112); in v4l2_vp9_adapt_coef_probs() 1755 return noncoef_merge_prob(prob, counts[0], counts[1]); in adapt_prob() 1779 (*counts->single_ref)[i][j]); in v4l2_vp9_adapt_noncoef_probs() 1818 (*counts->bits)[i][j]); in v4l2_vp9_adapt_noncoef_probs() 1822 (*counts->class0_fp)[i][j]); in v4l2_vp9_adapt_noncoef_probs() [all …]
|
| /drivers/md/ |
| A D | md-bitmap.c | 174 } counts; member 1520 struct bitmap_counts *counts; in bitmap_daemon_work() local 1572 counts = &bitmap->counts; in bitmap_daemon_work() 1573 spin_lock_irq(&counts->lock); in bitmap_daemon_work() 2045 bp = bitmap->counts.bp; in md_bitmap_free() 2046 pages = bitmap->counts.pages; in md_bitmap_free() 2314 struct bitmap_counts *counts; in bitmap_copy_from_slot() local 2323 counts = &bitmap->counts; in bitmap_copy_from_slot() 2375 counts = &bitmap->counts; in bitmap_get_stats() 2483 old_counts = bitmap->counts; in __bitmap_resize() [all …]
|
| A D | dm-table.c | 75 if (n >= t->counts[l]) in high() 90 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index() 1113 t->counts[i] = dm_div_up(t->counts[i + 1], CHILDREN_PER_NODE); in setup_indexes() 1114 total += t->counts[i]; in setup_indexes() 1124 indexes += (KEYS_PER_NODE * t->counts[i]); in setup_indexes() 1144 t->counts[t->depth - 1] = leaf_nodes; in dm_table_build_index()
|
| A D | dm-core.h | 195 unsigned int counts[DM_TABLE_MAX_DEPTH]; /* in nodes */ member
|
| /drivers/scsi/ |
| A D | ch.c | 235 ch->counts[i]) in ch_elem_to_typecode() 323 ch->counts[CHET_MT] = in ch_readconfig() 327 ch->counts[CHET_ST] = in ch_readconfig() 331 ch->counts[CHET_IE] = in ch_readconfig() 335 ch->counts[CHET_DT] = in ch_readconfig() 339 ch->counts[CHET_MT]); in ch_readconfig() 342 ch->counts[CHET_ST]); in ch_readconfig() 345 ch->counts[CHET_IE]); in ch_readconfig() 348 ch->counts[CHET_DT]); in ch_readconfig() 665 if (ch->counts[CHET_V1]) { in ch_ioctl() [all …]
|
| /drivers/hv/ |
| A D | hv_proc.c | 22 int *counts; in hv_call_deposit_pages() local 43 counts = kcalloc(HV_DEPOSIT_MAX, sizeof(int), GFP_KERNEL); in hv_call_deposit_pages() 44 if (!counts) { in hv_call_deposit_pages() 69 counts[i] = 1 << order; in hv_call_deposit_pages() 70 num_pages -= counts[i]; in hv_call_deposit_pages() 84 for (j = 0; j < counts[i]; ++j, ++page_count) in hv_call_deposit_pages() 102 for (j = 0; j < counts[i]; ++j) in hv_call_deposit_pages() 108 kfree(counts); in hv_call_deposit_pages()
|
| /drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| A D | vdec_vp9_req_lat_if.c | 363 struct vdec_vp9_slice_mem counts; member 475 struct mtk_vcodec_mem counts; member 620 if (!instance->counts.va) { in vdec_vp9_slice_alloc_working_buffer() 651 if (instance->counts.va) in vdec_vp9_slice_free_working_buffer() 1001 vsi->counts.dma_addr = instance->counts.dma_addr; in vdec_vp9_slice_setup_lat_buffer() 1002 vsi->counts.size = instance->counts.size; in vdec_vp9_slice_setup_lat_buffer() 1210 &counts->eob_branch[i][j][k].band_0[m]; in vdec_vp9_slice_map_counts_eob_coef() 1237 counts_helper->tx8p = &counts->tx_p8x8; in vdec_vp9_slice_counts_map_helper() 1543 counts = (struct vdec_vp9_slice_frame_counts *)instance->counts.va; in vdec_vp9_slice_update_prob() 1756 vsi->counts.dma_addr = instance->counts.dma_addr; in vdec_vp9_slice_setup_single_buffer() [all …]
|
| /drivers/gpu/drm/amd/display/dc/link/accessories/ |
| A D | link_dp_trace.c | 64 link->dp_trace.detect_lt_trace.counts.fail = fail_count; in dp_trace_lt_fail_count_update() 66 link->dp_trace.commit_lt_trace.counts.fail = fail_count; in dp_trace_lt_fail_count_update() 73 link->dp_trace.detect_lt_trace.counts.total++; in dp_trace_lt_total_count_increment() 75 link->dp_trace.commit_lt_trace.counts.total++; in dp_trace_lt_total_count_increment() 137 return &link->dp_trace.detect_lt_trace.counts; in dp_trace_get_lt_counts() 139 return &link->dp_trace.commit_lt_trace.counts; in dp_trace_get_lt_counts()
|
| /drivers/scsi/elx/efct/ |
| A D | efct_hw.c | 3052 counts[EFCT_HW_LINK_STAT_CRC_COUNT].counter = in efct_hw_cb_link_stat() 3068 counts[EFCT_HW_LINK_STAT_RCV_EOFA_COUNT].counter = in efct_hw_cb_link_stat() 3074 counts[EFCT_HW_LINK_STAT_RCV_SOFF_COUNT].counter = in efct_hw_cb_link_stat() 3139 counts[EFCT_HW_HOST_STAT_TX_KBYTE_COUNT].counter = in efct_hw_cb_host_stat() 3141 counts[EFCT_HW_HOST_STAT_RX_KBYTE_COUNT].counter = in efct_hw_cb_host_stat() 3143 counts[EFCT_HW_HOST_STAT_TX_FRAME_COUNT].counter = in efct_hw_cb_host_stat() 3145 counts[EFCT_HW_HOST_STAT_RX_FRAME_COUNT].counter = in efct_hw_cb_host_stat() 3147 counts[EFCT_HW_HOST_STAT_TX_SEQ_COUNT].counter = in efct_hw_cb_host_stat() 3149 counts[EFCT_HW_HOST_STAT_RX_SEQ_COUNT].counter = in efct_hw_cb_host_stat() 3155 counts[EFCT_HW_HOSY_STAT_RX_P_BSY_COUNT].counter = in efct_hw_cb_host_stat() [all …]
|
| /drivers/watchdog/ |
| A D | loongson1_wdt.c | 47 unsigned int counts; in ls1x_wdt_set_timeout() local 51 counts = drvdata->clk_rate * min(timeout, max_hw_heartbeat); in ls1x_wdt_set_timeout() 52 writel(counts, drvdata->base + WDT_TIMER); in ls1x_wdt_set_timeout()
|
| /drivers/md/dm-vdo/ |
| A D | vdo.c | 191 static int __must_check initialize_thread_config(struct thread_count_config counts, in initialize_thread_config() argument 195 bool single = ((counts.logical_zones + counts.physical_zones + counts.hash_zones) == 0); in initialize_thread_config() 197 config->bio_thread_count = counts.bio_threads; in initialize_thread_config() 203 config->logical_zone_count = counts.logical_zones; in initialize_thread_config() 204 config->physical_zone_count = counts.physical_zones; in initialize_thread_config() 205 config->hash_zone_count = counts.hash_zones; in initialize_thread_config() 244 assign_thread_ids(config, config->logical_threads, counts.logical_zones); in initialize_thread_config() 245 assign_thread_ids(config, config->physical_threads, counts.physical_zones); in initialize_thread_config() 246 assign_thread_ids(config, config->hash_zone_threads, counts.hash_zones); in initialize_thread_config() 251 ((counts.bio_ack_threads > 0) ? config->thread_count++ : VDO_INVALID_THREAD_ID); in initialize_thread_config() [all …]
|
| /drivers/counter/ |
| A D | counter-chrdev.c | 305 comp_node.parent = counter->counts + parent; in counter_add_watch() 307 ext = counter->counts[parent].ext; in counter_add_watch() 308 num_ext = counter->counts[parent].num_ext; in counter_add_watch() 342 if (id >= counter->counts[parent].num_synapses) in counter_add_watch() 344 id = array_index_nospec(id, counter->counts[parent].num_synapses); in counter_add_watch() 348 comp_node.comp.priv = counter->counts[parent].synapses + id; in counter_add_watch()
|
| A D | stm32-lptimer-cnt.c | 441 counter->counts = &stm32_lptim_enc_counts; in stm32_lptim_cnt_probe() 444 counter->counts = &stm32_lptim_in1_counts; in stm32_lptim_cnt_probe()
|
| A D | interrupt-cnt.c | 227 counter->counts = &priv->cnts; in interrupt_cnt_probe()
|
| A D | ftm-quaddec.c | 290 counter->counts = &ftm_quaddec_counts; in ftm_quaddec_probe()
|
| A D | i8254.c | 425 counter->counts = i8254_counts; in devm_i8254_regmap_register()
|
| A D | intel-qep.c | 425 counter->counts = intel_qep_counter_count; in intel_qep_probe()
|
| /drivers/accel/habanalabs/common/ |
| A D | hwmon.c | 154 u32 counts[HWMON_NR_SENSOR_TYPES] = {0}; in hl_build_hwmon_channel_info() local 170 counts[type]++; in hl_build_hwmon_channel_info() 175 if (counts[i] == 0) in hl_build_hwmon_channel_info() 178 num_sensors_for_type = counts[i] + 1; in hl_build_hwmon_channel_info()
|
| /drivers/media/platform/verisilicon/ |
| A D | hantro_g2_vp9_dec.c | 945 struct v4l2_vp9_frame_symbol_counts *counts; in hantro_g2_vp9_dec_done() local 961 counts = &vp9_ctx->cnts; in hantro_g2_vp9_dec_done() 969 counts->tx16p = &tx16p; in hantro_g2_vp9_dec_done() 971 v4l2_vp9_adapt_coef_probs(probs, counts, in hantro_g2_vp9_dec_done() 986 counts->mv_mode = &mv_mode; in hantro_g2_vp9_dec_done() 987 v4l2_vp9_adapt_noncoef_probs(&vp9_ctx->probability_tables, counts, in hantro_g2_vp9_dec_done()
|
| /drivers/media/platform/rockchip/rkvdec/ |
| A D | rkvdec-vp9.c | 883 struct v4l2_vp9_frame_symbol_counts *counts; in rkvdec_vp9_done() local 896 counts = frame_is_intra ? &vp9_ctx->intra_cnts : &vp9_ctx->inter_cnts; in rkvdec_vp9_done() 897 v4l2_vp9_adapt_coef_probs(probs, counts, in rkvdec_vp9_done() 909 counts->classes = &classes; in rkvdec_vp9_done() 912 v4l2_vp9_adapt_noncoef_probs(&vp9_ctx->probability_tables, counts, in rkvdec_vp9_done()
|
| /drivers/input/misc/ |
| A D | iqs269a.c | 1483 __le16 counts; in counts_show() local 1501 &counts, sizeof(counts)); in counts_show() 1509 return sysfs_emit(buf, "%u\n", le16_to_cpu(counts)); in counts_show() 1782 static DEVICE_ATTR_RO(counts);
|
| /drivers/gpu/drm/ |
| A D | Kconfig.debug | 10 Due to callsite counts in DRM drivers (~4k in amdgpu) and 56
|
| /drivers/usb/gadget/function/ |
| A D | f_fs.c | 2895 unsigned os_descs_count = 0, counts[3], flags; in __ffs_data_got_descs() local 2946 counts[i] = 0; in __ffs_data_got_descs() 2950 counts[i] = get_unaligned_le32(data); in __ffs_data_got_descs() 2968 if (!counts[i]) in __ffs_data_got_descs() 2972 ret = ffs_do_descs(counts[i], data, len, in __ffs_data_got_descs() 3009 ffs->fs_descs_count = counts[0]; in __ffs_data_got_descs() 3010 ffs->hs_descs_count = counts[1]; in __ffs_data_got_descs() 3011 ffs->ss_descs_count = counts[2]; in __ffs_data_got_descs()
|
| /drivers/infiniband/hw/hfi1/ |
| A D | firmware.c | 1187 u64 counts = read_csr(dd, ASIC_STS_SBUS_COUNTERS); in sbus_request_slow() local 1194 (SBUS_COUNTER(counts, RCV_DATA_VALID) == in sbus_request_slow() 1195 SBUS_COUNTER(counts, EXECUTE))) in sbus_request_slow()
|
| /drivers/vdpa/ |
| A D | Kconfig | 85 The counters counts the number of packets and bytes and exposes them in
|