Home
last modified time | relevance | path

Searched refs:stat (Results 2676 - 2700 of 7319) sorted by relevance

1...<<101102103104105106107108109110>>...293

/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Ddib7000m.c1263 static int dib7000m_read_status(struct dvb_frontend *fe, enum fe_status *stat) in dib7000m_read_status() argument
1268 *stat = 0; in dib7000m_read_status()
1271 *stat |= FE_HAS_SIGNAL; in dib7000m_read_status()
1273 *stat |= FE_HAS_CARRIER; in dib7000m_read_status()
1275 *stat |= FE_HAS_VITERBI; in dib7000m_read_status()
1277 *stat |= FE_HAS_SYNC; in dib7000m_read_status()
1279 *stat |= FE_HAS_LOCK; in dib7000m_read_status()
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c19 enum fe_status stat; member
428 enum fe_status *stat) in af9005_fe_read_status()
437 *stat = 0; in af9005_fe_read_status()
443 *stat |= FE_HAS_SIGNAL; in af9005_fe_read_status()
451 *stat |= FE_HAS_CARRIER; in af9005_fe_read_status()
460 *stat |= FE_HAS_SYNC | FE_HAS_VITERBI | FE_HAS_LOCK; in af9005_fe_read_status()
462 af9005_led_control(state->d, *stat & FE_HAS_LOCK); in af9005_fe_read_status()
427 af9005_fe_read_status(struct dvb_frontend *fe, enum fe_status *stat) af9005_fe_read_status() argument
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dinode_local.c917 static int hmdfs_getattr_local(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, in hmdfs_getattr_local() argument
929 ret = vfs_getattr(&lower_path, stat, request_mask, flags); in hmdfs_getattr_local()
930 stat->ino = d_inode(path->dentry)->i_ino; in hmdfs_getattr_local()
931 stat->uid = d_inode(path->dentry)->i_uid; in hmdfs_getattr_local()
932 stat->gid = d_inode(path->dentry)->i_gid; in hmdfs_getattr_local()
933 stat->dev = 0; in hmdfs_getattr_local()
934 stat->rdev = 0; in hmdfs_getattr_local()
/kernel/linux/linux-6.6/fs/ext2/
H A Dinode.c1614 struct kstat *stat, u32 request_mask, unsigned int query_flags) in ext2_getattr()
1622 stat->attributes |= STATX_ATTR_APPEND; in ext2_getattr()
1624 stat->attributes |= STATX_ATTR_COMPRESSED; in ext2_getattr()
1626 stat->attributes |= STATX_ATTR_IMMUTABLE; in ext2_getattr()
1628 stat->attributes |= STATX_ATTR_NODUMP; in ext2_getattr()
1629 stat->attributes_mask |= (STATX_ATTR_APPEND | in ext2_getattr()
1635 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in ext2_getattr()
1613 ext2_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) ext2_getattr() argument
/kernel/linux/linux-6.6/drivers/block/
H A Dswim3.c299 int stat; in swim3_readbit() local
303 stat = in_8(&sw->status); in swim3_readbit()
304 return (stat & DATA) == 0; in swim3_readbit()
660 int stat, resid; in swim3_interrupt() local
753 stat = le16_to_cpu(cp->xfer_status); in swim3_interrupt()
772 if ((stat & ACTIVE) == 0 || resid != 0) { in swim3_interrupt()
774 swim3_err("fd dma error: stat=%x resid=%d\n", stat, resid); in swim3_interrupt()
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtmtksdio.c284 bdev->hdev->stat.byte_tx += skb->len; in btmtksdio_tx_packet()
533 bdev->hdev->stat.byte_rx += rx_size; in btmtksdio_rx_packet()
596 bdev->hdev->stat.err_tx++; in btmtksdio_txrx_work()
606 bdev->hdev->stat.err_rx++; in btmtksdio_txrx_work()
1222 hdev->stat.cmd_tx++; in btmtksdio_send_frame()
1226 hdev->stat.acl_tx++; in btmtksdio_send_frame()
1230 hdev->stat.sco_tx++; in btmtksdio_send_frame()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c950 u32 stat, t2_curr_h, t2_curr_l, ctrl; in igc_phc_get_syncdevicetime() local
982 err = readx_poll_timeout(rd32, IGC_PTM_STAT, stat, in igc_phc_get_syncdevicetime()
983 stat, IGC_PTM_STAT_SLEEP, in igc_phc_get_syncdevicetime()
990 if ((stat & IGC_PTM_STAT_VALID) == IGC_PTM_STAT_VALID) in igc_phc_get_syncdevicetime()
993 if (stat & ~IGC_PTM_STAT_VALID) { in igc_phc_get_syncdevicetime()
995 igc_ptm_log_error(adapter, stat); in igc_phc_get_syncdevicetime()
999 wr32(IGC_PTM_STAT, stat); in igc_phc_get_syncdevicetime()
/kernel/linux/linux-6.6/sound/ppc/
H A Dpmac.c297 int stat; in snd_pmac_pcm_pointer() local
299 stat = le16_to_cpu(cp->xfer_status); in snd_pmac_pcm_pointer()
300 if (stat & (ACTIVE|DEAD)) { in snd_pmac_pcm_pointer()
435 int stat; in snd_pmac_pcm_update() local
446 stat = le16_to_cpu(cp->xfer_status); in snd_pmac_pcm_update()
448 if (stat & DEAD) { in snd_pmac_pcm_update()
456 if (! (stat & ACTIVE)) in snd_pmac_pcm_update()
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_94xx.c626 u32 stat = 0; in mvs_94xx_isr_status() local
628 stat = mr32(MVS_GBL_INT_STAT); in mvs_94xx_isr_status()
630 if (!(stat & (MVS_IRQ_SAS_A | MVS_IRQ_SAS_B))) in mvs_94xx_isr_status()
633 return stat; in mvs_94xx_isr_status()
636 static irqreturn_t mvs_94xx_isr(struct mvs_info *mvi, int irq, u32 stat) in mvs_94xx_isr() argument
640 if (((stat & MVS_IRQ_SAS_A) && mvi->id == 0) || in mvs_94xx_isr()
641 ((stat & MVS_IRQ_SAS_B) && mvi->id == 1)) { in mvs_94xx_isr()
/third_party/eudev/src/shared/
H A Dutil.c32 #include <sys/stat.h>
1031 bool null_or_empty(struct stat *st) { in null_or_empty()
1044 struct stat st; in null_or_empty_path()
1048 if (stat(fn, &st) < 0) in null_or_empty_path()
1055 struct stat st; in null_or_empty_fd()
1743 struct stat st; in is_dir()
1747 r = stat(path, &st); in is_dir()
/third_party/ltp/testcases/kernel/fs/doio/
H A Diogen.c48 #include <sys/stat.h>
534 struct stat sbuf; in init_output()
536 if (stat(Outpipe, &sbuf) == -1) { in init_output()
546 "iogen%s: Could not stat outpipe %s: %s\n", in init_output()
950 struct stat sbuf; in get_file_info()
964 if (stat(rec->f_path, &sbuf) == -1) { in get_file_info()
966 "iogen%s: get_file_info(): Could not stat() %s: %s\n", in get_file_info()
1007 /* can't get raw I/O unit -- use stat to fudge it */ in get_file_info()
1075 struct stat sbuf; in create_file()
1085 rval = stat(pat in create_file()
[all...]
/third_party/rust/crates/libc/src/unix/hermit/
H A Dmod.rs28 pub type stat64 = stat;
80 pub struct stat { structure names
287 impl PartialEq for stat {
288 fn eq(&self, other: &stat) -> bool { in eq()
312 impl Eq for stat {}
313 impl ::fmt::Debug for stat {
315 f.debug_struct("stat") in fmt()
336 impl ::hash::Hash for stat {
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dbtusb.c878 hdev->stat.byte_rx += urb->actual_length; in btusb_intr_complete()
883 hdev->stat.err_rx++; in btusb_intr_complete()
968 hdev->stat.byte_rx += urb->actual_length; in btusb_bulk_complete()
973 hdev->stat.err_rx++; in btusb_bulk_complete()
1064 hdev->stat.byte_rx += length; in btusb_isoc_complete()
1069 hdev->stat.err_rx++; in btusb_isoc_complete()
1303 hdev->stat.byte_tx += urb->transfer_buffer_length; in btusb_tx_complete()
1305 hdev->stat.err_tx++; in btusb_tx_complete()
1329 hdev->stat.byte_tx += urb->transfer_buffer_length; in btusb_isoc_tx_complete()
1331 hdev->stat in btusb_isoc_tx_complete()
[all...]
H A Dbtmtkuart.c390 hdev->stat.byte_tx += len; in btmtkuart_tx_work()
400 hdev->stat.cmd_tx++; in btmtkuart_tx_work()
403 hdev->stat.acl_tx++; in btmtkuart_tx_work()
406 hdev->stat.sco_tx++; in btmtkuart_tx_work()
528 bdev->hdev->stat.byte_rx += count; in btmtkuart_receive_buf()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c2153 ts->stat = SAS_DATA_UNDERRUN; in slot_err_v3_hw()
2155 ts->stat = SAS_QUEUE_FULL; in slot_err_v3_hw()
2158 ts->stat = SAS_OPEN_REJECT; in slot_err_v3_hw()
2167 ts->stat = SAS_PROTO_RESPONSE; in slot_err_v3_hw()
2170 ts->stat = SAS_DATA_UNDERRUN; in slot_err_v3_hw()
2172 ts->stat = SAS_PHY_DOWN; in slot_err_v3_hw()
2175 ts->stat = SAS_OPEN_REJECT; in slot_err_v3_hw()
2182 ts->stat = SAS_SAM_STAT_CHECK_CONDITION; in slot_err_v3_hw()
2225 ts->stat = SAS_PHY_DOWN; in slot_complete_v3_hw()
2239 ts->stat in slot_complete_v3_hw()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_devfreq.c285 kbase_devfreq_status(struct device *dev, struct devfreq_dev_status *stat) in kbase_devfreq_status() argument
292 stat->busy_time = diff.time_busy; in kbase_devfreq_status()
293 stat->total_time = diff.time_busy + diff.time_idle; in kbase_devfreq_status()
294 stat->current_frequency = kbdev->current_nominal_freq; in kbase_devfreq_status()
295 stat->private_data = NULL; in kbase_devfreq_status()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dvf610_nfc.c555 int stat; in vf610_nfc_read_page() local
585 stat = vf610_nfc_correct_data(chip, buf, chip->oob_poi, page); in vf610_nfc_read_page()
587 if (stat < 0) { in vf610_nfc_read_page()
591 mtd->ecc_stats.corrected += stat; in vf610_nfc_read_page()
592 return stat; in vf610_nfc_read_page()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c379 void __iomem *ctrl, *stat; in vcodec_control_v4() local
385 stat = core->wrapper_base + WRAPPER_VCODEC0_MMCC_POWER_STATUS; in vcodec_control_v4()
388 stat = core->wrapper_base + WRAPPER_VCODEC1_MMCC_POWER_STATUS; in vcodec_control_v4()
394 ret = readl_poll_timeout(stat, val, val & BIT(1), 1, 100); in vcodec_control_v4()
400 ret = readl_poll_timeout(stat, val, !(val & BIT(1)), 1, 100); in vcodec_control_v4()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-davinci.c605 u32 stat; in i2c_davinci_isr() local
612 while ((stat = davinci_i2c_read_reg(dev, DAVINCI_I2C_IVR_REG))) { in i2c_davinci_isr()
613 dev_dbg(dev->dev, "%s: stat=0x%x\n", __func__, stat); in i2c_davinci_isr()
619 switch (stat) { in i2c_davinci_isr()
696 dev_warn(dev->dev, "Unrecognized irq stat %d\n", stat); in i2c_davinci_isr()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Drtsx_chip.h927 #define rtsx_set_stat(chip, stat) \
929 if ((stat) != RTSX_STAT_IDLE) { \
932 (chip)->rtsx_stat = (enum RTSX_STAT)(stat); \
935 #define rtsx_chk_stat(chip, stat) ((chip)->rtsx_stat == (stat))
/kernel/linux/linux-5.10/tools/perf/util/
H A Djitdump.c13 #include <sys/stat.h>
409 struct stat st; in jit_repipe_code_load()
464 if (stat(filename, &st)) in jit_repipe_code_load()
524 struct stat st; in jit_repipe_code_move()
554 if (stat(filename, &st)) in jit_repipe_code_move()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-uniphier.c603 u32 val, stat; in uniphier_spi_handler() local
605 stat = readl(priv->base + SSI_IS); in uniphier_spi_handler()
610 if (stat & SSI_IS_RORID) { in uniphier_spi_handler()
616 if ((stat & SSI_IS_RCID) && (stat & SSI_IS_RXRS)) { in uniphier_spi_handler()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dvf610_nfc.c555 int stat; in vf610_nfc_read_page() local
585 stat = vf610_nfc_correct_data(chip, buf, chip->oob_poi, page); in vf610_nfc_read_page()
587 if (stat < 0) { in vf610_nfc_read_page()
591 mtd->ecc_stats.corrected += stat; in vf610_nfc_read_page()
592 return stat; in vf610_nfc_read_page()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_stats.c353 u64 *stat = &ocelot->stats[idx + j]; in ocelot_port_transfer_stats() local
356 if (val < (*stat & U32_MAX)) in ocelot_port_transfer_stats()
357 *stat += (u64)1 << 32; in ocelot_port_transfer_stats()
359 *stat = (*stat & ~(u64)U32_MAX) + val; in ocelot_port_transfer_stats()
/kernel/linux/linux-6.6/drivers/net/dsa/qca/
H A Dar9331.c703 u32 stat; in ar9331_sw_irq() local
706 ret = regmap_read(regmap, AR9331_SW_REG_GINT, &stat); in ar9331_sw_irq()
712 if (!stat) in ar9331_sw_irq()
715 if (stat & AR9331_SW_GINT_PHY_INT) { in ar9331_sw_irq()
722 ret = regmap_write(regmap, AR9331_SW_REG_GINT, stat); in ar9331_sw_irq()

Completed in 84 milliseconds

1...<<101102103104105106107108109110>>...293