/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | uartlite.c | 123 static int ulite_receive(struct uart_port *port, int stat) in ulite_receive() argument 129 if ((stat & (ULITE_STATUS_RXVALID | ULITE_STATUS_OVERRUN in ulite_receive() 134 if (stat & ULITE_STATUS_RXVALID) { in ulite_receive() 138 if (stat & ULITE_STATUS_PARITY) in ulite_receive() 142 if (stat & ULITE_STATUS_OVERRUN) in ulite_receive() 145 if (stat & ULITE_STATUS_FRAME) in ulite_receive() 150 if (stat & port->ignore_status_mask & ULITE_STATUS_PARITY) in ulite_receive() 151 stat &= ~ULITE_STATUS_RXVALID; in ulite_receive() 153 stat &= port->read_status_mask; in ulite_receive() 155 if (stat in ulite_receive() 173 ulite_transmit(struct uart_port *port, int stat) ulite_transmit() argument 204 int stat, busy, n = 0; ulite_isr() local [all...] |
H A D | owl-uart.c | 107 u32 stat, ctl; in owl_uart_get_mctrl() local 110 stat = owl_uart_read(port, OWL_UART_STAT); in owl_uart_get_mctrl() 111 if (stat & OWL_UART_STAT_RTSS) in owl_uart_get_mctrl() 113 if ((stat & OWL_UART_STAT_CTSS) || !(ctl & OWL_UART_CTL_AFE)) in owl_uart_get_mctrl() 213 u32 stat, val; in owl_uart_receive_chars() local 219 stat = owl_uart_read(port, OWL_UART_STAT); in owl_uart_receive_chars() 220 while (!(stat & OWL_UART_STAT_RFEM)) { in owl_uart_receive_chars() 223 if (stat & OWL_UART_STAT_RXER) in owl_uart_receive_chars() 226 if (stat & OWL_UART_STAT_RXST) { in owl_uart_receive_chars() 231 stat in owl_uart_receive_chars() 255 u32 stat; owl_uart_irq() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | owl-uart.c | 111 u32 stat, ctl; in owl_uart_get_mctrl() local 114 stat = owl_uart_read(port, OWL_UART_STAT); in owl_uart_get_mctrl() 115 if (stat & OWL_UART_STAT_RTSS) in owl_uart_get_mctrl() 117 if ((stat & OWL_UART_STAT_CTSS) || !(ctl & OWL_UART_CTL_AFE)) in owl_uart_get_mctrl() 193 u32 stat, val; in owl_uart_receive_chars() local 199 stat = owl_uart_read(port, OWL_UART_STAT); in owl_uart_receive_chars() 200 while (!(stat & OWL_UART_STAT_RFEM)) { in owl_uart_receive_chars() 203 if (stat & OWL_UART_STAT_RXER) in owl_uart_receive_chars() 206 if (stat & OWL_UART_STAT_RXST) { in owl_uart_receive_chars() 211 stat in owl_uart_receive_chars() 233 u32 stat; owl_uart_irq() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | wanxl.c | 183 switch (desc->stat) { in wanxl_tx_intr() 198 desc->stat = PACKET_EMPTY; /* Free descriptor */ in wanxl_tx_intr() 212 desc->stat != PACKET_EMPTY) { in wanxl_rx_intr() 213 if ((desc->stat & PACKET_PORT_MASK) > card->n_ports) { in wanxl_rx_intr() 218 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr() 252 desc->stat = PACKET_EMPTY; /* Free descriptor */ in wanxl_rx_intr() 261 u32 stat; in wanxl_intr() local 264 while ((stat = readl(card->plx + PLX_DOORBELL_FROM_CARD)) != 0) { in wanxl_intr() 266 writel(stat, card->plx + PLX_DOORBELL_FROM_CARD); in wanxl_intr() 269 if (stat in wanxl_intr() 553 u32 ramsize, stat; wanxl_pci_init_one() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-designware-master.c | 751 unsigned int stat, dummy; in i2c_dw_read_clear_intrbits() local 759 * stat = readl(IC_INTR_STAT); in i2c_dw_read_clear_intrbits() 761 * stat = readl(IC_RAW_INTR_STAT) & readl(IC_INTR_MASK); in i2c_dw_read_clear_intrbits() 765 regmap_read(dev->map, DW_IC_INTR_STAT, &stat); in i2c_dw_read_clear_intrbits() 774 if (stat & DW_IC_INTR_RX_UNDER) in i2c_dw_read_clear_intrbits() 776 if (stat & DW_IC_INTR_RX_OVER) in i2c_dw_read_clear_intrbits() 778 if (stat & DW_IC_INTR_TX_OVER) in i2c_dw_read_clear_intrbits() 780 if (stat & DW_IC_INTR_RD_REQ) in i2c_dw_read_clear_intrbits() 782 if (stat & DW_IC_INTR_TX_ABRT) { in i2c_dw_read_clear_intrbits() 790 if (stat in i2c_dw_read_clear_intrbits() 812 unsigned int stat, enabled; i2c_dw_isr() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | memblock.c | 164 pa_mempool_stat stat; member 176 pa_atomic_inc(&b->pool->stat.n_allocated); in stat_add() 177 pa_atomic_add(&b->pool->stat.allocated_size, (int) b->length); in stat_add() 179 pa_atomic_inc(&b->pool->stat.n_accumulated); in stat_add() 180 pa_atomic_add(&b->pool->stat.accumulated_size, (int) b->length); in stat_add() 183 pa_atomic_inc(&b->pool->stat.n_imported); in stat_add() 184 pa_atomic_add(&b->pool->stat.imported_size, (int) b->length); in stat_add() 187 pa_atomic_inc(&b->pool->stat.n_allocated_by_type[b->type]); in stat_add() 188 pa_atomic_inc(&b->pool->stat.n_accumulated_by_type[b->type]); in stat_add() 196 pa_assert(pa_atomic_load(&b->pool->stat in stat_remove() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | stv6111.c | 427 int stat = 0; in set_bandwidth() local 439 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_bandwidth() 440 if (!stat) { in set_bandwidth() 444 if (fe->ops.i2c_gate_ctrl && !stat) in set_bandwidth() 446 return stat; in set_bandwidth() 524 int stat = 0; in set_params() local 533 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_params() 534 if (!stat) in set_params() 536 if (fe->ops.i2c_gate_ctrl && !stat) in set_params() 583 int stat in get_rf_strength() local 662 int stat = -ENODEV; stv6111_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv6111.c | 418 int stat = 0; in set_bandwidth() local 430 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_bandwidth() 431 if (!stat) { in set_bandwidth() 435 if (fe->ops.i2c_gate_ctrl && !stat) in set_bandwidth() 437 return stat; in set_bandwidth() 515 int stat = 0; in set_params() local 524 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_params() 525 if (!stat) in set_params() 527 if (fe->ops.i2c_gate_ctrl && !stat) in set_params() 574 int stat in get_rf_strength() local 653 int stat = -ENODEV; stv6111_attach() local [all...] |
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-cd.c | 284 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status() argument 295 "stat 0x%x", in cdrom_decode_status() 296 rq->cmd[0], rq->cmd_type, err, stat); in cdrom_decode_status() 360 ide_dump_status(drive, "command error", stat); in cdrom_decode_status() 370 "(bad sector)", stat); in cdrom_decode_status() 377 stat); in cdrom_decode_status() 385 ide_error(drive, "cdrom_decode_status", stat); in cdrom_decode_status() 405 if (stat & ATA_ERR) in cdrom_decode_status() 410 if (stat & ATA_ERR) { in cdrom_decode_status() 618 u8 ireason, stat; in cdrom_newpc_intr() local 992 int stat; cdrom_read_capacity() local 1061 int stat, ntracks, i; ide_cd_read_toc() local 1230 int stat, attempts = 3, size = ATAPI_CAPABILITIES_PAGE_SIZE; ide_cdrom_get_capabilities() local 1648 int stat; idecd_set_spindown() local 1668 int stat; idecd_get_spindown() local [all...] |
/foundation/filemanagement/app_file_service/utils/include/b_json/ |
H A D | b_json_entity_ext_manage.h | 22 #include <sys/stat.h> 31 struct stat sta {}; 40 * @param info std::map<string, pair<string, struct stat>> 42 void SetExtManage(const map<string, tuple<string, struct stat, bool>> &info) const; 47 * @param info map<string, tuple<string, struct stat, bool, bool>> 49 void SetExtManageForClone(const map<string, tuple<string, struct stat, bool, bool>> &info) const; 61 * @return map<string, pair<string, struct stat>>
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc-multiple-procfs.c | 21 #include <sys/stat.h> 25 struct stat proc_st1, proc_st2; in main() 37 assert(!stat(procbuff, &proc_st1)); in main() 40 assert(!stat(procbuff, &proc_st2)); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-multiple-procfs.c | 21 #include <sys/stat.h> 25 struct stat proc_st1, proc_st2; in main() 37 assert(!stat(procbuff, &proc_st1)); in main() 40 assert(!stat(procbuff, &proc_st2)); in main()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
H A D | b64.rs | 3 pub struct stat { structure names 29 impl ::Copy for ::stat {} 30 impl ::Clone for ::stat { 31 fn clone(&self) -> ::stat { in clone()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
H A D | b64.rs | 3 pub struct stat { structure names 29 impl ::Copy for ::stat {} 30 impl ::Clone for ::stat { 31 fn clone(&self) -> ::stat { in clone()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
H A D | b64.rs | 3 pub struct stat { structure names 29 impl ::Copy for ::stat {} 30 impl ::Clone for ::stat { 31 fn clone(&self) -> ::stat { in clone()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
H A D | b64.rs | 3 pub struct stat { structure names 27 impl ::Copy for ::stat {} 28 impl ::Clone for ::stat { 29 fn clone(&self) -> ::stat { in clone()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
H A D | pm80xx_hwi.c | 1919 ts->stat = SAS_SAM_STAT_GOOD; in mpi_ssp_completion() 1922 ts->stat = SAS_PROTO_RESPONSE; in mpi_ssp_completion() 1933 ts->stat = SAS_ABORTED_TASK; in mpi_ssp_completion() 1942 ts->stat = SAS_DATA_UNDERRUN; in mpi_ssp_completion() 1950 ts->stat = SAS_PHY_DOWN; in mpi_ssp_completion() 1957 ts->stat = SAS_OPEN_REJECT; in mpi_ssp_completion() 1966 ts->stat = SAS_OPEN_REJECT; in mpi_ssp_completion() 1975 ts->stat = SAS_OPEN_REJECT; in mpi_ssp_completion() 1984 ts->stat = SAS_OPEN_REJECT; in mpi_ssp_completion() 1993 ts->stat in mpi_ssp_completion() [all...] |
H A D | pm8001_hwi.c | 1549 ts->stat = SAS_QUEUE_FULL; in pm8001_work_fn() 1559 pm8001_dbg(pm8001_ha, FAIL, "task 0x%p done with event 0x%x resp 0x%x stat 0x%x but aborted by upper layer!\n", in pm8001_work_fn() 1560 t, pw->handler, ts->resp, ts->stat); in pm8001_work_fn() 1884 ts->stat = SAS_SAM_STAT_GOOD; in mpi_ssp_completion() 1887 ts->stat = SAS_PROTO_RESPONSE; in mpi_ssp_completion() 1898 ts->stat = SAS_ABORTED_TASK; in mpi_ssp_completion() 1905 ts->stat = SAS_DATA_UNDERRUN; in mpi_ssp_completion() 1913 ts->stat = SAS_PHY_DOWN; in mpi_ssp_completion() 1918 ts->stat = SAS_OPEN_REJECT; in mpi_ssp_completion() 1925 ts->stat in mpi_ssp_completion() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
H A D | ethoc.c | 229 * @stat: buffer statistics 233 u32 stat; member 257 bd->stat = ethoc_read(dev, offset + 0); in ethoc_read_bd() 265 ethoc_write(dev, offset + 0, bd->stat); in ethoc_write_bd() 316 bd.stat = TX_BD_IRQ | TX_BD_CRC; in ethoc_init_ring() 321 bd.stat |= TX_BD_WRAP; in ethoc_init_ring() 330 bd.stat = RX_BD_EMPTY | RX_BD_IRQ; in ethoc_init_ring() 334 bd.stat |= RX_BD_WRAP; in ethoc_init_ring() 379 if (bd->stat & RX_BD_TL) { in ethoc_update_rx_stats() 385 if (bd->stat in ethoc_update_rx_stats() 657 u32 stat = ethoc_read(priv, MIISTATUS); ethoc_mdio_write() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ |
H A D | ethoc.c | 229 * @stat: buffer statistics 233 u32 stat; member 257 bd->stat = ethoc_read(dev, offset + 0); in ethoc_read_bd() 265 ethoc_write(dev, offset + 0, bd->stat); in ethoc_write_bd() 316 bd.stat = TX_BD_IRQ | TX_BD_CRC; in ethoc_init_ring() 321 bd.stat |= TX_BD_WRAP; in ethoc_init_ring() 330 bd.stat = RX_BD_EMPTY | RX_BD_IRQ; in ethoc_init_ring() 334 bd.stat |= RX_BD_WRAP; in ethoc_init_ring() 379 if (bd->stat & RX_BD_TL) { in ethoc_update_rx_stats() 385 if (bd->stat in ethoc_update_rx_stats() 657 u32 stat = ethoc_read(priv, MIISTATUS); ethoc_mdio_write() local [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | file_operations_helper_mock.cpp | 61 void FileOperationsHelper::GetInodeAttr(shared_ptr<CloudDiskInode> ino, struct stat *statBuf) in GetInodeAttr() 63 statBuf->st_ino = ino->stat.st_ino; in GetInodeAttr() 64 statBuf->st_uid = ino->stat.st_uid; in GetInodeAttr() 65 statBuf->st_gid = ino->stat.st_gid; in GetInodeAttr() 66 statBuf->st_mtime = ino->stat.st_mtime; in GetInodeAttr() 67 statBuf->st_ctime = ino->stat.st_ctime; in GetInodeAttr() 68 statBuf->st_atime = ino->stat.st_atime; in GetInodeAttr() 69 statBuf->st_mode = ino->stat.st_mode; in GetInodeAttr() 70 statBuf->st_nlink = ino->stat.st_nlink; in GetInodeAttr() 72 statBuf->st_size = ino->stat in GetInodeAttr() [all...] |
/kernel/linux/linux-5.10/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) in pcxhr_init_board() 53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < in pcxhr_init_board() 57 if ((rmh.stat[1] & 0x5F) < card_streams) in pcxhr_init_board() 60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) in pcxhr_init_board() 64 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board() 76 "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, in pcxhr_init_board() 77 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board() 78 mgr->dsp_version = rmh.stat[ in pcxhr_init_board() [all...] |
/kernel/linux/linux-6.6/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) in pcxhr_init_board() 53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < in pcxhr_init_board() 57 if ((rmh.stat[1] & 0x5F) < card_streams) in pcxhr_init_board() 60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) in pcxhr_init_board() 64 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board() 76 "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, in pcxhr_init_board() 77 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board() 78 mgr->dsp_version = rmh.stat[ in pcxhr_init_board() [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | wanxl.c | 167 switch (desc->stat) { in wanxl_tx_intr() 182 desc->stat = PACKET_EMPTY; /* Free descriptor */ in wanxl_tx_intr() 197 desc->stat != PACKET_EMPTY) { in wanxl_rx_intr() 198 if ((desc->stat & PACKET_PORT_MASK) > card->n_ports) in wanxl_rx_intr() 203 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr() 237 desc->stat = PACKET_EMPTY; /* Free descriptor */ in wanxl_rx_intr() 248 u32 stat; in wanxl_intr() local 252 while((stat = readl(card->plx + PLX_DOORBELL_FROM_CARD)) != 0) { in wanxl_intr() 254 writel(stat, card->plx + PLX_DOORBELL_FROM_CARD); in wanxl_intr() 257 if (stat in wanxl_intr() 561 u32 ramsize, stat; wanxl_pci_init_one() local [all...] |
H A D | hd64572.c | 147 writeb(0, &desc->stat); in sca_init_port() 235 u8 stat = sca_in(DSR_RX(port->chan), card); /* read DMA Status */ in sca_rx_done() local 239 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, in sca_rx_done() 242 if (stat & DSR_BOF) in sca_rx_done() 255 stat = readb(&desc->stat); in sca_rx_done() 256 if (!(stat & ST_RX_EOM)) in sca_rx_done() 258 else if ((stat & ST_ERROR_MASK) || port->rxpart) { in sca_rx_done() 260 if (stat & ST_RX_OVERRUN) in sca_rx_done() 262 else if ((stat in sca_rx_done() 290 u8 stat; sca_tx_done() local 303 u8 stat = readb(&desc->stat); sca_tx_done() local [all...] |