Home
last modified time | relevance | path

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

123

/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/gpu/drm/nouveau/nvkm/core/
Duevent.c35 atomic_t allowed; member
45 atomic_set(&uevent->allowed, 0); in nvkm_uevent_mthd_block()
56 atomic_set(&uevent->allowed, 1); in nvkm_uevent_mthd_allow()
89 if (atomic_read(&uevent->allowed)) in nvkm_uevent_init()
Devent.c68 if (atomic_read(&ntfy->allowed) != ntfy->running) { in nvkm_event_ntfy_state()
104 if (atomic_xchg(&ntfy->allowed, 0) == 1) { in nvkm_event_ntfy_block_()
123 if (atomic_xchg(&ntfy->allowed, 1) == 0) { in nvkm_event_ntfy_allow()
156 atomic_set(&ntfy->allowed, 0); in nvkm_event_ntfy_add()
183 if (atomic_read(&ntfy->allowed)) in nvkm_event_ntfy()
Dintr.c200 if (atomic_read(&inth->allowed)) { in nvkm_intr()
400 atomic_set(&inth->allowed, 0); in nvkm_inth_block()
413 if (!atomic_xchg(&inth->allowed, 1)) { in nvkm_inth_allow()
439 atomic_set(&inth->allowed, 0); in nvkm_inth_add()
/drivers/usb/core/
Durb.c374 unsigned int allowed; in usb_submit_urb() local
507 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
513 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
517 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
520 allowed |= URB_ISO_ASAP; in usb_submit_urb()
523 allowed &= urb->transfer_flags; in usb_submit_urb()
526 if (allowed != urb->transfer_flags) in usb_submit_urb()
528 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/iommu/iommufd/
Dioas.c120 struct iopt_allowed *allowed; in iommufd_ioas_load_iovas() local
131 allowed = kzalloc(sizeof(*allowed), GFP_KERNEL_ACCOUNT); in iommufd_ioas_load_iovas()
132 if (!allowed) in iommufd_ioas_load_iovas()
134 allowed->node.start = range.start; in iommufd_ioas_load_iovas()
135 allowed->node.last = range.last; in iommufd_ioas_load_iovas()
137 interval_tree_insert(&allowed->node, itree); in iommufd_ioas_load_iovas()
Dio_pagetable.c586 struct iopt_allowed *allowed; in iopt_set_allow_iova() local
591 for (allowed = iopt_allowed_iter_first(iopt, 0, ULONG_MAX); allowed; in iopt_set_allow_iova()
592 allowed = iopt_allowed_iter_next(allowed, 0, ULONG_MAX)) { in iopt_set_allow_iova()
593 if (iopt_reserved_iter_first(iopt, allowed->node.start, in iopt_set_allow_iova()
594 allowed->node.last)) { in iopt_set_allow_iova()
Dio_pagetable.h144 __make_iopt_iter(allowed)
/drivers/char/
Dmem.c140 int allowed, probe; in read_mem() local
145 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
146 if (!allowed) in read_mem()
150 if (allowed == 2) { in read_mem()
220 int allowed; in write_mem() local
224 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
225 if (!allowed) in write_mem()
229 if (allowed == 1) { in write_mem()
/drivers/media/rc/
Drc-main.c1109 u64 allowed, enabled; in show_protocols() local
1116 allowed = dev->allowed_protocols; in show_protocols()
1117 if (dev->raw && !allowed) in show_protocols()
1118 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1123 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1126 if (allowed & enabled & proto_names[i].type) in show_protocols()
1128 else if (allowed & proto_names[i].type) in show_protocols()
1131 if (allowed & proto_names[i].type) in show_protocols()
1132 allowed &= ~proto_names[i].type; in show_protocols()
1500 u64 allowed; in show_wakeup_protocols() local
[all …]
/drivers/mmc/core/
Ddebugfs.c314 u32 allowed = MMC_CAP_AGGRESSIVE_PM | in mmc_caps_set() local
320 if (diff & ~allowed) in mmc_caps_set()
330 u32 allowed = MMC_CAP2_HSX00_1_8V | MMC_CAP2_HSX00_1_2V; in mmc_caps2_set() local
334 if (diff & ~allowed) in mmc_caps2_set()
/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/cxl/core/
Dpci.c441 int i, rc, allowed; in cxl_hdm_decode_init() local
464 for (i = 0, allowed = 0; info->mem_enabled && i < info->ranges; i++) { in cxl_hdm_decode_init()
475 allowed++; in cxl_hdm_decode_init()
478 if (!allowed && info->mem_enabled) { in cxl_hdm_decode_init()
/drivers/usb/mon/
DKconfig13 If unsure, say Y, if allowed, otherwise M.
/drivers/gpu/drm/nouveau/include/nvkm/core/
Dintr.h64 atomic_t allowed; member
Devent.h59 atomic_t allowed; member
/drivers/scsi/
Dscsi_ioctl.c463 scmd->allowed = 0; in sg_io()
561 scmd->allowed = 5; in sg_scsi_ioctl()
567 scmd->allowed = 1; in sg_scsi_ioctl()
580 scmd->allowed = 1; in sg_scsi_ioctl()
Dscsi_debugfs.c62 buf, cmd->retries, cmd->allowed, cmd->result, in scsi_show_rq()
Dscsi_error.c119 if (cmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_cmd_retry_allowed()
122 return ++cmd->retries <= cmd->allowed; in scsi_cmd_retry_allowed()
1362 if (scmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_eh_get_sense()
1363 scmd->retries = scmd->allowed = 1; in scsi_eh_get_sense()
1365 scmd->retries = scmd->allowed; in scsi_eh_get_sense()
2098 scmd->allowed = 5; in scsi_eh_lock_door()
/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.c1413 int allowed = 1; in lbs_ps_confirm_sleep() local
1417 allowed = 0; in lbs_ps_confirm_sleep()
1423 allowed = 0; in lbs_ps_confirm_sleep()
1429 allowed = 0; in lbs_ps_confirm_sleep()
1434 if (allowed) { in lbs_ps_confirm_sleep()
/drivers/gpu/drm/radeon/
Dradeon_object.c491 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate() local
503 if ((allowed & current_domain) != 0 && in radeon_bo_list_validate()
513 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.

123