/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-encoder.c | 82 Format: First byte must be 0x02 (status check) or 0x28 (read in pvr2_encoder_read_words() 237 "***WARNING*** device's encoder appears to be stuck (status=0x%08x)", in pvr2_encoder_cmd() 465 int status; in pvr2_encoder_start() local 475 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 479 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 483 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 487 return status; in pvr2_encoder_start() 492 int status; in pvr2_encoder_stop() local 499 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_STOP_CAPTURE,3, in pvr2_encoder_stop() 503 status in pvr2_encoder_stop() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-zynqmp.c | 74 * Clear the rtc interrupt status register after setting the in xlnx_rtc_set_time() 88 u32 status; in xlnx_rtc_read_time() local 92 status = readl(xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_read_time() 94 if (status & RTC_INT_SEC) { in xlnx_rtc_read_time() 128 unsigned int status; in xlnx_rtc_alarm_irq_enable() local 135 status = readl(xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_alarm_irq_enable() 136 if (!((status & RTC_ALRM_MASK) == RTC_ALRM_MASK)) in xlnx_rtc_alarm_irq_enable() 140 dev_err(dev, "Time out occur, while clearing alarm status bit\n"); in xlnx_rtc_alarm_irq_enable() 198 unsigned int status; in xlnx_rtc_interrupt() local 200 status in xlnx_rtc_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | mchp48l640.c | 69 static int mchp48l640_read_status(struct mchp48l640_flash *flash, int *status) in mchp48l640_read_status() argument 80 *status = cmd[1]; in mchp48l640_read_status() 81 dev_dbg(&flash->spi->dev, "read status ret: %d status: %x", ret, *status); in mchp48l640_read_status() 88 int ret, status; in mchp48l640_waitforbit() local 93 ret = mchp48l640_read_status(flash, &status); in mchp48l640_waitforbit() 94 dev_dbg(&flash->spi->dev, "read status ret: %d bit: %x %sset status: %x", in mchp48l640_waitforbit() 95 ret, bit, (set ? "" : "not"), status); in mchp48l640_waitforbit() 303 int status; mchp48l640_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/spi/ |
H A D | gigadevice.c | 101 u8 status) in gd5fxgq4xa_ecc_get_status() 103 switch (status & STATUS_ECC_MASK) { in gd5fxgq4xa_ecc_get_status() 185 u8 status) in gd5fxgq4uexxg_ecc_get_status() 192 switch (status & STATUS_ECC_MASK) { in gd5fxgq4uexxg_ecc_get_status() 199 * bit error status in gd5fxgq4uexxg_ecc_get_status() 211 return ((status & STATUS_ECC_MASK) >> 2) | in gd5fxgq4uexxg_ecc_get_status() 228 u8 status) in gd5fxgq5xexxg_ecc_get_status() 235 switch (status & STATUS_ECC_MASK) { in gd5fxgq5xexxg_ecc_get_status() 242 * bit error status in gd5fxgq5xexxg_ecc_get_status() 266 u8 status) in gd5fxgq4ufxxg_ecc_get_status() 100 gd5fxgq4xa_ecc_get_status(struct spinand_device *spinand, u8 status) gd5fxgq4xa_ecc_get_status() argument 184 gd5fxgq4uexxg_ecc_get_status(struct spinand_device *spinand, u8 status) gd5fxgq4uexxg_ecc_get_status() argument 227 gd5fxgq5xexxg_ecc_get_status(struct spinand_device *spinand, u8 status) gd5fxgq5xexxg_ecc_get_status() argument 265 gd5fxgq4ufxxg_ecc_get_status(struct spinand_device *spinand, u8 status) gd5fxgq4ufxxg_ecc_get_status() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-encoder.c | 82 Format: First byte must be 0x02 (status check) or 0x28 (read in pvr2_encoder_read_words() 237 "***WARNING*** device's encoder appears to be stuck (status=0x%08x)", in pvr2_encoder_cmd() 465 int status; in pvr2_encoder_start() local 475 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 479 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 483 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_START_CAPTURE,2, in pvr2_encoder_start() 487 return status; in pvr2_encoder_start() 492 int status; in pvr2_encoder_stop() local 499 status = pvr2_encoder_vcmd(hdw,CX2341X_ENC_STOP_CAPTURE,3, in pvr2_encoder_stop() 503 status in pvr2_encoder_stop() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exconvrt.c | 578 acpi_status status = AE_OK; in acpi_ex_convert_to_target_type() local 613 status = AE_TYPE; in acpi_ex_convert_to_target_type() 630 status = in acpi_ex_convert_to_target_type() 640 status = in acpi_ex_convert_to_target_type() 650 status = in acpi_ex_convert_to_target_type() 659 status = AE_AML_INTERNAL; in acpi_ex_convert_to_target_type() 678 status = AE_AML_INTERNAL; in acpi_ex_convert_to_target_type() 687 if (status == AE_TYPE) { in acpi_ex_convert_to_target_type() 688 status = AE_OK; in acpi_ex_convert_to_target_type() 691 return_ACPI_STATUS(status); in acpi_ex_convert_to_target_type() [all...] |
/kernel/linux/linux-6.6/include/acpi/ |
H A D | acexcep.h | 62 #define ACPI_ENV_EXCEPTION(status) (((status) & AE_CODE_MASK) == AE_CODE_ENVIRONMENTAL) 63 #define ACPI_AML_EXCEPTION(status) (((status) & AE_CODE_MASK) == AE_CODE_AML) 64 #define ACPI_PROG_EXCEPTION(status) (((status) & AE_CODE_MASK) == AE_CODE_PROGRAMMER) 65 #define ACPI_TABLE_EXCEPTION(status) (((status) & AE_CODE_MASK) == AE_CODE_ACPI_TABLES) 66 #define ACPI_CNTL_EXCEPTION(status) (((status) [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-zynqmp.c | 74 * Clear the rtc interrupt status register after setting the in xlnx_rtc_set_time() 88 u32 status; in xlnx_rtc_read_time() local 92 status = readl(xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_read_time() 94 if (status & RTC_INT_SEC) { in xlnx_rtc_read_time() 128 unsigned int status; in xlnx_rtc_alarm_irq_enable() local 135 status = readl(xrtcdev->reg_base + RTC_INT_STS); in xlnx_rtc_alarm_irq_enable() 136 if (!((status & RTC_ALRM_MASK) == RTC_ALRM_MASK)) in xlnx_rtc_alarm_irq_enable() 140 dev_err(dev, "Time out occur, while clearing alarm status bit\n"); in xlnx_rtc_alarm_irq_enable() 261 unsigned int status; in xlnx_rtc_interrupt() local 263 status in xlnx_rtc_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | msi-wmi.c | 93 acpi_status status; in msi_wmi_query_block() local 98 status = wmi_query_block(MSIWMI_BIOS_GUID, instance, &output); in msi_wmi_query_block() 99 if (ACPI_FAILURE(status)) in msi_wmi_query_block() 121 acpi_status status; in msi_wmi_set_block() local 128 status = wmi_set_block(MSIWMI_BIOS_GUID, instance, &input); in msi_wmi_set_block() 130 return ACPI_SUCCESS(status) ? 0 : 1; in msi_wmi_set_block() 178 acpi_status status; in msi_wmi_notify() local 180 status = wmi_get_event_data(value, &response); in msi_wmi_notify() 181 if (status != AE_OK) { in msi_wmi_notify() 182 pr_info("bad event status in msi_wmi_notify() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | atmel-i2c.c | 138 * After wake and after execution of a command, there will be error, status, or 143 static int atmel_i2c_status(struct device *dev, u8 *status) in atmel_i2c_status() argument 147 u8 err_id = status[1]; in atmel_i2c_status() 149 if (*status != STATUS_SIZE) in atmel_i2c_status() 171 u8 status[STATUS_RSP_SIZE]; in atmel_i2c_wakeup() local 188 ret = i2c_master_recv(client, status, STATUS_SIZE); in atmel_i2c_wakeup() 192 return atmel_i2c_status(&client->dev, status); in atmel_i2c_wakeup() 260 int status; in atmel_i2c_work_handler() local 262 status = atmel_i2c_send_receive(client, cmd); in atmel_i2c_work_handler() 263 work_data->cbk(work_data, work_data->areq, status); in atmel_i2c_work_handler() 268 atmel_i2c_enqueue(struct atmel_i2c_work_data *work_data, void (*cbk)(struct atmel_i2c_work_data *work_data, void *areq, int status), void *areq) atmel_i2c_enqueue() argument [all...] |
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | dma.h | 245 static inline u64 ioat_chansts_to_addr(u64 status) in ioat_chansts_to_addr() argument 247 return status & IOAT_CHANSTS_COMPLETED_DESCRIPTOR_ADDR; in ioat_chansts_to_addr() 280 static inline bool is_ioat_active(unsigned long status) in is_ioat_active() argument 282 return ((status & IOAT_CHANSTS_STATUS) == IOAT_CHANSTS_ACTIVE); in is_ioat_active() 285 static inline bool is_ioat_idle(unsigned long status) in is_ioat_idle() argument 287 return ((status & IOAT_CHANSTS_STATUS) == IOAT_CHANSTS_DONE); in is_ioat_idle() 290 static inline bool is_ioat_halted(unsigned long status) in is_ioat_halted() argument 292 return ((status & IOAT_CHANSTS_STATUS) == IOAT_CHANSTS_HALTED); in is_ioat_halted() 295 static inline bool is_ioat_suspended(unsigned long status) in is_ioat_suspended() argument 297 return ((status in is_ioat_suspended() [all...] |
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | knc.c | 201 u64 status; in knc_pmu_get_status() local 203 rdmsrl(MSR_KNC_IA32_PERF_GLOBAL_STATUS, status); in knc_pmu_get_status() 205 return status; in knc_pmu_get_status() 219 u64 status; in knc_pmu_handle_irq() local 225 status = knc_pmu_get_status(); in knc_pmu_handle_irq() 226 if (!status) { in knc_pmu_handle_irq() 233 knc_pmu_ack_status(status); in knc_pmu_handle_irq() 242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq() 262 status = knc_pmu_get_status(); in knc_pmu_handle_irq() 263 if (status) in knc_pmu_handle_irq() [all...] |
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | sync_file.c | 270 info->status = dma_fence_get_status(fence); in sync_fill_fence_info() 276 return info->status; in sync_fill_fence_info() 307 info.status = dma_fence_get_status(sync_file->fence); in sync_file_ioctl_fence_info() 310 info.status = 1; in sync_file_ioctl_fence_info() 323 int status; in sync_file_ioctl_fence_info() local 325 status = sync_fill_fence_info(fence, &fence_info[num_fences++]); in sync_file_ioctl_fence_info() 326 info.status = info.status <= 0 ? info.status : status; in sync_file_ioctl_fence_info() [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | omap_cf.c | 36 /* status; read after IRQ */ 204 int status; in omap_cf_probe() local 228 status = request_irq(irq, omap_cf_irq, IRQF_SHARED, in omap_cf_probe() 230 if (status < 0) in omap_cf_probe() 238 status = pci_remap_iospace(&iospace, cf->phys_cf + SZ_4K); in omap_cf_probe() 239 if (status) { in omap_cf_probe() 240 status = -ENOMEM; in omap_cf_probe() 245 status = -ENXIO; in omap_cf_probe() 276 status = pcmcia_register_socket(&cf->socket); in omap_cf_probe() 277 if (status < in omap_cf_probe() [all...] |
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | mailbox-altera.c | 29 #define MBOX_PENDING(status) (((status) & STS_PENDING_MSK)) 30 #define MBOX_FULL(status) (((status) & STS_FULL_MSK) >> STS_FULL_OFT) 62 u32 status; in altera_mbox_full() local 64 status = readl_relaxed(mbox->mbox_base + MAILBOX_STS_REG); in altera_mbox_full() 65 return MBOX_FULL(status); in altera_mbox_full() 70 u32 status; in altera_mbox_pending() local 72 status = readl_relaxed(mbox->mbox_base + MAILBOX_STS_REG); in altera_mbox_pending() 73 return MBOX_PENDING(status); in altera_mbox_pending() [all...] |
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | xilinx_ps2.c | 89 int status = -1; in xps2_recv() local 95 status = 0; in xps2_recv() 98 return status; in xps2_recv() 109 int status; in xps2_interrupt() local 126 status = xps2_recv(drvdata, &c); in xps2_interrupt() 129 if (status) { in xps2_interrupt() 131 "wrong rcvd byte count (%d)\n", status); in xps2_interrupt() 160 int status = -1; in sxps2_write() local 168 status = 0; in sxps2_write() 173 return status; in sxps2_write() [all...] |
H A D | sa1111ps2.c | 59 * framing error, we have to manually clear the status. 64 unsigned int scancode, flag, status; in ps2_rxint() local 66 status = readl_relaxed(ps2if->base + PS2STAT); in ps2_rxint() 67 while (status & PS2STAT_RXF) { in ps2_rxint() 68 if (status & PS2STAT_STP) in ps2_rxint() 71 flag = (status & PS2STAT_STP ? SERIO_FRAME : 0) | in ps2_rxint() 72 (status & PS2STAT_RXP ? 0 : SERIO_PARITY); in ps2_rxint() 81 status = readl_relaxed(ps2if->base + PS2STAT); in ps2_rxint() 93 unsigned int status; in ps2_txint() local 96 status in ps2_txint() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/ |
H A D | clone3_set_tid.c | 46 int status; in call_clone3_set_tid() local 108 if (waitpid(pid, &status, 0) < 0) { in call_clone3_set_tid() 113 if (!WIFEXITED(status)) in call_clone3_set_tid() 116 return WEXITSTATUS(status); in call_clone3_set_tid() 150 int status; in main() local 262 if (waitpid(pid, &status, 0) < 0) in main() 342 snprintf(proc_path, sizeof(proc_path), "/proc/%d/status", pid); in main() 373 if (waitpid(ns_pid, &status, 0) < 0) { in main() 379 if (!WIFEXITED(status)) in main() 382 ksft_cnt.ksft_pass += 6 - (ksft_cnt.ksft_fail - WEXITSTATUS(status)); in main() [all...] |
/kernel/liteos_a/kernel/base/core/ |
H A D | los_info.c | 65 UINT16 status; in GetProcessStatus() local 72 status = processCB->processStatus; in GetProcessStatus() 74 status |= (taskCB->taskStatus & 0x00FF); in GetProcessStatus() 76 return status; in GetProcessStatus() 84 pcbInfo->status = GetProcessStatus((LosProcessCB *)processCB); in GetProcessInfo() 126 pcbInfo->status = OS_PROCESS_FLAG_UNUSED; in GetProcessMemInfo() 130 pcbInfo->status = OS_PROCESS_FLAG_UNUSED; in GetProcessMemInfo() 150 taskInfo->status = taskCB->taskStatus; in GetThreadInfo() 214 pcbInfo->status = OS_PROCESS_FLAG_UNUSED; 249 pcbInfo->status [all...] |
/third_party/alsa-lib/test/ |
H A D | audio_time.c | 71 snd_pcm_status_t *status; in _gettimestamp() local 73 snd_pcm_status_alloca(&status); in _gettimestamp() 75 snd_pcm_status_set_audio_htstamp_config(status, audio_tstamp_config); in _gettimestamp() 77 if ((err = snd_pcm_status(handle, status)) < 0) { in _gettimestamp() 78 printf("Stream status error: %s\n", snd_strerror(err)); in _gettimestamp() 81 snd_pcm_status_get_trigger_htstamp(status, trigger_timestamp); in _gettimestamp() 82 snd_pcm_status_get_htstamp(status, timestamp); in _gettimestamp() 83 snd_pcm_status_get_audio_htstamp(status, audio_timestamp); in _gettimestamp() 84 snd_pcm_status_get_audio_htstamp_report(status, audio_tstamp_report); in _gettimestamp() 85 *avail = snd_pcm_status_get_avail(status); in _gettimestamp() [all...] |
/third_party/backends/japi/ |
H A D | ScanIt.java | 77 * Tell consumers our status. The scan is also terminated de- 78 * pending on the status. 278 int status; in scan() 287 status = sane.start(handle); in scan() 288 if (status != Sane.STATUS_GOOD) in scan() 291 + status); in scan() 295 status = sane.getParameters(handle, parms); in scan() 296 if (status != Sane.STATUS_GOOD) in scan() 299 + status); in scan() 312 while ((status in scan() [all...] |
/third_party/mbedtls/library/ |
H A D | psa_util.c | 52 * it's the most common status when everything functions properly. */ 125 int psa_generic_status_to_mbedtls(psa_status_t status) in psa_generic_status_to_mbedtls() argument 127 switch (status) { in psa_generic_status_to_mbedtls() 143 int psa_status_to_mbedtls(psa_status_t status, in psa_status_to_mbedtls() argument 149 if (status == local_translations[i].psa_status) { in psa_status_to_mbedtls() 153 return fallback_f(status); in psa_status_to_mbedtls() 157 int psa_pk_status_to_mbedtls(psa_status_t status) in psa_pk_status_to_mbedtls() argument 159 switch (status) { in psa_pk_status_to_mbedtls() 179 return psa_generic_status_to_mbedtls(status); in psa_pk_status_to_mbedtls() 358 psa_status_t status in mbedtls_psa_get_random() local [all...] |
/third_party/node/test/pummel/ |
H A D | test-policy-integrity-worker-commonjs.js | 79 w.on('exit', (status) => process.exit(status === 0 ? 0 : 1)); 174 child.on('exit', (status, signal) => { 178 assert.strictEqual(status, 0); 180 assert.notStrictEqual(status, 0); 192 console.log('exit code:', status, 'signal:', signal); 204 const { status } = spawnSync( 211 assert.notStrictEqual(status, 0, 'Should not allow multiple policies'); 220 const { status } = spawnSync( 227 assert.notStrictEqual(status, [all...] |
H A D | test-policy-integrity-worker-module.js | 79 w.on('exit', (status) => process.exit(status === 0 ? 0 : 1)); 174 child.on('exit', (status, signal) => { 178 assert.strictEqual(status, 0); 180 assert.notStrictEqual(status, 0); 192 console.log('exit code:', status, 'signal:', signal); 204 const { status } = spawnSync( 211 assert.notStrictEqual(status, 0, 'Should not allow multiple policies'); 220 const { status } = spawnSync( 227 assert.notStrictEqual(status, [all...] |
H A D | test-policy-integrity-worker-no-package-json.js | 79 w.on('exit', (status) => process.exit(status === 0 ? 0 : 1)); 174 child.on('exit', (status, signal) => { 178 assert.strictEqual(status, 0); 180 assert.notStrictEqual(status, 0); 192 console.log('exit code:', status, 'signal:', signal); 204 const { status } = spawnSync( 211 assert.notStrictEqual(status, 0, 'Should not allow multiple policies'); 220 const { status } = spawnSync( 227 assert.notStrictEqual(status, [all...] |