/drivers/md/ |
D | dm-stats.c | 189 static int dm_stat_in_flight(struct dm_stat_shared *shared) in dm_stat_in_flight() argument 191 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight() 192 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight() 214 struct dm_stat_shared *shared; in dm_stats_cleanup() local 220 shared = &s->stat_shared[ni]; in dm_stats_cleanup() 221 if (WARN_ON(dm_stat_in_flight(shared))) { in dm_stats_cleanup() 228 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup() 229 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup() 486 static void dm_stat_round(struct dm_stat *s, struct dm_stat_shared *shared, in dm_stat_round() argument 500 difference = now - shared->stamp; in dm_stat_round() [all …]
|
/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 100 struct pxa3xx_gcu_shared *shared; member 130 struct pxa3xx_gcu_shared *shared = priv->shared; \ 142 shared->hw_running ? "running" : " idle", \ 163 memset(priv->shared, 0, SHARED_SIZE); in pxa3xx_gcu_reset() 164 priv->shared->buffer_phys = priv->shared_phys; in pxa3xx_gcu_reset() 165 priv->shared->magic = PXA3XX_GCU_SHARED_MAGIC; in pxa3xx_gcu_reset() 181 struct pxa3xx_gcu_shared *sh = priv->shared; in dump_whole_state() 217 struct pxa3xx_gcu_shared *shared = priv->shared; in run_ready() local 224 shared->buffer[num++] = 0x05000000; in run_ready() 227 shared->buffer[num++] = 0x00000001; in run_ready() [all …]
|
/drivers/dma-buf/ |
D | reservation.c | 91 fobj = krealloc(obj->staged, offsetof(typeof(*fobj), shared[max]), in reservation_object_reserve_shared() 117 old_fence = rcu_dereference_protected(fobj->shared[i], in reservation_object_add_shared_inplace() 122 RCU_INIT_POINTER(fobj->shared[i], fence); in reservation_object_add_shared_inplace() 135 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace() 154 RCU_INIT_POINTER(fobj->shared[0], fence); in reservation_object_add_shared_replace() 170 check = rcu_dereference_protected(old->shared[i], in reservation_object_add_shared_replace() 175 RCU_INIT_POINTER(fobj->shared[i], fence); in reservation_object_add_shared_replace() 177 RCU_INIT_POINTER(fobj->shared[i], check); in reservation_object_add_shared_replace() 180 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace() 258 fence_put(rcu_dereference_protected(old->shared[i], in reservation_object_add_excl_fence() [all …]
|
/drivers/thermal/tegra/ |
D | soctherm-fuse.c | 83 struct tsensor_shared_calib *shared) in tegra_calc_shared_calib() argument 93 shared->base_cp = (val & tfuse->fuse_base_cp_mask) >> in tegra_calc_shared_calib() 95 shared->base_ft = (val & tfuse->fuse_base_ft_mask) >> in tegra_calc_shared_calib() 110 shared->actual_temp_cp = 2 * NOMINAL_CALIB_CP + shifted_cp; in tegra_calc_shared_calib() 111 shared->actual_temp_ft = 2 * NOMINAL_CALIB_FT + shifted_ft; in tegra_calc_shared_calib() 117 const struct tsensor_shared_calib *shared, in tegra_calc_tsensor_calib() argument 135 actual_tsensor_cp = (shared->base_cp * 64) + sign_extend32(val, 12); in tegra_calc_tsensor_calib() 138 actual_tsensor_ft = (shared->base_ft * 32) + sign_extend32(val, 12); in tegra_calc_tsensor_calib() 141 delta_temp = shared->actual_temp_ft - shared->actual_temp_cp; in tegra_calc_tsensor_calib() 149 temp = ((s64)actual_tsensor_ft * shared->actual_temp_cp) - in tegra_calc_tsensor_calib() [all …]
|
D | soctherm.h | 119 struct tsensor_shared_calib *shared); 121 const struct tsensor_shared_calib *shared,
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pcie.c | 263 struct brcmf_pcie_shared_info shared; member 629 struct brcmf_pcie_shared_info *shared; in brcmf_pcie_send_mb_data() local 634 shared = &devinfo->shared; in brcmf_pcie_send_mb_data() 635 addr = shared->htod_mb_data_addr; in brcmf_pcie_send_mb_data() 661 struct brcmf_pcie_shared_info *shared; in brcmf_pcie_handle_mb_data() local 665 shared = &devinfo->shared; in brcmf_pcie_handle_mb_data() 666 addr = shared->dtoh_mb_data_addr; in brcmf_pcie_handle_mb_data() 692 struct brcmf_pcie_shared_info *shared; in brcmf_pcie_bus_console_init() local 696 shared = &devinfo->shared; in brcmf_pcie_bus_console_init() 697 console = &shared->console; in brcmf_pcie_bus_console_init() [all …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 51 struct flchip_shared *shared; in lpddr_cmdset() local 81 shared = kmalloc(sizeof(struct flchip_shared) * lpddr->numchips, in lpddr_cmdset() 83 if (!shared) { in lpddr_cmdset() 92 shared[i].writing = shared[i].erasing = NULL; in lpddr_cmdset() 93 mutex_init(&shared[i].lock); in lpddr_cmdset() 98 chip->priv = &shared[i]; in lpddr_cmdset() 210 struct flchip_shared *shared = chip->priv; in get_chip() local 212 mutex_lock(&shared->lock); in get_chip() 213 contender = shared->writing; in get_chip() 225 mutex_unlock(&shared->lock); in get_chip() [all …]
|
/drivers/video/fbdev/via/ |
D | accel.c | 322 u32 chip_name = viapar->shared->chip_info.gfx_chip_name; in viafb_setup_engine() 324 engine = viapar->shared->vdev->engine_mmio; in viafb_setup_engine() 342 viapar->shared->hw_bitblt = hw_bitblt_1; in viafb_setup_engine() 347 viapar->shared->hw_bitblt = hw_bitblt_2; in viafb_setup_engine() 350 viapar->shared->hw_bitblt = NULL; in viafb_setup_engine() 354 viapar->shared->cursor_vram_addr = viapar->fbmem_free; in viafb_setup_engine() 358 viapar->shared->vq_vram_addr = viapar->fbmem_free; in viafb_setup_engine() 371 viapar->shared->vdev->camera_fbmem_size = 3*VGA_HEIGHT*VGA_WIDTH*2; in viafb_setup_engine() 372 viapar->fbmem_free -= viapar->shared->vdev->camera_fbmem_size; in viafb_setup_engine() 373 viapar->fbmem_used += viapar->shared->vdev->camera_fbmem_size; in viafb_setup_engine() [all …]
|
D | viafbdev.c | 260 !ppar->shared->vdev->engine_mmio) in viafb_check_var() 682 struct viafb_shared *shared = viapar->shared; in viafb_fillrect() local 686 if (info->flags & FBINFO_HWACCEL_DISABLED || !shared->hw_bitblt) { in viafb_fillrect() 705 if (shared->hw_bitblt(shared->vdev->engine_mmio, VIA_BITBLT_FILL, in viafb_fillrect() 716 struct viafb_shared *shared = viapar->shared; in viafb_copyarea() local 718 if (info->flags & FBINFO_HWACCEL_DISABLED || !shared->hw_bitblt) { in viafb_copyarea() 727 if (shared->hw_bitblt(shared->vdev->engine_mmio, VIA_BITBLT_COLOR, in viafb_copyarea() 739 struct viafb_shared *shared = viapar->shared; in viafb_imageblit() local 743 if (info->flags & FBINFO_HWACCEL_DISABLED || !shared->hw_bitblt || in viafb_imageblit() 764 if (shared->hw_bitblt(shared->vdev->engine_mmio, op, in viafb_imageblit() [all …]
|
D | hw.c | 625 viaparinfo->shared->iga1_devices = 0; in viafb_set_iga_path() 626 viaparinfo->shared->iga2_devices = 0; in viafb_set_iga_path() 629 viaparinfo->shared->iga1_devices |= VIA_CRT; in viafb_set_iga_path() 631 viaparinfo->shared->iga2_devices |= VIA_CRT; in viafb_set_iga_path() 636 viaparinfo->shared->iga1_devices |= get_dvi_devices( in viafb_set_iga_path() 640 viaparinfo->shared->iga2_devices |= get_dvi_devices( in viafb_set_iga_path() 647 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path() 651 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path() 658 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path() 662 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path() [all …]
|
/drivers/reset/ |
D | core.c | 41 int shared; member 142 WARN_ON(rstc->shared)) in reset_control_reset() 171 if (rstc->shared) { in reset_control_assert() 197 if (rstc->shared) { in reset_control_deassert() 226 unsigned int index, int shared) in __reset_control_get() argument 234 if (WARN_ON(!rstc->shared || !shared)) in __reset_control_get() 252 rstc->shared = shared; in __reset_control_get() 271 const char *id, int index, int shared) in __of_reset_control_get() argument 321 rstc = __reset_control_get(rcdev, rstc_id, shared); in __of_reset_control_get() 351 const char *id, int index, int shared) in __devm_reset_control_get() argument [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic7770_osm.c | 64 int shared; in aic7770_map_int() local 66 shared = 0; in aic7770_map_int() 68 shared = IRQF_SHARED; in aic7770_map_int() 70 error = request_irq(irq, ahc_linux_isr, shared, "aic7xxx", ahc); in aic7770_map_int()
|
/drivers/misc/ti-st/ |
D | Kconfig | 2 # TI's shared transport line discipline and the protocol 5 menu "Texas Instruments shared transport line discipline" 11 This enables the shared transport core driver for TI
|
/drivers/iio/adc/ |
D | cc10001_adc.c | 65 bool shared; member 157 if (!adc_dev->shared) in cc10001_adc_trigger_h() 182 if (!adc_dev->shared) in cc10001_adc_trigger_h() 202 if (!adc_dev->shared) in cc10001_adc_read_raw_voltage() 212 if (!adc_dev->shared) in cc10001_adc_read_raw_voltage() 331 adc_dev->shared = true; in cc10001_adc_probe() 383 if (adc_dev->shared) in cc10001_adc_probe()
|
/drivers/gpu/drm/i915/ |
D | i915_sw_fence.c | 317 struct fence **shared; in i915_sw_fence_await_reservation() local 321 &excl, &count, &shared); in i915_sw_fence_await_reservation() 326 if (shared[i]->ops == exclude) in i915_sw_fence_await_reservation() 330 shared[i], in i915_sw_fence_await_reservation() 342 fence_put(shared[i]); in i915_sw_fence_await_reservation() 343 kfree(shared); in i915_sw_fence_await_reservation()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 687 struct flchip_shared *shared; in cfi_intelext_partition_fixup() local 749 shared = kmalloc(sizeof(struct flchip_shared) * cfi->numchips, GFP_KERNEL); in cfi_intelext_partition_fixup() 750 if (!shared) { in cfi_intelext_partition_fixup() 760 shared[i].writing = shared[i].erasing = NULL; in cfi_intelext_partition_fixup() 761 mutex_init(&shared[i].lock); in cfi_intelext_partition_fixup() 765 chip->priv = &shared[i]; in cfi_intelext_partition_fixup() 925 struct flchip_shared *shared = chip->priv; in get_chip() local 927 mutex_lock(&shared->lock); in get_chip() 928 contender = shared->writing; in get_chip() 940 mutex_unlock(&shared->lock); in get_chip() [all …]
|
/drivers/block/drbd/ |
D | Kconfig | 19 DRBD is a shared-nothing, synchronously replicated block device. It 21 clusters and in this context, is a "drop-in" replacement for shared 32 nodes), which means it can exhibit shared disk semantics in a 33 shared-nothing cluster. Needless to say, on top of dual-Primary
|
/drivers/gpu/drm/radeon/ |
D | radeon_sync.c | 92 bool shared) in radeon_sync_resv() argument 109 if (shared || !flist || r) in radeon_sync_resv() 113 f = rcu_dereference_protected(flist->shared[i], in radeon_sync_resv()
|
/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 600 BCT(vl[0].shared), 603 BCT(vl[1].shared), 606 BCT(vl[2].shared), 609 BCT(vl[3].shared), 612 BCT(vl[4].shared), 615 BCT(vl[5].shared), 618 BCT(vl[6].shared), 621 BCT(vl[7].shared), 624 BCT(vl[15].shared)
|
/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-dds | 18 obtain the desired value in Hz. If shared across all frequency 20 if shared across all channels. 48 the desired value in rad. If shared across all phase registers 50 shared across all channels.
|
/drivers/gpu/drm/ttm/ |
D | ttm_execbuf_util.c | 130 if (!entry->shared) in ttm_eu_reserve_buffers() 152 if (!ret && entry->shared) in ttm_eu_reserve_buffers() 202 if (entry->shared) in ttm_eu_fence_buffer_objects()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 78 adapter->shared->devRead.intrConf.intrCtrl &= in vmxnet3_enable_all_intrs() 88 adapter->shared->devRead.intrConf.intrCtrl |= in vmxnet3_disable_all_intrs() 176 u32 events = le32_to_cpu(adapter->shared->ecr); in vmxnet3_process_events() 1082 le32_add_cpu(&tq->shared->txNumDeferred, (skb->len - in vmxnet3_tq_xmit() 1094 le32_add_cpu(&tq->shared->txNumDeferred, 1); in vmxnet3_tq_xmit() 1121 if (le32_to_cpu(tq->shared->txNumDeferred) >= in vmxnet3_tq_xmit() 1122 le32_to_cpu(tq->shared->txThreshold)) { in vmxnet3_tq_xmit() 1123 tq->shared->txNumDeferred = 0; in vmxnet3_tq_xmit() 1530 if (unlikely(rq->shared->updateRxProd)) { in vmxnet3_rq_rx_complete() 1832 if (unlikely(adapter->shared->ecr)) in vmxnet3_do_poll() [all …]
|
D | vmxnet3_ethtool.c | 271 adapter->shared->devRead.misc.uptFeatures |= in vmxnet3_set_features() 274 adapter->shared->devRead.misc.uptFeatures &= in vmxnet3_set_features() 279 adapter->shared->devRead.misc.uptFeatures |= in vmxnet3_set_features() 282 adapter->shared->devRead.misc.uptFeatures &= in vmxnet3_set_features() 286 adapter->shared->devRead.misc.uptFeatures |= in vmxnet3_set_features() 289 adapter->shared->devRead.misc.uptFeatures &= in vmxnet3_set_features() 767 struct Vmxnet3_DriverShared *shared = adapter->shared; in vmxnet3_set_coalesce() local 768 union Vmxnet3_CmdInfo *cmdInfo = &shared->cu.cmdInfo; in vmxnet3_set_coalesce()
|
/drivers/hid/ |
D | wacom_wac.c | 702 wacom->shared->stylus_in_proximity = true; in wacom_intuos_inout() 709 wacom->shared->stylus_in_proximity = true; in wacom_intuos_inout() 723 wacom->shared->stylus_in_proximity = false; in wacom_intuos_inout() 893 return (touch_arbitration ? !wacom->shared->stylus_in_proximity : 1); in report_touch_events() 898 return (wacom->shared->touch_down && touch_arbitration); in delay_pen_events() 1249 wacom->shared->touch_down = wacom_wac_finger_count_touches(wacom); in wacom_24hdt_irq() 1300 wacom->shared->touch_down = wacom_wac_finger_count_touches(wacom); in wacom_mt_touch() 1328 wacom->shared->touch_down = wacom_wac_finger_count_touches(wacom); in wacom_tpc_mt_touch() 1364 wacom->shared->touch_down = prox; in wacom_tpc_single_touch() 1375 if (!wacom->shared->stylus_in_proximity) /* first in prox */ in wacom_tpc_pen() [all …]
|
/drivers/net/ethernet/3com/ |
D | typhoon.c | 288 struct typhoon_shared * shared; member 1181 struct typhoon_interface *iface = &tp->shared->iface; in typhoon_init_interface() 1184 memset(tp->shared, 0, sizeof(struct typhoon_shared)); in typhoon_init_interface() 1223 tp->indexes = &tp->shared->indexes; in typhoon_init_interface() 1224 tp->txLoRing.ringBase = (u8 *) tp->shared->txLo; in typhoon_init_interface() 1225 tp->txHiRing.ringBase = (u8 *) tp->shared->txHi; in typhoon_init_interface() 1226 tp->rxLoRing.ringBase = (u8 *) tp->shared->rxLo; in typhoon_init_interface() 1227 tp->rxHiRing.ringBase = (u8 *) tp->shared->rxHi; in typhoon_init_interface() 1228 tp->rxBuffRing.ringBase = (u8 *) tp->shared->rxBuff; in typhoon_init_interface() 1229 tp->cmdRing.ringBase = (u8 *) tp->shared->cmd; in typhoon_init_interface() [all …]
|