Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 25 of 49) sorted by relevance

12

/drivers/power/supply/
D88pm860x_charger.c109 unsigned allowed:1; member
318 (info->present) ? "present" : "N/A", info->allowed); 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()
390 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm()
409 info->allowed = 1; in pm860x_charger_handler()
412 info->allowed = 0; in pm860x_charger_handler()
416 (info->online) ? "online" : "N/A", info->allowed); in pm860x_charger_handler()
[all …]
/drivers/usb/core/
Durb.c373 unsigned int allowed; in usb_submit_urb() local
506 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
512 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
516 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
519 allowed |= URB_ISO_ASAP; in usb_submit_urb()
522 allowed &= urb->transfer_flags; in usb_submit_urb()
525 if (allowed != urb->transfer_flags) in usb_submit_urb()
527 urb->transfer_flags, allowed); in usb_submit_urb()
DKconfig81 allowed to support only a limited number of peripherals.
88 external hubs. OTG hosts are allowed to reduce hardware
/drivers/char/
Dmem.c147 int allowed, probe; in read_mem() local
152 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
153 if (!allowed) in read_mem()
157 if (allowed == 2) { in read_mem()
227 int allowed; in write_mem() local
231 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
232 if (!allowed) in write_mem()
236 if (allowed == 1) { in write_mem()
/drivers/media/rc/
Drc-main.c1108 u64 allowed, enabled; in show_protocols() local
1115 allowed = dev->allowed_protocols; in show_protocols()
1116 if (dev->raw && !allowed) in show_protocols()
1117 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1122 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1125 if (allowed & enabled & proto_names[i].type) in show_protocols()
1127 else if (allowed & proto_names[i].type) in show_protocols()
1130 if (allowed & proto_names[i].type) in show_protocols()
1131 allowed &= ~proto_names[i].type; in show_protocols()
1499 u64 allowed; in show_wakeup_protocols() local
[all …]
/drivers/usb/usbip/
Dstub_rx.c396 unsigned int allowed; in masking_bogus_flags() local
423 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags()
428 allowed |= URB_ZERO_PACKET; in masking_bogus_flags()
432 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags()
435 allowed |= URB_ISO_ASAP; in masking_bogus_flags()
438 urb->transfer_flags &= allowed; in masking_bogus_flags()
/drivers/usb/mon/
DKconfig13 If unsure, say Y, if allowed, otherwise M.
/drivers/media/dvb-frontends/drx39xyj/
Ddrx_dap_fasi.h98 #error At least one of short- or long-addressing format must be allowed.
/drivers/net/wireless/marvell/libertas/
Dcmd.c1405 int allowed = 1; in lbs_ps_confirm_sleep() local
1409 allowed = 0; in lbs_ps_confirm_sleep()
1415 allowed = 0; in lbs_ps_confirm_sleep()
1421 allowed = 0; in lbs_ps_confirm_sleep()
1426 if (allowed) { in lbs_ps_confirm_sleep()
/drivers/scsi/
Dscsi_error.c122 if (cmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_cmd_retry_allowed()
125 return ++cmd->retries <= cmd->allowed; in scsi_cmd_retry_allowed()
686 scmd->retries < scmd->allowed) { in scsi_check_sense()
1337 if (scmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_eh_get_sense()
1338 scmd->retries = scmd->allowed = 1; in scsi_eh_get_sense()
1340 scmd->retries = scmd->allowed; in scsi_eh_get_sense()
Dsd.c899 cmd->allowed = sdkp->max_retries; in sd_setup_unmap_cmnd()
931 cmd->allowed = sdkp->max_retries; in sd_setup_write_same16_cmnd()
963 cmd->allowed = sdkp->max_retries; in sd_setup_write_same10_cmnd()
1098 cmd->allowed = sdkp->max_retries; in sd_setup_write_same_cmnd()
1128 cmd->allowed = sdkp->max_retries; in sd_setup_flush_cmnd()
1306 cmd->allowed = sdkp->max_retries; in sd_setup_read_write_cmnd()
1309 cmd->allowed += rq->q->nr_requests; in sd_setup_read_write_cmnd()
Dstorvsc_drv.c1741 bool allowed = true; in storvsc_scsi_cmd_ok() local
1753 allowed = false; in storvsc_scsi_cmd_ok()
1758 return allowed; in storvsc_scsi_cmd_ok()
Dscsi_lib.c635 if (cmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_cmd_runtime_exceeced()
638 wait_for = (cmd->allowed + 1) * req->timeout; in scsi_cmd_runtime_exceeced()
1183 cmd->allowed = scsi_req(req)->retries; in scsi_setup_scsi_cmnd()
/drivers/gpu/drm/radeon/
Dradeon_object.c505 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate() local
517 if ((allowed & current_domain) != 0 && in radeon_bo_list_validate()
527 radeon_uvd_force_into_uvd_segment(bo, allowed); in radeon_bo_list_validate()
/drivers/net/wireless/ath/
DKconfig46 this feature is explicitly allowed and only on cards that
/drivers/accessibility/speakup/
DDefaultKeyAssignments39 allowed value for the row or column for your current screen.
/drivers/net/wireless/broadcom/b43/
Dphy_ht.c223 u16 allowed = B43_PHY_HT_CLASS_CTL_CCK_EN | in b43_phy_ht_classifier() local
228 tmp &= allowed; in b43_phy_ht_classifier()
231 b43_phy_maskset(dev, B43_PHY_HT_CLASS_CTL, ~allowed, tmp); in b43_phy_ht_classifier()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.h84 bool allowed; member
Dvega20_hwmgr.h96 bool allowed; member
/drivers/ata/
Dlibata-eh.c626 scmd->retries = scmd->allowed; in ata_scsi_cmd_error_handler()
1183 scmd->retries = scmd->allowed; in ata_eh_qc_complete()
1202 scmd->allowed++; in ata_eh_qc_retry()
3196 qc->scsicmd->allowed = max(qc->scsicmd->allowed, 1); in ata_eh_maybe_retry_flush()
/drivers/net/appletalk/
DKconfig30 even politically correct people are allowed to say Y here.
/drivers/w1/slaves/
DKconfig104 Full block writes are only allowed if the CRC is valid.
/drivers/mtd/parsers/
DKconfig47 allowed in the partition definition, including mtd id's and partition
/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c557 bitmap_zero(feature->allowed, SMU_FEATURE_MAX); in smu_get_driver_allowed_feature_mask()
564 bitmap_or(feature->allowed, feature->allowed, in smu_get_driver_allowed_feature_mask()
1026 bitmap_zero(smu->smu_feature.allowed, SMU_FEATURE_MAX); in smu_sw_init()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c1991 u8 allowed = 0; in qlcnic_sriov_validate_vlan_cfg() local
2009 allowed = 1; in qlcnic_sriov_validate_vlan_cfg()
2012 if (!allowed) in qlcnic_sriov_validate_vlan_cfg()

12