Home
last modified time | relevance | path

Searched refs:d_idx (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c356 if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx || in ast_vhub_epn_queue()
507 if (WARN_ON(ep->d_idx == 0)) in ast_vhub_update_epn_stall()
532 if (ep->d_idx == 0) in ast_vhub_set_halt_and_wedge()
615 if (!ep->d_idx || !ep->dev || in ast_vhub_epn_enable()
619 ep->d_idx, ep->dev, desc->bDescriptorType, in ast_vhub_epn_enable()
623 if (ep->d_idx != usb_endpoint_num(desc)) { in ast_vhub_epn_enable()
764 if (WARN_ON(!ep->dev || !ep->d_idx)) in ast_vhub_epn_dispose()
773 ep->dev->epns[ep->d_idx - 1] = NULL; in ast_vhub_epn_dispose()
825 ep->d_idx = addr; in ast_vhub_alloc_epn()
H A Dvhub.h275 unsigned int d_idx; member
446 (ep)->d_idx, ##__VA_ARGS__); \
468 (ep)->d_idx, ##__VA_ARGS__); \
H A Dep0.c34 if (WARN_ON(ep->d_idx != 0)) in ast_vhub_reply()
85 if (WARN_ON(ep->d_idx != 0)) in ast_vhub_ep0_handle_setup()
379 if (WARN_ON(ep->d_idx != 0)) in ast_vhub_ep0_queue()
499 ep->d_idx = 0; in ast_vhub_init_ep0()
H A Ddev.c379 to_ast_ep(u_ep)->d_idx); in ast_vhub_udc_match_ep()
/openbmc/linux/drivers/isdn/mISDN/
H A Dl1oip_core.c452 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_parse()
756 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_close()
814 l1oip_socket_send(hc, 0, hc->d_idx, 0, 0, NULL, 0); in l1oip_send_bh()
834 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_timeout()
1247 if (hc->registered && hc->chan[hc->d_idx].dch) in release_card()
1248 mISDN_unregister_device(&hc->chan[hc->d_idx].dch->dev); in release_card()
1296 hc->d_idx = pri ? 16 : 3; in init_card()
1387 dch->slot = hc->d_idx; in init_card()
1388 hc->chan[hc->d_idx].dch = dch; in init_card()
H A Dl1oip.h55 int d_idx; /* current dchannel number */ member
/openbmc/linux/drivers/video/fbdev/
H A Dimsttfb.c1226 d_idx = i * MAX_CURS/8 + j;
1227 data[d_idx] = byte_rev[dat[s_idx] ^
1229 mask[d_idx] = byte_rev[msk[s_idx]];
1238 d_idx = i * MAX_CURS/8 + j;
1239 data[d_idx] = byte_rev[dat[s_idx]];
1240 mask[d_idx] = byte_rev[msk[s_idx]];