Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 15 of 15) sorted by relevance

/components/dfs/dfs_v1/filesystems/elmfat/
A Dffunicode.c15469 WORD uc, bc, nc, cmd; in ff_wtoupper() local
15567 bc = *p++; /* Get the block base */ in ff_wtoupper()
15568 if (bc == 0 || uc < bc) break; /* Not matched? */ in ff_wtoupper()
15570 if (uc < bc + nc) { /* In the block? */ in ff_wtoupper()
15572 case 0: uc = p[uc - bc]; break; /* Table conversion */ in ff_wtoupper()
15573 case 1: uc -= (uc - bc) & 1; break; /* Case pairs */ in ff_wtoupper()
A Dff.c1136 UINT wc, bc; in get_fat() local
1149 bc = (UINT)clst; bc += bc / 2; in get_fat()
1150 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1151 wc = fs->win[bc++ % SS(fs)]; /* Get 1st byte of the entry */ in get_fat()
1152 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1215 UINT bc; in put_fat() local
1223 bc = (UINT)clst; bc += bc / 2; /* bc: byte offset of the entry */ in put_fat()
1224 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1226 p = fs->win + bc++ % SS(fs); in put_fat()
1229 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
[all …]
/components/dfs/dfs_v2/filesystems/elmfat/
A Dffunicode.c15469 WORD uc, bc, nc, cmd; in ff_wtoupper() local
15567 bc = *p++; /* Get the block base */ in ff_wtoupper()
15568 if (bc == 0 || uc < bc) break; /* Not matched? */ in ff_wtoupper()
15570 if (uc < bc + nc) { /* In the block? */ in ff_wtoupper()
15572 case 0: uc = p[uc - bc]; break; /* Table conversion */ in ff_wtoupper()
15573 case 1: uc -= (uc - bc) & 1; break; /* Case pairs */ in ff_wtoupper()
A Dff.c1166 UINT wc, bc; in get_fat() local
1179 bc = (UINT)clst; bc += bc / 2; in get_fat()
1180 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1181 wc = fs->win[bc++ % SS(fs)]; /* Get 1st byte of the entry */ in get_fat()
1182 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1245 UINT bc; in put_fat() local
1253 bc = (UINT)clst; bc += bc / 2; /* bc: byte offset of the entry */ in put_fat()
1254 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1256 p = fs->win + bc++ % SS(fs); in put_fat()
1259 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
[all …]
/components/drivers/usb/cherryusb/port/kinetis/
A Dusb_dc_kinetis.c62 bd->bc = buflen >= ep_mps ? ep_mps : buflen; in kinetis_start_transfer()
349 uint16_t bc; in USBD_IRQHandler() local
411 bc = bd->bc; in USBD_IRQHandler()
431 g_kinetis_udc[busid].in_ep[ep_idx].xfer_buf += bc; in USBD_IRQHandler()
432 g_kinetis_udc[busid].in_ep[ep_idx].xfer_len -= bc; in USBD_IRQHandler()
433 g_kinetis_udc[busid].in_ep[ep_idx].actual_xfer_len += bc; in USBD_IRQHandler()
442 g_kinetis_udc[busid].out_ep[ep_idx].xfer_buf += bc; in USBD_IRQHandler()
443 g_kinetis_udc[busid].out_ep[ep_idx].xfer_len -= bc; in USBD_IRQHandler()
444 g_kinetis_udc[busid].out_ep[ep_idx].actual_xfer_len += bc; in USBD_IRQHandler()
446 …if ((bc < g_kinetis_udc[busid].out_ep[ep_idx].ep_mps) || (g_kinetis_udc[busid].out_ep[ep_idx].xfer… in USBD_IRQHandler()
[all …]
A Dusb_kinetis_reg.h1411 uint32_t bc : 10; /*!< Packet size. */ member
/components/net/lwip/lwip-1.4.1/src/api/
A Dapi_msg.c908 msg->err = raw_bind(msg->conn->pcb.raw, msg->msg.bc.ipaddr);
913 msg->err = udp_bind(msg->conn->pcb.udp, msg->msg.bc.ipaddr, msg->msg.bc.port);
918 msg->err = tcp_bind(msg->conn->pcb.tcp, msg->msg.bc.ipaddr, msg->msg.bc.port);
993 msg->err = raw_connect(msg->conn->pcb.raw, msg->msg.bc.ipaddr);
998 msg->err = udp_connect(msg->conn->pcb.udp, msg->msg.bc.ipaddr, msg->msg.bc.port);
1008 msg->err = tcp_connect(msg->conn->pcb.tcp, msg->msg.bc.ipaddr,
1009 msg->msg.bc.port, do_connected);
A Dapi_lib.c175 msg.msg.msg.bc.ipaddr = addr; in netconn_bind()
176 msg.msg.msg.bc.port = port; in netconn_bind()
201 msg.msg.msg.bc.ipaddr = addr; in netconn_connect()
202 msg.msg.msg.bc.port = port; in netconn_connect()
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dapi_msg.h80 } bc; member
/components/net/lwip/lwip-2.1.2/src/api/
A Dapi_msg.c1225 err = raw_bind(msg->conn->pcb.raw, API_EXPR_REF(msg->msg.bc.ipaddr));
1230 err = udp_bind(msg->conn->pcb.udp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1235 err = tcp_bind(msg->conn->pcb.tcp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1262 netif = netif_get_by_index(msg->msg.bc.if_idx);
1362 err = raw_connect(msg->conn->pcb.raw, API_EXPR_REF(msg->msg.bc.ipaddr));
1367 err = udp_connect(msg->conn->pcb.udp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1379 err = tcp_connect(msg->conn->pcb.tcp, API_EXPR_REF(msg->msg.bc.ipaddr),
1380 msg->msg.bc.port, lwip_netconn_do_connected);
A Dapi_lib.c333 API_MSG_VAR_REF(msg).msg.bc.ipaddr = API_MSG_VAR_REF(addr); in netconn_bind()
334 API_MSG_VAR_REF(msg).msg.bc.port = port; in netconn_bind()
360 API_MSG_VAR_REF(msg).msg.bc.if_idx = if_idx; in netconn_bind_if()
393 API_MSG_VAR_REF(msg).msg.bc.ipaddr = API_MSG_VAR_REF(addr); in netconn_connect()
394 API_MSG_VAR_REF(msg).msg.bc.port = port; in netconn_connect()
/components/net/lwip/lwip-2.0.3/src/api/
A Dapi_msg.c1133 msg->err = raw_bind(msg->conn->pcb.raw, API_EXPR_REF(msg->msg.bc.ipaddr));
1138 msg->err = udp_bind(msg->conn->pcb.udp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1143 msg->err = tcp_bind(msg->conn->pcb.tcp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1223 msg->err = raw_connect(msg->conn->pcb.raw, API_EXPR_REF(msg->msg.bc.ipaddr));
1228 … msg->err = udp_connect(msg->conn->pcb.udp, API_EXPR_REF(msg->msg.bc.ipaddr), msg->msg.bc.port);
1240 msg->err = tcp_connect(msg->conn->pcb.tcp, API_EXPR_REF(msg->msg.bc.ipaddr),
1241 msg->msg.bc.port, lwip_netconn_do_connected);
A Dapi_lib.c276 API_MSG_VAR_REF(msg).msg.bc.ipaddr = API_MSG_VAR_REF(addr); in netconn_bind()
277 API_MSG_VAR_REF(msg).msg.bc.port = port; in netconn_bind()
310 API_MSG_VAR_REF(msg).msg.bc.ipaddr = API_MSG_VAR_REF(addr); in netconn_connect()
311 API_MSG_VAR_REF(msg).msg.bc.port = port; in netconn_connect()
/components/net/lwip/lwip-2.0.3/src/include/lwip/priv/
A Dapi_msg.h97 } bc; member
/components/net/lwip/lwip-2.1.2/src/include/lwip/priv/
A Dapi_msg.h98 } bc; member

Completed in 127 milliseconds