| /kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
| D | ispstat.c | 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) argument 56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) argument 57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) argument 58 #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEWB(stat)) argument 60 static void __isp_stat_buf_sync_magic(struct ispstat *stat, in __isp_stat_buf_sync_magic() argument 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 69 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic() 73 static void isp_stat_buf_sync_magic_for_device(struct ispstat *stat, in isp_stat_buf_sync_magic_for_device() argument 78 if (ISP_STAT_USES_DMAENGINE(stat)) in isp_stat_buf_sync_magic_for_device() 81 __isp_stat_buf_sync_magic(stat, buf, buf_size, dir, in isp_stat_buf_sync_magic_for_device() [all …]
|
| D | ispstat.h | 52 int (*validate_params)(struct ispstat *stat, void *new_conf); 56 * stat->priv->buf_size value must be set to the exact buffer size for 58 * stat->update is set to 1 if new configuration is different than 61 void (*set_params)(struct ispstat *stat, void *new_conf); 64 void (*setup_regs)(struct ispstat *stat, void *priv); 67 void (*enable)(struct ispstat *stat, int enable); 70 int (*busy)(struct ispstat *stat); 73 int (*buf_process)(struct ispstat *stat); 127 int omap3isp_stat_config(struct ispstat *stat, void *new_conf); 128 int omap3isp_stat_request_statistics(struct ispstat *stat, [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/omap3isp/ |
| D | ispstat.c | 25 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) argument 59 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) argument 60 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) argument 61 #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEWB(stat)) argument 63 static void __isp_stat_buf_sync_magic(struct ispstat *stat, in __isp_stat_buf_sync_magic() argument 71 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 72 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic() 76 static void isp_stat_buf_sync_magic_for_device(struct ispstat *stat, in isp_stat_buf_sync_magic_for_device() argument 81 if (ISP_STAT_USES_DMAENGINE(stat)) in isp_stat_buf_sync_magic_for_device() 84 __isp_stat_buf_sync_magic(stat, buf, buf_size, dir, in isp_stat_buf_sync_magic_for_device() [all …]
|
| D | ispstat.h | 55 int (*validate_params)(struct ispstat *stat, void *new_conf); 59 * stat->priv->buf_size value must be set to the exact buffer size for 61 * stat->update is set to 1 if new configuration is different than 64 void (*set_params)(struct ispstat *stat, void *new_conf); 67 void (*setup_regs)(struct ispstat *stat, void *priv); 70 void (*enable)(struct ispstat *stat, int enable); 73 int (*busy)(struct ispstat *stat); 76 int (*buf_process)(struct ispstat *stat); 130 int omap3isp_stat_config(struct ispstat *stat, void *new_conf); 131 int omap3isp_stat_request_statistics(struct ispstat *stat, [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | stat.c | 3 * linux/fs/stat.c 30 * @stat: Where to fill in the attributes 36 void generic_fillattr(struct inode *inode, struct kstat *stat) in generic_fillattr() argument 38 stat->dev = inode->i_sb->s_dev; in generic_fillattr() 39 stat->ino = inode->i_ino; in generic_fillattr() 40 stat->mode = inode->i_mode; in generic_fillattr() 41 stat->nlink = inode->i_nlink; in generic_fillattr() 42 stat->uid = inode->i_uid; in generic_fillattr() 43 stat->gid = inode->i_gid; in generic_fillattr() 44 stat->rdev = inode->i_rdev; in generic_fillattr() [all …]
|
| /kernel/linux/linux-4.19/fs/ |
| D | stat.c | 3 * linux/fs/stat.c 27 * @stat: Where to fill in the attributes 33 void generic_fillattr(struct inode *inode, struct kstat *stat) in generic_fillattr() argument 35 stat->dev = inode->i_sb->s_dev; in generic_fillattr() 36 stat->ino = inode->i_ino; in generic_fillattr() 37 stat->mode = inode->i_mode; in generic_fillattr() 38 stat->nlink = inode->i_nlink; in generic_fillattr() 39 stat->uid = inode->i_uid; in generic_fillattr() 40 stat->gid = inode->i_gid; in generic_fillattr() 41 stat->rdev = inode->i_rdev; in generic_fillattr() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| D | gv100.c | 47 u32 stat = nvkm_rd32(device, 0x6107a8); in gv100_disp_super() local 50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super() 101 u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); in gv100_disp_exception() local 102 u32 type = (stat & 0x00007000) >> 12; in gv100_disp_exception() 103 u32 mthd = (stat & 0x00000fff) << 2; in gv100_disp_exception() 115 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception() 117 chid, stat, type, reason ? reason->name : "", in gv100_disp_exception() 120 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception() 122 chid, stat, type, reason ? reason->name : "", mthd); in gv100_disp_exception() 143 u32 stat = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local [all …]
|
| /kernel/linux/linux-4.19/tools/perf/tests/attr/ |
| D | test-stat-detailed-3 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| D | test-stat-detailed-2 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| D | test-stat-detailed-1 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/attr/ |
| D | test-stat-detailed-3 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| D | test-stat-detailed-2 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| D | test-stat-detailed-1 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| D | gv100.c | 47 u32 stat = nvkm_rd32(device, 0x6107a8); in gv100_disp_super() local 50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super() 101 u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); in gv100_disp_exception() local 102 u32 type = (stat & 0x00007000) >> 12; in gv100_disp_exception() 103 u32 mthd = (stat & 0x00000fff) << 2; in gv100_disp_exception() 109 chid, stat, type, mthd, data, code); in gv100_disp_exception() 129 u32 stat = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local 131 if (stat & 0x00000007) { in gv100_disp_intr_ctrl_disp() 132 disp->super = (stat & 0x00000007); in gv100_disp_intr_ctrl_disp() 135 stat &= ~0x00000007; in gv100_disp_intr_ctrl_disp() [all …]
|
| /kernel/linux/linux-4.19/block/ |
| D | blk-stat.c | 2 * Block stat tracking code 10 #include "blk-stat.h" 20 void blk_rq_stat_init(struct blk_rq_stat *stat) in blk_rq_stat_init() argument 22 stat->min = -1ULL; in blk_rq_stat_init() 23 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init() 24 stat->batch = 0; in blk_rq_stat_init() 27 /* src is a per-cpu stat, mean isn't initialized */ 42 void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) in blk_rq_stat_add() argument 44 stat->min = min(stat->min, value); in blk_rq_stat_add() 45 stat->max = max(stat->max, value); in blk_rq_stat_add() [all …]
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-stat.c | 3 * Block stat tracking code 11 #include "blk-stat.h" 21 void blk_rq_stat_init(struct blk_rq_stat *stat) in blk_rq_stat_init() argument 23 stat->min = -1ULL; in blk_rq_stat_init() 24 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init() 25 stat->batch = 0; in blk_rq_stat_init() 28 /* src is a per-cpu stat, mean isn't initialized */ 43 void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) in blk_rq_stat_add() argument 45 stat->min = min(stat->min, value); in blk_rq_stat_add() 46 stat->max = max(stat->max, value); in blk_rq_stat_add() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/ia32/ |
| D | sys_ia32.c | 36 #include <linux/stat.h> 69 * Another set for IA32/LFS -- x86_64 struct stat is different due to 72 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 76 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64() 77 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64() 79 __put_user(huge_encode_dev(stat->dev), &ubuf->st_dev) || in cp_stat64() 80 __put_user(stat->ino, &ubuf->__st_ino) || in cp_stat64() 81 __put_user(stat->ino, &ubuf->st_ino) || in cp_stat64() 82 __put_user(stat->mode, &ubuf->st_mode) || in cp_stat64() 83 __put_user(stat->nlink, &ubuf->st_nlink) || in cp_stat64() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | sys_ia32.c | 36 #include <linux/stat.h> 129 * Another set for IA32/LFS -- x86_64 struct stat is different due to 132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64() 137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64() 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); in cp_stat64() 141 unsafe_put_user(stat->ino, &ubuf->__st_ino, Efault); in cp_stat64() 142 unsafe_put_user(stat->ino, &ubuf->st_ino, Efault); in cp_stat64() 143 unsafe_put_user(stat->mode, &ubuf->st_mode, Efault); in cp_stat64() 144 unsafe_put_user(stat->nlink, &ubuf->st_nlink, Efault); in cp_stat64() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-ebsa110/include/mach/ |
| D | entry-macro.S | 19 .macro get_irqnr_and_base, irqnr, stat, base, tmp 20 ldrb \stat, [\base] @ get interrupts 22 tst \stat, #15 24 moveq \stat, \stat, lsr #4 25 tst \stat, #3 27 moveq \stat, \stat, lsr #2 28 tst \stat, #1 30 moveq \stat, \stat, lsr #1 31 tst \stat, #1 @ bit 0 should be set
|
| /kernel/linux/linux-5.10/arch/arm/mach-ebsa110/include/mach/ |
| D | entry-macro.S | 19 .macro get_irqnr_and_base, irqnr, stat, base, tmp 20 ldrb \stat, [\base] @ get interrupts 22 tst \stat, #15 24 moveq \stat, \stat, lsr #4 25 tst \stat, #3 27 moveq \stat, \stat, lsr #2 28 tst \stat, #1 30 moveq \stat, \stat, lsr #1 31 tst \stat, #1 @ bit 0 should be set
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | sys_sparc32.c | 28 #include <linux/stat.h> 64 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64() argument 69 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 70 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 71 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 75 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 77 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() [all …]
|
| /kernel/linux/linux-4.19/arch/sparc/kernel/ |
| D | sys_sparc32.c | 29 #include <linux/stat.h> 65 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64() argument 70 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 71 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 72 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 73 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 74 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 75 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 76 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 78 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() [all …]
|
| /kernel/linux/linux-4.19/drivers/i2c/busses/ |
| D | i2c-designware-slave.c | 106 u32 stat; in i2c_dw_read_clear_intrbits_slave() local 114 * stat = dw_readl(IC_INTR_STAT); in i2c_dw_read_clear_intrbits_slave() 116 * stat = dw_readl(IC_RAW_INTR_STAT) & dw_readl(IC_INTR_MASK); in i2c_dw_read_clear_intrbits_slave() 120 stat = dw_readl(dev, DW_IC_INTR_STAT); in i2c_dw_read_clear_intrbits_slave() 129 if (stat & DW_IC_INTR_TX_ABRT) in i2c_dw_read_clear_intrbits_slave() 131 if (stat & DW_IC_INTR_RX_UNDER) in i2c_dw_read_clear_intrbits_slave() 133 if (stat & DW_IC_INTR_RX_OVER) in i2c_dw_read_clear_intrbits_slave() 135 if (stat & DW_IC_INTR_TX_OVER) in i2c_dw_read_clear_intrbits_slave() 137 if (stat & DW_IC_INTR_RX_DONE) in i2c_dw_read_clear_intrbits_slave() 139 if (stat & DW_IC_INTR_ACTIVITY) in i2c_dw_read_clear_intrbits_slave() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/sgi-ip32/ |
| D | crime.c | 44 unsigned long stat, addr; in crime_memerr_intr() local 47 stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; in crime_memerr_intr() 50 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 52 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr() 54 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr() 61 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr() 65 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr() 69 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr() 71 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr() 73 if (stat & CRIME_MEM_ERROR_VICE_ACCESS) in crime_memerr_intr() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/sgi-ip32/ |
| D | crime.c | 44 unsigned long stat, addr; in crime_memerr_intr() local 47 stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; in crime_memerr_intr() 50 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 52 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr() 54 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr() 61 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr() 65 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr() 69 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr() 71 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr() 73 if (stat & CRIME_MEM_ERROR_VICE_ACCESS) in crime_memerr_intr() [all …]
|