| /components/drivers/scsi/ |
| A D | scsi.c | 240 cmd.op.inquiry.config = 0; in rt_scsi_inquiry() 241 cmd.op.inquiry.page = 0; in rt_scsi_inquiry() 243 cmd.op.inquiry.control = 0; in rt_scsi_inquiry() 336 cmd.op.read10.config = 0; in rt_scsi_read10() 353 cmd.op.read12.config = 0; in rt_scsi_read12() 356 cmd.op.read12.control = 0; in rt_scsi_read12() 371 cmd.op.read16.config = 0; in rt_scsi_read16() 374 cmd.op.read16.control = 0; in rt_scsi_read16() 389 cmd.op.write10.config = 0; in rt_scsi_write10() 406 cmd.op.write12.config = 0; in rt_scsi_write12() [all …]
|
| /components/legacy/fdt/inc/ |
| A D | dtb_fwnode.h | 86 #define fwnode_has_op(fwnode, op) \ argument 87 ((fwnode) && (fwnode)->ops && (fwnode)->ops->op) 88 #define fwnode_call_int_op(fwnode, op, ...) \ argument 89 …(fwnode ? (fwnode_has_op(fwnode, op) ? (fwnode)->ops->op(fwnode, ##__VA_ARGS__) : -ENXIO) : -EINVA… 91 #define fwnode_call_bool_op(fwnode, op, ...) \ argument 92 (fwnode_has_op(fwnode, op) ? (fwnode)->ops->op(fwnode, ##__VA_ARGS__) : false) 94 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument 95 (fwnode_has_op(fwnode, op) ? (fwnode)->ops->op(fwnode, ##__VA_ARGS__) : NULL) 96 #define fwnode_call_void_op(fwnode, op, ...) \ argument 99 if (fwnode_has_op(fwnode, op)) \ [all …]
|
| /components/lwp/ |
| A D | lwp_futex.c | 172 static rt_futex_t _pftx_get(void *uaddr, struct rt_lwp *lwp, int op, in _pftx_get() argument 274 static rt_futex_t _sftx_get(void *uaddr, struct rt_lwp *lwp, int op, in _sftx_get() argument 292 _futex_lock(lwp, op & ~FUTEX_PRIVATE); in _sftx_get() 303 _futex_unlock(lwp, op & ~FUTEX_PRIVATE); in _sftx_get() 680 rt_inline rt_bool_t _timeout_ignored(int op) in _timeout_ignored() argument 689 return ((op & (FUTEX_WAKE)) || (op & (FUTEX_REQUEUE)) || in _timeout_ignored() 690 (op & (FUTEX_CMP_REQUEUE)) || (op & (FUTEX_UNLOCK_PI)) || in _timeout_ignored() 691 (op & (FUTEX_TRYLOCK_PI))); in _timeout_ignored() 704 else if (timeout && !_timeout_ignored(op) && in sys_futex() 724 int op_type = op & ~FUTEX_FLAGS; in lwp_futex() [all …]
|
| A D | lwp_syscall.h | 109 sysret_t sys_futex(int *uaddr, int op, int val, const struct timespec *timeout, int *uaddr2, int va…
|
| A D | lwp.h | 267 rt_err_t lwp_futex(struct rt_lwp *lwp, int *uaddr, int op, int val,
|
| A D | lwp_syscall.c | 10120 sysret_t sys_epoll_ctl(int fd, int op, int fd2, struct epoll_event *ev) in sys_epoll_ctl() argument 10142 ret = epoll_ctl(fd, op, fd2, kev); in sys_epoll_ctl() 10148 ret = epoll_ctl(fd, op, fd2, RT_NULL); in sys_epoll_ctl()
|
| /components/utilities/utest/ |
| A D | utest_assert.h | 30 #define __uassert_value_op(a, b, op) __utest_assert((a) op (b), "(" #a ") not " #op " (" #b ")") argument
|
| /components/drivers/ata/ |
| A D | ahci.c | 301 switch (cmd->op.unknow.opcode) in ahci_scsi_transfer() 315 struct rt_scsi_read10 *read10 = &cmd->op.read10; in ahci_scsi_transfer() 327 struct rt_scsi_read16 *read16 = &cmd->op.read16; in ahci_scsi_transfer() 339 struct rt_scsi_read12 *read12 = &cmd->op.read12; in ahci_scsi_transfer() 351 struct rt_scsi_write10 *write10 = &cmd->op.write10; in ahci_scsi_transfer() 363 struct rt_scsi_write16 *write16 = &cmd->op.write16; in ahci_scsi_transfer() 375 struct rt_scsi_write12 *write12 = &cmd->op.write12; in ahci_scsi_transfer() 387 struct rt_scsi_synchronize_cache10 *synchronize_cache10 = &cmd->op.synchronize_cache10; in ahci_scsi_transfer() 397 struct rt_scsi_synchronize_cache16 *synchronize_cache16 = &cmd->op.synchronize_cache16; in ahci_scsi_transfer() 407 struct rt_scsi_write_same10 *write_same10 = &cmd->op.write_same10; in ahci_scsi_transfer() [all …]
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | xdr_mem.c | 86 xdrmem_create (XDR *xdrs, const char* addr, unsigned int size, enum xdr_op op) in xdrmem_create() argument 88 xdrs->x_op = op; in xdrmem_create()
|
| /components/libc/posix/io/epoll/ |
| A D | epoll.c | 72 static int epoll_do_ctl(int epfd, int op, int fd, struct epoll_event *event); 603 static int epoll_do_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_do_ctl() argument 609 if (op & ~EFD_SHARED_EPOLL_TYPE) in epoll_do_ctl() 621 if (!(op & EPOLL_CTL_DEL)) in epoll_do_ctl() 643 switch (op) in epoll_do_ctl() 984 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() argument 986 return epoll_do_ctl(epfd, op, fd, event); in epoll_ctl()
|
| /components/drivers/include/drivers/ |
| A D | scsi.h | 322 } op; member 406 return cmd->op.write10.opcode == RT_SCSI_CMD_WRITE10 || in rt_scsi_cmd_is_write() 407 cmd->op.write12.opcode == RT_SCSI_CMD_WRITE16 || in rt_scsi_cmd_is_write() 408 cmd->op.write16.opcode == RT_SCSI_CMD_WRITE12; in rt_scsi_cmd_is_write()
|
| /components/libc/posix/io/aio/ |
| A D | aio.h | 37 int aio_fsync(int op, struct aiocb *cb);
|
| A D | aio.c | 151 int aio_fsync(int op, struct aiocb *cb) in aio_fsync() argument
|
| /components/net/lwip-dhcpd/ |
| A D | dhcp_server_raw.c | 349 if (msg->op != DHCP_BOOTREQUEST) in dhcp_server_recv() 351 …ACE | LWIP_DBG_LEVEL_WARNING, ("not a DHCP request message, but type %"U16_F"\n", (u16_t)msg->op)); in dhcp_server_recv() 381 msg->op = DHCP_BOOTREPLY; in dhcp_server_recv() 458 msg->op = DHCP_BOOTREPLY; in dhcp_server_recv() 527 msg->op = DHCP_BOOTREPLY; in dhcp_server_recv()
|
| A D | dhcp_server.c | 324 if ((msg->op != DHCP_BOOTREQUEST) || (msg->cookie != PP_HTONL(DHCP_MAGIC_COOKIE))) in dhcpd_thread_entry() 510 msg->op = DHCP_BOOTREPLY; in dhcpd_thread_entry()
|
| /components/net/lwip/lwip-2.1.2/src/core/ipv6/ |
| A D | dhcp6.c | 641 u16_t op; in dhcp6_parse_reply() local 654 op = (op_len[0] << 8) | op_len[1]; in dhcp6_parse_reply() 662 switch (op) { in dhcp6_parse_reply() 688 LWIP_DEBUGF(DHCP6_DEBUG, ("skipping option %"U16_F" in options\n", op)); in dhcp6_parse_reply() 690 msg_in->msgtype, op, len, q, val_offset); in dhcp6_parse_reply()
|
| /components/drivers/spi/ |
| A D | enc28j60.c | 36 static uint8_t spi_read_op(struct rt_spi_device *spi_device, uint8_t op, uint8_t address); 37 static void spi_write_op(struct rt_spi_device *spi_device, uint8_t op, uint8_t address, uint8_t dat… 67 static uint8_t spi_read_op(struct rt_spi_device *spi_device, uint8_t op, uint8_t address) in spi_read_op() argument 73 send_buffer[0] = op | (address & ADDR_MASK); in spi_read_op() 86 static void spi_write_op(struct rt_spi_device *spi_device, uint8_t op, uint8_t address, uint8_t dat… in spi_write_op() argument 93 buffer[0] = op | (address & ADDR_MASK); in spi_write_op()
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/prot/ |
| A D | dhcp.h | 65 PACK_STRUCT_FLD_8(u8_t op);
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/prot/ |
| A D | dhcp.h | 67 PACK_STRUCT_FLD_8(u8_t op);
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | dhcp.h | 76 PACK_STRUCT_FIELD(u8_t op);
|
| /components/net/lwip/lwip-2.1.2/src/core/ipv4/ |
| A D | dhcp.c | 1566 u8_t op = options[offset]; in dhcp_parse_reply() local 1583 switch (op) { in dhcp_parse_reply() 1647 LWIP_DEBUGF(DHCP_DEBUG, ("skipping option %"U16_F" in options\n", (u16_t)op)); in dhcp_parse_reply() 1650 op, len, q, val_offset); in dhcp_parse_reply() 1653 if (op == DHCP_OPTION_PAD) { in dhcp_parse_reply() 1795 if (reply_msg->op != DHCP_BOOTREPLY) { in dhcp_recv() 1796 …| LWIP_DBG_LEVEL_WARNING, ("not a DHCP reply message, but type %"U16_F"\n", (u16_t)reply_msg->op)); in dhcp_recv() 1935 msg_out->op = DHCP_BOOTREQUEST; in dhcp_create_msg()
|
| /components/net/lwip/lwip-2.0.3/src/core/ipv4/ |
| A D | dhcp.c | 1504 u8_t op = options[offset]; in dhcp_parse_reply() local 1517 switch(op) { in dhcp_parse_reply() 1582 LWIP_DEBUGF(DHCP_DEBUG, ("skipping option %"U16_F" in options\n", (u16_t)op)); in dhcp_parse_reply() 1711 if (reply_msg->op != DHCP_BOOTREPLY) { in dhcp_recv() 1712 …| LWIP_DBG_LEVEL_WARNING, ("not a DHCP reply message, but type %"U16_F"\n", (u16_t)reply_msg->op)); in dhcp_recv() 1851 dhcp->msg_out->op = DHCP_BOOTREQUEST; in dhcp_create_msg()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | dhcp.c | 1381 u8_t op = options[offset]; in dhcp_parse_reply() local 1394 switch(op) { in dhcp_parse_reply() 1445 LWIP_DEBUGF(DHCP_DEBUG, ("skipping option %"U16_F" in options\n", op)); in dhcp_parse_reply() 1560 if (reply_msg->op != DHCP_BOOTREPLY) { in dhcp_recv() 1561 …| LWIP_DBG_LEVEL_WARNING, ("not a DHCP reply message, but type %"U16_F"\n", (u16_t)reply_msg->op)); in dhcp_recv() 1687 dhcp->msg_out->op = DHCP_BOOTREQUEST; in dhcp_create_msg()
|