Searched refs:ops (Results 1 - 14 of 14) sorted by relevance

/broadcom-cfe-1.4.2/cfe/include/
H A Dcfe_fileops.h67 #define BDINIT(ops,fsctx,name) (ops)->init((fsctx),(name))
68 #define BDOPEN(ops,ref,fsctx,name) (ops)->open((ref),(fsctx),(name),FILE_MODE_READ)
69 #define BDOPEN2(ops,ref,fsctx,name,mode) (ops)->open((ref),(fsctx),(name),(mode))
70 #define BDOPEN_WR(ops,ref,fsctx,name) (ops)->open((ref),(fsctx),(name),FILE_MODE_WRITE)
71 #define BDREAD(ops,ref,buf,len) (ops)
94 const fileio_dispatch_t *ops; member in struct:fileio_ctx_s
[all...]
H A Dcfe_spi.h68 cfe_spi_t *ops; member in struct:cfe_spi_channel_s
77 #define SPI_INIT(chan) (chan)->ops->init(chan)
78 #define SPI_ENABLE(chan,slave) (chan)->ops->enable(chan,slave)
79 #define SPI_DISABLE(chan,slave) (chan)->ops->disable(chan,slave)
80 #define SPI_WRITE(chan,buf,len) (chan)->ops->write(chan,buf,len)
81 #define SPI_READ(chan,buf,len,data_out) (chan)->ops->read(chan,buf,len,data_out)
84 int cfe_add_spi(cfe_spi_t *ops,uint64_t probe_a,uint64_t probe_b);
H A Dcfe_mii.h66 cfe_mii_t *ops; member in struct:cfe_mii_channel_s
75 #define MII_INIT(chan) (chan)->ops->init(chan)
76 #define MII_DEFAULT_ADDR(chan) (chan)->ops->default_addr(chan)
77 #define MII_WRITE(chan,addr,regidx,regval) (chan)->ops->write(chan,addr,regidx,regval)
78 #define MII_READ(chan,addr,regidx) (chan)->ops->read(chan,addr,regidx)
81 int cfe_add_mii(cfe_mii_t *ops,uint64_t probe_a,uint64_t probe_b);
H A Dcfe_smbus.h77 cfe_smbus_t *ops; member in struct:cfe_smbus_channel_s
86 #define SMBUS_INIT(chan) (chan)->ops->init(chan)
87 #define SMBUS_READ(chan,slave,buf,len) (chan)->ops->read(chan,slave,buf,len)
88 #define SMBUS_WRITE(chan,slave,buf,len) (chan)->ops->write(chan,slave,buf,len)
89 #define SMBUS_XACT(chan,slave,cmd,buf,len) (chan)->ops->xact(chan,slave,cmd,buf,len)
90 #define SMBUS_QCMD(chan,slave,rw) (chan)->ops->qcmd(chan,slave,rw);
91 #define SMBUS_XREAD(chan,slave,cmd,ncmd,ndat,buf) (chan)->ops->xread(chan,slave,cmd,ncmd,ndat,buf)
92 #define SMBUS_XWRITE(chan,slave,cmd,ncmd,ndat,buf) (chan)->ops->xwrite(chan,slave,cmd,ncmd,ndat,buf)
94 int cfe_add_smbus(cfe_smbus_t *ops,uint64_t probe_a,uint64_t probe_b);
/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_filesys.c141 const fileio_dispatch_t *ops; local
143 ops = cfe_findfilesys((const char *)fsname);
144 if (!ops) return CFE_ERR_FSNOTAVAIL;
149 ctx->ops = ops;
150 res = BDINIT(ops,&(ctx->fsctx),device);
180 const fileio_dispatch_t *ops; local
187 ops = cfe_findfilesys((const char *)fsname);
188 if (!ops) return CFE_ERR_FSNOTAVAIL;
194 res = BDINIT(ops,
[all...]
H A Dcfe_mii.c63 * cfe_add_mii(ops,probe_a,probe_b)
68 * ops - pointer to low-level handlers
77 int cfe_add_mii(cfe_mii_t *ops,uint64_t probe_a,uint64_t probe_b) argument
86 cfe_mii_channels[idx] = ops->attach(ops,probe_a,probe_b);
H A Dcfe_smbus.c69 * cfe_add_smbus(ops,probe_a,probe_b)
74 * ops - pointer to low-level handlers
83 int cfe_add_smbus(cfe_smbus_t *ops,uint64_t probe_a,uint64_t probe_b) argument
92 cfe_smbus_channels[idx] = ops->attach(ops,probe_a,probe_b);
H A Dcfe_spi.c63 * cfe_add_spi(ops,probe_a,probe_b)
68 * ops - pointer to low-level handlers
77 int cfe_add_spi(cfe_spi_t *ops,uint64_t probe_a,uint64_t probe_b) argument
86 cfe_spi_channels[idx] = ops->attach(ops,probe_a,probe_b);
H A Dcfe_ldr_raw.c75 * ops - file operations
172 const fileio_dispatch_t *ops; local
229 ops = cfe_findfilesys(la->la_filesys);
230 if (!ops) return CFE_ERR_FSNOTAVAIL;
231 loadflags |= ops->loadflags;
H A Dcfe_zlibfs.c167 fsctx->zlibfsctx_subops = curfsctx->ops;
/broadcom-cfe-1.4.2/cfe/x86emu/
H A DMakefile2 ALLOBJS += debug.o decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Dcfm8_spi.c100 static cfe_spi_channel_t *cfm8_spi_attach(cfe_spi_t *ops,uint64_t probe_a,uint64_t probe_b);
121 static cfe_spi_channel_t *cfm8_spi_attach(cfe_spi_t *ops,uint64_t probe_a,uint64_t probe_b) argument
130 chan->ops = ops;
H A Dsb1250_mii.c85 static cfe_mii_channel_t *sb1250_mii_attach(cfe_mii_t *ops,uint64_t probe_a,uint64_t probe_b);
105 static cfe_mii_channel_t *sb1250_mii_attach(cfe_mii_t *ops,uint64_t probe_a,uint64_t probe_b) argument
114 chan->ops = ops;
H A Dsb1250_smbus.c75 static cfe_smbus_channel_t *sb1250_smbus_attach(cfe_smbus_t *ops,uint64_t probe_a,uint64_t probe_b);
123 static cfe_smbus_channel_t *sb1250_smbus_attach(cfe_smbus_t *ops,uint64_t probe_a,uint64_t probe_b) argument
132 chan->ops = ops;

Completed in 100 milliseconds