Searched refs:online (Results 26 - 50 of 157) sorted by relevance

1234567

/linux-master/drivers/power/supply/
H A Dpm8916_lbc.c64 bool online; member in struct:pm8916_lbc_charger
131 val->intval = chg->online;
189 chg->online = !!(tmp & PM8916_LBC_USB_USBIN_VALID);
190 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online);
347 chg->online = !!(tmp & PM8916_LBC_USB_USBIN_VALID);
348 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online);
H A Drn5t618_power.c441 bool online; local
448 online = !!(chgstate & CHG_STATE_ADP_INPUT);
452 val->intval = online;
455 if (!online) {
561 bool online; local
568 online = !!(chgstate & CHG_STATE_USB_INPUT);
572 val->intval = online;
575 if (!online) {
585 if (!online || (info->rn5t618->variant != RC5T619))
H A Disp1704_charger.c57 unsigned online:1; member in struct:isp1704_charger
206 } while (!time_after(jiffies, timeout) && isp->online);
235 isp->online = true;
266 isp->online = false;
315 val->intval = isp->online;
H A Drt5033_charger.c37 bool online; member in struct:rt5033_charger
378 if (charger->online)
379 charger->online = false;
432 charger->online = true;
499 if (charger->online)
500 charger->online = false;
544 val->intval = charger->online;
H A Dbq25890_charger.c97 u8 online; member in struct:bq25890_state
478 do_adc_conv = (!state->online || state->hiz) && bq25890_is_adc_property(psp);
500 if (!state.online || state.hiz)
515 if (!state.online || state.hiz ||
536 val->intval = state.online && !state.hiz;
791 {F_PG_STAT, &state->online},
809 state->chrg_status, state->online,
834 if (new_state.online && !bq->state.online && bq->force_hiz) {
842 adc_conv_rate = bq->state.online
[all...]
H A Dqcom_battmgr.c196 * BIT(0) power online
262 bool online; member in struct:qcom_battmgr_ac
266 bool online; member in struct:qcom_battmgr_usb
276 bool online; member in struct:qcom_battmgr_wireless
694 val->intval = battmgr->ac.online;
762 val->intval = battmgr->usb.online;
881 val->intval = battmgr->wireless.online;
1057 battmgr->ac.online = source == BATTMGR_CHARGING_SOURCE_AC;
1058 battmgr->usb.online = source == BATTMGR_CHARGING_SOURCE_USB;
1059 battmgr->wireless.online
[all...]
/linux-master/arch/mips/kernel/
H A Dpm-cps.c27 * @online: the count of online coupled VPEs
39 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
57 /* Indicates online CPUs coupled with the current CPU */
78 static void coupled_barrier(atomic_t *a, unsigned online) argument
92 while (atomic_read(a) < online)
95 if (atomic_inc_return(a) == online * 2) {
100 while (atomic_read(a) > online)
108 unsigned online, left; local
121 /* Calculate which coupled CPUs (VPEs) are online */
161 coupled_barrier(&per_cpu(pm_barrier, core), online); local
[all...]
/linux-master/include/trace/events/
H A Dirq_matrix.h75 __field( bool, online )
88 __entry->online = cmap->online;
98 TP_printk("bit=%d cpu=%u online=%d avl=%u alloc=%u managed=%u online_maps=%u global_avl=%u, global_rsvd=%u, total_alloc=%u",
99 __entry->bit, __entry->cpu, __entry->online,
/linux-master/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh58 hotpluggable_memory online
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
73 echo online > $SYSFS/devices/system/memory/memory$1/state
103 echo $FUNCNAME $memory: unexpected online >&2
187 echo -e "\t online all hot-pluggable memory in offline state:"
190 echo "offline->online memory$memory"
204 echo -e "\t offline $ratio% hot-pluggable memory in online state"
208 echo "online->offline memory$memory"
226 echo -e "\t online all hot-pluggable memory in offline state:"
229 echo "offline->online memor
[all...]
/linux-master/include/linux/
H A Dhrtimer_defs.h88 * @online: CPU is online from an hrtimers point of view
112 online : 1; member in struct:hrtimer_cpu_base
/linux-master/tools/testing/selftests/power_supply/
H A Dtest_power_supply_properties.sh63 test_sysfs_prop_optional_range online 0 2
/linux-master/drivers/s390/crypto/
H A Dzcrypt_cex4.c89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online);
123 &ci, zq->online);
219 ep11_get_card_info(ac->id, &ci, zc->online);
240 ep11_get_card_info(ac->id, &ci, zc->online);
263 ep11_get_card_info(ac->id, &ci, zc->online);
301 ep11_get_card_info(ac->id, &ci, zc->online);
348 if (zq->online)
395 if (zq->online)
593 zc->online = 1;
679 zq->online
[all...]
/linux-master/drivers/staging/fieldbus/
H A Ddev_core.c31 return sysfs_emit(buf, "%d\n", !!fb->online);
33 static DEVICE_ATTR_RO(online);
237 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online) argument
239 fb->online = online;
/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c52 descr->online = false;
99 copy_descr->online = true;
235 if (pipe->stream->config.online) {
236 preview_descr->online = pipe->stream->config.online;
355 if (pipe->stream->config.online) {
356 video_descr->online = pipe->stream->config.online;
578 if (pipe->stream->config.online &&
580 prim_descr->online
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dvirtual_isys.c75 bool online,
319 cfg->online,
572 bool online,
577 if (online)
578 buf->lines = 4; /* use double buffering for online usecases */
706 cfg->online = isys_cfg->online;
733 if (cfg->online) {
777 /* only online/sensor mode goto vmem
779 if (isys_cfg->online)
567 acquire_ib_buffer( s32 bits_per_pixel, s32 pixels_per_line, s32 lines_per_frame, s32 align_in_bytes, bool online, isp2401_ib_buffer_t *buf) argument
[all...]
/linux-master/drivers/staging/fieldbus/anybuss/
H A Danybuss-client.h29 void (*on_online_changed)(struct anybuss_client *client, bool online);
/linux-master/drivers/xen/
H A Dpcpu.c57 * - XEN_PCPU_FLAGS_ONLINE: cpu is online
137 static DEVICE_ATTR_RW(online);
394 bool online = false; local
399 online = pcpu->flags & XEN_PCPU_FLAGS_ONLINE;
404 return online;
/linux-master/block/
H A Dblk-cgroup-rwstat.c91 * online descendants and their aux counts. The caller must be holding the
92 * queue lock for online tests.
111 if (!pos_blkg->online)
/linux-master/arch/arc/kernel/
H A Dmcip.c23 * Set mask to halt GFRC if any online core in SMP cluster is halted.
88 /* Update GFRC halt mask as new CPU came online */
92 /* Update MCIP debug mask as new CPU came online */
268 cpumask_t online; local
272 /* errout if no online cpu per @cpumask */
273 if (!cpumask_and(&online, cpumask, cpu_online_mask))
278 destination_bits = cpumask_bits(&online)[0];
319 * By default send all common interrupts to all available online CPUs.
/linux-master/drivers/ata/
H A Dahci_xgene.c304 * @online: Return value to indicate if device online
348 unsigned long deadline, bool *online)
367 rc = sata_link_hardreset(link, timing, deadline, online,
369 if (*online) {
393 bool online; local
410 rc = xgene_ahci_do_hardreset(link, deadline, &online);
421 if (online)
347 xgene_ahci_do_hardreset(struct ata_link *link, unsigned long deadline, bool *online) argument
H A Dahci_qoriq.c100 bool online; local
127 rc = sata_link_hardreset(link, timing, deadline, &online,
143 if (online)
/linux-master/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c640 bool online,
755 if (online)
797 binary->online = online;
931 bool online; local
964 online = descr->online;
1165 if (online && candidate->input.source == IA_CSS_BINARY_INPUT_MEMORY) {
1168 __LINE__, online, candidate->input.source,
1172 if (!online
639 ia_css_binary_fill_info(const struct ia_css_binary_xinfo *xinfo, bool online, bool two_ppc, enum atomisp_input_format stream_format, const struct ia_css_frame_info *in_info, const struct ia_css_frame_info *bds_out_info, const struct ia_css_frame_info *out_info[], const struct ia_css_frame_info *vf_info, struct ia_css_binary *binary, struct ia_css_resolution *dvs_env, int stream_config_left_padding, bool accelerator) argument
[all...]
/linux-master/fs/afs/
H A Dafs.h178 u8 online; /* true if volume currently online and available */ member in struct:afs_volume_status
/linux-master/drivers/s390/cio/
H A Dccwgroup.c52 * This function attempts to put the ccwgroup device into the online state.
146 int online; local
148 online = (gdev->state == CCWGROUP_ONLINE) ? 1 : 0;
150 return scnprintf(buf, PAGE_SIZE, "%d\n", online);
174 /* Prevent concurrent online/offline processing and ungrouping. */
195 static DEVICE_ATTR(online, 0644, ccwgroup_online_show, ccwgroup_online_store);
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h113 bool online; /** offline will activate RAW copy on SP, use this for member in struct:ia_css_stream_config
155 stream_config->online = true;

Completed in 237 milliseconds

1234567