Home
last modified time | relevance | path

Searched refs:ltoh32 (Results 1 – 25 of 73) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_cdc.c88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
195 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
218 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
301 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
320 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
375 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
385 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_msgbuf.c966 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in dhd_prot_d2h_sync_seqnum()
5638 pktid = ltoh32(msg->cmn_hdr.request_id);
5665 ltoh32(msg->cmn_hdr.request_id),
6100 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id);
6196 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id);
6256 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id);
6402 pktid = ltoh32(txstatus->cmn_hdr.request_id);
6517 dhd_dump_pkt(dhd, ltoh32(txstatus->cmn_hdr.if_id),
6577 bufid = ltoh32(evnt->cmn_hdr.request_id);
6621 pktid = ltoh32(resp->cmn_hdr.request_id);
[all …]
H A Ddhd_pcie.c3491 c->bufsize = ltoh32(c->log.buf_size); in dhdpcie_bus_readconsole()
3496 idx = ltoh32(c->log.idx); in dhdpcie_bus_readconsole()
3513 addr = ltoh32(c->log.buf); in dhdpcie_bus_readconsole()
3601 console_ptr = ltoh32(console_ptr); in dhd_bus_dump_console_buffer()
3602 console_size = ltoh32(console_size); in dhd_bus_dump_console_buffer()
3603 console_index = ltoh32(console_index); in dhd_bus_dump_console_buffer()
9561 sh->console_addr = ltoh32(sh->console_addr); in dhdpcie_readshared_console()
9633 sh->flags = ltoh32(sh->flags); in dhdpcie_readshared()
9634 sh->trap_addr = ltoh32(sh->trap_addr); in dhdpcie_readshared()
9635 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdpcie_readshared()
[all …]
H A Ddhd_sdio.c3466 addr = ltoh32(addr); in dhdsdio_readshared()
3491 sh->flags = ltoh32(sh->flags); in dhdsdio_readshared()
3492 sh->trap_addr = ltoh32(sh->trap_addr); in dhdsdio_readshared()
3493 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdsdio_readshared()
3494 sh->assert_file_addr = ltoh32(sh->assert_file_addr); in dhdsdio_readshared()
3495 sh->assert_line = ltoh32(sh->assert_line); in dhdsdio_readshared()
3496 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared()
3497 sh->msgtrace_addr = ltoh32(sh->msgtrace_addr); in dhdsdio_readshared()
3531 addr = ltoh32(addr); in dhdsdio_readshared_console()
3559 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared_console()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_cdc.c88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
195 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
218 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
301 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
320 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
375 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
385 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_msgbuf.c966 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in dhd_prot_d2h_sync_seqnum()
5638 pktid = ltoh32(msg->cmn_hdr.request_id);
5665 ltoh32(msg->cmn_hdr.request_id),
6100 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id);
6196 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id);
6256 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id);
6402 pktid = ltoh32(txstatus->cmn_hdr.request_id);
6517 dhd_dump_pkt(dhd, ltoh32(txstatus->cmn_hdr.if_id),
6577 bufid = ltoh32(evnt->cmn_hdr.request_id);
6621 pktid = ltoh32(resp->cmn_hdr.request_id);
[all …]
H A Ddhd_pcie.c3491 c->bufsize = ltoh32(c->log.buf_size); in dhdpcie_bus_readconsole()
3496 idx = ltoh32(c->log.idx); in dhdpcie_bus_readconsole()
3513 addr = ltoh32(c->log.buf); in dhdpcie_bus_readconsole()
3601 console_ptr = ltoh32(console_ptr); in dhd_bus_dump_console_buffer()
3602 console_size = ltoh32(console_size); in dhd_bus_dump_console_buffer()
3603 console_index = ltoh32(console_index); in dhd_bus_dump_console_buffer()
9561 sh->console_addr = ltoh32(sh->console_addr); in dhdpcie_readshared_console()
9633 sh->flags = ltoh32(sh->flags); in dhdpcie_readshared()
9634 sh->trap_addr = ltoh32(sh->trap_addr); in dhdpcie_readshared()
9635 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdpcie_readshared()
[all …]
H A Ddhd_sdio.c3470 addr = ltoh32(addr); in dhdsdio_readshared()
3495 sh->flags = ltoh32(sh->flags); in dhdsdio_readshared()
3496 sh->trap_addr = ltoh32(sh->trap_addr); in dhdsdio_readshared()
3497 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdsdio_readshared()
3498 sh->assert_file_addr = ltoh32(sh->assert_file_addr); in dhdsdio_readshared()
3499 sh->assert_line = ltoh32(sh->assert_line); in dhdsdio_readshared()
3500 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared()
3501 sh->msgtrace_addr = ltoh32(sh->msgtrace_addr); in dhdsdio_readshared()
3535 addr = ltoh32(addr); in dhdsdio_readshared_console()
3563 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared_console()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_cdc.c88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
195 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
218 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
301 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
320 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
375 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
385 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_msgbuf.c966 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in dhd_prot_d2h_sync_seqnum()
5638 pktid = ltoh32(msg->cmn_hdr.request_id);
5665 ltoh32(msg->cmn_hdr.request_id),
6100 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id);
6196 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id);
6256 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id);
6402 pktid = ltoh32(txstatus->cmn_hdr.request_id);
6517 dhd_dump_pkt(dhd, ltoh32(txstatus->cmn_hdr.if_id),
6577 bufid = ltoh32(evnt->cmn_hdr.request_id);
6621 pktid = ltoh32(resp->cmn_hdr.request_id);
[all …]
H A Ddhd_pcie.c3499 c->bufsize = ltoh32(c->log.buf_size); in dhdpcie_bus_readconsole()
3504 idx = ltoh32(c->log.idx); in dhdpcie_bus_readconsole()
3521 addr = ltoh32(c->log.buf); in dhdpcie_bus_readconsole()
3609 console_ptr = ltoh32(console_ptr); in dhd_bus_dump_console_buffer()
3610 console_size = ltoh32(console_size); in dhd_bus_dump_console_buffer()
3611 console_index = ltoh32(console_index); in dhd_bus_dump_console_buffer()
9570 sh->console_addr = ltoh32(sh->console_addr); in dhdpcie_readshared_console()
9642 sh->flags = ltoh32(sh->flags); in dhdpcie_readshared()
9643 sh->trap_addr = ltoh32(sh->trap_addr); in dhdpcie_readshared()
9644 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdpcie_readshared()
[all …]
H A Ddhd_sdio.c3558 addr = ltoh32(addr); in dhdsdio_readshared()
3583 sh->flags = ltoh32(sh->flags); in dhdsdio_readshared()
3584 sh->trap_addr = ltoh32(sh->trap_addr); in dhdsdio_readshared()
3585 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdsdio_readshared()
3586 sh->assert_file_addr = ltoh32(sh->assert_file_addr); in dhdsdio_readshared()
3587 sh->assert_line = ltoh32(sh->assert_line); in dhdsdio_readshared()
3588 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared()
3589 sh->msgtrace_addr = ltoh32(sh->msgtrace_addr); in dhdsdio_readshared()
3628 addr = ltoh32(addr); in dhdsdio_readshared_console()
3656 sh->console_addr = ltoh32(sh->console_addr); in dhdsdio_readshared_console()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddbus_usb.c706 id.chip = ltoh32(id.chip); in dbus_usb_resetcfg()
744 state.state = ltoh32(state.state); in dbus_usb_rdl_dwnld_state()
745 state.bytes = ltoh32(state.bytes); in dbus_usb_rdl_dwnld_state()
856 state.state = ltoh32(state.state); in dbus_usb_dl_writeimage()
857 state.bytes = ltoh32(state.bytes); in dbus_usb_dl_writeimage()
996 id.chip = ltoh32(id.chip); in dbus_usb_dlneeded()
997 id.chiprev = ltoh32(id.chiprev); in dbus_usb_dlneeded()
1045 state.state = ltoh32(state.state); in dbus_usb_dlrun()
1046 state.bytes = ltoh32(state.bytes); in dbus_usb_dlrun()
H A Ddhd_cdc.c91 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
124 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
196 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
219 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
306 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
325 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
389 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
399 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_msgbuf.c1273 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in BCMFASTPATH()
6693 pktid = ltoh32(msg->cmn_hdr.request_id); in BCMFASTPATH()
6744 ltoh32(msg->cmn_hdr.request_id), in BCMFASTPATH()
6783 if (ltoh32(msg->rx_pktts.tref) != 0xFFFFFFFF) { in BCMFASTPATH()
6784 fwr1 = (uint)htonl(ltoh32(msg->rx_pktts.tref)); in BCMFASTPATH()
6785 fwr2 = (uint)htonl(ltoh32(msg->rx_pktts.tref) + in BCMFASTPATH()
7242 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id); in dhd_prot_ringstatus_process()
7371 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id); in dhd_prot_ioctack_process()
7440 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id); in dhd_prot_ioctcmplt_process()
7932 pktid = ltoh32(txstatus->cmn_hdr.request_id); in BCMFASTPATH()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddbus_usb.c688 id.chip = ltoh32(id.chip); in dbus_usb_resetcfg()
726 state.state = ltoh32(state.state); in dbus_usb_rdl_dwnld_state()
727 state.bytes = ltoh32(state.bytes); in dbus_usb_rdl_dwnld_state()
838 state.state = ltoh32(state.state); in dbus_usb_dl_writeimage()
839 state.bytes = ltoh32(state.bytes); in dbus_usb_dl_writeimage()
978 id.chip = ltoh32(id.chip); in dbus_usb_dlneeded()
979 id.chiprev = ltoh32(id.chiprev); in dbus_usb_dlneeded()
1027 state.state = ltoh32(state.state); in dbus_usb_dlrun()
1028 state.bytes = ltoh32(state.bytes); in dbus_usb_dlrun()
H A Ddhd_cdc.c97 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
193 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
268 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
291 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
378 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
397 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
479 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
489 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_msgbuf.c1277 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in BCMFASTPATH()
6697 pktid = ltoh32(msg->cmn_hdr.request_id); in BCMFASTPATH()
6748 ltoh32(msg->cmn_hdr.request_id), in BCMFASTPATH()
6787 if (ltoh32(msg->rx_pktts.tref) != 0xFFFFFFFF) { in BCMFASTPATH()
6788 fwr1 = (uint)htonl(ltoh32(msg->rx_pktts.tref)); in BCMFASTPATH()
6789 fwr2 = (uint)htonl(ltoh32(msg->rx_pktts.tref) + in BCMFASTPATH()
7246 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id); in dhd_prot_ringstatus_process()
7375 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id); in dhd_prot_ioctack_process()
7444 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id); in dhd_prot_ioctcmplt_process()
7936 pktid = ltoh32(txstatus->cmn_hdr.request_id); in BCMFASTPATH()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddbus_usb.c687 id.chip = ltoh32(id.chip); in dbus_usb_resetcfg()
725 state.state = ltoh32(state.state); in dbus_usb_rdl_dwnld_state()
726 state.bytes = ltoh32(state.bytes); in dbus_usb_rdl_dwnld_state()
837 state.state = ltoh32(state.state); in dbus_usb_dl_writeimage()
838 state.bytes = ltoh32(state.bytes); in dbus_usb_dl_writeimage()
977 id.chip = ltoh32(id.chip); in dbus_usb_dlneeded()
978 id.chiprev = ltoh32(id.chiprev); in dbus_usb_dlneeded()
1026 state.state = ltoh32(state.state); in dbus_usb_dlrun()
1027 state.bytes = ltoh32(state.bytes); in dbus_usb_dlrun()
H A Ddhd_cdc.c89 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
191 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
251 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
274 ret = ltoh32(msg->status); in dhdcdc_query_ioctl()
340 flags = ltoh32(msg->flags); in dhdcdc_set_ioctl()
359 ret = ltoh32(msg->status); in dhdcdc_set_ioctl()
442 ioc->needed = ltoh32(msg->len); /* len == needed when set/query fails from dongle */ in dhd_prot_ioctl()
452 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
H A Ddhd_pcie.c2296 c->bufsize = ltoh32(c->log.buf_size); in dhdpcie_bus_readconsole()
2300 idx = ltoh32(c->log.idx); in dhdpcie_bus_readconsole()
2311 addr = ltoh32(c->log.buf); in dhdpcie_bus_readconsole()
2381 console_ptr = ltoh32(console_ptr); in dhd_bus_dump_console_buffer()
2382 console_size = ltoh32(console_size); in dhd_bus_dump_console_buffer()
2383 console_index = ltoh32(console_index); in dhd_bus_dump_console_buffer()
6581 sh->flags = ltoh32(sh->flags); in dhdpcie_readshared()
6582 sh->trap_addr = ltoh32(sh->trap_addr); in dhdpcie_readshared()
6583 sh->assert_exp_addr = ltoh32(sh->assert_exp_addr); in dhdpcie_readshared()
6584 sh->assert_file_addr = ltoh32(sh->assert_file_addr); in dhdpcie_readshared()
[all …]
H A Ddhd_msgbuf.c794 if (ltoh32(msg_seqnum) == ring_seqnum) { /* dma upto last word done */ in dhd_prot_d2h_sync_seqnum()
4278 pktid = ltoh32(msg->cmn_hdr.request_id); in dhd_prot_process_msgbuf_rxcpl()
4305 ltoh32(msg->cmn_hdr.request_id), in dhd_prot_process_msgbuf_rxcpl()
4665 uint32 request_id = ltoh32(ring_status->cmn_hdr.request_id); in dhd_prot_ringstatus_process()
4735 uint32 pktid = ltoh32(ioct_ack->cmn_hdr.request_id); in dhd_prot_ioctack_process()
4790 pkt_id = ltoh32(ioct_resp->cmn_hdr.request_id); in dhd_prot_ioctcmplt_process()
4928 pktid = ltoh32(txstatus->cmn_hdr.request_id); in dhd_prot_txstatus_process()
5086 bufid = ltoh32(evnt->cmn_hdr.request_id); in dhd_prot_event_process()
5132 pktid = ltoh32(resp->cmn_hdr.request_id); in dhd_prot_process_infobuf_complete()
5648 dhd->wme_dp = (uint8) ltoh32(val); in dhd_prot_ioctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dtrxhdr.h78 #define TRX_VER(trx) (ltoh32((trx)->flag_version>>16))
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dtrxhdr.h78 #define TRX_VER(trx) (ltoh32((trx)->flag_version>>16))
H A Dbcmendian.h82 #define ltoh32(i) (i) macro
101 #define ltoh32(i) bcmswap32(i) macro

123