Searched refs:stat (Results 151 - 175 of 1632) sorted by relevance

1234567891011>>

/linux-master/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2)
53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) <
57 if ((rmh.stat[1] & 0x5F) < card_streams)
60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS)
64 rmh.stat[2], rmh.stat[3]);
76 "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff,
77 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff);
78 mgr->dsp_version = rmh.stat[
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgf100.c249 u32 stat = nvkm_rd32(engn->engine->subdev.device, 0x002640 + (engn->id * 4)); local
251 status->busy = (stat & 0x10000000);
252 status->save = (stat & 0x00100000);
253 status->unk0 = (stat & 0x00004000);
254 status->unk1 = (stat & 0x00001000);
255 status->chid = (stat & 0x0000007f);
258 stat, status->busy, status->save, status->unk0, status->unk1, status->chid);
315 u32 stat = nvkm_rd32(device, 0x040108 + (runq->id * 0x2000)) & mask; local
321 u32 show = stat;
326 if (stat
812 u32 stat = nvkm_rd32(device, 0x002100) & mask; local
[all...]
/linux-master/drivers/regulator/
H A Dmax5970-regulator.c403 struct regulator_err_state *stat; local
413 stat = &rid->states[i];
414 stat->notifs = 0;
415 stat->errors = 0;
419 stat = &rid->states[i];
423 stat->notifs |= REGULATOR_EVENT_UNDER_VOLTAGE;
424 stat->errors |= REGULATOR_ERROR_UNDER_VOLTAGE;
427 stat->notifs |= REGULATOR_EVENT_UNDER_VOLTAGE_WARN;
428 stat->errors |= REGULATOR_ERROR_UNDER_VOLTAGE_WARN;
437 stat
[all...]
/linux-master/arch/x86/include/uapi/asm/
H A Dstat.h10 struct stat { struct
83 struct stat { struct
/linux-master/tools/testing/selftests/proc/
H A Dfd-002-posix-eq.c21 #include <sys/stat.h>
28 struct stat st0, st1, st2;
/linux-master/drivers/irqchip/
H A Dirq-dw-apb-ictl.c40 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); local
42 while (stat) {
43 u32 hwirq = ffs(stat) - 1;
46 stat &= ~BIT(hwirq);
61 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); local
63 while (stat) {
64 u32 hwirq = ffs(stat) - 1;
67 stat &= ~BIT(hwirq);
H A Dirq-orion.c41 u32 stat = readl_relaxed(gc->reg_base + ORION_IRQ_CAUSE) & local
43 while (stat) {
44 u32 hwirq = __fls(stat);
47 stat &= ~(1 << hwirq);
113 u32 stat = readl_relaxed(gc->reg_base + ORION_BRIDGE_IRQ_CAUSE) & local
116 while (stat) {
117 u32 hwirq = __fls(stat);
120 stat &= ~(1 << hwirq);
/linux-master/arch/sparc/include/uapi/asm/
H A Dstat.h9 struct stat { struct
52 struct stat { struct
/linux-master/arch/mips/include/uapi/asm/
H A Dstat.h19 struct stat { struct
49 * struct stat of the 64-bit kernel.
93 struct stat { struct
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-i2c.c34 unsigned long stat; local
38 stat = wait_for_completion_timeout(&i2c->completion, HZ);
40 if (stat == 0) {
190 int stat = 0; local
208 stat = ddb_i2c_add(dev, i2c, regmap, l, i, num);
209 if (stat)
214 if (stat) {
224 return stat;
/linux-master/net/netfilter/
H A Dnf_flow_table_procfs.c18 return per_cpu_ptr(net->ft.stat, cpu);
33 return per_cpu_ptr(net->ft.stat, cpu);
/linux-master/drivers/pcmcia/
H A Dsa1111_generic.c167 s->soc.stat[SOC_STAT_CD].irq = irqs[IDX_IRQ_S1_CD_VALID];
168 s->soc.stat[SOC_STAT_CD].name = "SA1111 CF card detect";
169 s->soc.stat[SOC_STAT_BVD1].irq = irqs[IDX_IRQ_S1_BVD1_STSCHG];
170 s->soc.stat[SOC_STAT_BVD1].name = "SA1111 CF BVD1";
173 s->soc.stat[SOC_STAT_CD].irq = irqs[IDX_IRQ_S0_CD_VALID];
174 s->soc.stat[SOC_STAT_CD].name = "SA1111 PCMCIA card detect";
175 s->soc.stat[SOC_STAT_BVD1].irq = irqs[IDX_IRQ_S0_BVD1_STSCHG];
176 s->soc.stat[SOC_STAT_BVD1].name = "SA1111 PCMCIA BVD1";
/linux-master/include/linux/
H A Dstat.h6 #include <asm/stat.h>
7 #include <uapi/linux/stat.h>
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-retval.tc17 read PID _ < /proc/self/stat
/linux-master/tools/perf/util/
H A Ddata.c8 #include <sys/stat.h>
117 struct stat st;
120 if (stat(path, &st))
170 struct stat st;
183 struct stat st;
217 struct stat st;
222 if (!stat(data->path, &st) && st.st_size) {
251 struct stat st;
253 if (stat(data->path, &st))
262 struct stat s
[all...]
/linux-master/drivers/media/pci/mantis/
H A Dmantis_uart.c82 u32 stat; local
85 stat = mmread(MANTIS_UART_STAT);
87 if (stat & MANTIS_UART_RXFIFO_FULL)
97 while (stat & MANTIS_UART_RXFIFO_DATA) {
99 stat = mmread(MANTIS_UART_STAT);
/linux-master/drivers/tty/serial/
H A Dowl-uart.c111 u32 stat, ctl; local
114 stat = owl_uart_read(port, OWL_UART_STAT);
115 if (stat & OWL_UART_STAT_RTSS)
117 if ((stat & OWL_UART_STAT_CTSS) || !(ctl & OWL_UART_CTL_AFE))
193 u32 stat, val; local
199 stat = owl_uart_read(port, OWL_UART_STAT);
200 while (!(stat & OWL_UART_STAT_RFEM)) {
204 if (stat & OWL_UART_STAT_RXER)
207 if (stat & OWL_UART_STAT_RXST) {
212 stat
235 u32 stat; local
[all...]
/linux-master/sound/pci/lx6464es/
H A Dlx_core.c220 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32));
240 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]);
291 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat,
326 *rdsp_version = chip->rmh.stat[1];
344 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET;
408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32));
481 u32 stat = chip->rmh.stat[i]; local
482 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) {
486 size_array[i] = stat
969 u32 stat[9]; /* answer from CMD_04_GET_EVENT */ local
[all...]
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.c248 * @stat: pointer to structure holding hw stat information
254 struct fm10k_hw_stat *stat)
256 u32 delta = fm10k_read_reg(hw, addr) - stat->base_l;
259 stat->base_h = 0;
268 * @stat: pointer to structure holding hw stat information
276 struct fm10k_hw_stat *stat)
292 delta = ((u64)(count_h - stat->base_h) << 32) + count_l;
293 delta -= stat
253 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument
275 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument
306 fm10k_update_hw_base_48b(struct fm10k_hw_stat *stat, u64 delta) argument
[all...]
/linux-master/drivers/input/serio/
H A Dsa1111ps2.c224 unsigned int stat; local
227 stat = ps2_test_one(ps2if, PS2CR_FKC);
228 if (stat != PS2STAT_KBD) {
229 printk("PS/2 interface test failed[1]: %02x\n", stat);
233 stat = ps2_test_one(ps2if, 0);
234 if (stat != (PS2STAT_KBC | PS2STAT_KBD)) {
235 printk("PS/2 interface test failed[2]: %02x\n", stat);
239 stat = ps2_test_one(ps2if, PS2CR_FKD);
240 if (stat != PS2STAT_KBC) {
241 printk("PS/2 interface test failed[3]: %02x\n", stat);
[all...]
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dtx.c71 mt7601u_tx_pktid_dec(struct mt7601u_dev *dev, struct mt76_tx_status *stat) argument
73 u8 req_rate = stat->pktid;
74 u8 eff_rate = stat->rate & 0x7;
79 stat->is_probe = true;
87 stat->retry = req_rate - eff_rate;
232 struct mt76_tx_status stat; local
237 stat = mt7601u_mac_fetch_tx_status(dev);
238 if (!stat.valid)
241 mt7601u_tx_pktid_dec(dev, &stat);
242 mt76_send_tx_status(dev, &stat);
[all...]
/linux-master/drivers/net/wan/
H A Dhd64570.c172 writeb(0, &desc->stat);
221 u8 stat = sca_in(msci + ST1, card); /* read MSCI ST1 status */ local
224 sca_out(stat & (ST1_UDRN | ST1_CDCD), msci + ST1, card);
226 if (stat & ST1_UDRN) {
232 if (stat & ST1_CDCD)
289 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ local
292 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE,
295 if (stat & DSR_BOF)
308 stat = readb(&desc->stat);
341 u8 stat; local
375 u8 stat; local
[all...]
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddebugfs.c131 struct b43legacy_txstatus *stat; local
147 stat = &(log->log[i]);
148 if (stat->cookie) {
155 stat->cookie, stat->seq, stat->phy_stat,
156 stat->frame_count, stat->rts_count,
157 stat->supp_reason, stat
[all...]
/linux-master/security/tomoyo/
H A Daudit.c114 * @mode: Mode value for stat().
186 struct tomoyo_mini_stat *stat; local
192 stat = &obj->stat[i];
193 dev = stat->dev;
194 mode = stat->mode;
200 from_kuid(&init_user_ns, stat->uid),
201 from_kgid(&init_user_ns, stat->gid),
202 (unsigned long)stat->ino,
203 stat
[all...]
/linux-master/drivers/rtc/
H A Drtc-ds1374.c130 int control, stat; local
132 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
133 if (stat < 0)
134 return stat;
136 if (stat & DS1374_REG_SR_OSF)
140 stat &= ~(DS1374_REG_SR_OSF | DS1374_REG_SR_AF);
142 ret = i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat);
298 int stat, control; local
302 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
303 if (stat <
[all...]

Completed in 488 milliseconds

1234567891011>>