/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ldu.c | 39 struct list_head active; member 53 struct list_head active; member 58 list_del_init(&ldu->active); in vmw_ldu_destroy() 87 list_for_each_entry(entry, &lds->active, active) { in vmw_ldu_commit_list() 102 if (!list_empty(&lds->active)) { in vmw_ldu_commit_list() 103 entry = list_entry(lds->active.next, typeof(*entry), active); in vmw_ldu_commit_list() 115 list_for_each_entry(entry, &lds->active, active) { in vmw_ldu_commit_list() 135 list_for_each_entry(entry, &lds->active, active) { in vmw_ldu_commit_list() 159 if (list_empty(&ldu->active)) in vmw_ldu_del_active() 163 list_del_init(&ldu->active); in vmw_ldu_del_active() [all …]
|
/drivers/gpu/vga/ |
D | vga_switcheroo.c | 40 bool active; member 49 bool active; member 78 return !vgasr_priv.active && in vga_switcheroo_ready() 101 vgasr_priv.active = true; in vga_switcheroo_enable() 126 if (vgasr_priv.active) { in vga_switcheroo_unregister_handler() 129 vgasr_priv.active = false; in vga_switcheroo_unregister_handler() 137 int id, bool active, bool driver_power_control) in register_client() argument 149 client->active = active; in register_client() 176 int id, bool active) in vga_switcheroo_register_audio_client() argument 178 return register_client(pdev, ops, id | ID_BIT_AUDIO, active, false); in vga_switcheroo_register_audio_client() [all …]
|
/drivers/acpi/ |
D | pci_link.c | 74 u8 active; /* Current IRQ */ member 252 link->irq.active = 0; in acpi_pci_link_get_current() 286 link->irq.active = irq; in acpi_pci_link_get_current() 288 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Link at IRQ %d \n", link->irq.active)); in acpi_pci_link_get_current() 390 if (link->irq.active != irq) { in acpi_pci_link_set() 398 acpi_device_bid(link->device), link->irq.active, irq); in acpi_pci_link_set() 399 link->irq.active = irq; in acpi_pci_link_set() 402 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Set IRQ %d\n", link->irq.active)); in acpi_pci_link_set() 500 } else if (link->irq.active) { in acpi_irq_penalty_init() 501 acpi_irq_penalty[link->irq.active] += in acpi_irq_penalty_init() [all …]
|
D | thermal.c | 131 u8 active:1; member 171 struct acpi_thermal_active active[ACPI_THERMAL_MAX_ACTIVE]; member 421 valid = tz->trips.active[i].flags.valid; in acpi_thermal_trips_update() 427 tz->trips.active[i].flags.valid)) { in acpi_thermal_trips_update() 431 tz->trips.active[i].flags.valid = 0; in acpi_thermal_trips_update() 437 tz->trips.active[0].temperature = in acpi_thermal_trips_update() 444 tz->trips.active[i - 1].temperature = in acpi_thermal_trips_update() 445 (tz->trips.active[i - 2].temperature < in acpi_thermal_trips_update() 447 tz->trips.active[i - 2].temperature : in acpi_thermal_trips_update() 451 tz->trips.active[i].temperature = tmp; in acpi_thermal_trips_update() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_gem_debug.c | 50 } else if (!obj->active || in i915_verify_lists() 54 obj->active, in i915_verify_lists() 72 } else if (!obj->active || in i915_verify_lists() 77 obj->active, in i915_verify_lists() 90 } else if (!obj->active || in i915_verify_lists() 94 obj->active, in i915_verify_lists() 106 } else if (obj->pin_count || obj->active || in i915_verify_lists() 110 obj->pin_count, obj->active, in i915_verify_lists()
|
/drivers/base/power/ |
D | wakeup.c | 141 ws->active = false; in wakeup_source_add() 401 ws->active = true; in wakeup_source_activate() 424 if (!ws->active) in wakeup_source_report_event() 515 ws->active = false; in wakeup_source_deactivate() 559 if (ws->active) in __pm_relax() 599 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn() 676 bool active = false; in pm_get_active_wakeup_sources() local 680 if (ws->active && len < max) { in pm_get_active_wakeup_sources() 681 if (!active) in pm_get_active_wakeup_sources() 686 active = true; in pm_get_active_wakeup_sources() [all …]
|
/drivers/ide/ |
D | ide-timings.c | 116 q->active = EZ(t->active * 1000, T); in ide_timing_quantize() 134 m->active = max(a->active, b->active); in ide_timing_merge() 204 if (t->active + t->recover < t->cycle) { in ide_timing_compute() 205 t->active += (t->cycle - (t->active + t->recover)) / 2; in ide_timing_compute() 206 t->recover = t->cycle - t->active; in ide_timing_compute()
|
/drivers/ata/ |
D | pata_legacy.c | 363 u8 active, recover; in ht6560a_set_piomode() local 369 active = clamp_val(t.active, 2, 15); in ht6560a_set_piomode() 377 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560a_set_piomode() 397 u8 active, recover; in ht6560b_set_piomode() local 403 active = clamp_val(t.active, 2, 15); in ht6560b_set_piomode() 411 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560b_set_piomode() 461 u8 active, recover, setup; in opti82c611a_set_piomode() local 487 active = clamp_val(t.active, 2, 17) - 2; in opti82c611a_set_piomode() 498 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); in opti82c611a_set_piomode() 509 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c611a_set_piomode() [all …]
|
D | pata_cmd640.c | 77 t.active += t.recover - 16; in cmd640_set_piomode() 80 if (t.active > 16) in cmd640_set_piomode() 81 t.active = 16; in cmd640_set_piomode() 97 t.active &= 0x0F; /* 0 = 16 */ in cmd640_set_piomode() 106 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode() 115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode()
|
/drivers/media/platform/omap3isp/ |
D | isppreview.c | 642 params = (prev->params.active & OMAP3ISP_PREV_CONTRAST) in preview_update_contrast() 664 params = (prev->params.active & OMAP3ISP_PREV_BRIGHTNESS) in preview_update_brightness() 677 u32 active = prev->params.active; in preview_params_lock() local 681 prev->params.params[0].busy |= ~active & update; in preview_params_lock() 682 prev->params.params[1].busy |= active & update; in preview_params_lock() 685 update = (prev->params.params[0].update & active) in preview_params_lock() 686 | (prev->params.params[1].update & ~active); in preview_params_lock() 688 prev->params.params[0].busy |= active & update; in preview_params_lock() 689 prev->params.params[1].busy |= ~active & update; in preview_params_lock() 698 u32 active = prev->params.active; in preview_params_unlock() local [all …]
|
/drivers/hv/ |
D | hv_snapshot.c | 43 bool active; /* transaction status - active or not */ member 73 vss_transaction.active = false; in vss_cn_callback() 123 if (!vss_transaction.active) { in vss_respond_to_host() 138 vss_transaction.active = false; in vss_respond_to_host() 175 if (vss_transaction.active) { in hv_vss_onchannelcallback() 208 vss_transaction.active = true; in hv_vss_onchannelcallback() 273 vss_transaction.active = true; in hv_vss_init()
|
D | hv_fcopy.c | 58 bool active; /* transaction status - active or not */ member 107 fcopy_transaction.active = false; in fcopy_handle_handshake() 180 fcopy_transaction.active = false; in fcopy_respond_to_host() 209 if (fcopy_transaction.active) { in hv_fcopy_onchannelcallback() 240 fcopy_transaction.active = true; in hv_fcopy_onchannelcallback() 404 fcopy_transaction.active = true; in hv_fcopy_init()
|
/drivers/net/ |
D | rionet.c | 74 struct rio_dev **active; member 199 if (nets[rnet->mport->id].active[i]) { in rionet_start_xmit() 201 nets[rnet->mport->id].active[i]); in rionet_start_xmit() 208 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit() 210 nets[rnet->mport->id].active[destid]); in rionet_start_xmit() 240 if (!nets[rnet->mport->id].active[sid]) { in rionet_dbell_event() 244 nets[rnet->mport->id].active[sid] = in rionet_dbell_event() 253 nets[rnet->mport->id].active[sid] = NULL; in rionet_dbell_event() 384 if (nets[rnet->mport->id].active[peer->rdev->destid]) { in rionet_close() 386 nets[rnet->mport->id].active[peer->rdev->destid] = NULL; in rionet_close() [all …]
|
/drivers/media/pci/zoran/ |
D | zoran_driver.c | 511 if (fh->buffers.active == ZORAN_FREE) { in zoran_v4l_queue_frame() 512 if (zr->v4l_buffers.active == ZORAN_FREE) { in zoran_v4l_queue_frame() 514 fh->buffers.active = ZORAN_ACTIVE; in zoran_v4l_queue_frame() 529 if (zr->v4l_buffers.active == ZORAN_FREE) { in zoran_v4l_queue_frame() 530 fh->buffers.active = ZORAN_FREE; in zoran_v4l_queue_frame() 555 if (!res && zr->v4l_buffers.active == ZORAN_FREE) in zoran_v4l_queue_frame() 556 zr->v4l_buffers.active = fh->buffers.active; in zoran_v4l_queue_frame() 570 if (fh->buffers.active == ZORAN_FREE) { in v4l_sync() 616 if (zr->v4l_buffers.active == ZORAN_ACTIVE) { in v4l_sync() 617 fh->buffers.active = zr->v4l_buffers.active = ZORAN_FREE; in v4l_sync() [all …]
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | rxon.c | 217 const struct iwl_rxon_cmd *rxon2 = &ctx->active; in iwlagn_send_rxon_assoc() 363 struct iwl_rxon_cmd *active = (void *)&ctx->active; in iwlagn_rxon_disconn() local 397 memcpy(active, &ctx->staging, sizeof(*active)); in iwlagn_rxon_disconn() 440 memcmp(&ctx->active, &ctx->staging, sizeof(ctx->staging)); in iwl_set_tx_power() 463 struct iwl_rxon_cmd *active = (void *)&ctx->active; in iwlagn_rxon_connect() local 504 memcpy(active, &ctx->staging, sizeof(*active)); in iwlagn_rxon_connect() 860 const struct iwl_rxon_cmd *active = &ctx->active; in iwl_full_rxon_required() local 878 CHK(!ether_addr_equal(staging->bssid_addr, active->bssid_addr)); in iwl_full_rxon_required() 879 CHK(!ether_addr_equal(staging->node_addr, active->node_addr)); in iwl_full_rxon_required() 881 active->wlap_bssid_addr)); in iwl_full_rxon_required() [all …]
|
/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 102 if (list_empty(&q->active)) in cx8800_restart_vbi_queue() 105 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); in cx8800_restart_vbi_queue() 109 list_for_each_entry(buf, &q->active, vb.queue) in cx8800_restart_vbi_queue() 129 while (!list_empty(&q->active)) { in cx8800_vbi_timeout() 130 buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); in cx8800_vbi_timeout() 206 if (list_empty(&q->active)) { in vbi_queue() 207 list_add_tail(&buf->vb.queue,&q->active); in vbi_queue() 216 prev = list_entry(q->active.prev, struct cx88_buffer, vb.queue); in vbi_queue() 217 list_add_tail(&buf->vb.queue,&q->active); in vbi_queue()
|
/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 96 bool active = false; in wlcore_started_vifs_iter() local 107 active = true; in wlcore_started_vifs_iter() 112 active = true; in wlcore_started_vifs_iter() 119 if (active) in wlcore_started_vifs_iter() 274 cfg->active[0] = in wlcore_set_scan_chan_params() 309 cfg->active[1] = in wlcore_set_scan_chan_params() 324 cfg->active[2] = 0; in wlcore_set_scan_chan_params() 329 cfg->active[0], cfg->passive[0]); in wlcore_set_scan_chan_params() 331 cfg->active[1], cfg->passive[1]); in wlcore_set_scan_chan_params() 334 return cfg->passive[0] || cfg->active[0] || in wlcore_set_scan_chan_params() [all …]
|
/drivers/video/backlight/ |
D | gpio_backlight.c | 27 int active; member 42 brightness ? gbl->active : !gbl->active); in gpio_backlight_update_status() 77 gbl->active = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1; in gpio_backlight_probe_dt() 113 gbl->active = pdata->active_low ? 0 : 1; in gpio_backlight_probe() 118 (gbl->active ? GPIOF_INIT_LOW in gpio_backlight_probe()
|
/drivers/clocksource/ |
D | em_sti.c | 41 unsigned int active[USER_NR]; member 170 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_start() 175 p->active[user] = 1; in em_sti_start() 187 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_stop() 188 p->active[user] = 0; in em_sti_stop() 189 used_after = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; in em_sti_stop()
|
/drivers/staging/speakup/ |
D | thread.c | 17 our_sound.active = 0; in speakup_thread() 28 spk_unprocessed_sound.active = 0; in speakup_thread() 32 our_sound.active || in speakup_thread() 47 if (our_sound.active) in speakup_thread()
|
/drivers/misc/ibmasm/ |
D | ibmasmfs.c | 226 int active; member 233 int active; member 359 event_data->active = 0; in event_file_open() 389 if (event_data->active) { in event_file_read() 393 event_data->active = 1; in event_file_read() 412 event_data->active = 0; in event_file_read() 443 rhbeat->active = 0; in r_heartbeat_file_open() 472 if (rhbeat->active) { in r_heartbeat_file_read() 476 rhbeat->active = 1; in r_heartbeat_file_read() 480 rhbeat->active = 0; in r_heartbeat_file_read() [all …]
|
/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 212 if (list_empty(&q->active)) { in buffer_queue() 214 list_add_tail(&buf->queue, &q->active); in buffer_queue() 221 prev = list_entry(q->active.prev, struct cx23885_buffer, in buffer_queue() 224 list_add_tail(&buf->queue, &q->active); in buffer_queue() 236 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming() 251 while (!list_empty(&dmaq->active)) { in cx23885_stop_streaming() 252 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_stop_streaming()
|
/drivers/input/misc/ |
D | pm8xxx-vibrator.c | 49 bool active; member 95 vib->active = true; in pm8xxx_work_handler() 100 vib->active = false; in pm8xxx_work_handler() 104 pm8xxx_vib_set(vib, vib->active); in pm8xxx_work_handler() 118 if (vib->active) in pm8xxx_vib_close()
|
/drivers/gpu/drm/nouveau/core/subdev/therm/ |
D | temp.c | 96 bool active; in nouveau_therm_sensor_event() local 112 active = (dir == NOUVEAU_THERM_THRS_RISING); in nouveau_therm_sensor_event() 115 if (active) { in nouveau_therm_sensor_event() 122 priv->emergency.downclock(therm, active); in nouveau_therm_sensor_event() 126 priv->emergency.pause(therm, active); in nouveau_therm_sensor_event() 129 if (active) { in nouveau_therm_sensor_event()
|
/drivers/net/wan/ |
D | hdlc_fr.c | 128 unsigned int active: 1; member 354 pvc->state.active = netif_carrier_ok(pvc->frad); in pvc_open() 356 pvc_carrier(pvc->state.active, pvc); in pvc_open() 371 pvc->state.active = 0; in pvc_close() 375 pvc->state.active = 0; in pvc_close() 415 if (pvc->state.active) { in pvc_xmit() 457 pvc->state.active ? "active" : "inactive"); in fr_log_dlci_active() 531 if (pvc->open_count && !pvc->state.active && in fr_lmi_send() 534 pvc->state.active = 1; in fr_lmi_send() 549 else if (pvc->state.active) in fr_lmi_send() [all …]
|