/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
H A D | misc.c | 5 int cpufreq_has_boost_support(unsigned int cpu, int *support, int *active, cpufreq_has_boost_support() argument 11 *support = *active = *states = 0; cpufreq_has_boost_support() 19 amd_pci_get_num_boost_states(active, states); cpufreq_has_boost_support() 24 *support = *active = 1; cpufreq_has_boost_support()
|
H A D | amd.c | 112 int amd_pci_get_num_boost_states(int *active, int *states) amd_pci_get_num_boost_states() argument 118 *active = *states = 0; amd_pci_get_num_boost_states() 127 *active = 1; amd_pci_get_num_boost_states() 129 *active = 0; amd_pci_get_num_boost_states()
|
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 64 #define H3XXX_EGPIO_CARD_RESET (H3XXX_EGPIO_BASE + 1) /* reset the attached pcmcia/compactflash card. active high. */ 65 #define H3XXX_EGPIO_OPT_RESET (H3XXX_EGPIO_BASE + 2) /* reset the attached option pack. active high. */ 66 #define H3XXX_EGPIO_CODEC_NRESET (H3XXX_EGPIO_BASE + 3) /* reset the onboard UDA1341. active low. */ 67 #define H3XXX_EGPIO_OPT_NVRAM_ON (H3XXX_EGPIO_BASE + 4) /* apply power to optionpack nvram, active high. */ 68 #define H3XXX_EGPIO_OPT_ON (H3XXX_EGPIO_BASE + 5) /* full power to option pack. active high. */ 69 #define H3XXX_EGPIO_LCD_ON (H3XXX_EGPIO_BASE + 6) /* enable 3.3V to LCD. active high. */ 73 #define H3600_EGPIO_LCD_PCI (H3XXX_EGPIO_BASE + 8) /* LCD control IC enable. active high. */ 74 #define H3600_EGPIO_IR_ON (H3XXX_EGPIO_BASE + 9) /* apply power to IR module. active high. */ 75 #define H3600_EGPIO_AUD_AMP_ON (H3XXX_EGPIO_BASE + 10) /* apply power to audio power amp. active high. */ 76 #define H3600_EGPIO_AUD_PWR_ON (H3XXX_EGPIO_BASE + 11) /* apply power to reset of audio circuit. active high. */ 77 #define H3600_EGPIO_QMUTE (H3XXX_EGPIO_BASE + 12) /* mute control for onboard UDA1341. active high. */ 79 #define H3600_EGPIO_LCD_5V_ON (H3XXX_EGPIO_BASE + 14) /* enable 5V to LCD. active high. */
|
H A D | nanoengine.h | 19 #define GPIO_PC_READY0 11 /* ready for socket 0 (active high)*/ 20 #define GPIO_PC_READY1 12 /* ready for socket 1 (active high) */ 21 #define GPIO_PC_CD0 13 /* detect for socket 0 (active low) */ 22 #define GPIO_PC_CD1 14 /* detect for socket 1 (active low) */
|
/linux-4.1.27/include/linux/usb/ |
H A D | isp1760.h | 14 unsigned dack_polarity_high:1; /* DACK active high */ 15 unsigned dreq_polarity_high:1; /* DREQ active high */
|
H A D | gpio_vbus.h | 18 * @gpio_vbus_inverted: true if gpio_vbus is active low 19 * @gpio_pullup_inverted: true if gpio_pullup is active low 24 * value the GPIO detects as active. Some systems will use comparators.
|
/linux-4.1.27/drivers/staging/speakup/ |
H A D | thread.c | 17 our_sound.active = 0; speakup_thread() 28 spk_unprocessed_sound.active = 0; speakup_thread() 32 our_sound.active || speakup_thread() 47 if (our_sound.active) speakup_thread()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_debug.c | 47 DRM_ERROR("freed render active %p\n", obj); i915_verify_lists() 50 } else if (!obj->active || i915_verify_lists() 52 DRM_ERROR("invalid render active %p (a %d r %x)\n", i915_verify_lists() 54 obj->active, i915_verify_lists() 58 DRM_ERROR("invalid render active %p (w %x, gwl %d)\n", i915_verify_lists() 72 } else if (!obj->active || i915_verify_lists() 77 obj->active, i915_verify_lists() 90 } else if (!obj->active || i915_verify_lists() 94 obj->active, i915_verify_lists() 106 } else if (obj->pin_count || obj->active || i915_verify_lists() 110 obj->pin_count, obj->active, i915_verify_lists()
|
H A D | intel_psr.c | 222 * that is PSR transition to active - static frame transmission. vlv_psr_activate() 224 * that is PSR active - no Remote Frame Buffer (RFB) update. vlv_psr_activate() 308 WARN_ON(dev_priv->psr.active); intel_psr_activate() 321 dev_priv->psr.active = true; intel_psr_activate() 382 /* On HSW+ enable_source also means go to PSR entry/active intel_psr_enable() 386 * to active transition, i.e. here. intel_psr_enable() 405 if (dev_priv->psr.active) { vlv_psr_disable() 417 dev_priv->psr.active = false; vlv_psr_disable() 429 if (dev_priv->psr.active) { hsw_psr_disable() 438 dev_priv->psr.active = false; hsw_psr_disable() 526 if (!dev_priv->psr.active) intel_psr_exit() 539 * directly once PSR State 4 that is active with single frame intel_psr_exit() 549 * active we have to send AUX wake up by writing 01h in DPCD intel_psr_exit() 559 dev_priv->psr.active = false; intel_psr_exit() 646 if (!dev_priv->psr.active && !dev_priv->psr.busy_frontbuffer_bits) intel_psr_flush()
|
H A D | i915_gem_evict.c | 90 * ring) active list that do not have an outstanding flush. Once the i915_gem_evict_something() 95 * active objects we need to emit a MI_FLUSH to retire the flushing i915_gem_evict_something() 97 * advance of the dirty objects on the active lists. i915_gem_evict_something() 101 * 2. Clean active objects i915_gem_evict_something() 103 * 4. Dirty active objects. i915_gem_evict_something() 270 * active list. Then we must move everything off the active list i915_gem_evict_everything()
|
H A D | i915_gem_batch_pool.c | 69 WARN_ON(obj->active); i915_gem_batch_pool_fini() 82 * size. The caller is responsible for any domain, active/inactive, or 101 if (tmp->active) i915_gem_batch_pool_get()
|
/linux-4.1.27/net/tipc/ |
H A D | node.c | 224 * Link becomes active (alone or shared) or standby, depending on its priority. 228 struct tipc_link **active = &n_ptr->active_links[0]; tipc_node_link_up() local 237 if (!active[0]) { tipc_node_link_up() 238 active[0] = active[1] = l_ptr; tipc_node_link_up() 242 if (l_ptr->priority < active[0]->priority) { tipc_node_link_up() 246 tipc_link_dup_queue_xmit(active[0], l_ptr); tipc_node_link_up() 247 if (l_ptr->priority == active[0]->priority) { tipc_node_link_up() 248 active[0] = l_ptr; tipc_node_link_up() 251 pr_debug("Old link <%s> becomes standby\n", active[0]->name); tipc_node_link_up() 252 if (active[1] != active[0]) tipc_node_link_up() 253 pr_debug("Old link <%s> becomes standby\n", active[1]->name); tipc_node_link_up() 254 active[0] = active[1] = l_ptr; tipc_node_link_up() 257 n_ptr->act_mtus[0] = active[0]->mtu - INT_H_SIZE; tipc_node_link_up() 258 n_ptr->act_mtus[1] = active[1]->mtu - INT_H_SIZE; tipc_node_link_up() 262 * node_select_active_links - select active link 266 struct tipc_link **active = &n_ptr->active_links[0]; node_select_active_links() local 270 active[0] = active[1] = NULL; node_select_active_links() 281 active[0] = active[1] = l_ptr; node_select_active_links() 283 active[1] = l_ptr; node_select_active_links() 294 struct tipc_link **active; tipc_node_link_down() local 308 active = &n_ptr->active_links[0]; tipc_node_link_down() 309 if (active[0] == l_ptr) tipc_node_link_down() 310 active[0] = active[1]; tipc_node_link_down() 311 if (active[1] == l_ptr) tipc_node_link_down() 312 active[1] = active[0]; tipc_node_link_down() 313 if (active[0] == l_ptr) tipc_node_link_down() 321 if (active[0]) { tipc_node_link_down() 322 n_ptr->act_mtus[0] = active[0]->mtu - INT_H_SIZE; tipc_node_link_down() 323 n_ptr->act_mtus[1] = active[1]->mtu - INT_H_SIZE; tipc_node_link_down()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ldu.c | 40 struct list_head active; member in struct:vmw_legacy_display 54 struct list_head active; member in struct:vmw_legacy_display_unit 59 list_del_init(&ldu->active); vmw_ldu_destroy() 88 list_for_each_entry(entry, &lds->active, active) { vmw_ldu_commit_list() 103 if (!list_empty(&lds->active)) { vmw_ldu_commit_list() 104 entry = list_entry(lds->active.next, typeof(*entry), active); vmw_ldu_commit_list() 116 list_for_each_entry(entry, &lds->active, active) { vmw_ldu_commit_list() 136 list_for_each_entry(entry, &lds->active, active) { vmw_ldu_commit_list() 160 if (list_empty(&ldu->active)) vmw_ldu_del_active() 163 /* Must init otherwise list_empty(&ldu->active) will not work. */ vmw_ldu_del_active() 164 list_del_init(&ldu->active); vmw_ldu_del_active() 192 if (!list_empty(&ldu->active)) vmw_ldu_add_active() 195 at = &ld->active; vmw_ldu_add_active() 196 list_for_each_entry(entry, &ld->active, active) { vmw_ldu_add_active() 200 at = &entry->active; vmw_ldu_add_active() 203 list_add(&ldu->active, at); vmw_ldu_add_active() 245 /* ldu only supports one fb active at the time */ vmw_ldu_crtc_set_config() 248 !list_empty(&ldu->active)) && vmw_ldu_crtc_set_config() 357 INIT_LIST_HEAD(&ldu->active); vmw_ldu_init() 402 INIT_LIST_HEAD(&dev_priv->ldu_priv->active); vmw_kms_init_legacy_display_system() 444 BUG_ON(!list_empty(&dev_priv->ldu_priv->active)); vmw_kms_close_legacy_display_system()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-vbi.c | 98 if (list_empty(&q->active)) cx8800_restart_vbi_queue() 101 buf = list_entry(q->active.next, struct cx88_buffer, list); cx8800_restart_vbi_queue() 105 list_for_each_entry(buf, &q->active, list) cx8800_restart_vbi_queue() 175 if (list_empty(&q->active)) { buffer_queue() 176 list_add_tail(&buf->list, &q->active); buffer_queue() 179 dprintk(2,"[%p/%d] vbi_queue - first active\n", buffer_queue() 184 prev = list_entry(q->active.prev, struct cx88_buffer, list); buffer_queue() 185 list_add_tail(&buf->list, &q->active); buffer_queue() 188 dprintk(2,"[%p/%d] buffer_queue - append to active\n", buffer_queue() 197 struct cx88_buffer *buf = list_entry(dmaq->active.next, start_streaming() 215 while (!list_empty(&dmaq->active)) { stop_streaming() 216 struct cx88_buffer *buf = list_entry(dmaq->active.next, stop_streaming()
|
H A D | cx88-mpeg.c | 212 if (list_empty(&q->active)) cx8802_restart_queue() 215 buf = list_entry(q->active.next, struct cx88_buffer, list); cx8802_restart_queue() 219 list_for_each_entry(buf, &q->active, list) cx8802_restart_queue() 260 if (list_empty(&cx88q->active)) { cx8802_buf_queue() 261 dprintk( 1, "queue is empty - first active\n" ); cx8802_buf_queue() 262 list_add_tail(&buf->list, &cx88q->active); cx8802_buf_queue() 264 dprintk(1,"[%p/%d] %s - first active\n", cx8802_buf_queue() 269 dprintk( 1, "queue is not empty - append to active\n" ); cx8802_buf_queue() 270 prev = list_entry(cx88q->active.prev, struct cx88_buffer, list); cx8802_buf_queue() 271 list_add_tail(&buf->list, &cx88q->active); cx8802_buf_queue() 274 dprintk( 1, "[%p/%d] %s - append to active\n", cx8802_buf_queue() 288 while (!list_empty(&q->active)) { do_cancel_buffers() 289 buf = list_entry(q->active.next, struct cx88_buffer, list); do_cancel_buffers() 416 INIT_LIST_HEAD(&dev->mpegq.active); cx8802_init_common() 453 if (!list_empty(&dev->mpegq.active)) { cx8802_suspend_common() 503 if (!list_empty(&dev->mpegq.active)) { cx8802_resume_common()
|
/linux-4.1.27/sound/usb/line6/ |
H A D | midi.h | 25 /* MIDI substream for receiving (or NULL if not active) */ 28 /* MIDI substream for transmitting (or NULL if not active) */ 31 /* Number of currently active MIDI send URBs */
|
/linux-4.1.27/include/linux/ |
H A D | context_tracking_state.h | 9 * When active is false, probes are unset in order 14 bool active; member in struct:context_tracking 33 return __this_cpu_read(context_tracking.active); context_tracking_cpu_is_enabled()
|
H A D | lp.h | 70 * signals are active low. An example is LP_STROBE, which must be programmed 71 * with 1 for being active and 0 for being inactive, because the strobe signal 72 * gets inverted, but it is also active low. 82 #define LP_PSELECP 0x08 /* inverted output, active low */ 83 #define LP_PINITP 0x04 /* unchanged output, active low */ 84 #define LP_PAUTOLF 0x02 /* inverted output, active low */
|
H A D | rwsem-spinlock.h | 18 * - if count is 0 then there are no active readers or writers 19 * - if count is +ve then that is the number of active readers 20 * - if count is -1 then there is one active writer
|
H A D | iocontext.h | 121 * get_io_context_active - get active reference on ioc 124 * Only iocs with active reference can issue new IOs. This function 125 * acquires an active reference on @ioc. The caller must already have an 126 * active reference on @ioc.
|
H A D | vga_switcheroo.h | 52 int id, bool active); 78 int id, bool active) { return 0; } vga_switcheroo_unregister_handler() 76 vga_switcheroo_register_audio_client(struct pci_dev *pdev, const struct vga_switcheroo_client_ops *ops, int id, bool active) vga_switcheroo_register_audio_client() argument
|
H A D | lru_cache.h | 38 and changes to an "active set" of objects, as well as pending transactions, 42 the active set before we can "heat" a previously unused region. 105 To be able to use a ring buffer for this journal of changes to the active 110 For each transaction recording a change to the active set, we record the 116 accurately reconstruct the active set. 118 Sufficiently large depends only on maximum number of active objects, and the 146 * an element is said to be "in the active set", 277 * order on the active and lru lists may still change. Used to serialize 289 * Note that the reference counts and order on the active and lru lists may
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-spi.h | 90 * active) or as a halfplex (either the Tx data path is 91 * active or the Rx data path is active, but not both). 108 * active) or as a halfplex (either the Tx data path is 109 * active or the Rx data path is active, but not both). 177 * active) or as a halfplex (either the Tx data path is 178 * active or the Rx data path is active, but not both). 193 * active) or as a halfplex (either the Tx data path is 194 * active or the Rx data path is active, but not both). 210 * active) or as a halfplex (either the Tx data path is 211 * active or the Rx data path is active, but not both). 227 * active) or as a halfplex (either the Tx data path is 228 * active or the Rx data path is active, but not both). 244 * active) or as a halfplex (either the Tx data path is 245 * active or the Rx data path is active, but not both). 261 * active) or as a halfplex (either the Tx data path is 262 * active or the Rx data path is active, but not both).
|
/linux-4.1.27/drivers/gpu/vga/ |
H A D | vga_switcheroo.c | 40 bool active; member in struct:vga_switcheroo_client 49 bool active; member in struct:vgasr_priv 78 return !vgasr_priv.active && vga_switcheroo_ready() 101 vgasr_priv.active = true; vga_switcheroo_enable() 126 if (vgasr_priv.active) { vga_switcheroo_unregister_handler() 129 vgasr_priv.active = false; vga_switcheroo_unregister_handler() 137 int id, bool active, bool driver_power_control) register_client() 149 client->active = active; register_client() 176 int id, bool active) vga_switcheroo_register_audio_client() 178 return register_client(pdev, ops, id | ID_BIT_AUDIO, active, false); vga_switcheroo_register_audio_client() 207 if (client->active && client_is_vga(client)) find_active_client() 219 if (!vgasr_priv.active) vga_switcheroo_get_client_state() 237 if (vgasr_priv.active && vgasr_priv.registered_clients < 2) { vga_switcheroo_unregister_client() 240 vgasr_priv.active = false; vga_switcheroo_unregister_client() 268 client->active ? '+' : ' ', vga_switcheroo_show() 321 struct vga_switcheroo_client *active; vga_switchto_stage1() local 323 active = find_active_client(&vgasr_priv.clients); vga_switchto_stage1() 324 if (!active) vga_switchto_stage1() 338 struct vga_switcheroo_client *active; vga_switchto_stage2() local 340 active = find_active_client(&vgasr_priv.clients); vga_switchto_stage2() 341 if (!active) vga_switchto_stage2() 344 active->active = false; vga_switchto_stage2() 346 set_audio_state(active->id, VGA_SWITCHEROO_OFF); vga_switchto_stage2() 363 if (active->pwr_state == VGA_SWITCHEROO_ON) vga_switchto_stage2() 364 vga_switchoff(active); vga_switchto_stage2() 368 new_client->active = true; vga_switchto_stage2() 404 if (!vgasr_priv.active) { vga_switcheroo_debugfs_write() 412 if (client->active || client_is_audio(client)) vga_switcheroo_debugfs_write() 425 if (client->active || client_is_audio(client)) vga_switcheroo_debugfs_write() 475 if (client->active) vga_switcheroo_debugfs_write() 135 register_client(struct pci_dev *pdev, const struct vga_switcheroo_client_ops *ops, int id, bool active, bool driver_power_control) register_client() argument 174 vga_switcheroo_register_audio_client(struct pci_dev *pdev, const struct vga_switcheroo_client_ops *ops, int id, bool active) vga_switcheroo_register_audio_client() argument
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | dma.c | 69 dma->active = 0; request_dma() 102 if (dma->active) { free_dma() 103 pr_err("dma%d: freeing active DMA\n", chan); free_dma() 105 dma->active = 0; free_dma() 128 if (dma->active) set_dma_sg() 129 pr_err("dma%d: altering DMA SG while DMA active\n", chan); set_dma_sg() 145 if (dma->active) __set_dma_addr() 146 pr_err("dma%d: altering DMA address while DMA active\n", chan); __set_dma_addr() 162 if (dma->active) set_dma_count() 163 pr_err("dma%d: altering DMA count while DMA active\n", chan); set_dma_count() 177 if (dma->active) set_dma_mode() 178 pr_err("dma%d: altering DMA mode while DMA active\n", chan); set_dma_mode() 194 if (dma->active == 0) { enable_dma() 195 dma->active = 1; enable_dma() 215 if (dma->active == 1) { disable_dma() 216 dma->active = 0; disable_dma() 228 * Is the specified DMA channel active? 233 return dma->active; dma_channel_active()
|
/linux-4.1.27/net/wireless/ |
H A D | genregdb.awk | 23 active = 0 48 active = 1 125 active = 0 136 !active && /^[ \t]*$/ { 140 !active && /country/ { 144 active && /^[ \t]*\(/ { 148 active && /^[ \t]*$/ { 153 if (active)
|
/linux-4.1.27/drivers/acpi/ |
H A D | pci_link.c | 70 * If a link is initialized, we never change its active and initialized 71 * later even the link is disable. Instead, we just repick the active irq 74 u8 active; /* Current IRQ */ member in struct:acpi_pci_link_irq 240 * Run _CRS and set link->irq.active 252 link->irq.active = 0; acpi_pci_link_get_current() 286 link->irq.active = irq; acpi_pci_link_get_current() 288 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Link at IRQ %d \n", link->irq.active)); acpi_pci_link_get_current() 380 /* Query _CRS, set link->irq.active */ acpi_pci_link_set() 388 * set link->irq.active acpi_pci_link_set() 390 if (link->irq.active != irq) { acpi_pci_link_set() 398 acpi_device_bid(link->device), link->irq.active, irq); acpi_pci_link_set() 399 link->irq.active = irq; acpi_pci_link_set() 402 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Set IRQ %d\n", link->irq.active)); acpi_pci_link_set() 418 * that the BIOS has already set to active. This is necessary because 420 * if the BIOS doesn't set a Link Device active, ACPI needs to program it 437 * by multiple active devices -- it is not optimal. 485 * reflect the possible and active irqs in the penalty table -- acpi_irq_penalty_init() 500 } else if (link->irq.active) { acpi_irq_penalty_init() 501 acpi_irq_penalty[link->irq.active] += acpi_irq_penalty_init() 520 acpi_pci_link_set(link, link->irq.active); acpi_pci_link_allocate() 525 * search for active IRQ in list of possible IRQs. acpi_pci_link_allocate() 528 if (link->irq.active == link->irq.possible[i]) acpi_pci_link_allocate() 532 * forget active IRQ that is not in possible list acpi_pci_link_allocate() 537 " in _PRS\n", link->irq.active); acpi_pci_link_allocate() 538 link->irq.active = 0; acpi_pci_link_allocate() 542 * if active found, use it; else pick entry from end of possible list. acpi_pci_link_allocate() 544 if (link->irq.active) acpi_pci_link_allocate() 545 irq = link->irq.active; acpi_pci_link_allocate() 549 if (acpi_irq_balance || !link->irq.active) { acpi_pci_link_allocate() 569 acpi_irq_penalty[link->irq.active] += PIRQ_PENALTY_PCI_USING; acpi_pci_link_allocate() 572 acpi_device_bid(link->device), link->irq.active); acpi_pci_link_allocate() 615 if (!link->irq.active) { acpi_pci_link_allocate_irq() 617 printk(KERN_ERR PREFIX "Link active IRQ is 0!\n"); acpi_pci_link_allocate_irq() 632 return (link->irq.active); acpi_pci_link_allocate_irq() 683 return (link->irq.active); acpi_pci_link_free_irq() 712 /* query and set link->irq.active */ acpi_pci_link_add() 718 if (link->irq.active == link->irq.possible[i]) { acpi_pci_link_add() 728 printk(KERN_CONT " *%d", link->irq.active); acpi_pci_link_add() 750 if (link->refcnt && link->irq.active && link->irq.initialized) acpi_pci_link_resume() 751 return (acpi_pci_link_set(link, link->irq.active)); acpi_pci_link_resume() 818 void acpi_penalize_isa_irq(int irq, int active) acpi_penalize_isa_irq() argument 821 if (active) acpi_penalize_isa_irq()
|
H A D | thermal.c | 72 MODULE_PARM_DESC(act, "Disable or override all lowest active trip points."); 131 u8 active:1; member in struct:acpi_thermal_state 171 struct acpi_thermal_active active[ACPI_THERMAL_MAX_ACTIVE]; member in struct:acpi_thermal_trips 421 valid = tz->trips.active[i].flags.valid; acpi_thermal_trips_update() 424 break; /* disable all active trip points */ acpi_thermal_trips_update() 427 tz->trips.active[i].flags.valid)) { acpi_thermal_trips_update() 431 tz->trips.active[i].flags.valid = 0; acpi_thermal_trips_update() 437 tz->trips.active[0].temperature = acpi_thermal_trips_update() 444 tz->trips.active[i - 1].temperature = acpi_thermal_trips_update() 445 (tz->trips.active[i - 2].temperature < acpi_thermal_trips_update() 447 tz->trips.active[i - 2].temperature : acpi_thermal_trips_update() 451 tz->trips.active[i].temperature = tmp; acpi_thermal_trips_update() 452 tz->trips.active[i].flags.valid = 1; acpi_thermal_trips_update() 457 if ((flag & ACPI_TRIPS_DEVICES) && tz->trips.active[i].flags.valid ) { acpi_thermal_trips_update() 462 pr_warn(PREFIX "Invalid active%d threshold\n", acpi_thermal_trips_update() 464 tz->trips.active[i].flags.valid = 0; acpi_thermal_trips_update() 467 tz->trips.active[i].flags.valid = 1; acpi_thermal_trips_update() 469 if (memcmp(&tz->trips.active[i].devices, &devices, acpi_thermal_trips_update() 471 memcpy(&tz->trips.active[i].devices, &devices, acpi_thermal_trips_update() 477 if (valid != tz->trips.active[i].flags.valid) acpi_thermal_trips_update() 480 if (!tz->trips.active[i].flags.valid) acpi_thermal_trips_update() 511 valid |= tz->trips.active[i].flags.valid; acpi_thermal_get_trip_points() 628 tz->trips.active[i].flags.valid; i++) { thermal_get_trip_type() 679 tz->trips.active[i].flags.valid; i++) { thermal_get_trip_temp() 682 tz->trips.active[i].temperature, thermal_get_trip_temp() 814 if (!tz->trips.active[i].flags.valid) acpi_thermal_cooling_device_cb() 818 j < tz->trips.active[i].devices.count; acpi_thermal_cooling_device_cb() 820 handle = tz->trips.active[i].devices.handles[j]; acpi_thermal_cooling_device_cb() 902 tz->trips.active[i].flags.valid; i++, trips++); acpi_thermal_register_thermal_zone() 1037 /* Set the cooling mode [_SCP] to active cooling (default) */ acpi_thermal_get_info() 1154 if (!(&tz->trips.active[i])) acpi_thermal_resume() 1156 if (!tz->trips.active[i].flags.valid) acpi_thermal_resume() 1158 tz->trips.active[i].flags.enabled = 1; acpi_thermal_resume() 1159 for (j = 0; j < tz->trips.active[i].devices.count; j++) { acpi_thermal_resume() 1161 tz->trips.active[i].devices.handles[j], acpi_thermal_resume() 1164 tz->trips.active[i].flags.enabled = 0; acpi_thermal_resume() 1168 tz->state.active |= tz->trips.active[i].flags.enabled; acpi_thermal_resume() 1181 "disabling all active thermal trip points\n", d->ident); thermal_act()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | adis16203.h | 32 #define ADIS16203_MSC_CTRL_ACTIVE_HIGH BIT(1) /* Data-ready polarity: 1 = active high, 0 = active low */ 36 #define ADIS16203_DIAG_STAT_ALARM2 BIT(9) /* Alarm 2 status: 1 = alarm active, 0 = alarm inactive */ 37 #define ADIS16203_DIAG_STAT_ALARM1 BIT(8) /* Alarm 1 status: 1 = alarm active, 0 = alarm inactive */
|
H A D | adis16201.h | 39 #define ADIS16201_MSC_CTRL_ACTIVE_HIGH BIT(1) /* Data-ready polarity: 1 = active high, 0 = active low */ 43 #define ADIS16201_DIAG_STAT_ALARM2 BIT(9) /* Alarm 2 status: 1 = alarm active, 0 = alarm inactive */ 44 #define ADIS16201_DIAG_STAT_ALARM1 BIT(8) /* Alarm 1 status: 1 = alarm active, 0 = alarm inactive */
|
H A D | adis16204.h | 39 #define ADIS16204_MSC_CTRL_ACTIVE_HIGH BIT(1) /* Data-ready polarity: 1 = active high, 0 = active low */ 43 #define ADIS16204_DIAG_STAT_ALARM2 BIT(9) /* Alarm 2 status: 1 = alarm active, 0 = alarm inactive */ 44 #define ADIS16204_DIAG_STAT_ALARM1 BIT(8) /* Alarm 1 status: 1 = alarm active, 0 = alarm inactive */
|
H A D | adis16209.h | 68 /* Data-ready polarity: 1 = active high, 0 = active low */ 74 /* Alarm 2 status: 1 = alarm active, 0 = alarm inactive */ 76 /* Alarm 1 status: 1 = alarm active, 0 = alarm inactive */
|
H A D | adis16240.h | 84 /* Data-ready polarity: 1 = active high, 0 = active low */ 90 /* Alarm 2 status: 1 = alarm active, 0 = alarm inactive */ 92 /* Alarm 1 status: 1 = alarm active, 0 = alarm inactive */
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | atari_joystick.h | 18 int active; member in struct:joystick_status
|
H A D | mac_baboon.h | 19 * bit 1: IDE interrupt active?
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-timings.c | 116 q->active = EZ(t->active * 1000, T); ide_timing_quantize() 134 m->active = max(a->active, b->active); ide_timing_merge() 197 * Lengthen active & recovery time so that cycle time is correct. ide_timing_compute() 204 if (t->active + t->recover < t->cycle) { ide_timing_compute() 205 t->active += (t->cycle - (t->active + t->recover)) / 2; ide_timing_compute() 206 t->recover = t->cycle - t->active; ide_timing_compute()
|
H A D | cmd64x.c | 72 * the active phase cmd64x_program_timings() 75 t.active += t.recover - 16; cmd64x_program_timings() 78 if (t.active > 16) /* shouldn't actually happen... */ cmd64x_program_timings() 79 t.active = 16; cmd64x_program_timings() 85 t.active &= 0x0f; cmd64x_program_timings() 87 /* Program the active/recovery counts into the DRWTIM register */ cmd64x_program_timings() 89 (t.active << 4) | t.recover); cmd64x_program_timings()
|
/linux-4.1.27/drivers/power/reset/ |
H A D | gpio-poweroff.c | 32 /* drive it active, also inactive->active edge */ gpio_poweroff_do_poweroff() 35 /* drive inactive, also active->inactive edge */ gpio_poweroff_do_poweroff() 39 /* drive it active, also inactive->active edge */ gpio_poweroff_do_poweroff()
|
H A D | gpio-restart.c | 40 /* drive it active, also inactive->active edge */ gpio_restart_notify() 44 /* drive inactive, also active->inactive edge */ gpio_restart_notify() 48 /* drive it active, also inactive->active edge */ gpio_restart_notify() 95 of_property_read_u32(pdev->dev.of_node, "active-delay", gpio_restart_probe()
|
/linux-4.1.27/include/video/ |
H A D | display_timing.h | 49 * Example: hsync active high, vsync active low 53 * |<- sync ->|<- back ->|<----- active ----->|<- front ->|<- sync.. 63 struct timing_entry hactive; /* hor. active video */ 68 struct timing_entry vactive; /* ver. active video */
|
H A D | pxa168fb.h | 77 unsigned active:1; member in struct:pxa168fb_info 119 unsigned active:1; member in struct:pxa168fb_mach_info
|
H A D | pmagb-b-fb.h | 38 #define SFB_VID_HOR_PIX_SHIFT 0x00 /* active video */ 48 #define SFB_VID_VER_SL_SHIFT 0x00 /* active scan lines */
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | gpio_backlight.c | 27 int active; member in struct:gpio_backlight 42 brightness ? gbl->active : !gbl->active); gpio_backlight_update_status() 77 gbl->active = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1; gpio_backlight_probe_dt() 113 gbl->active = pdata->active_low ? 0 : 1; gpio_backlight_probe() 118 (gbl->active ? GPIOF_INIT_LOW gpio_backlight_probe()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | vt.h | 21 char waitv; /* if set, hang on writes if not active */ 26 #define VT_GETMODE 0x5601 /* get mode of active vt */ 27 #define VT_SETMODE 0x5602 /* set mode of active vt */ 33 unsigned short v_active; /* active vt */ 42 #define VT_ACTIVATE 0x5606 /* make vt active */ 43 #define VT_WAITACTIVE 0x5607 /* wait for vt active */
|
H A D | atmsvc.h | 27 /* < 0: error before active */ 30 /* > 0: error when active (still */
|
H A D | lp.h | 35 #define LP_PBUSY 0x80 /* inverted input, active high */ 36 #define LP_PACK 0x40 /* unchanged input, active low */ 37 #define LP_POUTPA 0x20 /* unchanged input, active high */ 38 #define LP_PSELECD 0x10 /* unchanged input, active high */ 39 #define LP_PERRORP 0x08 /* unchanged input, active low */
|
H A D | dm-ioctl.h | 23 * 'active' table which is the one currently used by io passing 25 * that is being prepared as a replacement for the 'active' one. 38 * Create a new device, neither the 'active' or 'inactive' table 57 * slot, it will be moved to the active slot, then the old table 58 * from the active slot will be _destroyed_. Finally the device 62 * Retrieves the status for the table in the 'active' slot. 67 * targets of the table in the 'active' slot, or a table change. 77 * Return a set of device dependencies for the 'active' table. 80 * Return the targets status for the 'active' table.
|
/linux-4.1.27/drivers/hv/ |
H A D | hv_snapshot.c | 35 * Note that only one transaction can be active at any point in time. 43 bool active; /* transaction status - active or not */ member in struct:__anon4675 85 vss_transaction.active = false; vss_cn_callback() 139 * If a transaction is not active; log and return. vss_respond_to_host() 142 if (!vss_transaction.active) { vss_respond_to_host() 146 pr_warn("VSS: Transaction not active\n"); vss_respond_to_host() 151 * only one transaction can be active at a time. vss_respond_to_host() 157 vss_transaction.active = false; vss_respond_to_host() 180 * The host ensures that only one VSS transaction can be active at a time. 194 if (vss_transaction.active) { hv_vss_onchannelcallback() 227 vss_transaction.active = true; hv_vss_onchannelcallback() 294 vss_transaction.active = true; hv_vss_init()
|
H A D | hv_fcopy.c | 51 * The transaction "active" state is set when we receive a request from the 53 * respond to the host with our response. When the transaction active state is 58 bool active; /* transaction status - active or not */ member in struct:__anon4673 119 fcopy_transaction.active = false; fcopy_handle_handshake() 182 * only one transaction can be active at a time. This is guaranteed fcopy_respond_to_host() 184 * the "transaction active" state we maintain ensures that there can fcopy_respond_to_host() 185 * only be one active transaction at a time. fcopy_respond_to_host() 192 fcopy_transaction.active = false; fcopy_respond_to_host() 221 if (fcopy_transaction.active) { hv_fcopy_onchannelcallback() 252 fcopy_transaction.active = true; hv_fcopy_onchannelcallback() 347 * active open at a time. fcopy_open() 431 fcopy_transaction.active = true; hv_fcopy_init()
|
H A D | hv_kvp.c | 49 * Note that only one transaction can be active at any point in time. 57 bool active; /* transaction status - active or not */ member in struct:__anon4674 167 kvp_transaction.active = false; kvp_handle_handshake() 482 * If a transaction is not active; log and return. kvp_respond_to_host() 485 if (!kvp_transaction.active) { kvp_respond_to_host() 489 pr_warn("KVP: Transaction not active\n"); kvp_respond_to_host() 494 * only one transaction can be active at a time. kvp_respond_to_host() 501 kvp_transaction.active = false; kvp_respond_to_host() 594 * The host ensures that only one KVP transaction can be active at a time. 598 * guarantees that at most only one transaction can be active at a time, 615 if (kvp_transaction.active) { hv_kvp_onchannelcallback() 667 kvp_transaction.active = true; hv_kvp_onchannelcallback() 712 kvp_transaction.active = true; hv_kvp_init()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | spi-imx.h | 13 * is that it is not possible to mix between high active and low 14 * active chipselects on one single bus using the internal
|
H A D | usb-rcar-phy.h | 23 bool active_high:1; /* true: active high, false: active low */
|
H A D | lm3630a_bl.h | 48 *@pwm_ctrl : pwm disable, bank a or b, active high or low
|
H A D | adau17x1.h | 73 * @jackdetect_active_low: If true the jack insertion detection is active low. 74 * Othwise it will be active high.
|
H A D | atmel.h | 33 int pullup_pin; /* active == D+ pulled up */ 34 u8 pullup_active_low; /* true == pullup_pin is active low */
|
H A D | mtd-nand-s3c2410.h | 49 int tacls; /* time for active CLE/ALE to nWE/nOE */ 50 int twrph0; /* active time for nWE/nOE */
|
/linux-4.1.27/include/linux/input/ |
H A D | pixcir_ts.h | 12 * active: max scan speed 13 * idle: lower scan speed with automatic transition to active on touch
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | os_capi.h | 3 * ISDN interface module for Eicon active cards DIVA.
|
H A D | capifunc.h | 3 * ISDN interface module for Eicon active cards DIVA.
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | scan.c | 96 bool active = false; wlcore_started_vifs_iter() local 100 * count active interfaces according to interface type. wlcore_started_vifs_iter() 102 * we don't want to count sta in p2p_find as active interface. wlcore_started_vifs_iter() 107 active = true; wlcore_started_vifs_iter() 112 active = true; wlcore_started_vifs_iter() 119 if (active) wlcore_started_vifs_iter() 274 cfg->active[0] = wlcore_set_scan_chan_params() 309 cfg->active[1] = wlcore_set_scan_chan_params() 324 cfg->active[2] = 0; wlcore_set_scan_chan_params() 328 wl1271_debug(DEBUG_SCAN, " 2.4GHz: active %d passive %d", wlcore_set_scan_chan_params() 329 cfg->active[0], cfg->passive[0]); wlcore_set_scan_chan_params() 330 wl1271_debug(DEBUG_SCAN, " 5GHz: active %d passive %d", wlcore_set_scan_chan_params() 331 cfg->active[1], cfg->passive[1]); wlcore_set_scan_chan_params() 334 return cfg->passive[0] || cfg->active[0] || wlcore_set_scan_chan_params() 335 cfg->passive[1] || cfg->active[1] || cfg->dfs || wlcore_set_scan_chan_params() 336 cfg->passive[2] || cfg->active[2]; wlcore_set_scan_chan_params()
|
H A D | scan.h | 144 u8 active[SCAN_MAX_BANDS]; /* number of active scan channels */ member in struct:wlcore_scan_channels 146 u8 passive_active; /* number of passive before active channels 2.4ghz */
|
/linux-4.1.27/include/sound/ |
H A D | wm9081.h | 21 bool irq_high; /* IRQ is active high */
|
H A D | wm8996.h | 37 int irq_flags; /** Set IRQ trigger flags; default active low */
|
H A D | mixer_oss.h | 42 int *active); 45 int active);
|
/linux-4.1.27/arch/sh/boards/ |
H A D | board-shmin.c | 21 __raw_writew(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active. init_shmin_irq()
|
/linux-4.1.27/include/linux/i2c/ |
H A D | dm355evm_msp.h | 43 #define DM355EVM_MSP_LED 0x03 /* active low (MSP P4) */ 50 # define MSP_SWITCH1_MSP_INT BIT(5) /* active low */ 59 # define MSP_SDMMC_0_CD BIT(2) /* active low */ 61 # define MSP_SDMMC_1_CD BIT(4) /* active low */
|
/linux-4.1.27/drivers/usb/isp1760/ |
H A D | isp1760-core.h | 35 #define ISP1760_FLAG_DACK_POL_HIGH 0x00000010 /* DACK active high */ 36 #define ISP1760_FLAG_DREQ_POL_HIGH 0x00000020 /* DREQ active high */ 38 #define ISP1760_FLAG_INTR_POL_HIGH 0x00000080 /* Interrupt polarity active high */
|
/linux-4.1.27/kernel/locking/ |
H A D | rwsem-xadd.c | 25 * 0x0000000X (1) X readers active or attempting lock, no writer waiting 32 * 0xffff000X (1) X readers active or attempting lock, with waiters for lock 33 * X = #active readers + # readers attempting lock 36 * X-1 = #active readers + #readers attempting lock 38 * (3) 1 writer active, no waiters for lock 39 * X-1 = #active readers + #readers attempting lock 42 * 0xffff0001 (1) 1 reader active or attempting lock, waiters for lock 44 * (2) 1 writer active or attempting lock, no waiters for lock 47 * 0xffff0000 (1) There are writers or readers queued but none active 53 * 0xfffe0001 (1) 1 writer active, or attempting lock. Waiters on queue. 65 * are only waiters but none active (5th case above), and attempt to 114 * - the 'active part' of count (&0x0000ffff) reached 0 (but may have changed) 155 /* Last active locker left. Retry waking readers. */ __rwsem_do_wake() 161 * of the queue. Note we increment the 'active part' of the count by __rwsem_do_wake() 233 /* If there are no active locks, wake the front queued process(es). rwsem_down_read_failed() 236 * wake our own waiter to join the existing active readers ! rwsem_down_read_failed() 312 * slowpath with the lock being active, then there is a possibility rwsem_can_spin_on_owner() 429 /* undo write bias from down_write operation, stop active locking */ rwsem_down_write_failed() 457 * no active writers, the lock must be read owned; so we try to rwsem_down_write_failed() 473 /* Block until there are no active lockers. */ rwsem_down_write_failed() 492 * - up_read/up_write has decremented the active part of count if we come here
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | targethw.h | 42 #define OI_STAT_VALID 2 /* holds valid ID, but is not active */ 43 #define OI_STAT_ACTIVE 3 /* holds valid ID, entry is active */ 44 /* active = adapter is supported */ 48 u_char oi_status ; /* Stat: last, present, valid, active */ 104 u_short timer_activ ; /* HWT timer active */
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | rwsem.h | 8 * The MSW of the count is the negated number of active writers and waiting 9 * lockers, and the LSW is the total number of active locks 11 * The lock count is initialized to 0 (no active and no waiting lockers). 23 * The value of ACTIVE_BIAS supports up to 65535 active processes. 26 * lock will go to the back of the queue. When the currently active lock is 109 /* was the active mask 0 before? */ __down_write_nested() 134 /* was the active mask 0 before? */ __down_write_trylock()
|
/linux-4.1.27/drivers/net/ |
H A D | rionet.c | 74 struct rio_dev **active; member in struct:rionet_net 75 int nact; /* number of active peers */ 199 if (nets[rnet->mport->id].active[i]) { rionet_start_xmit() 201 nets[rnet->mport->id].active[i]); rionet_start_xmit() 208 if (nets[rnet->mport->id].active[destid]) rionet_start_xmit() 210 nets[rnet->mport->id].active[destid]); rionet_start_xmit() 214 * active peers but we still have TX packets targeting rionet_start_xmit() 240 if (!nets[rnet->mport->id].active[sid]) { rionet_dbell_event() 244 nets[rnet->mport->id].active[sid] = rionet_dbell_event() 253 nets[rnet->mport->id].active[sid] = NULL; rionet_dbell_event() 384 if (nets[rnet->mport->id].active[peer->rdev->destid]) { rionet_close() 386 nets[rnet->mport->id].active[peer->rdev->destid] = NULL; rionet_close() 408 if (nets[netid].active[rdev->destid]) { rionet_remove_dev() 409 nets[netid].active[rdev->destid] = NULL; rionet_remove_dev() 472 nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL, rionet_setup_netdev() 474 if (!nets[mport->id].active) { rionet_setup_netdev() 478 memset((void *)nets[mport->id].active, 0, rionet_active_bytes); rionet_setup_netdev() 631 free_pages((unsigned long)nets[i].active, rionet_exit() 634 nets[i].active = NULL; rionet_exit()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | mmu_context_nohash.c | 97 /* We have a candidate victim, check if it's active, on SMP steal_context_smp() 98 * we cannot steal active contexts steal_context_smp() 100 if (mm->context.active) { steal_context_smp() 157 mm->context.active = 0; steal_all_contexts() 212 nact += context_mm[id]->context.active; context_check_map() 220 pr_err("MMU: More active contexts than CPUs ! (%d vs %d)\n", context_check_map() 237 pr_hard("[%d] activating context for mm @%p, active=%d, id=%d", switch_mmu_context() 238 cpu, next, next->context.active, next->context.id); switch_mmu_context() 241 /* Mark us active and the previous one not anymore */ switch_mmu_context() 242 next->context.active++; switch_mmu_context() 244 pr_hardcont(" (old=0x%p a=%d)", prev, prev->context.active); switch_mmu_context() 245 WARN_ON(prev->context.active < 1); switch_mmu_context() 246 prev->context.active--; switch_mmu_context() 334 mm->context.active = 0; init_new_context() 355 WARN_ON(mm->context.active != 0); destroy_context() 363 mm->context.active = 0; destroy_context() 418 /* Mark init_mm as being active on all possible CPUs since mmu_context_init() 422 init_mm.context.active = NR_CPUS; mmu_context_init() 427 * own contexts, and implement an LRU usage. That way very active mmu_context_init()
|
/linux-4.1.27/mm/ |
H A D | workingset.c | 20 * inactive and the active list. Freshly faulted pages start out at 23 * are promoted to the active list, to protect them from reclaim, 24 * whereas active pages are demoted to the inactive list when the 25 * active list grows too big. 30 * reclaim <- | inactive | <-+-- demotion | active | <--+ 40 * would have promoted them to the active list. 50 * active pages - which may be used more, hopefully less frequently: 54 * +-inactive------+-active----+ 61 * activated optimistically to compete with the existing active pages. 71 * the active list, shrinking the inactive list by one slot. This 118 * the only thing eating into inactive list space is active pages. 123 * All that is known about the active list is that the pages have been 125 * time there is actually a good chance that pages on the active list 126 * are no longer in active use. 129 * least (R - E) active pages, the refaulting page is activated 130 * optimistically in the hope that (R - E) active pages are actually 199 * inappropriate activation leading to pressure on the active unpack_shadow() 286 * such that shadow entries do not exceed the number of active count_shadow_nodes()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-vbi.c | 176 * This is the risc program of the first buffer to be queued if the active list 204 if (list_empty(&q->active)) { buffer_queue() 206 list_add_tail(&buf->queue, &q->active); buffer_queue() 208 dprintk(2, "[%p/%d] vbi_queue - first active\n", buffer_queue() 213 prev = list_entry(q->active.prev, struct cx23885_buffer, buffer_queue() 216 list_add_tail(&buf->queue, &q->active); buffer_queue() 219 dprintk(2, "[%p/%d] buffer_queue - append to active\n", buffer_queue() 228 struct cx23885_buffer *buf = list_entry(dmaq->active.next, cx23885_start_streaming() 243 while (!list_empty(&dmaq->active)) { cx23885_stop_streaming() 244 struct cx23885_buffer *buf = list_entry(dmaq->active.next, cx23885_stop_streaming()
|
/linux-4.1.27/drivers/media/platform/ |
H A D | via-camera.h | 5 #define VCR_IC_EAV 0x0001 /* End of active video status */ 7 #define VCR_IC_FBOTFLD 0x0004 /* "flipping" Bottom field is active */ 9 #define VCR_IC_VSYNC 0x0020 /* 0 = VB, 1 = active video */ 10 #define VCR_IC_BOTFLD 0x0040 /* Bottom field is active */ 12 #define VCR_IC_INTEN 0x0100 /* End of active video int. enable */ 76 #define VCR_MAXDATA 0x334 /* Active data count of active video */
|
H A D | fsl-viu.c | 130 struct list_head active; member in struct:viu_dmaqueue 226 ERR_DMA_V = 0x01 << 4, /* DMA in vertical active */ 334 if (!list_empty(&vidq->active)) { restart_video_queue() 335 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); restart_video_queue() 342 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { restart_video_queue() 357 list_move_tail(&buf->vb.queue, &vidq->active); restart_video_queue() 365 dprintk(2, "[%p/%d] restart_queue - first active\n", restart_video_queue() 371 list_move_tail(&buf->vb.queue, &vidq->active); restart_video_queue() 373 dprintk(2, "[%p/%d] restart_queue - move to active\n", restart_video_queue() 388 while (!list_empty(&vidq->active)) { viu_vid_timeout() 389 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); viu_vid_timeout() 551 } else if (list_empty(&vidq->active)) { buffer_queue() 552 dprintk(1, "adding vb active=0x%08lx\n", buffer_queue() 554 list_add_tail(&buf->vb.queue, &vidq->active); buffer_queue() 557 dprintk(2, "[%p/%d] buffer_queue - first active\n", buffer_queue() 564 prev = list_entry(vidq->active.prev, struct viu_buf, vb.queue); buffer_queue() 568 list_add_tail(&buf->vb.queue, &vidq->active); buffer_queue() 570 dprintk(2, "[%p/%d] buffer_queue - append to active\n", buffer_queue() 1063 /* launch another DMA operation for an active/queued buffer */ viu_activate_next_buf() 1064 if (!list_empty(&vidq->active)) { viu_activate_next_buf() 1065 buf = list_entry(vidq->active.next, struct viu_buf, viu_activate_next_buf() 1075 list_add_tail(&buf->vb.queue, &vidq->active); viu_activate_next_buf() 1158 if (!list_empty(&vidq->active)) { viu_capture_intr() 1178 buf = list_entry(vidq->active.next, viu_capture_intr() 1315 dprintk(1, "Open: list_empty active=%d\n", viu_open() 1316 list_empty(&dev->vidq.active)); viu_open() 1534 INIT_LIST_HEAD(&viu_dev->vidq.active); viu_of_probe()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 39 * @active: state of vibrator 49 bool active; member in struct:pm8xxx_vib 95 vib->active = true; pm8xxx_work_handler() 100 vib->active = false; pm8xxx_work_handler() 104 pm8xxx_vib_set(vib, vib->active); pm8xxx_work_handler() 118 if (vib->active) pm8xxx_vib_close()
|
H A D | max77843-haptic.c | 52 bool active; member in struct:max77843_haptic 114 if (haptic->active) max77843_haptic_enable() 128 haptic->active = true; max77843_haptic_enable() 142 if (!haptic->active) max77843_haptic_disable() 151 haptic->active = false; max77843_haptic_disable()
|
H A D | regulator-haptic.c | 31 bool active; member in struct:regulator_haptic 43 if (haptic->active != on) { regulator_haptic_toggle() 54 haptic->active = on; regulator_haptic_toggle()
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 98 * active) or as a halfplex (either the Tx data path is 99 * active or the Rx data path is active, but not both). 144 * active) or as a halfplex (either the Tx data path is 145 * active or the Rx data path is active, but not both). 189 * active) or as a halfplex (either the Tx data path is 190 * active or the Rx data path is active, but not both). 304 * active) or as a halfplex (either the Tx data path is 305 * active or the Rx data path is active, but not both). 423 * active) or as a halfplex (either the Tx data path is 424 * active or the Rx data path is active, but not both). 501 * active) or as a halfplex (either the Tx data path is 502 * active or the Rx data path is active, but not both). 570 * active) or as a halfplex (either the Tx data path is 571 * active or the Rx data path is active, but not both). 627 * active) or as a halfplex (either the Tx data path is 628 * active or the Rx data path is active, but not both).
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/ |
H A D | ubc.c | 68 unsigned long active = 0; sh4a_ubc_active_mask() local 73 active |= (1 << i); sh4a_ubc_active_mask() 75 return active; sh4a_ubc_active_mask()
|
/linux-4.1.27/sound/aoa/soundbus/i2sbus/ |
H A D | i2sbus.h | 43 active:1; /* is this stream active? */ member in struct:pcm_info 70 /* info about currently active substreams */
|
/linux-4.1.27/tools/testing/selftests/powerpc/tm/ |
H A D | tm-syscall.c | 6 * made from within an active HTM transaction is aborted with the 103 * Test a syscall within an active transaction and verify that tm_syscall() 112 printf("%d active and suspended transactions behaved correctly.\n", count); tm_syscall()
|
/linux-4.1.27/include/linux/extcon/ |
H A D | extcon-gpio.h | 30 * @gpio_active_low: Boolean describing whether gpio active state is 1 or 0 31 * If true, low state of gpio means active. 32 * If false, high state of gpio means active.
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | mpc5200_dma.h | 12 * @active: flag indicating if the stream is active 23 int active; member in struct:psc_dma_stream
|
H A D | mpc5200_dma.c | 37 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) psc_dma_status_irq() 41 if (psc_dma->capture.active && (isr & MPC52xx_PSC_IMR_ORERR)) psc_dma_status_irq() 91 /* If the stream is active, then also inform the PCM middle layer psc_dma_bcom_irq() 93 if (s->active) psc_dma_bcom_irq() 131 s->active = 1; psc_dma_trigger() 159 s->active = 0; psc_dma_trigger() 179 if (psc_dma->playback.active) psc_dma_trigger() 181 if (psc_dma->capture.active) psc_dma_trigger() 252 if (!psc_dma->playback.active && psc_dma_close() 253 !psc_dma->capture.active) { psc_dma_close()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | boardergo.h | 90 #define PCI9050_INTR_REG_POL1 0x02 /* 1= active high (def.), 0= active low */ 91 #define PCI9050_INTR_REG_STAT1 0x04 /* 1= intr. active, 0= intr. not active (def.) */
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | plx9052.h | 29 #define PLX9052_INTCSR_LI1POL (1 << 1) /* LI1 active high */ 30 #define PLX9052_INTCSR_LI1STAT (1 << 2) /* LI1 active */ 32 #define PLX9052_INTCSR_LI2POL (1 << 4) /* LI2 active high */ 33 #define PLX9052_INTCSR_LI2STAT (1 << 5) /* LI2 active */
|
H A D | addi_apci_2032.c | 48 bool active; member in struct:apci2032_int_private 81 subpriv->active = false; apci2032_int_stop() 149 subpriv->active = true; apci2032_int_cmd() 164 if (subpriv->active) apci2032_int_cancel() 199 if (subpriv->active && (val & subpriv->enabled_isns) != 0) { apci2032_interrupt()
|
/linux-4.1.27/drivers/clocksource/ |
H A D | em_sti.c | 41 unsigned int active[USER_NR]; member in struct:em_sti_priv 170 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; em_sti_start() 175 p->active[user] = 1; em_sti_start() 187 used_before = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; em_sti_stop() 188 p->active[user] = 0; em_sti_stop() 189 used_after = p->active[USER_CLOCKSOURCE] | p->active[USER_CLOCKEVENT]; em_sti_stop()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | i8253.c | 34 * - when local APIC timer is active (PIT is switched off) init_pit_clocksource()
|
/linux-4.1.27/drivers/atm/ |
H A D | idt77105.h | 67 #define IDT77105_LEDHEC_RPW_1 0x00 /* RxRef active for 1 RxClk cycle */ 68 #define IDT77105_LEDHEC_RPW_2 0x08 /* RxRef active for 2 RxClk cycle */ 69 #define IDT77105_LEDHEC_RPW_4 0x10 /* RxRef active for 4 RxClk cycle */ 70 #define IDT77105_LEDHEC_RPW_8 0x18 /* RxRef active for 8 RxClk cycle */
|
/linux-4.1.27/fs/qnx6/ |
H A D | super_mmi.c | 110 /* superblock #1 active */ qnx6_mmi_fill_super() 120 pr_info("superblock #1 active\n"); qnx6_mmi_fill_super() 122 /* superblock #2 active */ qnx6_mmi_fill_super() 132 pr_info("superblock #2 active\n"); qnx6_mmi_fill_super()
|
/linux-4.1.27/include/linux/power/ |
H A D | generic-adc-battery.h | 17 * @gpio_inverted: Should be 1 if the GPIO is active low otherwise 0
|
H A D | gpio-charger.h | 26 * @gpio_active_low: Should be set to 1 if the GPIO is active low otherwise 0
|
/linux-4.1.27/include/media/ |
H A D | s5k4ecgx.h | 19 * @level: indicates active state of the @gpio
|
H A D | m5mols.h | 22 * @reset_polarity: active state for gpio_reset pin, 0 or 1
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | mmu_context.h | 16 /* current active pgd - this is similar to other processors pgd
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | da.h | 30 * This is used at start up to detect whether a DA is active.
|
/linux-4.1.27/kernel/sched/ |
H A D | proc.c | 98 calc_load(unsigned long load, unsigned long exp, unsigned long active) calc_load() argument 102 newload = load * exp + active * (FIXED_1 - exp); calc_load() 103 if (active >= load) calc_load() 289 unsigned long active, unsigned int n) calc_load_n() 292 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); calc_load_n() 301 * Once we've updated the global active value, we need to apply the exponential 306 long delta, active, n; calc_global_nohz() local 315 active = atomic_long_read(&calc_load_tasks); calc_global_nohz() 316 active = active > 0 ? active * FIXED_1 : 0; calc_global_nohz() 318 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); calc_global_nohz() 319 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); calc_global_nohz() 320 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); calc_global_nohz() 348 long active, delta; calc_global_load() local 360 active = atomic_long_read(&calc_load_tasks); calc_global_load() 361 active = active > 0 ? active * FIXED_1 : 0; calc_global_load() 363 avenrun[0] = calc_load(avenrun[0], EXP_1, active); calc_global_load() 364 avenrun[1] = calc_load(avenrun[1], EXP_5, active); calc_global_load() 365 avenrun[2] = calc_load(avenrun[2], EXP_15, active); calc_global_load() 377 * active count. 288 calc_load_n(unsigned long load, unsigned long exp, unsigned long active, unsigned int n) calc_load_n() argument
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | isppreview.c | 642 params = (prev->params.active & OMAP3ISP_PREV_CONTRAST) preview_update_contrast() 664 params = (prev->params.active & OMAP3ISP_PREV_BRIGHTNESS) preview_update_brightness() 677 u32 active = prev->params.active; preview_params_lock() local 681 prev->params.params[0].busy |= ~active & update; preview_params_lock() 682 prev->params.params[1].busy |= active & update; preview_params_lock() 684 /* Mark all active parameters we are going to touch as busy. */ preview_params_lock() 685 update = (prev->params.params[0].update & active) preview_params_lock() 686 | (prev->params.params[1].update & ~active); preview_params_lock() 688 prev->params.params[0].busy |= active & update; preview_params_lock() 689 prev->params.params[1].busy |= ~active & update; preview_params_lock() 698 u32 active = prev->params.active; preview_params_unlock() local 704 prev->params.params[0].update |= (~active & update); preview_params_unlock() 705 prev->params.params[1].update |= (active & update); preview_params_unlock() 706 prev->params.params[0].busy &= active; preview_params_unlock() 707 prev->params.params[1].busy &= ~active; preview_params_unlock() 709 /* Clear the update flag for active parameters that have been preview_params_unlock() 710 * applied and the busy flag for all active parameters. preview_params_unlock() 712 prev->params.params[0].update &= ~(active & update); preview_params_unlock() 713 prev->params.params[1].update &= ~(~active & update); preview_params_unlock() 714 prev->params.params[0].busy &= ~active; preview_params_unlock() 715 prev->params.params[1].busy &= active; preview_params_unlock() 723 /* Switch active parameters with updated shadow parameters when the preview_params_switch() 724 * shadow parameter has been updated and neither the active not the preview_params_switch() 727 to_switch = (prev->params.params[0].update & ~prev->params.active) preview_params_switch() 728 | (prev->params.params[1].update & prev->params.active); preview_params_switch() 734 prev->params.active ^= to_switch; preview_params_switch() 739 prev->params.params[0].update &= ~(~prev->params.active & to_switch); preview_params_switch() 740 prev->params.params[1].update &= ~(prev->params.active & to_switch); preview_params_switch() 869 u32 active; preview_config() local 877 active = prev->params.active; preview_config() 890 params = &prev->params.params[!!(active & bit)]; preview_config() 924 * @active: Bitmask of parameters active in set 0 929 u32 active) preview_setup_hw() 937 features = (prev->params.params[0].features & active) preview_setup_hw() 938 | (prev->params.params[1].features & ~active); preview_setup_hw() 948 params = &prev->params.params[!(active & bit)]; preview_setup_hw() 1052 params = (prev->params.active & OMAP3ISP_PREV_CFA) preview_config_input_format() 1069 static void preview_config_input_size(struct isp_prev_device *prev, u32 active) preview_config_input_size() argument 1087 features = (prev->params.params[0].features & active) preview_config_input_size() 1088 | (prev->params.params[1].features & ~active); preview_config_input_size() 1238 prev->params.params[0].update = prev->params.active & update; omap3isp_preview_restore_context() 1239 prev->params.params[1].update = ~prev->params.active & update; omap3isp_preview_restore_context() 1241 preview_setup_hw(prev, update, prev->params.active); omap3isp_preview_restore_context() 1311 prev->params.active = ~0; preview_init_params() 1392 u32 active; preview_configure() local 1395 /* Mark all active parameters we are going to touch as busy. */ preview_configure() 1397 active = prev->params.active; preview_configure() 1407 preview_config_input_size(prev, active); preview_configure() 1415 preview_setup_hw(prev, update, active); preview_configure() 1533 u32 active; omap3isp_preview_isr() local 1541 active = prev->params.active; omap3isp_preview_isr() 1544 preview_setup_hw(prev, update, active); omap3isp_preview_isr() 1545 preview_config_input_size(prev, active); omap3isp_preview_isr() 1733 * @which: try/active format selector 2082 * formats are initialized on the file handle. Otherwise active formats are 928 preview_setup_hw(struct isp_prev_device *prev, u32 update, u32 active) preview_setup_hw() argument
|
H A D | isppreview.h | 112 * @output: Bitmask of the active output 116 * @params.active: Bitmask of parameters active in set 0 117 * @params.lock: Parameters lock, protects params.active and params.shadow 139 u32 active; member in struct:isp_prev_device::__anon5671
|
/linux-4.1.27/arch/s390/appldata/ |
H A D | appldata_base.c | 121 * call data gathering function for each (active) module 131 if (ops->active == 1) { appldata_work_fn() 201 * Start/Stop timer, show status of timer (0 = not active, 1 = active) 324 strncpy(buf, ops->active ? "1\n" : "0\n", ARRAY_SIZE(buf)); appldata_generic_handler() 342 if ((buf[0] == '1') && (ops->active == 0)) { appldata_generic_handler() 359 ops->active = 1; appldata_generic_handler() 360 } else if ((buf[0] == '0') && (ops->active == 1)) { appldata_generic_handler() 361 ops->active = 0; appldata_generic_handler() 455 if (ops->active == 1) { appldata_freeze() 484 if (ops->active == 1) { appldata_restore()
|
H A D | appldata.h | 31 int active; /* monitoring status */ member in struct:appldata_ops
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
H A D | controlframework.h | 33 u16 active:1; /* Bit 1: Assigned to active partition */ member in struct:spar_segment_state
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | thread_info.h | 46 #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 53 #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | usb.h | 60 bool vcc_polarity; /* 1 active high, 0 active low */
|
/linux-4.1.27/arch/arm/include/asm/mach/ |
H A D | dma.h | 34 unsigned int active:1; /* Transfer active */ member in struct:dma_struct
|
/linux-4.1.27/arch/arm/include/debug/ |
H A D | sa1100.S | 27 @ We probe for the active serial port here, coherently with 31 @ see if Ser3 is active
|
/linux-4.1.27/include/linux/decompress/ |
H A D | mm.h | 15 /* Code active when included from pre-boot environment: */ 68 /* Code active when compiled standalone for use when loading ramdisk: */
|
/linux-4.1.27/drivers/uwb/ |
H A D | radio.c | 29 * selected a specific channel or there are no active PALs. uwb_radio_select_channel() 40 * Notify all active PALs that the channel has changed. 56 * Change to a new channel and notify any active PALs of the new 60 * terminate any active reservations. 96 * If the radio is not already active, a suitable channel is selected
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | rwsem.h | 14 * The MSW of the count is the negated number of active writers and waiting 15 * lockers, and the LSW is the total number of active locks 17 * The lock count is initialized to 0 (no active and no waiting lockers). 29 * The value of ACTIVE_BIAS supports up to 65535 active processes. 32 * lock will go to the back of the queue. When the currently active lock is
|
H A D | thread_info.h | 74 #define TIF_SYSCALL_TRACE 3 /* syscall trace active */ 75 #define TIF_SYSCALL_AUDIT 4 /* syscall auditing active */
|
H A D | tlbflush.h | 88 int active, count; __tlb_flush_asce() local 91 active = (mm == current->active_mm) ? 1 : 0; __tlb_flush_asce() 93 if (MACHINE_HAS_TLB_LC && (count & 0xffff) <= active && __tlb_flush_asce()
|
/linux-4.1.27/kernel/power/ |
H A D | wakelock.c | 47 if (wl->ws.active == show_active) pm_show_wakelocks() 110 bool active; wakelocks_gc() local 114 active = wl->ws.active; wakelocks_gc() 120 if (!active) { wakelocks_gc()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | focaltech.c | 64 #define FOC_TOUCH 0x3 /* bitmap of active fingers */ 75 bool active; member in struct:focaltech_finger_state 79 * flag is 0 when the finger is not active, and there is a 124 bool active = finger->active && finger->valid; focaltech_report_state() local 127 input_mt_report_slot_state(dev, MT_TOOL_FINGER, active); focaltech_report_state() 128 if (active) { focaltech_report_state() 160 state->fingers[i].active = fingers & 0x1; focaltech_process_touch_packet() 161 if (!state->fingers[i].active) { focaltech_process_touch_packet() 163 * Even when the finger becomes active again, we still focaltech_process_touch_packet()
|
H A D | alps.h | 182 * @x_map: Bitmap of active X positions for MT. 183 * @y_map: Bitmap of active Y positions for MT. 190 * @left: Left touchpad button is active. 191 * @right: Right touchpad button is active. 192 * @middle: Middle touchpad button is active. 193 * @ts_left: Left trackstick button is active. 194 * @ts_right: Right trackstick button is active. 195 * @ts_middle: Middle trackstick button is active.
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 511 if (fh->buffers.active == ZORAN_FREE) { zoran_v4l_queue_frame() 512 if (zr->v4l_buffers.active == ZORAN_FREE) { zoran_v4l_queue_frame() 514 fh->buffers.active = ZORAN_ACTIVE; zoran_v4l_queue_frame() 529 if (zr->v4l_buffers.active == ZORAN_FREE) { zoran_v4l_queue_frame() 530 fh->buffers.active = ZORAN_FREE; zoran_v4l_queue_frame() 555 if (!res && zr->v4l_buffers.active == ZORAN_FREE) zoran_v4l_queue_frame() 556 zr->v4l_buffers.active = fh->buffers.active; zoran_v4l_queue_frame() 570 if (fh->buffers.active == ZORAN_FREE) { v4l_sync() 573 "%s: %s - no grab active for this session\n", v4l_sync() 616 if (zr->v4l_buffers.active == ZORAN_ACTIVE) { v4l_sync() 617 fh->buffers.active = zr->v4l_buffers.active = ZORAN_FREE; v4l_sync() 660 /* wrong codec mode active - invalid */ zoran_jpg_queue_frame() 668 if (fh->buffers.active == ZORAN_FREE) { zoran_jpg_queue_frame() 669 if (zr->jpg_buffers.active == ZORAN_FREE) { zoran_jpg_queue_frame() 671 fh->buffers.active = ZORAN_ACTIVE; zoran_jpg_queue_frame() 706 if (zr->jpg_buffers.active == ZORAN_FREE) { zoran_jpg_queue_frame() 707 fh->buffers.active = ZORAN_FREE; zoran_jpg_queue_frame() 717 if (!res && zr->jpg_buffers.active == ZORAN_FREE) zoran_jpg_queue_frame() 718 zr->jpg_buffers.active = fh->buffers.active; zoran_jpg_queue_frame() 731 if (fh->buffers.active == ZORAN_FREE) { jpg_qbuf() 734 "%s: %s(-1) - session not active\n", jpg_qbuf() 738 fh->buffers.active = zr->jpg_buffers.active = ZORAN_FREE; jpg_qbuf() 771 if (fh->buffers.active == ZORAN_FREE) { jpg_sync() 774 "%s: %s - capture is not currently active\n", jpg_sync() 856 fh->buffers.active = ZORAN_FREE; zoran_open_init_session() 874 if (fh->buffers.active != ZORAN_FREE) { zoran_close_end_session() 880 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; zoran_close_end_session() 889 if (fh->buffers.active != ZORAN_FREE) { zoran_close_end_session() 892 zr->jpg_buffers.active = fh->buffers.active = ZORAN_FREE; zoran_close_end_session() 999 zr->jpg_buffers.active = ZORAN_FREE; zoran_close() 1016 zr->v4l_buffers.active = ZORAN_FREE; zoran_close() 1280 "%s: %s - overlay is already active for another session\n", setup_overlay() 1354 "%s: %s() - raw active=%c, buffer %d: state=%c, map=%c\n", zoran_v4l2_buffer_status() 1356 "FAL"[fh->buffers.active], num, zoran_v4l2_buffer_status() 1443 if (zr->v4l_buffers.active != ZORAN_FREE || zoran_set_norm() 1444 zr->jpg_buffers.active != ZORAN_FREE) { zoran_set_norm() 1492 if (zr->v4l_buffers.active != ZORAN_FREE || zoran_set_input() 1493 zr->jpg_buffers.active != ZORAN_FREE) { zoran_set_input() 1904 fh->buffers.active != ZORAN_FREE) { zoran_s_fmt_vid_cap() 2107 if (!zr->v4l_memgrab_active && fh->buffers.active == ZORAN_LOCKED) zoran_qbuf() 2133 fh->buffers.active == ZORAN_LOCKED) zoran_qbuf() 2238 if (zr->v4l_buffers.active != ZORAN_ACTIVE || zoran_streamon() 2239 fh->buffers.active != ZORAN_ACTIVE) { zoran_streamon() 2244 zr->v4l_buffers.active = fh->buffers.active = ZORAN_LOCKED; zoran_streamon() 2257 if (zr->jpg_buffers.active != ZORAN_ACTIVE || zoran_streamon() 2258 fh->buffers.active != ZORAN_ACTIVE) { zoran_streamon() 2263 zr->jpg_buffers.active = fh->buffers.active = ZORAN_LOCKED; zoran_streamon() 2296 if (fh->buffers.active == ZORAN_FREE && zoran_streamoff() 2297 zr->v4l_buffers.active != ZORAN_FREE) { zoran_streamoff() 2301 if (zr->v4l_buffers.active == ZORAN_FREE) zoran_streamoff() 2315 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; zoran_streamoff() 2327 if (fh->buffers.active == ZORAN_FREE && zoran_streamoff() 2328 zr->jpg_buffers.active != ZORAN_FREE) { zoran_streamoff() 2332 if (zr->jpg_buffers.active == ZORAN_FREE) zoran_streamoff() 2592 "%s: VIDIOC_S_CROP - cannot change settings while active\n", zoran_s_crop() 2668 if (fh->buffers.active != ZORAN_FREE) { zoran_s_jpegcomp() 2716 "%s: %s() raw - active=%c, sync_tail=%lu/%c, pend_tail=%lu, pend_head=%lu\n", zoran_poll() 2718 "FAL"[fh->buffers.active], zr->v4l_sync_tail, zoran_poll() 2722 if (fh->buffers.active != ZORAN_FREE && zoran_poll() 2738 "%s: %s() jpg - active=%c, que_tail=%lu/%c, que_head=%lu, dma=%lu/%lu\n", zoran_poll() 2740 "FAL"[fh->buffers.active], zr->jpg_que_tail, zoran_poll() 2743 if (fh->buffers.active != ZORAN_FREE && zoran_poll() 2820 if (fh->buffers.active != ZORAN_FREE) { zoran_vm_close() 2826 zr->v4l_buffers.active = fh->buffers.active = ZORAN_FREE; zoran_vm_close() 2831 if (fh->buffers.active != ZORAN_FREE) { zoran_vm_close() 2834 zr->jpg_buffers.active = fh->buffers.active = ZORAN_FREE; zoran_vm_close()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | debug.c | 822 * - set active entry to next in the ring buffer 839 * - set active area to next in the ring buffer 867 debug_finish_entry(debug_info_t * id, debug_entry_t* active, int level, debug_finish_entry() argument 870 active->id.stck = get_tod_clock_fast(); debug_finish_entry() 871 active->id.fields.cpuid = smp_processor_id(); debug_finish_entry() 872 active->caller = __builtin_return_address(0); debug_finish_entry() 873 active->id.fields.exception = exception; debug_finish_entry() 874 active->id.fields.level = level; debug_finish_entry() 954 debug_entry_t *active; debug_event_common() local 963 active = get_active_entry(id); debug_event_common() 964 memset(DEBUG_DATA(active), 0, id->buf_size); debug_event_common() 965 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); debug_event_common() 966 debug_finish_entry(id, active, level, 0); debug_event_common() 969 return active; debug_event_common() 982 debug_entry_t *active; debug_exception_common() local 991 active = get_active_entry(id); debug_exception_common() 992 memset(DEBUG_DATA(active), 0, id->buf_size); debug_exception_common() 993 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); debug_exception_common() 994 debug_finish_entry(id, active, level, 1); debug_exception_common() 997 return active; debug_exception_common() 1028 debug_entry_t *active; __debug_sprintf_event() local 1039 active = get_active_entry(id); __debug_sprintf_event() 1040 curr_event=(debug_sprintf_entry_t *) DEBUG_DATA(active); __debug_sprintf_event() 1046 debug_finish_entry(id, active, level, 0); __debug_sprintf_event() 1049 return active; __debug_sprintf_event() 1064 debug_entry_t *active; __debug_sprintf_exception() local 1076 active = get_active_entry(id); __debug_sprintf_exception() 1077 curr_event=(debug_sprintf_entry_t *)DEBUG_DATA(active); __debug_sprintf_exception() 1083 debug_finish_entry(id, active, level, 1); __debug_sprintf_exception() 1086 return active; __debug_sprintf_exception()
|
/linux-4.1.27/drivers/dma/ |
H A D | sirf-dma.c | 67 struct list_head active; member in struct:sirfsoc_dma_chan 126 /* Move the first queued descriptor to active list */ sirfsoc_dma_execute() 127 list_move_tail(&sdesc->node, &schan->active); sirfsoc_dma_execute() 173 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, sirfsoc_dma_irq() 177 list_splice_tail_init(&schan->active, &schan->completed); sirfsoc_dma_irq() 230 /* for cyclic channel, desc is always in active list */ sirfsoc_dma_process_completed() 231 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, sirfsoc_dma_process_completed() 235 /* without active cyclic DMA */ sirfsoc_dma_process_completed() 324 list_splice_tail_init(&schan->active, &schan->free); sirfsoc_dma_terminate_all() 430 BUG_ON(!list_empty(&schan->active)); sirfsoc_dma_free_chan_resources() 453 if (list_empty(&schan->active) && !list_empty(&schan->queued)) sirfsoc_dma_issue_pending() 476 sdesc = list_first_entry(&schan->active, struct sirfsoc_dma_desc, sirfsoc_dma_tx_status() 736 INIT_LIST_HEAD(&schan->active); sirfsoc_dma_probe() 832 * so we need to save registers for active channels sirfsoc_dma_pm_suspend() 836 if (list_empty(&schan->active)) sirfsoc_dma_pm_suspend() 838 sdesc = list_first_entry(&schan->active, sirfsoc_dma_pm_suspend() 869 if (list_empty(&schan->active)) sirfsoc_dma_pm_resume() 871 sdesc = list_first_entry(&schan->active, sirfsoc_dma_pm_resume()
|
H A D | ep93xx_dma.c | 143 * @active: flattened chain of descriptors currently being processed 152 * will have slightly different scheme here: @active points to a head of 156 * descriptor in the chain. When a descriptor is moved to the @active queue, 177 struct list_head active; member in struct:ep93xx_dma_chan 190 * @hw_submit: pushes active descriptor(s) to the hardware 226 * ep93xx_dma_set_active - set new active descriptor chain 228 * @desc: head of the new active descriptor chain 230 * Sets @desc to be the head of the new active descriptor chain. This is the 231 * chain which is processed next. The active list must be empty before calling 239 BUG_ON(!list_empty(&edmac->active)); ep93xx_dma_set_active() 241 list_add_tail(&desc->node, &edmac->active); ep93xx_dma_set_active() 243 /* Flatten the @desc->tx_list chain into @edmac->active list */ ep93xx_dma_set_active() 257 list_move_tail(&d->node, &edmac->active); ep93xx_dma_set_active() 265 if (list_empty(&edmac->active)) ep93xx_dma_get_active() 268 return list_first_entry(&edmac->active, struct ep93xx_dma_desc, node); ep93xx_dma_get_active() 272 * ep93xx_dma_advance_active - advances to the next active descriptor 275 * Function advances active descriptor to the next in the @edmac->active and 287 list_rotate_left(&edmac->active); ep93xx_dma_advance_active() 720 if (!list_empty(&edmac->active) || list_empty(&edmac->queue)) { ep93xx_dma_advance_work() 746 * If dma_terminate_all() was called before we get to run, the active ep93xx_dma_tasklet() 756 list_splice_init(&edmac->active, &list); ep93xx_dma_tasklet() 787 "got interrupt while active list is empty\n"); ep93xx_dma_interrupt() 838 if (list_empty(&edmac->active)) { ep93xx_dma_tx_submit() 948 BUG_ON(!list_empty(&edmac->active)); ep93xx_dma_free_chan_resources() 1183 list_splice_init(&edmac->active, &list); ep93xx_dma_terminate_all() 1308 INIT_LIST_HEAD(&edmac->active); ep93xx_dma_probe()
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.c | 30 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); wl18xx_adjust_channels() 108 if (cmd->active[0]) { wl18xx_scan_send() 125 if (cmd->active[1] || cmd->dfs) { wl18xx_scan_send() 238 if (cmd->active[0]) { wl18xx_scan_sched_scan_config() 255 if (cmd->active[1] || cmd->dfs) { wl18xx_scan_sched_scan_config()
|
H A D | scan.h | 73 u8 active[SCAN_MAX_BANDS]; /* number of active scan channels */ member in struct:wl18xx_cmd_scan_params 75 u8 passive_active; /* number of passive before active channels 2.4ghz */
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_cmd640.c | 77 t.active += t.recover - 16; cmd640_set_piomode() 80 if (t.active > 16) cmd640_set_piomode() 81 t.active = 16; cmd640_set_piomode() 97 t.active &= 0x0F; /* 0 = 16 */ cmd640_set_piomode() 105 /* Load active/recovery */ cmd640_set_piomode() 106 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); cmd640_set_piomode() 115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; cmd640_set_piomode()
|
H A D | pata_legacy.c | 363 u8 active, recover; ht6560a_set_piomode() local 369 active = clamp_val(t.active, 2, 15); ht6560a_set_piomode() 377 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); ht6560a_set_piomode() 397 u8 active, recover; ht6560b_set_piomode() local 403 active = clamp_val(t.active, 2, 15); ht6560b_set_piomode() 411 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); ht6560b_set_piomode() 461 u8 active, recover, setup; opti82c611a_set_piomode() local 487 active = clamp_val(t.active, 2, 17) - 2; opti82c611a_set_piomode() 498 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); opti82c611a_set_piomode() 509 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); opti82c611a_set_piomode() 536 u8 active, recover, setup; opti82c46x_set_piomode() local 566 active = clamp_val(t.active, 2, 17) - 2; opti82c46x_set_piomode() 577 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); opti82c46x_set_piomode() 588 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); opti82c46x_set_piomode() 655 int active, recovery; qdi65x0_set_piomode() local 662 active = 8 - clamp_val(t.active, 1, 8); qdi65x0_set_piomode() 665 active = 9 - clamp_val(t.active, 2, 9); qdi65x0_set_piomode() 668 timing = (recovery << 4) | active | 0x08; qdi65x0_set_piomode() 790 int active, recovery; winbond_set_piomode() local 802 active = (clamp_val(t.active, 3, 17) - 1) & 0x0F; winbond_set_piomode() 804 timing = (active << 4) | recovery; winbond_set_piomode()
|
H A D | pata_cmd64x.c | 132 printk(KERN_DEBUG DRV_NAME ": active %d recovery %d setup %d.\n", cmd64x_set_timing() 133 t.active, t.recover, t.setup); cmd64x_set_timing() 135 t.active += t.recover - 16; cmd64x_set_timing() 138 if (t.active > 16) cmd64x_set_timing() 139 t.active = 16; cmd64x_set_timing() 156 t.active &= 0x0F; /* 0 = 16 */ cmd64x_set_timing() 164 /* Load active/recovery */ cmd64x_set_timing() 165 pci_write_config_byte(pdev, drwtim, (t.active << 4) | t.recover); cmd64x_set_timing()
|
H A D | pata_marvell.c | 25 * marvell_pata_active - check if PATA is active 28 * Returns 1 if the PATA port may be active. We know how to check this 151 printk(KERN_INFO DRV_NAME ": PATA port not active, deferring to AHCI driver.\n"); marvell_init_one()
|
H A D | pata_ns87410.c | 92 at.active = clamp_val(at.active, 2, 16) - 2; ns87410_set_piomode() 96 idetcr = (at.setup << 6) | (recoverbits[at.recover] << 3) | activebits[at.active]; ns87410_set_piomode()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_pwrctrl.h | 52 BIT[3] = Protocol PS state, 0: register active state, 108 uint bSleep; /* sleep -> active is different from active -> sleep. */
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
H A D | scan.h | 38 per channel for an active scan */ 56 /* Duration in TU to wait for frames on a channel for active scan */ 103 u8 active[SCAN_MAX_BANDS]; member in struct:wl1271_cmd_sched_scan_config
|
/linux-4.1.27/arch/metag/kernel/perf/ |
H A D | perf_event.h | 33 * We also have a pseudo-counter in the form of the thread active cycles 43 * @events: an array of perf_events active for a given index. 70 * @active_events: number of active counters
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | irq.c | 148 __set_TM1(0x55550000); /* XIRQ7-0 all active low */ init_IRQ() 150 __set_TM1(0x15550000); /* XIRQ7 active high, 6-0 all active low */ init_IRQ()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | rwsem.h | 10 * The MSW of the count is the negated number of active writers and 11 * waiting lockers, and the LSW is the total number of active locks. 13 * The lock count is initialized to 0 (no active and no waiting lockers).
|
/linux-4.1.27/arch/m68k/68000/ |
H A D | m68VZ328.c | 74 /* PK3: hardware sleep function pin, active low */ init_hardware() 79 /* PF5: hardware reset function pin, active high */ init_hardware() 90 PDPOL &= ~PD(1); /* active high signal */ init_hardware()
|
/linux-4.1.27/Documentation/laptops/ |
H A D | dslm.c | 28 * 1 = active, 0 = standby/sleep, -1 = unknown */ check_powermode() 53 if (i == 1) return "active"; state_name() 116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); measure()
|
/linux-4.1.27/drivers/net/wan/ |
H A D | hdlc_fr.c | 20 (active) -> 0 when "ifconfig PVC down" or "link unreliable" or "PVC create" 24 (exist,new,active) = FULL STATUS if "link reliable" 27 active = open and "link reliable" 128 unsigned int active: 1; member in struct:pvc_device::__anon7516 354 pvc->state.active = netif_carrier_ok(pvc->frad); pvc_open() 356 pvc_carrier(pvc->state.active, pvc); pvc_open() 371 pvc->state.active = 0; pvc_close() 375 pvc->state.active = 0; pvc_close() 415 if (pvc->state.active) { pvc_xmit() 457 pvc->state.active ? "active" : "inactive"); fr_log_dlci_active() 531 if (pvc->open_count && !pvc->state.active && fr_lmi_send() 534 pvc->state.active = 1; fr_lmi_send() 549 else if (pvc->state.active) fr_lmi_send() 581 pvc->state.exist = pvc->state.active = 1; fr_set_link_state() 590 pvc->state.exist = pvc->state.active = 0; fr_set_link_state() 756 /* Tell DTE that new PVC is now active */ fr_lmi_recv() 795 unsigned int active, new; fr_lmi_recv() local 812 active = !! (skb->data[i + 2] & 0x02); fr_lmi_recv() 834 if (active != pvc->state.active || fr_lmi_recv() 839 pvc->state.active = active; fr_lmi_recv() 841 pvc_carrier(active, pvc); fr_lmi_recv() 854 pvc->state.active = pvc->state.new = 0; fr_lmi_recv()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | si2157_priv.h | 27 bool active; member in struct:si2157_dev
|
/linux-4.1.27/drivers/staging/iio/trigger/ |
H A D | iio-trig-bfin-timer.h | 7 * @active_low: Whether the trigger pulse is active low.
|
/linux-4.1.27/arch/x86/mm/ |
H A D | setup_nx.c | 52 "active\n"); x86_report_nx()
|
/linux-4.1.27/block/partitions/ |
H A D | atari.h | 18 u8 flg; /* bit 0: active; bit 7: bootable */
|
/linux-4.1.27/arch/sh/lib64/ |
H A D | udelay.c | 19 * The active part of our cycle counter is only 32-bits wide, and
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | helpers.S | 20 * windows active inside of the cpu. This allows
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_gpu.h | 72 bool active; member in struct:msm_gpu::__anon4101 83 /* list of GEM active objects: */ 88 /* is gpu powered/active? */ 92 /* worker for handling active-list retiring: */
|
/linux-4.1.27/arch/metag/include/uapi/asm/ |
H A D | sigcontext.h | 7 * In a sigcontext structure we need to store the active state of the
|
/linux-4.1.27/drivers/watchdog/ |
H A D | davinci_wdt.c | 96 /* Once the WDT is in pre-active state write to davinci_wdt_start() 100 /* put watchdog in pre-active state */ davinci_wdt_start() 102 /* put watchdog in active state */ davinci_wdt_start() 113 /* put watchdog in active state */ davinci_wdt_ping()
|
/linux-4.1.27/include/linux/spi/ |
H A D | spi_bitbang.h | 21 #define BITBANG_CS_ACTIVE 1 /* normally nCS, active low */
|
/linux-4.1.27/arch/score/include/asm/ |
H A D | scoreregs.h | 39 /* bit 8..9 External input active edge selection */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | thread_info.h | 82 #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 89 #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ 90 #define TIF_SINGLESTEP 8 /* singlestepping active */ 136 #define TLF_LAZY_MMU 3 /* tlb_batch is active */
|
H A D | tlbflush.h | 94 int active; member in struct:ppc64_tlb_batch 112 batch->active = 1; arch_enter_lazy_mmu_mode() 121 batch->active = 0; arch_leave_lazy_mmu_mode()
|
/linux-4.1.27/arch/c6x/include/asm/ |
H A D | soc.h | 16 /* Return active exception event or -1 if none */
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | dm9000.h | 19 #undef DM9000_ARCH_IRQ_ACTLOW /* IRQ pin active high */
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | cpuidle.c | 52 .desc = "System active, ARM gated",
|
/linux-4.1.27/arch/arm/mach-tegra/ |
H A D | irammap.h | 28 * active. At other times, the AVP may use this area for arbitrary purposes
|
/linux-4.1.27/arch/alpha/lib/ |
H A D | udelay.c | 16 * The active part of our cycle counter is only 32-bits wide, and
|
/linux-4.1.27/arch/arm/boot/compressed/ |
H A D | head-xscale.S | 16 @ Data cache might be active.
|
/linux-4.1.27/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 226 int active; member in struct:ibmasmfs_event_data 233 int active; member in struct:ibmasmfs_heartbeat_data 359 event_data->active = 0; event_file_open() 389 if (event_data->active) { event_file_read() 393 event_data->active = 1; event_file_read() 412 event_data->active = 0; event_file_read() 443 rhbeat->active = 0; r_heartbeat_file_open() 472 if (rhbeat->active) { r_heartbeat_file_read() 476 rhbeat->active = 1; r_heartbeat_file_read() 480 rhbeat->active = 0; r_heartbeat_file_read() 496 if (rhbeat->active) r_heartbeat_file_write()
|
/linux-4.1.27/kernel/gcov/ |
H A D | gcc_3_4.c | 66 * @ctr_mask: mask specifying which counter types are active 146 * Determine whether a counter is active. Based on gcc magic. Doesn't change 154 /* Determine number of active counters. Based on gcc magic. */ num_counter_active() 173 unsigned int active = num_counter_active(info); gcov_info_reset() local 176 for (i = 0; i < active; i++) { gcov_info_reset() 243 unsigned int active; gcov_info_dup() local 246 active = num_counter_active(info); gcov_info_dup() 248 sizeof(struct gcov_ctr_info) * active, GFP_KERNEL); gcov_info_dup() 265 for (i = 0; i < active ; i++) { gcov_info_dup() 289 unsigned int active = num_counter_active(info); gcov_info_free() local 292 for (i = 0; i < active ; i++) gcov_info_free()
|
H A D | gcc_4_7.c | 155 * Determine whether a counter is active. Doesn't change at run-time. 162 /* Determine number of active counters. Based on gcc magic. */ num_counter_active() 255 unsigned int active; gcov_info_dup() local 278 active = num_counter_active(info); gcov_info_dup() 280 fi_size += sizeof(struct gcov_ctr_info) * active; gcov_info_dup() 292 for (ct_idx = 0; ct_idx < active; ct_idx++) { gcov_info_dup() 321 unsigned int active; gcov_info_free() local 329 active = num_counter_active(info); gcov_info_free() 337 for (ct_idx = 0; ct_idx < active; ct_idx++, ci_ptr++) gcov_info_free()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | rxon.c | 188 IWL_DEBUG_INFO(priv, "send QoS cmd with Qos active=%d FLAGS=0x%X\n", iwlagn_update_qos() 217 const struct iwl_rxon_cmd *rxon2 = &ctx->active; iwlagn_send_rxon_assoc() 363 struct iwl_rxon_cmd *active = (void *)&ctx->active; iwlagn_rxon_disconn() local 397 memcpy(active, &ctx->staging, sizeof(*active)); iwlagn_rxon_disconn() 440 memcmp(&ctx->active, &ctx->staging, sizeof(ctx->staging)); iwl_set_tx_power() 463 struct iwl_rxon_cmd *active = (void *)&ctx->active; iwlagn_rxon_connect() local 504 memcpy(active, &ctx->staging, sizeof(*active)); iwlagn_rxon_connect() 860 const struct iwl_rxon_cmd *active = &ctx->active; iwl_full_rxon_required() local 878 CHK(!ether_addr_equal(staging->bssid_addr, active->bssid_addr)); iwl_full_rxon_required() 879 CHK(!ether_addr_equal(staging->node_addr, active->node_addr)); iwl_full_rxon_required() 881 active->wlap_bssid_addr)); iwl_full_rxon_required() 882 CHK_NEQ(staging->dev_type, active->dev_type); iwl_full_rxon_required() 883 CHK_NEQ(staging->channel, active->channel); iwl_full_rxon_required() 884 CHK_NEQ(staging->air_propagation, active->air_propagation); iwl_full_rxon_required() 886 active->ofdm_ht_single_stream_basic_rates); iwl_full_rxon_required() 888 active->ofdm_ht_dual_stream_basic_rates); iwl_full_rxon_required() 890 active->ofdm_ht_triple_stream_basic_rates); iwl_full_rxon_required() 891 CHK_NEQ(staging->assoc_id, active->assoc_id); iwl_full_rxon_required() 899 active->flags & RXON_FLG_BAND_24G_MSK); iwl_full_rxon_required() 903 active->filter_flags & RXON_FILTER_ASSOC_MSK); iwl_full_rxon_required() 1050 struct iwl_rxon_cmd *active = (void *)&ctx->active; iwlagn_commit_rxon() local 1114 memcpy(active, &ctx->staging, sizeof(*active)); iwlagn_commit_rxon() 1267 if (!memcmp(&ctx->staging, &ctx->active, sizeof(ctx->staging))) for_each_context() 1517 if (force || memcmp(&ctx->staging, &ctx->active, sizeof(ctx->staging))) iwlagn_bss_info_changed() 1567 if (memcmp(&ctx->staging, &ctx->active, sizeof(ctx->staging))) iwlagn_post_scan()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | debug-macro.S | 53 @ We probe for the active serial port here 54 @ However, now we assume UART0 is active: epip4d
|
/linux-4.1.27/fs/kernfs/ |
H A D | dir.c | 30 return atomic_read(&kn->active) >= 0; kernfs_active() 290 * kernfs_get_active - get an active reference to kernfs_node 291 * @kn: kernfs_node to get an active reference to 293 * Get an active reference of @kn. This function is noop if @kn 304 if (!atomic_inc_unless_negative(&kn->active)) kernfs_get_active() 313 * kernfs_put_active - put an active reference to kernfs_node 314 * @kn: kernfs_node to put an active reference to 316 * Put an active reference to @kn. This function is noop if @kn 329 v = atomic_dec_return(&kn->active); kernfs_put_active() 356 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) 362 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); 408 WARN_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS, kernfs_put() 410 parent ? parent->name : "", kn->name, atomic_read(&kn->active)); kernfs_put() 534 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); __kernfs_new_node() 1018 WARN_ON_ONCE(atomic_read(&pos->active) != KN_DEACTIVATED_BIAS); kernfs_activate() 1020 atomic_sub(KN_DEACTIVATED_BIAS, &pos->active); kernfs_activate() 1035 * This is for kernfs_remove_self() which plays with active ref __kernfs_remove() 1047 atomic_add(KN_DEACTIVATED_BIAS, &pos->active); __kernfs_remove() 1070 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); __kernfs_remove() 1107 * kernfs_break_active_protection - break out of active protection 1111 * with an active reference - e.g. one of kernfs_ops. Each invocation of 1115 * This function releases the active reference of @kn the caller is 1123 * Take out ourself out of the active ref dependency chain. If kernfs_break_active_protection() 1124 * we're called without an active ref, lockdep will complain. kernfs_break_active_protection() 1135 * function restores the active reference, it doesn't and can't actually 1136 * restore the active protection - @kn may already or be in the process of 1147 * @kn->active could be in any state; however, the increment we do kernfs_unbreak_active_protection() 1155 atomic_inc(&kn->active); kernfs_unbreak_active_protection() 1165 * with an active reference - e.g. one of kernfs_ops. This can be used to 1171 * deactivate self while holding an active ref itself. It isn't necessary 1196 * is complete, SUICIDED is set and the active ref is restored kernfs_remove_self() 1215 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS) kernfs_remove_self()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
H A D | lcd_dma.c | 59 int active; member in struct:lcd_dma_info 297 lcd_dma.active = 0; lcd_dma_irq_handler() 318 lcd_dma.active = 0; omap_request_lcd_dma() 365 lcd_dma.active = 1; omap_enable_lcd_dma() 375 BUG_ON(lcd_dma.active); omap_setup_lcd_dma() 388 * If DMA was already active set the end_prog bit to have omap_setup_lcd_dma() 389 * the programmed register set loaded into the active omap_setup_lcd_dma() 404 lcd_dma.active = 0; omap_stop_lcd_dma()
|
/linux-4.1.27/sound/soc/omap/ |
H A D | omap-dmic.c | 57 bool active; member in struct:omap_dmic 110 if (!dai->active) omap_dmic_dai_startup() 111 dmic->active = 1; omap_dmic_dai_startup() 127 if (!dai->active) omap_dmic_dai_shutdown() 128 dmic->active = 0; omap_dmic_dai_shutdown() 306 if (dmic->active && dmic_is_enabled(dmic)) { omap_dmic_select_fclk() 307 dev_err(dmic->dev, "can't re-parent when DMIC active\n"); omap_dmic_select_fclk() 333 if (dmic->active) { omap_dmic_select_fclk()
|
/linux-4.1.27/arch/tile/include/arch/ |
H A D | uart.h | 60 * n: n active entries in the receive FIFO (max is 2**8). Each entry has 62 * 0: no active entry in the receive FIFO (that is empty). 68 * n: n active entries in the transmit FIFO (max is 2**8). Each entry has 70 * 0: no active entry in the transmit FIFO (that is empty). 76 * n: n active entries in the write FIFO (max is 2**2). Each entry has 8 78 * 0: no active entry in the write FIFO (that is empty).
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | temp.c | 91 bool active; nvkm_therm_sensor_event() local 107 active = (dir == NVKM_THERM_THRS_RISING); nvkm_therm_sensor_event() 110 if (active) { nvkm_therm_sensor_event() 117 priv->emergency.downclock(therm, active); nvkm_therm_sensor_event() 121 priv->emergency.pause(therm, active); nvkm_therm_sensor_event() 124 if (active) { nvkm_therm_sensor_event()
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | phy-rcar-usb.c | 44 /* 1: active-high, 0: active-low */ 48 /* 1: active-high, 0: active-low */ 50 /* 1: active-high, 0: active-low */
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | bfin_ppi.h | 129 #define EPPI_CTL_FS1HI_FS2HI 0x00000000 /* POLS: FS1 and FS2 are active high */ 130 #define EPPI_CTL_FS1LO_FS2HI 0x00004000 /* POLS: FS1 is active low. FS2 is active high */ 131 #define EPPI_CTL_FS1HI_FS2LO 0x00008000 /* POLS: FS1 is active high. FS2 is active low */ 132 #define EPPI_CTL_FS1LO_FS2LO 0x0000C000 /* POLS: FS1 and FS2 are active low */
|
/linux-4.1.27/fs/autofs4/ |
H A D | root.c | 81 if (list_empty(&ino->active)) autofs4_add_active() 82 list_add(&ino->active, &sbi->active_list); autofs4_add_active() 98 if (!list_empty(&ino->active)) autofs4_del_active() 99 list_del_init(&ino->active); autofs4_del_active() 148 if (!list_empty(&ino->active)) autofs4_dentry_release() 149 list_del(&ino->active); autofs4_dentry_release() 174 struct dentry *active; list_for_each() local 177 ino = list_entry(p, struct autofs_info, active); list_for_each() 178 active = ino->dentry; list_for_each() 180 spin_lock(&active->d_lock); list_for_each() 183 if ((int) d_count(active) <= 0) list_for_each() 186 qstr = &active->d_name; list_for_each() 188 if (active->d_name.hash != hash) list_for_each() 190 if (active->d_parent != parent) list_for_each() 198 if (d_unhashed(active)) { list_for_each() 199 dget_dlock(active); list_for_each() 200 spin_unlock(&active->d_lock); list_for_each() 202 return active; list_for_each() 205 spin_unlock(&active->d_lock); list_for_each() 501 struct dentry *active; autofs4_lookup() local 515 active = autofs4_lookup_active(dentry); autofs4_lookup() 516 if (active) { autofs4_lookup() 517 return active; autofs4_lookup()
|
/linux-4.1.27/Documentation/EDID/ |
H A D | edid.S | 108 Bit 5 DPMS active-off supported 182 /* Horizontal active pixels 8 lsbits (0-4095) */ 185 End of active to start of next active. */ 187 /* Bits 7-4 Horizontal active pixels 4 msbits 191 /* Vertical active lines 8 lsbits (0-4095) */ 195 /* Bits 7-4 Vertical active lines 4 msbits
|
/linux-4.1.27/net/sched/ |
H A D | sch_drr.c | 37 struct list_head active; member in struct:drr_sched 377 list_add_tail(&cl->alist, &q->active); drr_enqueue() 392 if (list_empty(&q->active)) drr_dequeue() 395 cl = list_first_entry(&q->active, struct drr_class, alist); drr_dequeue() 416 list_move_tail(&cl->alist, &q->active); drr_dequeue() 428 list_for_each_entry(cl, &q->active, alist) { drr_drop() 450 INIT_LIST_HEAD(&q->active); drr_init_qdisc()
|
H A D | sch_cbq.c | 152 struct cbq_class *active[TC_CBQ_MAXPRIO + 1]; /* List of all classes member in struct:cbq_sched_data 297 * cbq_activate_class adds it to the tail of active class list 307 cl_tail = q->active[prio]; cbq_activate_class() 308 q->active[prio] = cl; cbq_activate_class() 320 * Unlink class from active chain. 330 struct cbq_class *cl_prev = q->active[prio]; cbq_deactivate_class() 338 if (cl == q->active[prio]) { cbq_deactivate_class() 339 q->active[prio] = cl_prev; cbq_deactivate_class() 340 if (cl == q->active[prio]) { cbq_deactivate_class() 341 q->active[prio] = NULL; cbq_deactivate_class() 348 } while ((cl_prev = cl) != q->active[prio]); cbq_deactivate_class() 556 struct cbq_class *cl_prev = q->active[prio]; cbq_undelay_prio() 571 if (cl == q->active[prio]) { cbq_undelay_prio() 572 q->active[prio] = cl_prev; cbq_undelay_prio() 573 if (cl == q->active[prio]) { cbq_undelay_prio() 574 q->active[prio] = NULL; cbq_undelay_prio() 582 } while ((cl_prev = cl) != q->active[prio]); cbq_undelay_prio() 829 cl_tail = cl_prev = q->active[prio]; cbq_dequeue_prio() 876 q->active[prio] = cl; cbq_dequeue_prio() 885 * Unlink it from active chain. cbq_dequeue_prio() 898 q->active[prio] = NULL; cbq_dequeue_prio() 905 q->active[prio] = cl_tail; cbq_dequeue_prio() 919 q->active[prio] = cl_prev; cbq_dequeue_prio() 1177 cl_head = q->active[prio]; cbq_drop() 1212 q->active[prio] = NULL; cbq_reset()
|
H A D | sch_qfq.c | 142 struct list_head alist; /* Link for active-classes list. */ 167 struct list_head active; /* DRR queue of active classes. */ member in struct:qfq_aggregate 179 /* Array of RR lists of active aggregates. */ 189 u32 num_active_agg; /* Num. of active aggregates */ 203 * enqueue: the aggregate switches from idle to active and must scheduled 268 INIT_LIST_HEAD(&agg->active); qfq_init_agg() 330 if (cl->qdisc->q.qlen > 0) { /* adding an active class */ qfq_add_to_agg() 331 list_add_tail(&cl->alist, &agg->active); qfq_add_to_agg() 332 if (list_first_entry(&agg->active, struct qfq_class, alist) == qfq_add_to_agg() 360 if (list_empty(&agg->active)) /* agg is now inactive */ qfq_deactivate_class() 380 if (cl->qdisc->q.qlen > 0) /* class is active */ qfq_deact_rm_from_agg() 1011 list_move_tail(&cl->alist, &agg->active); agg_dequeue() 1021 *cl = list_first_entry(&agg->active, struct qfq_class, alist); qfq_peek_skb() 1109 /* next-packet len, 0 means no more active classes in in-service agg */ qfq_dequeue() 1115 if (!list_empty(&in_serv_agg->active)) qfq_dequeue() 1119 * If there are no active classes in the in-service aggregate, qfq_dequeue() 1130 if (!list_empty(&in_serv_agg->active)) { qfq_dequeue() 1132 * Still active: reschedule for qfq_dequeue() 1134 * aggregate is active, then there is no point qfq_dequeue() 1264 list_first_entry(&agg->active, struct qfq_class, alist) qfq_enqueue() 1266 list_move_tail(&cl->alist, &agg->active); qfq_enqueue() 1273 list_add_tail(&cl->alist, &agg->active); qfq_enqueue() 1275 if (list_first_entry(&agg->active, struct qfq_class, alist) != cl || qfq_enqueue() 1436 list_for_each_entry(cl, &agg->active, alist) { hlist_for_each_entry()
|
/linux-4.1.27/drivers/base/power/ |
H A D | wakeup.c | 140 ws->active = false; wakeup_source_add() 383 * wakup_source_activate - Mark given wakeup source as active. 395 * active wakeup source should bring the system wakeup_source_activate() 400 ws->active = true; wakeup_source_activate() 423 if (!ws->active) wakeup_source_report_event() 505 * will set ws->active. Then, ws->active may be cleared immediately wakeup_source_deactivate() 514 ws->active = false; wakeup_source_deactivate() 558 if (ws->active) __pm_relax() 588 * in @data if it is currently active and its timer has not been canceled and 598 if (ws->active && ws->timer_expires pm_wakeup_timer_fn() 614 * not active, activate it. If @msec is nonzero, set up the @ws' timer to 674 int active = 0; pm_print_active_wakeup_sources() local 679 if (ws->active) { pm_print_active_wakeup_sources() 680 pr_info("active wakeup source: %s\n", ws->name); pm_print_active_wakeup_sources() 681 active = 1; pm_print_active_wakeup_sources() 682 } else if (!active && pm_print_active_wakeup_sources() 690 if (!active && last_activity_ws) pm_print_active_wakeup_sources() 691 pr_info("last active wakeup source: %s\n", pm_print_active_wakeup_sources() 817 if (ws->active) { pm_wakep_autosleep_enabled() 853 if (ws->active) { print_wakeup_source_stats()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | enic_pp.c | 222 int active = 0; enic_pp_preassociate_rr() local 249 active); enic_pp_preassociate_rr() 262 int active = 1; enic_pp_associate() local 287 /* Enable device as active */ enic_pp_associate() 288 ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnic_dev_enable2, active); enic_pp_associate()
|
/linux-4.1.27/drivers/media/pci/sta2x11/ |
H A D | sta2x11_vip.c | 118 * @active: current active buffer 148 struct vip_buffer *active; /* current active buffer */ member in struct:sta2x11_vip 254 vip->active = list_first_entry(&vip->buffer_list, vip_active_buf_next() 262 start_dma(vip, vip->active); /* start dma capture */ vip_active_buf_next() 282 vip->active = NULL; queue_setup() 321 if (!vip->active) { /* No active buffer, active the first one */ buffer_queue() 322 vip->active = list_first_entry(&vip->buffer_list, buffer_queue() 354 start_dma(vip, vip->active); start_streaming() 370 /* Release all active buffers */ stop_streaming() 524 * the current active input line is set 550 * the current active input line is returned 812 if (vip->active) { /* Acquisition is over on this buffer */ vip_irq() 815 /* Remove the active buffer from the list */ vip_irq() 816 do_gettimeofday(&vip->active->vb.v4l2_buf.timestamp); vip_irq() 817 vip->active->vb.v4l2_buf.sequence = vip->sequence++; vip_irq() 818 vb2_buffer_done(&vip->active->vb, VB2_BUF_STATE_DONE); vip_irq()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-of.c | 87 if (!of_property_read_u32(node, "hsync-active", &v)) v4l2_of_parse_parallel_bus() 91 if (!of_property_read_u32(node, "vsync-active", &v)) v4l2_of_parse_parallel_bus() 99 if (!of_property_read_u32(node, "field-even-active", &v)) v4l2_of_parse_parallel_bus() 107 if (!of_property_read_u32(node, "data-active", &v)) v4l2_of_parse_parallel_bus() 122 if (!of_property_read_u32(node, "sync-on-green-active", &v)) v4l2_of_parse_parallel_bus()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00config.c | 119 struct antenna_setup *active = &rt2x00dev->link.ant.active; rt2x00lib_config_antenna() local 139 config.rx = active->rx; rt2x00lib_config_antenna() 151 config.tx = active->tx; rt2x00lib_config_antenna() 169 memcpy(active, &config, sizeof(config)); rt2x00lib_config_antenna()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | omap_cf.c | 47 /* which chipselect (CS0..CS3) is used for CF (active low) */ 65 unsigned active:1; member in struct:omap_cf_socket 95 if (cf->active) omap_cf_timer() 303 cf->active = 1; omap_cf_probe() 322 cf->active = 0; omap_cf_remove()
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
H A D | ipuv3-plane.c | 67 int active; ipu_plane_set_base() local 82 active = ipu_idmac_get_current_buffer(ipu_plane->ipu_ch); ipu_plane_set_base() 83 ipu_cpmem_set_buffer(ipu_plane->ipu_ch, !active, eba); ipu_plane_set_base() 84 ipu_idmac_select_buffer(ipu_plane->ipu_ch, !active); ipu_plane_set_base() 147 * since we cannot touch active IDMAC channels, we do not support ipu_plane_mode_set()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | penmount.c | 47 bool active; /* is the touch valid? */ member in struct:mt_slot 77 pm->slots[i].active); pm_mtevent() 78 if (pm->slots[i].active) { pm_mtevent() 140 pm->slots[slotnum].active = pm->data[0] & 0x30; pm_parse_3000() 156 pm->slots[slotnum].active = pm->data[0] & 0x40; pm_parse_6250()
|
/linux-4.1.27/kernel/ |
H A D | context_tracking.c | 35 if (!per_cpu(context_tracking.active, cpu)) { context_tracking_cpu_set() 36 per_cpu(context_tracking.active, cpu) = true; context_tracking_cpu_set() 79 if (__this_cpu_read(context_tracking.active)) { context_tracking_enter() 103 * OTOH we can spare the calls to vtime and RCU when context_tracking.active context_tracking_enter() 143 if (__this_cpu_read(context_tracking.active)) { context_tracking_exit()
|
/linux-4.1.27/arch/ia64/sn/kernel/ |
H A D | bte_error.c | 23 * interface and multiple interfaces active, we need to wait until 24 * all active crbs are completed. This is the first job of the 66 * there are still BTE CRBs active will hang the BTE. shub1_bte_error_handler() 68 * to the BTE and see if they are still active. When none shub1_bte_error_handler() 69 * are active, we can continue with the cleanup. shub1_bte_error_handler()
|
/linux-4.1.27/net/ipv4/ |
H A D | inet_lro.c | 174 lro_desc->active = 1; lro_init_desc() 258 if (tmp->active) lro_get_desc() 266 if (!lro_arr[i].active) { lro_get_desc() 319 if (!lro_desc->active) { /* start new lro session */ __lro_proc_skb() 370 if (lro_desc[i].active) lro_flush_all()
|
/linux-4.1.27/kernel/time/ |
H A D | hrtimer.c | 320 * - an active object is initialized 338 * - an active object is activated 359 * - an active object is freed 456 next = timerqueue_getnext(&base->active); __hrtimer_get_next_event() 509 * Is the high resolution mode active ? 533 * leave the hang delay active in the hardware. We want the hrtimer_force_reprogram() 852 timerqueue_add(&base->active, &timer->node); enqueue_hrtimer() 861 return (&timer->node == base->active.next); enqueue_hrtimer() 882 next_timer = timerqueue_getnext(&base->active); __remove_hrtimer() 883 timerqueue_del(&base->active, &timer->node); __remove_hrtimer() 897 if (!timerqueue_getnext(&base->active)) __remove_hrtimer() 915 * resolution mode is active and the timer is on the current remove_hrtimer() 946 /* Remove an active timer from the queue: */ __hrtimer_start_range_ns() 1021 * 1 when the timer was active 1039 * 1 when the timer was active 1054 * 0 when the timer was not active 1055 * 1 when the timer was active 1082 * 0 when the timer was not active 1083 * 1 when the timer was active 1279 while ((node = timerqueue_getnext(&base->active))) { hrtimer_interrupt() 1446 if (!timerqueue_getnext(&base->active)) hrtimer_run_queues() 1456 while ((node = timerqueue_getnext(&base->active))) { hrtimer_run_queues() 1624 timerqueue_init_head(&cpu_base->clock_base[i].active); init_hrtimers_cpu() 1639 while ((node = timerqueue_getnext(&old_base->active))) { migrate_hrtimer_list() 1646 * timer could be seen as !active and just vanish away migrate_hrtimer_list()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | mx3_camera.c | 87 * @active: active video buffer 109 struct mx3_camera_buffer *active; member in struct:mx3_camera_dev 149 dev_dbg(chan->device->dev, "callback cookie %d, active DMA 0x%08x\n", mx3_cam_dma_done() 150 desc->txd.cookie, mx3_cam->active ? sg_dma_address(&mx3_cam->active->sg) : 0); mx3_cam_dma_done() 153 if (mx3_cam->active) { mx3_cam_dma_done() 154 struct vb2_buffer *vb = &mx3_cam->active->vb; mx3_cam_dma_done() 165 mx3_cam->active = NULL; mx3_cam_dma_done() 175 mx3_cam->active = list_entry(mx3_cam->capture.next, mx3_cam_dma_done() 333 if (!mx3_cam->active) mx3_videobuf_queue() 334 mx3_cam->active = buf; mx3_videobuf_queue() 350 if (mx3_cam->active == buf) mx3_videobuf_queue() 351 mx3_cam->active = NULL; mx3_videobuf_queue() 369 mx3_cam->active == buf ? " active" : "", sg_dma_address(&buf->sg), mx3_videobuf_release() 374 if (mx3_cam->active == buf) mx3_videobuf_release() 375 mx3_cam->active = NULL; mx3_videobuf_release() 423 mx3_cam->active = NULL; mx3_stop_streaming()
|
/linux-4.1.27/sound/core/oss/ |
H A D | mixer_oss.c | 211 int active = 0; snd_mixer_oss_get_recsrc() local 212 pslot->get_recsrc(fmixer, pslot, &active); snd_mixer_oss_get_recsrc() 213 if (active) snd_mixer_oss_get_recsrc() 225 int chn, active; snd_mixer_oss_set_recsrc() local 241 active = (recsrc & (1 << chn)) ? 1 : 0; snd_mixer_oss_set_recsrc() 242 pslot->put_recsrc(fmixer, pslot, active); snd_mixer_oss_set_recsrc() 249 active = 0; snd_mixer_oss_set_recsrc() 250 pslot->get_recsrc(fmixer, pslot, &active); snd_mixer_oss_set_recsrc() 251 if (active) snd_mixer_oss_set_recsrc() 753 int *active) snd_mixer_oss_get_recsrc1_sw() 760 *active = (left || right) ? 1 : 0; snd_mixer_oss_get_recsrc1_sw() 766 int *active) snd_mixer_oss_get_recsrc1_route() 773 *active = (left || right) ? 1 : 0; snd_mixer_oss_get_recsrc1_route() 779 int active) snd_mixer_oss_put_recsrc1_sw() 783 snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CSWITCH], active, active, 0); snd_mixer_oss_put_recsrc1_sw() 789 int active) snd_mixer_oss_put_recsrc1_route() 793 snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CROUTE], active, active, 1); snd_mixer_oss_put_recsrc1_route() 751 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_sw() argument 764 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_route() argument 777 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_sw() argument 787 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_route() argument
|
/linux-4.1.27/drivers/leds/trigger/ |
H A D | ledtrig-transient.c | 80 /* start timer if there is no active timer */ transient_activate_store() 92 timer is not active - just return */ transient_activate_store() 94 timer is already active - just return */ transient_activate_store()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_vnic.c | 111 dev_info(dev, "id:%d active:%d type:%d port:%d min_bw:%d max_bw:%d mac_addr:%pM\n", qlcnic_83xx_init_mgmt_vnic() 112 npar->pci_func, npar->active, npar->type, qlcnic_83xx_init_mgmt_vnic() 117 dev_info(dev, "Max functions = %d, active functions = %d\n", qlcnic_83xx_init_mgmt_vnic()
|
/linux-4.1.27/drivers/regulator/ |
H A D | wm8400-regulator.c | 57 /* Datasheet: active with or without force PWM */ wm8400_dcdc_get_mode() 72 /* Datasheet: active with force PWM */ wm8400_dcdc_set_mode() 83 /* Datasheet: active */ wm8400_dcdc_set_mode()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_hw.h | 230 CFG_INV_CSYNC = 1 << 5, /* Normally active high */ 232 CFG_INV_VSYNC = 1 << 3, /* Normally active high */ 233 CFG_INV_HSYNC = 1 << 2, /* Normally active high */
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | tlb.c | 57 tb->active = 1; arch_enter_lazy_mmu_mode() 66 tb->active = 0; arch_leave_lazy_mmu_mode() 86 if (!tb->active) { tlb_batch_add_one()
|
/linux-4.1.27/drivers/tty/ |
H A D | sysrq.c | 252 .help_msg = "show-backtrace-all-active-cpus(l)", 253 .action_msg = "Show backtrace of all active CPUs", 587 bool active; member in struct:sysrq_state 750 bool was_active = sysrq->active; sysrq_handle_keypress() 759 if (sysrq->active && code == sysrq->alt_use) sysrq_handle_keypress() 760 sysrq->active = false; sysrq_handle_keypress() 772 sysrq->active = true; sysrq_handle_keypress() 789 if (sysrq->active) sysrq_handle_keypress() 795 if (sysrq->active && value && value != 2) { sysrq_handle_keypress() 802 suppress = sysrq->active; sysrq_handle_keypress() 804 if (!sysrq->active) { sysrq_handle_keypress() 863 suppress = sysrq->active; sysrq_filter()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devices.c | 256 int active = 0; usb_dump_interface_descriptor() local 265 active = (desc == &iface->cur_altsetting->desc); usb_dump_interface_descriptor() 268 active ? '*' : ' ', /* mark active altsetting */ usb_dump_interface_descriptor() 314 * 1. marking active interface altsettings (code lists all, but should mark 315 * which ones are active, if any) 319 int active, int speed) usb_dump_config_descriptor() 330 /* mark active/actual/current cfg. */ usb_dump_config_descriptor() 331 active ? '*' : ' ', usb_dump_config_descriptor() 340 const struct usb_host_config *config, int active) usb_dump_config() 351 start = usb_dump_config_descriptor(start, end, &config->desc, active, usb_dump_config() 445 /* active ? */ usb_dump_desc() 317 usb_dump_config_descriptor(char *start, char *end, const struct usb_config_descriptor *desc, int active, int speed) usb_dump_config_descriptor() argument 339 usb_dump_config(int speed, char *start, char *end, const struct usb_host_config *config, int active) usb_dump_config() argument
|
/linux-4.1.27/drivers/usb/host/ |
H A D | isp1362-hcd.c | 365 WARN_ON(list_empty(&ep->active)); isp1362_read_ptd() 368 list_del_init(&ep->active); isp1362_read_ptd() 369 DBG(1, "%s: ep %p removed from active list %p\n", __func__, ep, &epq->active); isp1362_read_ptd() 674 WARN_ON(list_empty(&ep->active)); finish_unlinks() 675 if (!list_empty(&ep->active)) { finish_unlinks() 676 list_del_init(&ep->active); finish_unlinks() 677 DBG(1, "%s: ep %p removed from active list\n", __func__, ep); finish_unlinks() 729 list_add_tail(&ep->active, &epq->active); submit_req() 730 DBG(1, "%s: ep %p req %d len %d added to active list %p\n", __func__, submit_req() 731 ep, ep->num_req, ep->length, &epq->active); submit_req() 748 DBG(1, "%s: finish_transfers is active for %s\n", __func__, epq->name); start_atl_transfers() 756 if (!list_empty(&ep->active)) { start_atl_transfers() 757 DBG(2, "%s: Skipping active %s ep %p\n", __func__, epq->name, ep); start_atl_transfers() 800 DBG(1, "%s: finish_transfers is active for %s\n", __func__, epq->name); start_intl_transfers() 808 if (!list_empty(&ep->active)) { start_intl_transfers() 809 DBG(1, "%s: Skipping active %s ep %p\n", __func__, start_intl_transfers() 867 DBG(1, "%s: finish_transfers is active for %s\n", __func__, epq->name); start_iso_transfers() 871 if (!list_empty(&epq->active)) start_iso_transfers() 901 list_add_tail(&ep->active, &epq->active); start_iso_transfers() 911 list_for_each_entry(ep, &epq->active, active) { start_iso_transfers() 912 if (epq->active.next == &ep->active) start_iso_transfers() 941 if (list_empty(&epq->active)) { finish_transfers() 949 list_for_each_entry_safe(ep, tmp, &epq->active, active) { finish_transfers() 962 DBG(1, "%s: ep %p req %d removed from active list\n", __func__, finish_transfers() 986 if (list_empty(&epq->active)) { finish_iso_transfers() 994 list_for_each_entry_safe(ep, tmp, &epq->active, active) { finish_iso_transfers() 1036 if (list_empty(&isp1362_hcd->atl_queue.active)) { isp1362_irq() 1275 INIT_LIST_HEAD(&ep->active); isp1362_urb_enqueue() 1421 if (!list_empty(&ep->active)) { isp1362_urb_dequeue() 1422 DBG(1, "%s: urb %p ep %p req %d active PTD[%d] $%04x\n", __func__, isp1362_urb_dequeue() 1434 DBG(1, "%s: urb %p active; wait4irq\n", __func__, urb); isp1362_urb_dequeue() 1458 if (!list_empty(&ep->active) && list_empty(&ep->remove_list)) { isp1362_endpoint_disable() 1466 /* Wait for interrupt to clear out active list */ isp1362_endpoint_disable() 1467 while (!list_empty(&ep->active)) isp1362_endpoint_disable() 1761 if (!list_empty(&isp1362_hcd->atl_queue.active) || isp1362_bus_suspend() 1762 !list_empty(&isp1362_hcd->intl_queue.active) || isp1362_bus_suspend() 1763 !list_empty(&isp1362_hcd->istl_queue[0] .active) || isp1362_bus_suspend() 1764 !list_empty(&isp1362_hcd->istl_queue[1] .active)) { isp1362_bus_suspend() 2260 INIT_LIST_HEAD(&isp1362_hcd->istl_queue[i].active); isp1362_mem_config() 2276 INIT_LIST_HEAD(&isp1362_hcd->intl_queue.active); isp1362_mem_config() 2292 INIT_LIST_HEAD(&isp1362_hcd->atl_queue.active); isp1362_mem_config()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mddi.c | 260 uint32_t active, status; mddi_isr() local 264 active = mddi_readl(INT); mddi_isr() 267 mddi_writel(active, INT); mddi_isr() 270 active &= mddi->int_enable; mddi_isr() 272 mddi->got_int |= active; mddi_isr() 275 if (active & MDDI_INT_PRI_LINK_LIST_DONE) { mddi_isr() 279 if (active & MDDI_INT_REV_DATA_AVAIL) mddi_isr() 282 if (active & ~MDDI_INT_NEED_CLEAR) mddi_isr() 283 mddi->int_enable &= ~(active & ~MDDI_INT_NEED_CLEAR); mddi_isr() 285 if (active & MDDI_INT_LINK_ACTIVE) { mddi_isr() 290 if (active & MDDI_INT_IN_HIBERNATION) { mddi_isr() 470 /* link must be active when this is called */ mddi_check_status()
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_umount.c | 118 * consistent state) and log superblock active file system jfs_umount() 127 * remove file system from log active file system list. jfs_umount() 147 * remove file system from log active file system list. jfs_umount_rw()
|
/linux-4.1.27/include/soc/at91/ |
H A D | at91sam9_ddrsdr.h | 63 #define AT91_DDRSDRC_TMRD (0xf << 28) /* Load mode to active/refresh delay */ 72 #define AT91_DDRSDRC_TXARD (0xf << 0) /* Exit active power down delay to read command in mode "Fast Exit" */ 73 #define AT91_DDRSDRC_TXARDS (0xf << 4) /* Exit active power down delay to read command in mode "Slow Exit" */
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | thread_info.h | 111 #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 114 #define TIF_SINGLESTEP 4 /* singlestepping active */ 115 #define TIF_SYSCALL_AUDIT 5 /* syscall auditing active */
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | mmu_context.h | 68 * TCR.T0SZ value to use when the ID map is active. Usually equals 174 * mm: describes the currently active mm context 199 * active for kernel addresses in TTBR1. Just set the reserved TTBR0. switch_mm()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
H A D | rd88f5182-setup.c | 81 * Use GPIO LED as CPU active indication 229 MPP14_SATA_LED, /* SATA 0 active */ 230 MPP15_SATA_LED, /* SATA 1 active */
|