| /drivers/power/supply/ |
| A D | 88pm860x_charger.c | 109 unsigned allowed:1; member 409 info->allowed = 1; in pm860x_charger_handler() 412 info->allowed = 0; in pm860x_charger_handler() 444 info->allowed = 0; in pm860x_temp_handler() 446 info->allowed = 1; in pm860x_temp_handler() 461 info->allowed = 0; in pm860x_exception_handler() 480 info->allowed = 1; in pm860x_done_handler() 488 info->allowed = 0; in pm860x_done_handler() 530 info->allowed = 1; in pm860x_vbattery_handler() 532 info->allowed = 0; in pm860x_vbattery_handler() [all …]
|
| /drivers/scsi/ |
| A D | scsi_lib_test.c | 29 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense() 36 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense() 43 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense() 49 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense() 56 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense() 120 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_sense() 143 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_host() 147 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_host() 173 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_failure() 196 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_status() [all …]
|
| A D | scsi_ioctl.c | 479 scmd->allowed = 0; in sg_io() 577 scmd->allowed = 5; in sg_scsi_ioctl() 583 scmd->allowed = 1; in sg_scsi_ioctl() 596 scmd->allowed = 1; in sg_scsi_ioctl()
|
| A D | ses.c | 95 .allowed = SES_RETRIES, in ses_recv_diag() 102 .allowed = SES_RETRIES, in ses_recv_diag() 152 .allowed = SES_RETRIES, in ses_send_diag() 159 .allowed = SES_RETRIES, in ses_send_diag()
|
| A D | scsi_debugfs.c | 66 buf, cmd->retries, cmd->allowed, cmd->result, in scsi_show_rq()
|
| /drivers/gpu/drm/nouveau/nvkm/core/ |
| A D | uevent.c | 35 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()
|
| A D | event.c | 68 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()
|
| A D | intr.c | 200 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/gpu/drm/xe/ |
| A D | xe_pm.c | 196 xe_i2c_pm_resume(xe, xe->d3cold.allowed); in xe_pm_resume() 479 if (xe->d3cold.allowed) { in xe_pm_runtime_suspend() 528 if (xe->d3cold.allowed) { in xe_pm_runtime_resume() 544 xe_i2c_pm_resume(xe, xe->d3cold.allowed); in xe_pm_runtime_resume() 553 if (xe->d3cold.allowed) { in xe_pm_runtime_resume() 811 xe->d3cold.allowed = false; in xe_pm_d3cold_allowed_toggle() 826 xe->d3cold.allowed = true; in xe_pm_d3cold_allowed_toggle() 828 xe->d3cold.allowed = false; in xe_pm_d3cold_allowed_toggle()
|
| /drivers/usb/core/ |
| A D | urb.c | 374 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()
|
| /drivers/char/ |
| A D | mem.c | 118 int allowed, probe; in read_mem() local 123 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem() 124 if (!allowed) in read_mem() 128 if (allowed == 2) { in read_mem() 198 int allowed; in write_mem() local 202 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem() 203 if (!allowed) in write_mem() 207 if (allowed == 1) { in write_mem()
|
| /drivers/media/rc/ |
| A D | rc-main.c | 1109 u64 allowed, enabled; in show_protocols() local 1116 allowed = dev->allowed_protocols; in show_protocols() 1117 if (dev->raw && !allowed) 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 1507 allowed = dev->allowed_wakeup_protocols; in show_wakeup_protocols() 1516 if (allowed & (1ULL << i)) { in show_wakeup_protocols() 1552 u64 allowed; in store_wakeup_protocols() local [all …]
|
| /drivers/mmc/core/ |
| A D | debugfs.c | 314 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/iommu/iommufd/ |
| A D | ioas.c | 124 struct iopt_allowed *allowed; in iommufd_ioas_load_iovas() local 135 allowed = kzalloc(sizeof(*allowed), GFP_KERNEL_ACCOUNT); in iommufd_ioas_load_iovas() 136 if (!allowed) in iommufd_ioas_load_iovas() 138 allowed->node.start = range.start; in iommufd_ioas_load_iovas() 139 allowed->node.last = range.last; in iommufd_ioas_load_iovas() 141 interval_tree_insert(&allowed->node, itree); in iommufd_ioas_load_iovas()
|
| A D | io_pagetable.c | 831 struct iopt_allowed *allowed; in iopt_set_allow_iova() local 836 for (allowed = iopt_allowed_iter_first(iopt, 0, ULONG_MAX); allowed; in iopt_set_allow_iova() 837 allowed = iopt_allowed_iter_next(allowed, 0, ULONG_MAX)) { in iopt_set_allow_iova() 838 if (iopt_reserved_iter_first(iopt, allowed->node.start, in iopt_set_allow_iova() 839 allowed->node.last)) { in iopt_set_allow_iova()
|
| /drivers/usb/usbip/ |
| A D | stub_rx.c | 405 unsigned int allowed; in masking_bogus_flags() local 432 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags() 437 allowed |= URB_ZERO_PACKET; in masking_bogus_flags() 441 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags() 444 allowed |= URB_ISO_ASAP; in masking_bogus_flags() 447 urb->transfer_flags &= allowed; in masking_bogus_flags()
|
| /drivers/gpu/drm/xe/display/ |
| A D | xe_display.c | 393 if (xe->d3cold.allowed) { in xe_display_pm_runtime_suspend() 419 if (xe->d3cold.allowed) in xe_display_pm_runtime_suspend_late() 497 if (xe->d3cold.allowed) { in xe_display_pm_runtime_resume()
|
| /drivers/scsi/device_handler/ |
| A D | scsi_dh_hp_sw.c | 90 .allowed = SCMD_FAILURE_NO_LIMIT, in hp_sw_tur() 144 .allowed = HP_SW_RETRIES, in hp_sw_start_stop()
|
| /drivers/usb/mon/ |
| A D | Kconfig | 13 If unsure, say Y, if allowed, otherwise M.
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | intr.h | 64 atomic_t allowed; member
|
| A D | event.h | 59 atomic_t allowed; member
|
| /drivers/media/dvb-frontends/drx39xyj/ |
| A D | drx_dap_fasi.h | 98 #error At least one of short- or long-addressing format must be allowed.
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | cmd.c | 1344 int allowed = 1; in lbs_ps_confirm_sleep() local 1348 allowed = 0; in lbs_ps_confirm_sleep() 1354 allowed = 0; in lbs_ps_confirm_sleep() 1360 allowed = 0; in lbs_ps_confirm_sleep() 1365 if (allowed) { in lbs_ps_confirm_sleep()
|
| /drivers/cxl/core/ |
| A D | pci.c | 406 int i, rc, allowed; in cxl_hdm_decode_init() local 460 for (i = 0, allowed = 0; i < info->ranges; i++) { in cxl_hdm_decode_init() 471 allowed++; in cxl_hdm_decode_init() 474 if (!allowed) { in cxl_hdm_decode_init()
|
| /drivers/gpu/drm/radeon/ |
| A D | radeon_object.c | 490 u32 allowed = lobj->allowed_domains; in radeon_bo_list_validate() local 502 if ((allowed & current_domain) != 0 && in radeon_bo_list_validate() 512 radeon_uvd_force_into_uvd_segment(bo, allowed); in radeon_bo_list_validate()
|