/drivers/md/ |
D | md-bitmap.c | 924 unsigned long chunk = block >> bitmap->counts.chunkshift; in md_bitmap_file_set_bit() 953 unsigned long chunk = block >> bitmap->counts.chunkshift; in md_bitmap_file_clear_bit() 981 unsigned long chunk = block >> bitmap->counts.chunkshift; in md_bitmap_file_test_bit() 1061 chunks = bitmap->counts.chunks; in md_bitmap_init_from_disk() 1070 int needed = ((sector_t)(i+1) << (bitmap->counts.chunkshift) in md_bitmap_init_from_disk() 1073 (sector_t)i << bitmap->counts.chunkshift, in md_bitmap_init_from_disk() 1151 int needed = ((sector_t)(i+1) << bitmap->counts.chunkshift in md_bitmap_init_from_disk() 1154 (sector_t)i << bitmap->counts.chunkshift, in md_bitmap_init_from_disk() 1226 struct bitmap_counts *counts; in md_bitmap_daemon_work() local 1280 counts = &bitmap->counts; in md_bitmap_daemon_work() [all …]
|
D | dm-table.c | 72 if (n >= t->counts[l]) in high() 87 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index() 1058 t->counts[i] = dm_div_up(t->counts[i + 1], CHILDREN_PER_NODE); in setup_indexes() 1059 total += t->counts[i]; in setup_indexes() 1069 indexes += (KEYS_PER_NODE * t->counts[i]); in setup_indexes() 1089 t->counts[t->depth - 1] = leaf_nodes; in dm_table_build_index()
|
D | md-cluster.c | 1124 struct bitmap_counts *counts; in resize_bitmaps() local 1128 unsigned long my_pages = bitmap->counts.pages; in resize_bitmaps() 1149 counts = &bitmap->counts; in resize_bitmaps() 1164 counts->pages = my_pages; in resize_bitmaps() 1167 if (my_pages != counts->pages) in resize_bitmaps()
|
D | dm-core.h | 176 unsigned int counts[DM_TABLE_MAX_DEPTH]; /* in nodes */ member
|
D | md-bitmap.h | 193 } counts; member
|
/drivers/scsi/ |
D | ch.c | 115 u_int counts[CH_TYPES]; member 229 ch->counts[i]) in ch_elem_to_typecode() 317 ch->counts[CHET_MT] = in ch_readconfig() 321 ch->counts[CHET_ST] = in ch_readconfig() 325 ch->counts[CHET_IE] = in ch_readconfig() 329 ch->counts[CHET_DT] = in ch_readconfig() 333 ch->counts[CHET_MT]); in ch_readconfig() 336 ch->counts[CHET_ST]); in ch_readconfig() 339 ch->counts[CHET_IE]); in ch_readconfig() 342 ch->counts[CHET_DT]); in ch_readconfig() [all …]
|
/drivers/scsi/elx/efct/ |
D | efct_hw.c | 3028 struct efct_hw_link_stat_counts counts[EFCT_HW_LINK_STAT_MAX]; in efct_hw_cb_link_stat() local 3035 memset(counts, 0, sizeof(struct efct_hw_link_stat_counts) * in efct_hw_cb_link_stat() 3040 counts[i].overflow = (mbox_rsp_flags & (1 << (i + 2))); in efct_hw_cb_link_stat() 3042 counts[EFCT_HW_LINK_STAT_LINK_FAILURE_COUNT].counter = in efct_hw_cb_link_stat() 3044 counts[EFCT_HW_LINK_STAT_LOSS_OF_SYNC_COUNT].counter = in efct_hw_cb_link_stat() 3046 counts[EFCT_HW_LINK_STAT_LOSS_OF_SIGNAL_COUNT].counter = in efct_hw_cb_link_stat() 3048 counts[EFCT_HW_LINK_STAT_PRIMITIVE_SEQ_COUNT].counter = in efct_hw_cb_link_stat() 3050 counts[EFCT_HW_LINK_STAT_INVALID_XMIT_WORD_COUNT].counter = in efct_hw_cb_link_stat() 3052 counts[EFCT_HW_LINK_STAT_CRC_COUNT].counter = in efct_hw_cb_link_stat() 3054 counts[EFCT_HW_LINK_STAT_PRIMITIVE_SEQ_TIMEOUT_COUNT].counter = in efct_hw_cb_link_stat() [all …]
|
/drivers/watchdog/ |
D | loongson1_wdt.c | 41 unsigned int counts; in ls1x_wdt_set_timeout() local 45 counts = drvdata->clk_rate * min(timeout, max_hw_heartbeat); in ls1x_wdt_set_timeout() 46 writel(counts, drvdata->base + WDT_TIMER); in ls1x_wdt_set_timeout()
|
/drivers/misc/habanalabs/common/ |
D | hwmon.c | 18 u32 counts[HWMON_NR_SENSOR_TYPES] = {0}; in hl_build_hwmon_channel_info() local 39 counts[type]++; in hl_build_hwmon_channel_info() 44 if (counts[i] == 0) in hl_build_hwmon_channel_info() 47 num_sensors_for_type = counts[i] + 1; in hl_build_hwmon_channel_info()
|
/drivers/counter/ |
D | stm32-lptimer-cnt.c | 433 priv->counter.counts = &stm32_lptim_enc_counts; in stm32_lptim_cnt_probe() 436 priv->counter.counts = &stm32_lptim_in1_counts; in stm32_lptim_cnt_probe()
|
D | interrupt-cnt.c | 206 priv->counter.counts = &priv->cnts; in interrupt_cnt_probe()
|
D | ftm-quaddec.c | 291 ftm->counter.counts = &ftm_quaddec_counts; in ftm_quaddec_probe()
|
D | ti-eqep.c | 396 priv->counter.counts = ti_eqep_counts; in ti_eqep_probe()
|
D | microchip-tcb-capture.c | 379 priv->counter.counts = mchp_tc_counts; in mchp_tc_probe()
|
D | stm32-timer-cnt.c | 335 priv->counter.counts = &stm32_counts; in stm32_timer_cnt_probe()
|
D | intel-qep.c | 428 qep->counter.counts = intel_qep_counter_count; in intel_qep_probe()
|
D | 104-quad-8.c | 974 priv->counter.counts = quad8_counts; in quad8_probe()
|
D | counter-sysfs.c | 693 count = counter->counts + i; in counter_sysfs_counts_add()
|
/drivers/input/misc/ |
D | iqs269a.c | 1263 __le16 counts; in counts_show() local 1281 &counts, sizeof(counts)); in counts_show() 1289 return scnprintf(buf, PAGE_SIZE, "%u\n", le16_to_cpu(counts)); in counts_show() 1567 static DEVICE_ATTR_RO(counts);
|
/drivers/usb/gadget/function/ |
D | f_fs.c | 2489 unsigned os_descs_count = 0, counts[3], flags; in __ffs_data_got_descs() local 2542 counts[i] = 0; in __ffs_data_got_descs() 2546 counts[i] = get_unaligned_le32(data); in __ffs_data_got_descs() 2564 if (!counts[i]) in __ffs_data_got_descs() 2568 ret = ffs_do_descs(counts[i], data, len, in __ffs_data_got_descs() 2605 ffs->fs_descs_count = counts[0]; in __ffs_data_got_descs() 2606 ffs->hs_descs_count = counts[1]; in __ffs_data_got_descs() 2607 ffs->ss_descs_count = counts[2]; in __ffs_data_got_descs()
|
/drivers/devfreq/ |
D | Kconfig | 132 It sets the frequency for the memory controller and reads the usage counts
|
/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1188 u64 counts = read_csr(dd, ASIC_STS_SBUS_COUNTERS); in sbus_request_slow() local 1195 (SBUS_COUNTER(counts, RCV_DATA_VALID) == in sbus_request_slow() 1196 SBUS_COUNTER(counts, EXECUTE))) in sbus_request_slow()
|
/drivers/input/ |
D | evdev.c | 59 static const size_t counts[EV_CNT] = { in evdev_get_mask_cnt() local 72 return (type < EV_CNT) ? counts[type] : 0; in evdev_get_mask_cnt()
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | hub.fuc | 120 // fetch enabled GPC/ROP counts
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 2197 uint32_t counts, in amdgpu_device_attr_create_groups() argument 2204 for (i = 0; i < counts; i++) { in amdgpu_device_attr_create_groups()
|