/drivers/s390/crypto/ |
D | zcrypt_queue.c | 45 int online = aq->config && zq->online ? 1 : 0; in online_show() local 47 return scnprintf(buf, PAGE_SIZE, "%d\n", online); in online_show() 57 int online; in online_store() local 59 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1) in online_store() 62 if (online && (!aq->config || !aq->card->config)) 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() 72 ap_send_online_uevent(&aq->ap_dev, online); in online_store() 74 if (!online) in online_store() [all …]
|
D | zcrypt_card.c | 55 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() 79 ZCRYPT_DBF_INFO("%s card=%02x online=%d\n", __func__, id, 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() [all …]
|
D | zcrypt_cex4.c | 89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 123 &ci, zq->online); in cca_mkvps_show() 228 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show() 249 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show() 272 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show() 306 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show() 353 if (zq->online) in ep11_mkvps_show() 400 if (zq->online) in ep11_queue_op_modes_show() 599 zc->online = 1; in zcrypt_cex4_card_probe() 685 zq->online = 1; in zcrypt_cex4_queue_probe()
|
D | zcrypt_api.h | 95 int online; /* User online/offline */ member 114 int online; /* User online/offline */ member 148 bool zcrypt_queue_force_online(struct zcrypt_queue *zq, int online);
|
D | zcrypt_msgtype6.c | 638 zq->online = 0; in convert_type86_ica() 647 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_type86_ica() 803 zq->online = 0; in convert_response_ica() 812 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ica() 838 zq->online = 0; in convert_response_xcrb() 847 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_xcrb() 868 zq->online = 0; in convert_response_ep11_xcrb() 877 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_ep11_xcrb() 899 zq->online = 0; in convert_response_rng() 908 ap_send_online_uevent(&zq->queue->ap_dev, zq->online); in convert_response_rng()
|
D | zcrypt_cex2c.c | 76 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 110 &ci, zq->online); in cca_mkvps_show() 286 zc->online = 1; in zcrypt_cex2c_card_probe() 343 zq->online = 1; in zcrypt_cex2c_queue_probe()
|
D | zcrypt_api.c | 718 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rsa_modexpo() 738 if (!zq->online || !zq->ops->rsa_modexpo || in zcrypt_rsa_modexpo() 828 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rsa_crt() 848 if (!zq->online || !zq->ops->rsa_modexpo_crt || in zcrypt_rsa_crt() 953 if (!zc->online || !zc->card->config || zc->card->chkstop || in _zcrypt_send_cprb() 976 if (!zq->online || !zq->ops->send_cprb || in _zcrypt_send_cprb() 1137 if (!zc->online || !zc->card->config || zc->card->chkstop || in _zcrypt_send_ep11_cprb() 1160 if (!zq->online || !zq->ops->send_ep11_cprb || in _zcrypt_send_ep11_cprb() 1250 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rng() 1259 if (!zq->online || !zq->ops->rng || in zcrypt_rng() [all …]
|
/drivers/power/supply/ |
D | 88pm860x_charger.c | 107 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() 323 if (info->online && info->present && info->allowed) { in set_charging_fsm() 344 if (info->online && info->present && info->allowed) { in set_charging_fsm() 355 if (info->online && info->present && info->allowed) { in set_charging_fsm() 366 if (info->online && info->present && info->allowed) { in set_charging_fsm() 377 else if (vbatt > CHARGE_THRESHOLD && info->online) in set_charging_fsm() 389 (info->online) ? "online" : "N/A", in set_charging_fsm() 408 info->online = 1; in pm860x_charger_handler() [all …]
|
D | tps65217_charger.c | 35 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()
|
D | power_supply_leds.c | 116 union power_supply_propval online; in power_supply_update_gen_leds() local 118 if (power_supply_get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online)) in power_supply_update_gen_leds() 121 dev_dbg(&psy->dev, "%s %d\n", __func__, online.intval); in power_supply_update_gen_leds() 123 if (online.intval) in power_supply_update_gen_leds()
|
D | max14656_charger_detector.c | 86 int online; member 152 chip->online = 1; in max14656_irq_worker() 154 chip->online = 0; in max14656_irq_worker() 216 val->intval = chip->online; in max14656_get_property() 263 chip->online = 0; in max14656_probe()
|
D | rn5t618_power.c | 442 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()
|
D | bq25890_charger.c | 97 u8 online; member 470 do_adc_conv = !state.online && bq25890_is_adc_property(psp); in bq25890_power_supply_get_property() 481 if (!state.online) in bq25890_power_supply_get_property() 496 if (!state.online || state.chrg_status == STATUS_NOT_CHARGING || in bq25890_power_supply_get_property() 516 val->intval = state.online; in bq25890_power_supply_get_property() 549 if (!state.online) { in bq25890_power_supply_get_property() 691 {F_PG_STAT, &state->online}, in bq25890_get_chip_state() 708 state->chrg_status, state->online, state->vsys_status, in bq25890_get_chip_state() 727 if (!new_state.online && bq->state.online) { /* power removed */ in __bq25890_handle_irq() 732 } else if (new_state.online && !bq->state.online) { /* power inserted */ in __bq25890_handle_irq() [all …]
|
D | isp1704_charger.c | 57 unsigned online:1; member 206 } while (!time_after(jiffies, timeout) && isp->online); in isp1704_charger_detect() 235 isp->online = true; in isp1704_charger_work() 266 isp->online = false; in isp1704_charger_work() 315 val->intval = isp->online; in isp1704_charger_get_property()
|
/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
D | pipe_binarydesc.c | 50 descr->online = false; in pipe_binarydesc_get_offline() 97 copy_descr->online = true; in ia_css_pipe_get_copy_binarydesc() 244 if (pipe->stream->config.online) { in ia_css_pipe_get_preview_binarydesc() 245 preview_descr->online = pipe->stream->config.online; in ia_css_pipe_get_preview_binarydesc() 364 if (pipe->stream->config.online) { in ia_css_pipe_get_video_binarydesc() 365 video_descr->online = pipe->stream->config.online; in ia_css_pipe_get_video_binarydesc() 587 if (pipe->stream->config.online && in ia_css_pipe_get_primary_binarydesc() 589 prim_descr->online = true; in ia_css_pipe_get_primary_binarydesc() 722 if (pipe->stream->config.online) { in ia_css_pipe_get_pre_de_binarydesc() 723 pre_de_descr->online = true; in ia_css_pipe_get_pre_de_binarydesc() [all …]
|
/drivers/staging/fieldbus/ |
D | fieldbus_dev.h | 67 bool online; member 99 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online); 111 bool online) {} in fieldbus_dev_online_changed() argument
|
D | dev_core.c | 31 return sprintf(buf, "%d\n", !!fb->online); in online_show() 33 static DEVICE_ATTR_RO(online); 241 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online) in fieldbus_dev_online_changed() argument 243 fb->online = online; in fieldbus_dev_online_changed()
|
/drivers/staging/media/atomisp/pci/runtime/binary/interface/ |
D | ia_css_binary.h | 83 bool online; member 135 bool online; member 160 bool online,
|
/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 76 bool online, 326 cfg->online, in create_input_system_channel() 586 bool online, in acquire_ib_buffer() argument 591 if (online) in acquire_ib_buffer() 733 cfg->online = isys_cfg->online; in calculate_ibuf_ctrl_cfg() 760 if (cfg->online) { in calculate_ibuf_ctrl_cfg() 806 if (isys_cfg->online) in calculate_isys2401_dma_cfg()
|
/drivers/xen/ |
D | pcpu.c | 134 static DEVICE_ATTR_RW(online); 391 bool online = false; in xen_processor_present() local 396 online = pcpu->flags & XEN_PCPU_FLAGS_ONLINE; in xen_processor_present() 401 return online; in xen_processor_present()
|
/drivers/staging/fieldbus/Documentation/ABI/ |
D | sysfs-class-fieldbus-dev | 40 What: /sys/class/fieldbus_dev/fieldbus_devX/online 44 Whether the fieldbus is online or offline. 46 '1' meaning 'online'
|
/drivers/ata/ |
D | ahci_da850.c | 119 bool online; in ahci_da850_hardreset() local 130 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset() 131 if (online) in ahci_da850_hardreset()
|
D | ahci_xgene.c | 351 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument 370 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset() 372 if (*online) { in xgene_ahci_do_hardreset() 396 bool online; in xgene_ahci_hardreset() local 413 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset() 424 if (online) in xgene_ahci_hardreset()
|
/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 653 bool online, in ia_css_binary_fill_info() argument 768 if (online) in ia_css_binary_fill_info() 810 binary->online = online; in ia_css_binary_fill_info() 944 bool online; in __ia_css_binary_find() local 977 online = descr->online; in __ia_css_binary_find() 1178 if (online && candidate->input.source == IA_CSS_BINARY_INPUT_MEMORY) { in __ia_css_binary_find() 1181 __LINE__, online, candidate->input.source, in __ia_css_binary_find() 1185 if (!online && candidate->input.source == IA_CSS_BINARY_INPUT_SENSOR) { in __ia_css_binary_find() 1188 __LINE__, online, candidate->input.source, in __ia_css_binary_find() 1294 err = ia_css_binary_fill_info(xcandidate, online, two_ppc, in __ia_css_binary_find()
|
/drivers/staging/media/atomisp/pci/ |
D | isp2401_input_system_global.h | 109 bool online; member 157 u8 online; member
|