/kernel/linux/linux-6.6/drivers/xen/ |
H A D | grant-table.c | 129 * entry status. 137 * status of the grant entry to be updated. 162 /* This reflects status of grant entries, so act as a global value. */ 799 if ((rc < 0) || (query.status != GNTST_okay)) in __max_nr_grant_frames() 1156 gnttab_retry_eagain_gop(unsigned int cmd, void *gop, int16_t *status, in gnttab_retry_eagain_gop() argument 1163 if (*status == GNTST_eagain) in gnttab_retry_eagain_gop() 1165 } while ((*status == GNTST_eagain) && (delay < MAX_DELAY)); in gnttab_retry_eagain_gop() 1169 *status = GNTST_bad_page; in gnttab_retry_eagain_gop() 1180 if (op->status == GNTST_eagain) in gnttab_batch_map() 1182 &op->status, __func_ in gnttab_batch_map() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha1542.c | 304 printk("status %02x\n", inb(STATUS(sh->io_port))); in aha1542_interrupt() 334 if (mb[mbi].status != 0) in aha1542_interrupt() 341 if (mb[mbi].status == 0) { in aha1542_interrupt() 350 mbistatus = mb[mbi].status; in aha1542_interrupt() 351 mb[mbi].status = 0; in aha1542_interrupt() 356 shost_printk(KERN_DEBUG, sh, "aha1542_command: returning %x (status %d)\n", in aha1542_interrupt() 357 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); in aha1542_interrupt() 469 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) in aha1542_queuecommand() 476 if (mb[mbo].status || aha1542->int_cmds[mbo]) in aha1542_queuecommand() 518 mb[mbo].status in aha1542_queuecommand() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sunsab.c | 309 union sab82532_irq_status status; in sunsab_interrupt() local 315 status.stat = 0; in sunsab_interrupt() 318 status.sreg.isr0 = readb(&up->regs->r.isr0); in sunsab_interrupt() 320 status.sreg.isr1 = readb(&up->regs->r.isr1); in sunsab_interrupt() 322 if (status.stat) { in sunsab_interrupt() 323 if ((status.sreg.isr0 & (SAB82532_ISR0_TCD | SAB82532_ISR0_TIME | in sunsab_interrupt() 325 (status.sreg.isr1 & SAB82532_ISR1_BRK)) in sunsab_interrupt() 326 port = receive_chars(up, &status); in sunsab_interrupt() 327 if ((status.sreg.isr0 & SAB82532_ISR0_CDSC) || in sunsab_interrupt() 328 (status in sunsab_interrupt() [all...] |
H A D | cpm_uart.c | 237 u16 status; in cpm_uart_int_rx() local 253 /* get status */ in cpm_uart_int_rx() 254 status = in_be16(&bdp->cbd_sc); in cpm_uart_int_rx() 256 if (status & BD_SC_EMPTY) in cpm_uart_int_rx() 279 if (status & in cpm_uart_int_rx() 295 /* This BD is ready to be used again. Clear status. get next */ in cpm_uart_int_rx() 319 if (status & BD_SC_BR) in cpm_uart_int_rx() 321 if (status & BD_SC_PR) in cpm_uart_int_rx() 323 if (status & BD_SC_FR) in cpm_uart_int_rx() 325 if (status in cpm_uart_int_rx() [all...] |
/kernel/linux/linux-6.6/drivers/usb/class/ |
H A D | cdc-wdm.c | 79 u8 *sbuf; /* buffer for status */ 158 desc->werr = urb->status; in wdm_out_callback() 172 int status = urb->status; in wdm_in_callback() local 178 if (status) { in wdm_in_callback() 179 switch (status) { in wdm_in_callback() 182 "nonzero urb status received: -ENOENT\n"); in wdm_in_callback() 186 "nonzero urb status received: -ECONNRESET\n"); in wdm_in_callback() 190 "nonzero urb status received: -ESHUTDOWN\n"); in wdm_in_callback() 194 "nonzero urb status receive in wdm_in_callback() 251 int status = urb->status; wdm_int_callback() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-q.c | 41 finish_urb(struct ohci_hcd *ohci, struct urb *urb, int status) 54 if (likely(status == -EINPROGRESS)) 55 status = 0; 75 usb_hcd_giveback_urb(ohci_to_hcd(ohci), urb, status); variable 95 status = 0; 755 /* calculate transfer length/status and update the urb */ 760 int status = -EINPROGRESS; in td_done() local 764 /* ISO ... drivers see per-TD length/status */ in td_done() 775 return status; in td_done() 787 urb->iso_frame_desc [td->index].status in td_done() 1155 int status; takeback_td() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | mxuport.c | 55 #define RQ_VENDOR_SET_LINE 0x02 /* Set line status */ 95 #define RQ_VENDOR_GET_MSR 0x86 /* Get modem status register */ 101 #define UPORT_EVENT_MSR 3 /* Modem status */ 102 #define UPORT_EVENT_LSR 4 /* Line status */ 216 int status; in mxuport_recv_ctrl_urb() local 218 status = usb_control_msg(serial->dev, in mxuport_recv_ctrl_urb() 225 if (status < 0) { in mxuport_recv_ctrl_urb() 228 __func__, status); in mxuport_recv_ctrl_urb() 229 return status; in mxuport_recv_ctrl_urb() 232 if (status ! in mxuport_recv_ctrl_urb() 248 int status; mxuport_send_ctrl_data_urb() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | sddr09.c | 25 * EC: read status 709 sddr09_read_status(struct us_data *us, unsigned char *status) { in sddr09_read_status() argument 715 usb_stor_dbg(us, "Reading status...\n"); in sddr09_read_status() 727 *status = data[0]; in sddr09_read_status() 939 unsigned char status = 0; in sddr09_write_lba() 940 int result2 = sddr09_read_status(us, &status); in sddr09_write_lba() 942 usb_stor_dbg(us, "cannot read status\n"); in sddr09_write_lba() 943 else if (status != 0xc0) in sddr09_write_lba() 944 usb_stor_dbg(us, "status after write: 0x%x\n", status); in sddr09_write_lba() 1096 unsigned char status; sddr09_get_wp() local [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | rtd520.c | 69 * driver status: 479 * empty status flag clears. 523 unsigned int status; in rtd_ai_eoc() local 525 status = readl(dev->mmio + LAS0_ADC); in rtd_ai_eoc() 526 if (status & FS_ADC_NOT_EMPTY) in rtd_ai_eoc() 614 u16 status; in rtd_interrupt() local 625 status = readw(dev->mmio + LAS0_IT); in rtd_interrupt() 627 if (status == 0) in rtd_interrupt() 630 if (status & IRQM_ADC_ABOUT_CNT) { /* sample count -> read FIFO */ in rtd_interrupt() 661 writew(status, de in rtd_interrupt() 999 unsigned int status; rtd_ao_eoc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_core.c | 362 /* Enable the link status receive on RGMII, SGMII ore SMII in dwmac4_set_eee_mode() 428 * status from PHY should be ok before transmitting in dwmac4_set_eee_timer() 749 u32 status; in dwmac4_phystatus() local 751 status = readl(ioaddr + GMAC_PHYIF_CONTROL_STATUS); in dwmac4_phystatus() 754 /* Check the link status */ in dwmac4_phystatus() 755 if (status & GMAC_PHYIF_CTRLSTATUS_LNKSTS) { in dwmac4_phystatus() 760 speed_value = ((status & GMAC_PHYIF_CTRLSTATUS_SPEED) >> in dwmac4_phystatus() 769 x->pcs_duplex = (status & GMAC_PHYIF_CTRLSTATUS_LNKMOD_MASK); in dwmac4_phystatus() 791 /* read Queue x Interrupt status */ in dwmac4_irq_mtl_status() 792 u32 status in dwmac4_irq_mtl_status() local 833 u32 status = readl(ioaddr + GMAC4_LPI_CTRL_STATUS); dwmac4_irq_status() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/ |
H A D | commands.h | 490 * __le32 isr0; isr status register LMPM_NIC_ISR0: rxtx_flag 491 * __le32 isr1; isr status register LMPM_NIC_ISR1: host_flag 492 * __le32 isr2; isr status register LMPM_NIC_ISR2: enc_flag 493 * __le32 isr3; isr status register LMPM_NIC_ISR3: time_flag 494 * __le32 isr4; isr status register LMPM_NIC_ISR4: wico interrupt 495 * __le32 isr_pref; isr status register LMPM_NIC_PREF_STAT 784 __le32 status; /* 0 - OK, 1 - fail */ member 1067 u8 status; /* ADD_STA_* */ member 1075 u8 status; member 1182 __le32 status; member 1426 __le32 status; /* TX status */ global() member 1676 __le16 status; global() member 1712 __le32 status; global() member 2162 __le16 status; /* 0 - command will be handled global() member 2229 __le32 status; /* see il_measurement_status */ global() member 2581 __le32 status; /* 1: okay, 2: cannot fulfill request */ global() member 2594 __le32 status; global() member 2625 u8 status; global() member 3367 __le32 status; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | usb.c | 95 int status; in _usbctrl_vendorreq_sync_read() local 104 status = usb_control_msg(udev, pipe, request, reqtype, value, in _usbctrl_vendorreq_sync_read() 106 if (status < 0) { in _usbctrl_vendorreq_sync_read() 116 if (status < 0 && count++ < 4) in _usbctrl_vendorreq_sync_read() 117 pr_err("reg 0x%x, usbctrl_vendorreq TimeOut! status:0x%x value=0x%x\n", in _usbctrl_vendorreq_sync_read() 118 value, status, *(u32 *)pdata); in _usbctrl_vendorreq_sync_read() 119 return status; in _usbctrl_vendorreq_sync_read() 578 if (likely(0 == _urb->status)) { in _rtl_rx_completed() 623 switch (_urb->status) { in _rtl_rx_completed() 834 if (urb->status) { in _usb_tx_post() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 609 int status; in ocrdma_update_stats() local 617 status = ocrdma_mbx_rdma_stats(dev, false); in ocrdma_update_stats() 618 if (status) in ocrdma_update_stats() 619 pr_err("%s: stats mbox failed with status = %d\n", in ocrdma_update_stats() 620 __func__, status); in ocrdma_update_stats() 640 int status; in ocrdma_dbgfs_ops_write() local 657 status = ocrdma_mbx_rdma_stats(dev, true); in ocrdma_dbgfs_ops_write() 658 if (status) { in ocrdma_dbgfs_ops_write() 659 pr_err("Failed to reset stats = %d\n", status); in ocrdma_dbgfs_ops_write() 691 ssize_t status in ocrdma_dbgfs_ops_read() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | applesmc.c | 39 /* command/status port used by Apple SMC */ 46 /* Apple SMC status bits */ 158 * Wait for specific status bits with a mask on the SMC. 167 u8 status; in wait_status() local 173 status = inb(APPLESMC_CMD_PORT); in wait_status() 174 if ((status & mask) == val) in wait_status() 187 int status; in send_byte() local 189 status = wait_status(0, SMC_STATUS_IB_CLOSED); in send_byte() 190 if (status) in send_byte() 191 return status; in send_byte() 250 u8 status, data = 0; read_smc() local [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | cyapa.c | 166 u8 status[BL_STATUS_SIZE]; in cyapa_get_state() local 177 * Get trackpad status by reading 3 registers starting from 0. in cyapa_get_state() 183 status); in cyapa_get_state() 193 CYAPA_CMD_BL_STATUS, status); in cyapa_get_state() 204 cyapa->status[REG_OP_STATUS] = status[REG_OP_STATUS]; in cyapa_get_state() 205 cyapa->status[REG_BL_STATUS] = status[REG_BL_STATUS]; in cyapa_get_state() 206 cyapa->status[REG_BL_ERROR] = status[REG_BL_ERRO in cyapa_get_state() [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | request.c | 74 op->status = BLK_STS_RESOURCE; in bch_data_insert_keys() 177 op->status = bio->bi_status; in bch_data_insert_endio() 499 s->iop.status = bio->bi_status; in bch_cache_read_endio() 503 s->iop.status = BLK_STS_IOERR; in bch_cache_read_endio() 601 * And after that happened, s->iop.status is still its initial value in cache_lookup() 612 if (!s->iop.status) in cache_lookup() 613 s->iop.status = BLK_STS_IOERR; in cache_lookup() 628 s->iop.status = bio->bi_status; in request_endio() 649 * s->iop.status by this failure, the status wil in backing_request_endio() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | cx24116.c | 52 #define CX24116_REG_RESET (0x20) /* reset status > 0 */ 54 #define CX24116_REG_SSTATUS (0x9d) /* signal high / status */ 93 /* signal status */ 320 * status 1f | signal c3c0 | snr a333 | ber 00000098 | unc 0 | FE_HAS_LOCK 323 * status 1f | signal c3c0 | snr a333 | ber 00000000 | unc 0 | FE_HAS_LOCK 672 static int cx24116_read_status(struct dvb_frontend *fe, enum fe_status *status) in cx24116_read_status() argument 679 dprintk("%s: status = 0x%02x\n", __func__, lock); in cx24116_read_status() 681 *status = 0; in cx24116_read_status() 684 *status |= FE_HAS_SIGNAL; in cx24116_read_status() 686 *status | in cx24116_read_status() 1208 int i, status, ret, retune = 1; cx24116_set_frontend() local 1427 cx24116_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mode_flags, unsigned int *delay, enum fe_status *status) cx24116_tune() argument [all...] |
/kernel/linux/linux-6.6/sound/spi/ |
H A D | at73c213.c | 133 int status; in snd_at73c213_set_bitrate() local 173 status = clk_round_rate(chip->board->dac_clk, dac_rate_new); in snd_at73c213_set_bitrate() 174 if (status <= 0) in snd_at73c213_set_bitrate() 175 return status; in snd_at73c213_set_bitrate() 178 if ((status/256) == (dac_rate_new/256)) in snd_at73c213_set_bitrate() 188 status = clk_set_rate(chip->board->dac_clk, status); in snd_at73c213_set_bitrate() 189 if (status < 0) in snd_at73c213_set_bitrate() 190 return status; in snd_at73c213_set_bitrate() 355 u32 status; in snd_at73c213_interrupt() local [all...] |
/kernel/linux/linux-6.6/sound/pci/mixart/ |
H A D | mixart_mixer.c | 716 u32 status = 0; in mixart_update_playback_stream_level() local 731 if(pipe->status == PIPE_UNDEFINED) in mixart_update_playback_stream_level() 752 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(status), &status); in mixart_update_playback_stream_level() 753 if((err<0) || status) { in mixart_update_playback_stream_level() 755 "error MSG_STREAM_SET_OUT_STREAM_LEVEL card(%d) status(%x)\n", in mixart_update_playback_stream_level() 756 chip->chip_idx, status); in mixart_update_playback_stream_level() 768 u32 status = 0; in mixart_update_capture_stream_level() local 779 if(pipe->status == PIPE_UNDEFINED) in mixart_update_capture_stream_level() 797 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(status), in mixart_update_capture_stream_level() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_core.c | 67 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 79 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session() 100 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 112 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session() 270 flags = READ_ONCE(ct->status); in nf_nat_used_tuple_harder() 700 ct->status |= IPS_SRC_NAT; in nf_nat_setup_info() 702 ct->status |= IPS_DST_NAT; in nf_nat_setup_info() 724 ct->status |= IPS_DST_NAT_DONE; in nf_nat_setup_info() 726 ct->status |= IPS_SRC_NAT_DONE; in nf_nat_setup_info() 779 if (ct->status in nf_nat_packet() [all...] |
/third_party/eudev/src/udev/ |
H A D | udevd.c | 932 int status; in handle_signal() local 935 pid = waitpid(-1, &status, WNOHANG); in handle_signal() 945 if (WIFEXITED(status)) { in handle_signal() 946 if (WEXITSTATUS(status) == 0) in handle_signal() 949 log_warning("worker ["PID_FMT"] exited with return code %i", pid, WEXITSTATUS(status)); in handle_signal() 950 } else if (WIFSIGNALED(status)) { in handle_signal() 952 pid, WTERMSIG(status), strsignal(WTERMSIG(status))); in handle_signal() 953 } else if (WIFSTOPPED(status)) { in handle_signal() 956 } else if (WIFCONTINUED(status)) { in handle_signal() [all...] |
/third_party/backends/backend/ |
H A D | dell1600n_net.c | 464 SANE_Status status = SANE_STATUS_GOOD; in sane_open() local 483 status = SANE_STATUS_NO_MEM; in sane_open() 490 status = SANE_STATUS_NO_MEM; in sane_open() 512 status = SANE_STATUS_INVAL; in sane_open() 521 status = SANE_STATUS_IO_ERROR; in sane_open() 538 status = SANE_STATUS_IO_ERROR; in sane_open() 562 return status; in sane_open() 569 return status; in sane_open() 685 SANE_Status status = SANE_STATUS_GOOD; in sane_start() local 737 status in sane_start() [all...] |
H A D | hp5590_cmds.c | 597 DBG (DBG_err, "%s: scanner reports non-zero status: %s\n", in hp5590_init_scanner() 601 DBG (DBG_cmds, "%s: scanner status OK\n", __func__); in hp5590_init_scanner() 900 DBG (DBG_cmds, "%s: Data status: %02x\n", __func__, data_status); in hp5590_is_data_available() 1027 DBG (DBG_cmds, "Power status: %s (%02x)\n", in hp5590_power_status() 1944 enum button_status * status) in hp5590_read_buttons() 1951 hp5590_cmds_assert (status != NULL); in hp5590_read_buttons() 1963 *status = BUTTON_NONE; in hp5590_read_buttons() 1967 DBG (DBG_cmds, "Button status: %04x\n", button_status); in hp5590_read_buttons() 1982 *status = BUTTON_POWER; in hp5590_read_buttons() 1985 *status in hp5590_read_buttons() 1942 hp5590_read_buttons(SANE_Int dn, enum proto_flags proto_flags, enum button_status * status) hp5590_read_buttons() argument [all...] |
/third_party/python/Lib/asyncio/ |
H A D | unix_events.py | 47 def waitstatus_to_exitcode(status): 49 return os.waitstatus_to_exitcode(status) 51 # The child exited, but we don't understand its status. 53 # return that status; perhaps that helps debug it. 54 return status 963 _, status = os.waitpid(pid, 0) 969 "child process pid %d exit status already read: " 973 returncode = waitstatus_to_exitcode(status) 1084 pid, status = os.waitpid(expected_pid, os.WNOHANG) 1098 returncode = waitstatus_to_exitcode(status) [all...] |
/third_party/python/Modules/ |
H A D | mmapmodule.c | 490 struct _Py_stat_struct status; in mmap_size_method() local 491 if (_Py_fstat(self->fd, &status) == -1) in mmap_size_method() 494 return PyLong_FromLongLong(status.st_size); in mmap_size_method() 496 return PyLong_FromLong(status.st_size); in mmap_size_method() 1216 struct _Py_stat_struct status; in new_mmap_object() local 1291 fstat_result = _Py_fstat_noraise(fd, &status); in new_mmap_object() 1295 if (fd != -1 && fstat_result == 0 && S_ISREG(status.st_mode)) { in new_mmap_object() 1297 if (status.st_size == 0) { in new_mmap_object() 1302 if (offset >= status.st_size) { in new_mmap_object() 1307 if (status in new_mmap_object() [all...] |