Searched refs:stat (Results 426 - 450 of 1630) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c20 #define ENIC_TX_STAT(stat) { \
21 .name = #stat, \
22 .index = offsetof(struct vnic_tx_stats, stat) / sizeof(u64) \
25 #define ENIC_RX_STAT(stat) { \
26 .name = #stat, \
27 .index = offsetof(struct vnic_rx_stats, stat) / sizeof(u64) \
30 #define ENIC_GEN_STAT(stat) { \
31 .name = #stat, \
32 .index = offsetof(struct vnic_gen_stats, stat) / sizeof(u64)\
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c356 u8 stat[DP_LINK_STATUS_SIZE]; local
360 ret = drm_dp_dpcd_read_phy_link_status(aux, DP_PHY_DPRX, stat);
365 if (!drm_dp_channel_eq_ok(stat, outp->dp.lt.nr)) {
370 if (!(stat[2] & 0x02))
376 memcpy(prev, &stat[4], sizeof(prev));
377 ret = drm_dp_dpcd_read_phy_link_status(aux, DP_PHY_DPRX, stat);
381 if (!memcmp(prev, &stat[4], sizeof(prev))) {
391 pe[i] = drm_dp_get_adjust_request_pre_emphasis(stat, i) >>
393 vs[i] = drm_dp_get_adjust_request_voltage(stat, i) >>
/linux-master/drivers/i2c/busses/
H A Di2c-octeon-core.c184 u8 stat; local
192 stat = __raw_readq(i2c->twsi_base + OCTEON_REG_SW_TWSI(i2c));
194 stat = octeon_i2c_stat_read(i2c);
196 switch (stat) {
256 dev_err(i2c->dev, "unhandled state: %d\n", stat);
281 u8 stat; local
290 stat = octeon_i2c_stat_read(i2c);
291 if (stat == STAT_START || stat == STAT_REP_START)
H A Di2c-s3c2410.c248 unsigned long stat; local
251 stat = 0;
252 stat |= S3C2410_IICSTAT_TXRXEN;
255 stat |= S3C2410_IICSTAT_MASTER_RX;
258 stat |= S3C2410_IICSTAT_MASTER_TX;
267 writel(stat, i2c->regs + S3C2410_IICSTAT);
269 dev_dbg(i2c->dev, "START: %08lx to IICSTAT, %02x to DS\n", stat, addr);
281 stat |= S3C2410_IICSTAT_START;
282 writel(stat, i2c->regs + S3C2410_IICSTAT);
709 unsigned long stat local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Daf9013.c629 c->strength.stat[0].scale = FE_SCALE_DECIBEL;
630 c->strength.stat[0].svalue = stmp1;
633 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
711 c->cnr.stat[0].scale = FE_SCALE_DECIBEL;
712 c->cnr.stat[0].svalue = utmp1;
715 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
768 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER;
769 c->post_bit_error.stat[0].uvalue += utmp1;
770 c->post_bit_count.stat[0].scale = FE_SCALE_COUNTER;
771 c->post_bit_count.stat[
[all...]
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c19 unsigned short stat; local
27 stat = inw(chip->port + PDAUDIOCF_REG_ISR);
28 if (stat & (PDAUDIOCF_IRQLVL|PDAUDIOCF_IRQOVR)) {
29 if (stat & PDAUDIOCF_IRQOVR) /* should never happen */
33 if (!(stat & PDAUDIOCF_IRQAKM))
34 stat |= PDAUDIOCF_IRQAKM; /* check rate */
/linux-master/drivers/bluetooth/
H A Dbpa10x.c58 hdev->stat.byte_tx += urb->transfer_buffer_length;
60 hdev->stat.err_tx++;
106 hdev->stat.err_rx++;
303 hdev->stat.cmd_tx++;
312 hdev->stat.acl_tx++;
321 hdev->stat.sco_tx++;
/linux-master/drivers/net/wan/
H A Dc101.c122 u8 stat = sca_in(MSCI0_OFFSET + ST1, port); /* read MSCI ST1 status */ local
125 sca_out(stat & (ST1_UDRN | ST1_CDCD), MSCI0_OFFSET + ST1, port);
127 if (stat & ST1_UDRN) {
133 stat = sca_in(MSCI1_OFFSET + ST1, port); /* read MSCI1 ST1 status */
135 sca_out(stat & ST1_CDCD, MSCI1_OFFSET + ST1, port);
137 if (stat & ST1_CDCD)
/linux-master/drivers/spi/
H A Dspi-npcm-pspi.c297 u8 stat; local
299 stat = ioread8(priv->base + NPCM_PSPI_STAT);
305 if (stat & NPCM_PSPI_STAT_RBF) {
314 if ((stat & NPCM_PSPI_STAT_BSY) == 0)
320 if (stat & NPCM_PSPI_STAT_RBF) {
333 if (((stat & NPCM_PSPI_STAT_BSY) == 0) && !priv->tx_buf)
/linux-master/drivers/irqchip/
H A Dirq-vic.c205 u32 stat, irq; local
208 while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) {
209 irq = ffs(stat) - 1;
219 u32 stat, hwirq; local
225 while ((stat = readl_relaxed(vic->base + VIC_IRQ_STATUS))) {
226 hwirq = ffs(stat) - 1;
/linux-master/tools/perf/util/
H A Dutil.c6 #include <sys/stat.h>
96 struct stat st;
103 if (stat(path, &st) == 0)
110 err = stat(path, &st) && mkdir(path, mode);
117 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0;
157 struct stat statbuf;
189 pr_debug("stat failed: %s\n", namebuf);
H A Dhist.c7 #include "kvm-stat.h"
331 u64 prev_period = he->stat.period;
337 he_stat__decay(&he->stat);
342 diff = prev_period - he->stat.period;
362 return he->stat.period == 0;
451 he->stat_acc = malloc(sizeof(he->stat));
454 memcpy(he->stat_acc, &he->stat, sizeof(he->stat));
456 memset(&he->stat, 0, sizeof(he->stat));
[all...]
H A Dsrccode.c11 #include <sys/stat.h>
91 struct stat st;
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c442 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
443 if (stat != 0) {
444 return stat;
453 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
454 if (stat != 0) {
455 return stat;
467 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
468 if (stat != 0) {
469 return stat;
478 int stat local
492 int stat, bleftend, cleft; local
508 int stat, btopend, ctop; local
524 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
535 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
546 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
557 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
568 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
579 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
590 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
601 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
612 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
623 int stat = pvr2_hdw_check_cropcap(cptr->hdw); local
3274 int stat = 0; local
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c83 /* length of the stat buffer as expected by phyp */
277 /* Check if the error was due to an unknown stat-id */
295 /* Handle case where stat buffer size was requested */
332 struct papr_scm_perf_stat *stat; local
341 /* Allocate request buffer enough to hold single performance stat */
352 stat = &stats->scm_statistic[0];
353 memcpy(&stat->stat_id,
355 sizeof(stat->stat_id));
356 stat->stat_val = 0;
364 *count = be64_to_cpu(stat
730 struct papr_scm_perf_stat *stat; local
1076 struct papr_scm_perf_stat *stat; local
[all...]
/linux-master/drivers/pci/controller/
H A Dpcie-apple.c360 unsigned long stat; local
365 stat = readl_relaxed(port->base + PORT_INTSTAT);
367 for_each_set_bit(i, &stat, 32)
468 u32 stat; local
471 res = readl_relaxed_poll_timeout(pcie->base + CORE_RC_PHYIF_STAT, stat,
472 stat & CORE_RC_PHYIF_STAT_REFCLK,
481 stat, stat & CORE_LANE_CFG_REFCLK0ACK,
488 stat, stat
516 u32 stat, idx; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddp.c84 u8 stat[6]; member in struct:lt_state
105 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[0], 3);
114 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[4], 2);
123 OUTP_TRACE(outp, "status %6ph pc2 %02x", lt->stat, lt->pc2stat);
125 OUTP_TRACE(outp, "status %6ph", lt->stat);
145 u8 lane = (lt->stat[4 + (i >> 1)] >> ((i & 1) * 4)) & 0xf;
261 eq_done = !!(lt->stat[2] & DPCD_LS04_INTERLANE_ALIGN_DONE);
263 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf;
294 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf;
358 memset(lt.stat,
[all...]
/linux-master/drivers/scsi/libsas/
H A Dsas_ata.c37 switch (ts->stat) {
58 __func__, ts->stat);
77 struct task_status_struct *stat = &task->task_status; local
78 struct ata_task_resp *resp = (struct ata_task_resp *)stat->buf;
117 if (stat->stat == SAS_PROTO_RESPONSE ||
118 stat->stat == SAS_SAM_STAT_GOOD ||
119 (stat->stat
[all...]
/linux-master/drivers/media/pci/solo6x10/
H A Dsolo6x10-regs.h122 #define SOLO_P2M_CURRENT_ID(stat) (0xff & (stat))
186 #define DISP_PAGE(stat) ((stat) & 0x07)
581 #define SOLO_UART_RX_BUFF_CNT(stat) (((stat)>>6) & 0x1f)
583 #define SOLO_UART_TX_BUFF_CNT(stat) (((stat)>>0) & 0x1f)
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dg84.c99 u32 stat = status; local
111 nvkm_error(subdev, "PGRAPH_VSTATUS%d: %08x [%s]\n", r, stat, msg);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv40.c172 uint32_t stat = nvkm_rd32(device, 0x1100); local
179 nvkm_error(subdev, "THERM received an IRQ: stat = %x\n", stat);
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Devent-no-pid.tc68 read mypid rest < /proc/self/stat
/linux-master/tools/testing/selftests/timens/
H A Dtimens.c8 #include <sys/stat.h>
61 struct stat st1, st2;
70 return pr_perror("Unable to stat the parent timens");
80 return pr_perror("Unable to stat the timens");
/linux-master/arch/powerpc/platforms/cell/
H A Dspu_priv1_mmio.c52 static void int_stat_clear(struct spu *spu, int class, u64 stat) argument
54 out_be64(&spu->priv1->int_stat_RW[class], stat);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dbase.c58 for (map = mc->func->reset; map && map->stat; map++) {
61 pmc_enable = map->stat;

Completed in 578 milliseconds

<<11121314151617181920>>