Home
last modified time | relevance | path

Searched refs:online (Results 1 – 25 of 251) sorted by relevance

1234567891011

/linux/drivers/s390/crypto/
A Dzcrypt_queue.c45 int online = aq->config && zq->online ? 1 : 0; in online_show() local
57 int online; in online_store() local
59 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
64 if (online && !zc->online) in online_store()
66 zq->online = online; in online_store()
70 AP_QID_QUEUE(zq->queue->qid), online); in online_store()
74 if (!online) in online_store()
79 static DEVICE_ATTR_RW(online);
104 if (!!zq->online != !!online) { in zcrypt_queue_force_online()
105 zq->online = online; in zcrypt_queue_force_online()
[all …]
A Dzcrypt_card.c55 int online = ac->config && zc->online ? 1 : 0; in online_show() local
57 return scnprintf(buf, PAGE_SIZE, "%d\n", online); in online_show()
67 int online, id, i = 0, maxzqs = 0; in online_store() local
70 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store()
73 if (online && !ac->config) in online_store()
76 zc->online = online; in online_store()
81 ap_send_online_uevent(&ac->ap_dev, online); in online_store()
95 if (zcrypt_queue_force_online(zq, online)) in online_store()
104 ap_send_online_uevent(&zq->queue->ap_dev, online); in online_store()
113 static DEVICE_ATTR_RW(online);
[all …]
A Dzcrypt_cex4.c85 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show()
119 &ci, zq->online); in cca_mkvps_show()
196 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show()
217 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show()
240 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show()
274 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show()
321 if (zq->online) in ep11_mkvps_show()
366 if (zq->online) in ep11_queue_op_modes_show()
538 zc->online = 1; in zcrypt_cex4_card_probe()
624 zq->online = 1; in zcrypt_cex4_queue_probe()
/linux/Documentation/translations/zh_CN/core-api/
A Dcpu_hotplug.rst244 138: mm/vmscan:online
245 139: mm/vmstat:online
246 140: lib/percpu_cnt:online
247 141: acpi/cpu-drv:online
248 142: base/cacheinfo:online
249 143: virtio/net:online
250 144: x86/mce:online
251 145: printk:online
253 169: online
335 elif [ "${ACTION}" = "online" ]
[all …]
/linux/tools/testing/selftests/cpu-hotplug/
A Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
96 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
120 echo $FUNCNAME $cpu: unexpected online >&2
/linux/Documentation/core-api/
A Dcpu_hotplug.rst36 other CPUs later online.
125 bring CPU4 back online::
649 138: mm/vmscan:online
650 139: mm/vmstat:online
651 140: lib/percpu_cnt:online
652 141: acpi/cpu-drv:online
654 143: virtio/net:online
655 144: x86/mce:online
656 145: printk:online
658 169: online
[all …]
A Dmemory-hotplug.rst23 Generated when memory has successfully brought online. The callback may
63 - start_pfn is start_pfn of online/offline memory.
64 - nr_pages is # of pages of online/offline memory.
68 set/clear. It means a new(memoryless) node gets new memory by online and a
92 - synchronize against online/offline requests (e.g. via sysfs). This way, memory
93 block devices can only be accessed (.online/.state attributes) by user
99 device_hotplug_lock when adding memory and user space tries to online that
/linux/drivers/power/supply/
A D88pm860x_charger.c107 unsigned online:1; /* usb charger */ member
274 if (vbatt > CHARGE_THRESHOLD && info->online) in stop_charge()
317 (info->online) ? "online" : "N/A", in set_charging_fsm()
389 (info->online) ? "online" : "N/A", in set_charging_fsm()
408 info->online = 1; in pm860x_charger_handler()
411 info->online = 0; in pm860x_charger_handler()
529 if (info->present && info->online) in pm860x_vbattery_handler()
552 if (!info->online) { in pm860x_vchg_handler()
606 val->intval = info->online; in pm860x_usb_get_prop()
630 info->online = 1; in pm860x_init_charger()
[all …]
A Dtps65217_charger.c35 int online; member
84 if (charger->online) in tps65217_enable_charging()
99 charger->online = 1; in tps65217_enable_charging()
111 val->intval = charger->online; in tps65217_charger_get_property()
122 charger->prev_online = charger->online; in tps65217_charger_irq()
142 charger->online = 0; in tps65217_charger_irq()
145 if (charger->prev_online != charger->online) in tps65217_charger_irq()
A Dbq25890_charger.c91 u8 online; member
413 do_adc_conv = !state.online && bq25890_is_adc_property(psp); in bq25890_power_supply_get_property()
424 if (!state.online) in bq25890_power_supply_get_property()
459 val->intval = state.online; in bq25890_power_supply_get_property()
480 if (!state.online) { in bq25890_power_supply_get_property()
548 {F_PG_STAT, &state->online}, in bq25890_get_chip_state()
564 state->chrg_status, state->online, state->vsys_status, in bq25890_get_chip_state()
582 if (!new_state.online && bq->state.online) { /* power removed */ in __bq25890_handle_irq()
587 } else if (new_state.online && !bq->state.online) { /* power inserted */ in __bq25890_handle_irq()
692 ret = bq25890_field_write(bq, F_CONV_RATE, !!bq->state.online); in bq25890_hw_init()
[all …]
A Dpower_supply_leds.c115 union power_supply_propval online; in power_supply_update_gen_leds() local
117 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds()
120 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds()
122 if (online.intval) in power_supply_update_gen_leds()
A Dmax14656_charger_detector.c85 int online; member
151 chip->online = 1; in max14656_irq_worker()
153 chip->online = 0; in max14656_irq_worker()
215 val->intval = chip->online; in max14656_get_property()
270 chip->online = 0; in max14656_probe()
A Drn5t618_power.c442 bool online; in rn5t618_adp_get_property() local
449 online = !!(chgstate & CHG_STATE_ADP_INPUT); in rn5t618_adp_get_property()
453 val->intval = online; in rn5t618_adp_get_property()
456 if (!online) { in rn5t618_adp_get_property()
562 bool online; in rn5t618_usb_get_property() local
569 online = !!(chgstate & CHG_STATE_USB_INPUT); in rn5t618_usb_get_property()
573 val->intval = online; in rn5t618_usb_get_property()
576 if (!online) { in rn5t618_usb_get_property()
586 if (!online || (info->rn5t618->variant != RC5T619)) in rn5t618_usb_get_property()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dperf_buffer.c55 bool *online; in serial_test_perf_buffer() local
62 &online, &on_len); in serial_test_perf_buffer()
67 if (online[i]) in serial_test_perf_buffer()
97 if (i >= on_len || !online[i]) { in serial_test_perf_buffer()
120 if (i >= on_len || !online[i]) in serial_test_perf_buffer()
148 free(online); in serial_test_perf_buffer()
A Draw_tp_test_run.c18 bool *online = NULL; in test_raw_tp_test_run() local
25 err = parse_cpu_mask_file("/sys/devices/system/cpu/online", &online, in test_raw_tp_test_run()
63 if (!online[i]) in test_raw_tp_test_run()
95 free(online); in test_raw_tp_test_run()
/linux/Documentation/admin-guide/
A Dcputopology.rst64 offline: CPUs that are not online because they have been
69 online: CPUs that are online and being scheduled [cpu_online_mask]
72 brought online if they are present. [cpu_possible_mask]
83 being 32. Note also that CPUs 2 and 4-31 are not online but could be
84 brought online as they are both present and possible::
88 online: 0-1,3
95 online.)::
99 online: 0-1,3
/linux/Documentation/ABI/testing/
A Dsysfs-devices-online1 What: /sys/devices/.../online
5 The /sys/devices/.../online attribute is only present for
6 devices whose bus types provide .online() and .offline()
13 this file, the device bus type's .online() callback is executed
20 type's .online() is exeucted successfully.
A Dsysfs-devices-system-xen_cpu12 What: /sys/devices/system/xen_cpu/xen_cpu#/online
16 Interface to online/offline Xen physical cpus
19 to online/offline physical cpus, except cpu0 due to several
A Dsysfs-devices-memory47 is read-write. When read, it returns the online/offline
49 the online/offline state of a memory block using the following
52 # echo online > /sys/devices/system/memory/memoryX/state
60 reading the file will return "online"; the zone information
77 For online memory blocks, it returns in which zone memory
85 the state of an offline memory block to "online". Only one of
/linux/kernel/irq/
A Dmatrix.c19 bool online; member
82 BUG_ON(cm->online); in irq_matrix_online()
90 cm->online = true; in irq_matrix_online()
105 cm->online = false; in irq_matrix_offline()
140 if (!cm->online || cm->available <= maxavl) in matrix_find_best_cpu()
161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
222 if (cm->online) { in irq_matrix_reserve_managed()
272 if (cm->online) { in irq_matrix_remove_managed()
433 if (cm->online) in irq_matrix_free()
438 if (cm->online) in irq_matrix_free()
/linux/Documentation/s390/
A Ddriver-model.rst49 online:
50 An interface to set the device online and offline.
77 via the 'online' interface.
93 int online;
161 activated via the 'online' attribute. The driver should finally
171 verified that the device is not already online.
185 verified that the device is online.
194 * In online state, device detached (CIO_GONE) or last path gone
279 - Can be 'online' or 'offline'.
280 Piping 'on' or 'off' sets the chpid logically online/offline.
[all …]
/linux/arch/mips/kernel/
A Dpm-cps.c38 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
84 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument
98 while (atomic_read(a) < online) in coupled_barrier()
101 if (atomic_inc_return(a) == online * 2) { in coupled_barrier()
106 while (atomic_read(a) > online) in coupled_barrier()
114 unsigned online, left; in cps_pm_enter_state() local
132 online = cpumask_weight(coupled_mask); in cps_pm_enter_state()
138 online = 1; in cps_pm_enter_state()
167 coupled_barrier(&per_cpu(pm_barrier, core), online); in cps_pm_enter_state()
170 left = entry(online, nc_core_ready_count); in cps_pm_enter_state()
[all …]
/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
A Dpipe_binarydesc.c50 descr->online = false; in pipe_binarydesc_get_offline()
98 copy_descr->online = true; in ia_css_pipe_get_copy_binarydesc()
245 if (pipe->stream->config.online) { in ia_css_pipe_get_preview_binarydesc()
246 preview_descr->online = pipe->stream->config.online; in ia_css_pipe_get_preview_binarydesc()
365 if (pipe->stream->config.online) { in ia_css_pipe_get_video_binarydesc()
366 video_descr->online = pipe->stream->config.online; in ia_css_pipe_get_video_binarydesc()
592 if (pipe->stream->config.online && in ia_css_pipe_get_primary_binarydesc()
594 prim_descr->online = true; in ia_css_pipe_get_primary_binarydesc()
736 if (pipe->stream->config.online) { in ia_css_pipe_get_pre_de_binarydesc()
737 pre_de_descr->online = true; in ia_css_pipe_get_pre_de_binarydesc()
[all …]
/linux/drivers/staging/fieldbus/
A Dfieldbus_dev.h67 bool online; member
99 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online);
111 bool online) {} in fieldbus_dev_online_changed() argument
/linux/Documentation/admin-guide/mm/
A Dmemory-hotplug.rst142 make use of that memory: the memory block has to be "online".
162 % echo online > /sys/devices/system/memory/memoryXXX/state
166 % echo 1 > /sys/devices/system/memory/memoryXXX/online
191 The configured auto-online behavior can be observed via::
237 % echo 0 > /sys/devices/system/memory/memoryXXX/online
259 % cat /sys/device/system/memory/memoryXXX/online
399 using the ``contig-zones`` online policy. When
443 online policy was configured and memory was
444 online, the policy should not be changed
488 online policy. Whether the ratio applies only
[all …]

Completed in 771 milliseconds

1234567891011