epd               199 drivers/gpu/drm/tiny/repaper.c static void repaper_even_pixels(struct repaper_epd *epd, u8 **pp,
epd               205 drivers/gpu/drm/tiny/repaper.c 	for (b = 0; b < (epd->width / 8); b++) {
epd               245 drivers/gpu/drm/tiny/repaper.c static void repaper_odd_pixels(struct repaper_epd *epd, u8 **pp,
epd               251 drivers/gpu/drm/tiny/repaper.c 	for (b = epd->width / 8; b > 0; b--) {
epd               295 drivers/gpu/drm/tiny/repaper.c static void repaper_all_pixels(struct repaper_epd *epd, u8 **pp,
epd               301 drivers/gpu/drm/tiny/repaper.c 	for (b = epd->width / 8; b > 0; b--) {
epd               339 drivers/gpu/drm/tiny/repaper.c static void repaper_one_line(struct repaper_epd *epd, unsigned int line,
epd               343 drivers/gpu/drm/tiny/repaper.c 	u8 *p = epd->line_buffer;
epd               346 drivers/gpu/drm/tiny/repaper.c 	repaper_spi_mosi_low(epd->spi);
epd               348 drivers/gpu/drm/tiny/repaper.c 	if (epd->pre_border_byte)
epd               351 drivers/gpu/drm/tiny/repaper.c 	if (epd->middle_scan) {
epd               353 drivers/gpu/drm/tiny/repaper.c 		repaper_odd_pixels(epd, &p, data, fixed_value, mask, stage);
epd               356 drivers/gpu/drm/tiny/repaper.c 		for (b = epd->bytes_per_scan; b > 0; b--) {
epd               364 drivers/gpu/drm/tiny/repaper.c 		repaper_even_pixels(epd, &p, data, fixed_value, mask, stage);
epd               370 drivers/gpu/drm/tiny/repaper.c 		for (b = 0; b < epd->bytes_per_scan; b++) {
epd               378 drivers/gpu/drm/tiny/repaper.c 		repaper_all_pixels(epd, &p, data, fixed_value, mask, stage);
epd               384 drivers/gpu/drm/tiny/repaper.c 		for (b = epd->bytes_per_scan; b > 0; b--) {
epd               392 drivers/gpu/drm/tiny/repaper.c 	switch (epd->border_byte) {
epd               414 drivers/gpu/drm/tiny/repaper.c 	repaper_write_buf(epd->spi, 0x0a, epd->line_buffer,
epd               415 drivers/gpu/drm/tiny/repaper.c 			  p - epd->line_buffer);
epd               418 drivers/gpu/drm/tiny/repaper.c 	repaper_write_val(epd->spi, 0x02, 0x07);
epd               420 drivers/gpu/drm/tiny/repaper.c 	repaper_spi_mosi_low(epd->spi);
epd               423 drivers/gpu/drm/tiny/repaper.c static void repaper_frame_fixed(struct repaper_epd *epd, u8 fixed_value,
epd               428 drivers/gpu/drm/tiny/repaper.c 	for (line = 0; line < epd->height; line++)
epd               429 drivers/gpu/drm/tiny/repaper.c 		repaper_one_line(epd, line, NULL, fixed_value, NULL, stage);
epd               432 drivers/gpu/drm/tiny/repaper.c static void repaper_frame_data(struct repaper_epd *epd, const u8 *image,
epd               438 drivers/gpu/drm/tiny/repaper.c 		for (line = 0; line < epd->height; line++) {
epd               439 drivers/gpu/drm/tiny/repaper.c 			repaper_one_line(epd, line,
epd               440 drivers/gpu/drm/tiny/repaper.c 					 &image[line * (epd->width / 8)],
epd               444 drivers/gpu/drm/tiny/repaper.c 		for (line = 0; line < epd->height; line++) {
epd               445 drivers/gpu/drm/tiny/repaper.c 			size_t n = line * epd->width / 8;
epd               447 drivers/gpu/drm/tiny/repaper.c 			repaper_one_line(epd, line, &image[n], 0, &mask[n],
epd               453 drivers/gpu/drm/tiny/repaper.c static void repaper_frame_fixed_repeat(struct repaper_epd *epd, u8 fixed_value,
epd               457 drivers/gpu/drm/tiny/repaper.c 	u64 end = start + (epd->factored_stage_time * 1000 * 1000);
epd               460 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed(epd, fixed_value, stage);
epd               464 drivers/gpu/drm/tiny/repaper.c static void repaper_frame_data_repeat(struct repaper_epd *epd, const u8 *image,
epd               468 drivers/gpu/drm/tiny/repaper.c 	u64 end = start + (epd->factored_stage_time * 1000 * 1000);
epd               471 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data(epd, image, mask, stage);
epd               475 drivers/gpu/drm/tiny/repaper.c static void repaper_get_temperature(struct repaper_epd *epd)
epd               480 drivers/gpu/drm/tiny/repaper.c 	if (!epd->thermal)
epd               483 drivers/gpu/drm/tiny/repaper.c 	ret = thermal_zone_get_temp(epd->thermal, &temperature);
epd               485 drivers/gpu/drm/tiny/repaper.c 		DRM_DEV_ERROR(&epd->spi->dev, "Failed to get temperature (%d)\n", ret);
epd               508 drivers/gpu/drm/tiny/repaper.c 	epd->factored_stage_time = epd->stage_time * factor10x / 10;
epd               535 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd = drm_to_epd(fb->dev);
epd               540 drivers/gpu/drm/tiny/repaper.c 	if (!epd->enabled)
epd               552 drivers/gpu/drm/tiny/repaper.c 	repaper_get_temperature(epd);
epd               555 drivers/gpu/drm/tiny/repaper.c 		  epd->factored_stage_time);
epd               581 drivers/gpu/drm/tiny/repaper.c 	if (epd->partial) {
epd               582 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, buf, epd->current_frame,
epd               584 drivers/gpu/drm/tiny/repaper.c 	} else if (epd->cleared) {
epd               585 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, epd->current_frame, NULL,
epd               587 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, epd->current_frame, NULL,
epd               589 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, buf, NULL, REPAPER_INVERSE);
epd               590 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, buf, NULL, REPAPER_NORMAL);
epd               592 drivers/gpu/drm/tiny/repaper.c 		epd->partial = true;
epd               595 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xff, REPAPER_COMPENSATE);
epd               596 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xff, REPAPER_WHITE);
epd               597 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xaa, REPAPER_INVERSE);
epd               598 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xaa, REPAPER_NORMAL);
epd               601 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xaa, REPAPER_COMPENSATE);
epd               602 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_fixed_repeat(epd, 0xaa, REPAPER_WHITE);
epd               603 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, buf, NULL, REPAPER_INVERSE);
epd               604 drivers/gpu/drm/tiny/repaper.c 		repaper_frame_data_repeat(epd, buf, NULL, REPAPER_NORMAL);
epd               606 drivers/gpu/drm/tiny/repaper.c 		epd->cleared = true;
epd               607 drivers/gpu/drm/tiny/repaper.c 		epd->partial = true;
epd               610 drivers/gpu/drm/tiny/repaper.c 	memcpy(epd->current_frame, buf, fb->width * fb->height / 8);
epd               616 drivers/gpu/drm/tiny/repaper.c 	if (epd->pre_border_byte) {
epd               621 drivers/gpu/drm/tiny/repaper.c 				repaper_frame_data_repeat(epd, buf,
epd               622 drivers/gpu/drm/tiny/repaper.c 							  epd->current_frame,
epd               636 drivers/gpu/drm/tiny/repaper.c static void power_off(struct repaper_epd *epd)
epd               639 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->reset, 0);
epd               640 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->panel_on, 0);
epd               641 drivers/gpu/drm/tiny/repaper.c 	if (epd->border)
epd               642 drivers/gpu/drm/tiny/repaper.c 		gpiod_set_value_cansleep(epd->border, 0);
epd               645 drivers/gpu/drm/tiny/repaper.c 	repaper_spi_mosi_low(epd->spi);
epd               648 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->discharge, 1);
epd               650 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->discharge, 0);
epd               657 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd = drm_to_epd(pipe->crtc.dev);
epd               658 drivers/gpu/drm/tiny/repaper.c 	struct spi_device *spi = epd->spi;
epd               669 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->reset, 0);
epd               670 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->panel_on, 0);
epd               671 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->discharge, 0);
epd               672 drivers/gpu/drm/tiny/repaper.c 	if (epd->border)
epd               673 drivers/gpu/drm/tiny/repaper.c 		gpiod_set_value_cansleep(epd->border, 0);
epd               677 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->panel_on, 1);
epd               683 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->reset, 1);
epd               684 drivers/gpu/drm/tiny/repaper.c 	if (epd->border)
epd               685 drivers/gpu/drm/tiny/repaper.c 		gpiod_set_value_cansleep(epd->border, 1);
epd               687 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->reset, 0);
epd               689 drivers/gpu/drm/tiny/repaper.c 	gpiod_set_value_cansleep(epd->reset, 1);
epd               694 drivers/gpu/drm/tiny/repaper.c 		if (!gpiod_get_value_cansleep(epd->busy))
epd               702 drivers/gpu/drm/tiny/repaper.c 		power_off(epd);
epd               713 drivers/gpu/drm/tiny/repaper.c 		power_off(epd);
epd               726 drivers/gpu/drm/tiny/repaper.c 		power_off(epd);
epd               733 drivers/gpu/drm/tiny/repaper.c 	repaper_write_buf(spi, 0x01, epd->channel_select, 8);
epd               766 drivers/gpu/drm/tiny/repaper.c 			power_off(epd);
epd               778 drivers/gpu/drm/tiny/repaper.c 		power_off(epd);
epd               788 drivers/gpu/drm/tiny/repaper.c 	epd->enabled = true;
epd               789 drivers/gpu/drm/tiny/repaper.c 	epd->partial = false;
epd               796 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd = drm_to_epd(pipe->crtc.dev);
epd               797 drivers/gpu/drm/tiny/repaper.c 	struct spi_device *spi = epd->spi;
epd               807 drivers/gpu/drm/tiny/repaper.c 	if (!epd->enabled)
epd               812 drivers/gpu/drm/tiny/repaper.c 	epd->enabled = false;
epd               815 drivers/gpu/drm/tiny/repaper.c 	for (line = 0; line < epd->height; line++)
epd               816 drivers/gpu/drm/tiny/repaper.c 		repaper_one_line(epd, 0x7fffu, NULL, 0x00, NULL,
epd               820 drivers/gpu/drm/tiny/repaper.c 	if (epd->border) {
epd               822 drivers/gpu/drm/tiny/repaper.c 		repaper_one_line(epd, 0x7fffu, NULL, 0x00, NULL,
epd               825 drivers/gpu/drm/tiny/repaper.c 		gpiod_set_value_cansleep(epd->border, 0);
epd               827 drivers/gpu/drm/tiny/repaper.c 		gpiod_set_value_cansleep(epd->border, 1);
epd               830 drivers/gpu/drm/tiny/repaper.c 		repaper_one_line(epd, 0x7fffu, NULL, 0x00, NULL,
epd               852 drivers/gpu/drm/tiny/repaper.c 	power_off(epd);
epd               882 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd = drm_to_epd(connector->dev);
epd               885 drivers/gpu/drm/tiny/repaper.c 	mode = drm_mode_duplicate(connector->dev, epd->mode);
epd               921 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd = drm_to_epd(drm);
epd               927 drivers/gpu/drm/tiny/repaper.c 	kfree(epd);
epd              1002 drivers/gpu/drm/tiny/repaper.c 	struct repaper_epd *epd;
epd              1024 drivers/gpu/drm/tiny/repaper.c 	epd = kzalloc(sizeof(*epd), GFP_KERNEL);
epd              1025 drivers/gpu/drm/tiny/repaper.c 	if (!epd)
epd              1028 drivers/gpu/drm/tiny/repaper.c 	drm = &epd->drm;
epd              1032 drivers/gpu/drm/tiny/repaper.c 		kfree(epd);
epd              1039 drivers/gpu/drm/tiny/repaper.c 	epd->spi = spi;
epd              1041 drivers/gpu/drm/tiny/repaper.c 	epd->panel_on = devm_gpiod_get(dev, "panel-on", GPIOD_OUT_LOW);
epd              1042 drivers/gpu/drm/tiny/repaper.c 	if (IS_ERR(epd->panel_on)) {
epd              1043 drivers/gpu/drm/tiny/repaper.c 		ret = PTR_ERR(epd->panel_on);
epd              1049 drivers/gpu/drm/tiny/repaper.c 	epd->discharge = devm_gpiod_get(dev, "discharge", GPIOD_OUT_LOW);
epd              1050 drivers/gpu/drm/tiny/repaper.c 	if (IS_ERR(epd->discharge)) {
epd              1051 drivers/gpu/drm/tiny/repaper.c 		ret = PTR_ERR(epd->discharge);
epd              1057 drivers/gpu/drm/tiny/repaper.c 	epd->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
epd              1058 drivers/gpu/drm/tiny/repaper.c 	if (IS_ERR(epd->reset)) {
epd              1059 drivers/gpu/drm/tiny/repaper.c 		ret = PTR_ERR(epd->reset);
epd              1065 drivers/gpu/drm/tiny/repaper.c 	epd->busy = devm_gpiod_get(dev, "busy", GPIOD_IN);
epd              1066 drivers/gpu/drm/tiny/repaper.c 	if (IS_ERR(epd->busy)) {
epd              1067 drivers/gpu/drm/tiny/repaper.c 		ret = PTR_ERR(epd->busy);
epd              1075 drivers/gpu/drm/tiny/repaper.c 		epd->thermal = thermal_zone_get_zone_by_name(thermal_zone);
epd              1076 drivers/gpu/drm/tiny/repaper.c 		if (IS_ERR(epd->thermal)) {
epd              1078 drivers/gpu/drm/tiny/repaper.c 			return PTR_ERR(epd->thermal);
epd              1085 drivers/gpu/drm/tiny/repaper.c 		epd->channel_select = repaper_e1144cs021_cs;
epd              1086 drivers/gpu/drm/tiny/repaper.c 		epd->stage_time = 480;
epd              1087 drivers/gpu/drm/tiny/repaper.c 		epd->bytes_per_scan = 96 / 4;
epd              1088 drivers/gpu/drm/tiny/repaper.c 		epd->middle_scan = true; /* data-scan-data */
epd              1089 drivers/gpu/drm/tiny/repaper.c 		epd->pre_border_byte = false;
epd              1090 drivers/gpu/drm/tiny/repaper.c 		epd->border_byte = REPAPER_BORDER_BYTE_ZERO;
epd              1095 drivers/gpu/drm/tiny/repaper.c 		epd->channel_select = repaper_e1190cs021_cs;
epd              1096 drivers/gpu/drm/tiny/repaper.c 		epd->stage_time = 480;
epd              1097 drivers/gpu/drm/tiny/repaper.c 		epd->bytes_per_scan = 128 / 4 / 2;
epd              1098 drivers/gpu/drm/tiny/repaper.c 		epd->middle_scan = false; /* scan-data-scan */
epd              1099 drivers/gpu/drm/tiny/repaper.c 		epd->pre_border_byte = false;
epd              1100 drivers/gpu/drm/tiny/repaper.c 		epd->border_byte = REPAPER_BORDER_BYTE_SET;
epd              1105 drivers/gpu/drm/tiny/repaper.c 		epd->channel_select = repaper_e2200cs021_cs;
epd              1106 drivers/gpu/drm/tiny/repaper.c 		epd->stage_time = 480;
epd              1107 drivers/gpu/drm/tiny/repaper.c 		epd->bytes_per_scan = 96 / 4;
epd              1108 drivers/gpu/drm/tiny/repaper.c 		epd->middle_scan = true; /* data-scan-data */
epd              1109 drivers/gpu/drm/tiny/repaper.c 		epd->pre_border_byte = true;
epd              1110 drivers/gpu/drm/tiny/repaper.c 		epd->border_byte = REPAPER_BORDER_BYTE_NONE;
epd              1114 drivers/gpu/drm/tiny/repaper.c 		epd->border = devm_gpiod_get(dev, "border", GPIOD_OUT_LOW);
epd              1115 drivers/gpu/drm/tiny/repaper.c 		if (IS_ERR(epd->border)) {
epd              1116 drivers/gpu/drm/tiny/repaper.c 			ret = PTR_ERR(epd->border);
epd              1123 drivers/gpu/drm/tiny/repaper.c 		epd->channel_select = repaper_e2271cs021_cs;
epd              1124 drivers/gpu/drm/tiny/repaper.c 		epd->stage_time = 630;
epd              1125 drivers/gpu/drm/tiny/repaper.c 		epd->bytes_per_scan = 176 / 4;
epd              1126 drivers/gpu/drm/tiny/repaper.c 		epd->middle_scan = true; /* data-scan-data */
epd              1127 drivers/gpu/drm/tiny/repaper.c 		epd->pre_border_byte = true;
epd              1128 drivers/gpu/drm/tiny/repaper.c 		epd->border_byte = REPAPER_BORDER_BYTE_NONE;
epd              1135 drivers/gpu/drm/tiny/repaper.c 	epd->mode = mode;
epd              1136 drivers/gpu/drm/tiny/repaper.c 	epd->width = mode->hdisplay;
epd              1137 drivers/gpu/drm/tiny/repaper.c 	epd->height = mode->vdisplay;
epd              1138 drivers/gpu/drm/tiny/repaper.c 	epd->factored_stage_time = epd->stage_time;
epd              1140 drivers/gpu/drm/tiny/repaper.c 	line_buffer_size = 2 * epd->width / 8 + epd->bytes_per_scan + 2;
epd              1141 drivers/gpu/drm/tiny/repaper.c 	epd->line_buffer = devm_kzalloc(dev, line_buffer_size, GFP_KERNEL);
epd              1142 drivers/gpu/drm/tiny/repaper.c 	if (!epd->line_buffer)
epd              1145 drivers/gpu/drm/tiny/repaper.c 	epd->current_frame = devm_kzalloc(dev, epd->width * epd->height / 8,
epd              1147 drivers/gpu/drm/tiny/repaper.c 	if (!epd->current_frame)
epd              1155 drivers/gpu/drm/tiny/repaper.c 	drm_connector_helper_add(&epd->connector, &repaper_connector_hfuncs);
epd              1156 drivers/gpu/drm/tiny/repaper.c 	ret = drm_connector_init(drm, &epd->connector, &repaper_connector_funcs,
epd              1161 drivers/gpu/drm/tiny/repaper.c 	ret = drm_simple_display_pipe_init(drm, &epd->pipe, &repaper_pipe_funcs,
epd              1163 drivers/gpu/drm/tiny/repaper.c 					   NULL, &epd->connector);
epd               558 drivers/infiniband/hw/cxgb4/device.c static int dump_ep(struct c4iw_ep *ep, struct c4iw_debugfs_data *epd)
epd               563 drivers/infiniband/hw/cxgb4/device.c 	space = epd->bufsize - epd->pos - 1;
epd               574 drivers/infiniband/hw/cxgb4/device.c 		cc = snprintf(epd->buf + epd->pos, space,
epd               595 drivers/infiniband/hw/cxgb4/device.c 		cc = snprintf(epd->buf + epd->pos, space,
epd               611 drivers/infiniband/hw/cxgb4/device.c 		epd->pos += cc;
epd               616 drivers/infiniband/hw/cxgb4/device.c int dump_listen_ep(struct c4iw_listen_ep *ep, struct c4iw_debugfs_data *epd)
epd               621 drivers/infiniband/hw/cxgb4/device.c 	space = epd->bufsize - epd->pos - 1;
epd               631 drivers/infiniband/hw/cxgb4/device.c 		cc = snprintf(epd->buf + epd->pos, space,
epd               644 drivers/infiniband/hw/cxgb4/device.c 		cc = snprintf(epd->buf + epd->pos, space,
epd               653 drivers/infiniband/hw/cxgb4/device.c 		epd->pos += cc;
epd               659 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *epd = file->private_data;
epd               660 drivers/infiniband/hw/cxgb4/device.c 	if (!epd) {
epd               664 drivers/infiniband/hw/cxgb4/device.c 	vfree(epd->buf);
epd               665 drivers/infiniband/hw/cxgb4/device.c 	kfree(epd);
epd               674 drivers/infiniband/hw/cxgb4/device.c 	struct c4iw_debugfs_data *epd;
epd               678 drivers/infiniband/hw/cxgb4/device.c 	epd = kmalloc(sizeof(*epd), GFP_KERNEL);
epd               679 drivers/infiniband/hw/cxgb4/device.c 	if (!epd) {
epd               683 drivers/infiniband/hw/cxgb4/device.c 	epd->devp = inode->i_private;
epd               684 drivers/infiniband/hw/cxgb4/device.c 	epd->pos = 0;
epd               686 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->hwtids, index, ep)
epd               688 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->atids, index, ep)
epd               690 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->stids, index, lep)
epd               693 drivers/infiniband/hw/cxgb4/device.c 	epd->bufsize = count * 240;
epd               694 drivers/infiniband/hw/cxgb4/device.c 	epd->buf = vmalloc(epd->bufsize);
epd               695 drivers/infiniband/hw/cxgb4/device.c 	if (!epd->buf) {
epd               700 drivers/infiniband/hw/cxgb4/device.c 	xa_lock_irq(&epd->devp->hwtids);
epd               701 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->hwtids, index, ep)
epd               702 drivers/infiniband/hw/cxgb4/device.c 		dump_ep(ep, epd);
epd               703 drivers/infiniband/hw/cxgb4/device.c 	xa_unlock_irq(&epd->devp->hwtids);
epd               704 drivers/infiniband/hw/cxgb4/device.c 	xa_lock_irq(&epd->devp->atids);
epd               705 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->atids, index, ep)
epd               706 drivers/infiniband/hw/cxgb4/device.c 		dump_ep(ep, epd);
epd               707 drivers/infiniband/hw/cxgb4/device.c 	xa_unlock_irq(&epd->devp->atids);
epd               708 drivers/infiniband/hw/cxgb4/device.c 	xa_lock_irq(&epd->devp->stids);
epd               709 drivers/infiniband/hw/cxgb4/device.c 	xa_for_each(&epd->devp->stids, index, lep)
epd               710 drivers/infiniband/hw/cxgb4/device.c 		dump_listen_ep(lep, epd);
epd               711 drivers/infiniband/hw/cxgb4/device.c 	xa_unlock_irq(&epd->devp->stids);
epd               713 drivers/infiniband/hw/cxgb4/device.c 	file->private_data = epd;
epd               716 drivers/infiniband/hw/cxgb4/device.c 	kfree(epd);
epd                66 drivers/misc/mic/bus/cosm_bus.h 	scif_epd_t epd;
epd               220 drivers/misc/mic/cosm/cosm_main.c 	if (!cdev->epd) {
epd               227 drivers/misc/mic/cosm/cosm_main.c 	rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK);
epd               132 drivers/misc/mic/cosm/cosm_scif_server.c 		rc = scif_recv(cdev->epd, &msg, sizeof(msg), 0);
epd               177 drivers/misc/mic/cosm/cosm_scif_server.c 	rc = scif_send(cdev->epd, &msg, sizeof(msg), SCIF_SEND_BLOCK);
epd               196 drivers/misc/mic/cosm/cosm_scif_server.c 	scif_close(cdev->epd);
epd               197 drivers/misc/mic/cosm/cosm_scif_server.c 	cdev->epd = NULL;
epd               212 drivers/misc/mic/cosm/cosm_scif_server.c 		cdev->epd = cdev->newepd;
epd               246 drivers/misc/mic/cosm/cosm_scif_server.c 		pollepd.epd = cdev->epd;
epd               154 drivers/misc/mic/cosm_client/cosm_scif_client.c 		pollepd.epd = client_epd;
epd               154 drivers/misc/mic/scif/scif_api.c int scif_close(scif_epd_t epd)
epd               156 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               184 drivers/misc/mic/scif/scif_api.c 		scif_unregister_all_windows(epd);
epd               206 drivers/misc/mic/scif/scif_api.c 		scif_unregister_all_windows(epd);
epd               309 drivers/misc/mic/scif/scif_api.c int __scif_flush(scif_epd_t epd)
epd               311 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               328 drivers/misc/mic/scif/scif_api.c int scif_bind(scif_epd_t epd, u16 pn)
epd               330 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               385 drivers/misc/mic/scif/scif_api.c int scif_listen(scif_epd_t epd, int backlog)
epd               387 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               590 drivers/misc/mic/scif/scif_api.c int __scif_connect(scif_epd_t epd, struct scif_port_id *dst, bool non_block)
epd               592 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               710 drivers/misc/mic/scif/scif_api.c int scif_connect(scif_epd_t epd, struct scif_port_id *dst)
epd               712 drivers/misc/mic/scif/scif_api.c 	return __scif_connect(epd, dst, false);
epd               737 drivers/misc/mic/scif/scif_api.c int scif_accept(scif_epd_t epd, struct scif_port_id *peer,
epd               740 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *lep = (struct scif_endpt *)epd;
epd               923 drivers/misc/mic/scif/scif_api.c static inline int scif_msg_param_check(scif_epd_t epd, int len, int flags)
epd               936 drivers/misc/mic/scif/scif_api.c static int _scif_send(scif_epd_t epd, void *msg, int len, int flags)
epd               938 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               998 drivers/misc/mic/scif/scif_api.c static int _scif_recv(scif_epd_t epd, void *msg, int len, int flags)
epd              1001 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1094 drivers/misc/mic/scif/scif_api.c int scif_user_send(scif_epd_t epd, void __user *msg, int len, int flags)
epd              1096 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1108 drivers/misc/mic/scif/scif_api.c 	err = scif_msg_param_check(epd, len, flags);
epd              1130 drivers/misc/mic/scif/scif_api.c 		err = _scif_send(epd, tmp, loop_len, flags);
epd              1155 drivers/misc/mic/scif/scif_api.c int scif_user_recv(scif_epd_t epd, void __user *msg, int len, int flags)
epd              1157 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1169 drivers/misc/mic/scif/scif_api.c 	err = scif_msg_param_check(epd, len, flags);
epd              1187 drivers/misc/mic/scif/scif_api.c 		err = _scif_recv(epd, tmp, loop_len, flags);
epd              1216 drivers/misc/mic/scif/scif_api.c int scif_send(scif_epd_t epd, void *msg, int len, int flags)
epd              1218 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1226 drivers/misc/mic/scif/scif_api.c 	ret = scif_msg_param_check(epd, len, flags);
epd              1240 drivers/misc/mic/scif/scif_api.c 	ret = _scif_send(epd, msg, len, flags);
epd              1258 drivers/misc/mic/scif/scif_api.c int scif_recv(scif_epd_t epd, void *msg, int len, int flags)
epd              1260 drivers/misc/mic/scif/scif_api.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1268 drivers/misc/mic/scif/scif_api.c 	ret = scif_msg_param_check(epd, len, flags);
epd              1280 drivers/misc/mic/scif/scif_api.c 	ret = _scif_recv(epd, msg, len, flags);
epd              1392 drivers/misc/mic/scif/scif_api.c 			mask = __scif_pollfd(ufds[i].epd->anon,
epd              1393 drivers/misc/mic/scif/scif_api.c 					     pt, ufds[i].epd);
epd               342 drivers/misc/mic/scif/scif_dma.c scif_register_temp(scif_epd_t epd, unsigned long addr, size_t len, int prot,
epd               345 drivers/misc/mic/scif/scif_dma.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1533 drivers/misc/mic/scif/scif_dma.c static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd,
epd              1634 drivers/misc/mic/scif/scif_dma.c static int scif_rma_copy(scif_epd_t epd, off_t loffset, unsigned long addr,
epd              1638 drivers/misc/mic/scif/scif_dma.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1717 drivers/misc/mic/scif/scif_dma.c 			err = scif_register_temp(epd, req.va_for_temp,
epd              1788 drivers/misc/mic/scif/scif_dma.c 		err = scif_rma_list_dma_copy_wrapper(epd, &copy_work,
epd              1823 drivers/misc/mic/scif/scif_dma.c int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len,
epd              1830 drivers/misc/mic/scif/scif_dma.c 		epd, loffset, len, roffset, flags);
epd              1833 drivers/misc/mic/scif/scif_dma.c 			err = scif_rma_copy(epd, loffset, 0x0,
epd              1844 drivers/misc/mic/scif/scif_dma.c 	err = scif_rma_copy(epd, loffset, 0x0, len,
epd              1851 drivers/misc/mic/scif/scif_dma.c int scif_writeto(scif_epd_t epd, off_t loffset, size_t len,
epd              1858 drivers/misc/mic/scif/scif_dma.c 		epd, loffset, len, roffset, flags);
epd              1861 drivers/misc/mic/scif/scif_dma.c 			err = scif_rma_copy(epd, loffset, 0x0,
epd              1872 drivers/misc/mic/scif/scif_dma.c 	err = scif_rma_copy(epd, loffset, 0x0, len,
epd              1879 drivers/misc/mic/scif/scif_dma.c int scif_vreadfrom(scif_epd_t epd, void *addr, size_t len,
epd              1886 drivers/misc/mic/scif/scif_dma.c 		epd, addr, len, roffset, flags);
epd              1892 drivers/misc/mic/scif/scif_dma.c 			err = scif_rma_copy(epd, 0, (u64)addr,
epd              1903 drivers/misc/mic/scif/scif_dma.c 	err = scif_rma_copy(epd, 0, (u64)addr, len,
epd              1910 drivers/misc/mic/scif/scif_dma.c int scif_vwriteto(scif_epd_t epd, void *addr, size_t len,
epd              1917 drivers/misc/mic/scif/scif_dma.c 		epd, addr, len, roffset, flags);
epd              1923 drivers/misc/mic/scif/scif_dma.c 			err = scif_rma_copy(epd, 0, (u64)addr,
epd              1934 drivers/misc/mic/scif/scif_dma.c 	err = scif_rma_copy(epd, 0, (u64)addr, len,
epd               156 drivers/misc/mic/scif/scif_epd.h static inline int scif_anon_inode_getfile(scif_epd_t epd)
epd               158 drivers/misc/mic/scif/scif_epd.h 	epd->anon = anon_inode_getfile("scif", &scif_anon_fops, NULL, 0);
epd               160 drivers/misc/mic/scif/scif_epd.h 	return PTR_ERR_OR_ZERO(epd->anon);
epd               163 drivers/misc/mic/scif/scif_epd.h static inline void scif_anon_inode_fput(scif_epd_t epd)
epd               165 drivers/misc/mic/scif/scif_epd.h 	if (epd->anon) {
epd               166 drivers/misc/mic/scif/scif_epd.h 		fput(epd->anon);
epd               167 drivers/misc/mic/scif/scif_epd.h 		epd->anon = NULL;
epd               182 drivers/misc/mic/scif/scif_epd.h int scif_user_send(scif_epd_t epd, void __user *msg, int len, int flags);
epd               183 drivers/misc/mic/scif/scif_epd.h int scif_user_recv(scif_epd_t epd, void __user *msg, int len, int flags);
epd               193 drivers/misc/mic/scif/scif_epd.h int __scif_connect(scif_epd_t epd, struct scif_port_id *dst, bool non_block);
epd               194 drivers/misc/mic/scif/scif_epd.h int __scif_flush(scif_epd_t epd);
epd               195 drivers/misc/mic/scif/scif_epd.h int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd);
epd               196 drivers/misc/mic/scif/scif_fence.c static int _scif_prog_signal(scif_epd_t epd, dma_addr_t dst, u64 val)
epd               198 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               293 drivers/misc/mic/scif/scif_fence.c int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val,
epd               296 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               332 drivers/misc/mic/scif/scif_fence.c 		err = _scif_prog_signal(epd, dst_dma_addr, val);
epd               339 drivers/misc/mic/scif/scif_fence.c static int _scif_fence_wait(scif_epd_t epd, int mark)
epd               341 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               396 drivers/misc/mic/scif/scif_fence.c static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark)
epd               401 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               459 drivers/misc/mic/scif/scif_fence.c static int scif_send_fence_mark(scif_epd_t epd, int *out_mark)
epd               461 drivers/misc/mic/scif/scif_fence.c 	return _scif_send_fence(epd, SCIF_MARK, 0, out_mark);
epd               471 drivers/misc/mic/scif/scif_fence.c static int scif_send_fence_wait(scif_epd_t epd, int mark)
epd               473 drivers/misc/mic/scif/scif_fence.c 	return _scif_send_fence(epd, SCIF_WAIT, mark, NULL);
epd               513 drivers/misc/mic/scif/scif_fence.c static int scif_send_fence_signal(scif_epd_t epd, off_t roff, u64 rval,
epd               519 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               586 drivers/misc/mic/scif/scif_fence.c int _scif_fence_mark(scif_epd_t epd, int *mark)
epd               588 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               633 drivers/misc/mic/scif/scif_fence.c int scif_fence_mark(scif_epd_t epd, int flags, int *mark)
epd               635 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               667 drivers/misc/mic/scif/scif_fence.c 		err = _scif_fence_mark(epd, mark);
epd               681 drivers/misc/mic/scif/scif_fence.c int scif_fence_wait(scif_epd_t epd, int mark)
epd               683 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               704 drivers/misc/mic/scif/scif_fence.c 		err = scif_send_fence_wait(epd, mark);
epd               706 drivers/misc/mic/scif/scif_fence.c 		err = _scif_fence_wait(epd, mark);
epd               714 drivers/misc/mic/scif/scif_fence.c int scif_fence_signal(scif_epd_t epd, off_t loff, u64 lval,
epd               717 drivers/misc/mic/scif/scif_fence.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               753 drivers/misc/mic/scif/scif_fence.c 		err = scif_send_fence_signal(epd, roff, rval, loff,
epd               758 drivers/misc/mic/scif/scif_fence.c 			err = scif_prog_signal(epd, loff, lval,
epd               766 drivers/misc/mic/scif/scif_fence.c 			err = scif_prog_signal(epd, roff,
epd               212 drivers/misc/mic/scif/scif_mmap.c int scif_get_pages(scif_epd_t epd, off_t offset, size_t len,
epd               215 drivers/misc/mic/scif/scif_mmap.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               602 drivers/misc/mic/scif/scif_mmap.c int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd)
epd               606 drivers/misc/mic/scif/scif_mmap.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1466 drivers/misc/mic/scif/scif_rma.c off_t scif_register_pinned_pages(scif_epd_t epd,
epd              1470 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1568 drivers/misc/mic/scif/scif_rma.c off_t scif_register(scif_epd_t epd, void *addr, size_t len, off_t offset,
epd              1573 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd              1581 drivers/misc/mic/scif/scif_rma.c 		epd, addr, len, offset, prot, map_flags);
epd              1680 drivers/misc/mic/scif/scif_rma.c 		epd, addr, len, computed_offset);
epd              1693 drivers/misc/mic/scif/scif_rma.c scif_unregister(scif_epd_t epd, off_t offset, size_t len)
epd              1695 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               350 drivers/misc/mic/scif/scif_rma.h int _scif_fence_mark(scif_epd_t epd, int *mark);
epd               351 drivers/misc/mic/scif/scif_rma.h int scif_prog_signal(scif_epd_t epd, off_t offset, u64 val,
epd               225 drivers/misc/mic/scif/scif_rma_list.c void scif_unmap_all_windows(scif_epd_t epd)
epd               229 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd               247 drivers/misc/mic/scif/scif_rma_list.c int scif_unregister_all_windows(scif_epd_t epd)
epd               251 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_endpt *ep = (struct scif_endpt *)epd;
epd                43 drivers/misc/mic/scif/scif_rma_list.h int scif_unregister_all_windows(scif_epd_t epd);
epd                44 drivers/misc/mic/scif/scif_rma_list.h void scif_unmap_all_windows(scif_epd_t epd);
epd                95 drivers/net/wimax/i2400m/usb-fw.c 	struct usb_endpoint_descriptor *epd;
epd               103 drivers/net/wimax/i2400m/usb-fw.c 	epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out);
epd               104 drivers/net/wimax/i2400m/usb-fw.c 	pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd               249 drivers/net/wimax/i2400m/usb-fw.c 	struct usb_endpoint_descriptor *epd;
epd               252 drivers/net/wimax/i2400m/usb-fw.c 	epd = usb_get_epd(i2400mu->usb_iface,
epd               254 drivers/net/wimax/i2400m/usb-fw.c 	pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd               258 drivers/net/wimax/i2400m/usb-fw.c 			 epd->bInterval);
epd               196 drivers/net/wimax/i2400m/usb-notif.c 	struct usb_endpoint_descriptor *epd;
epd               211 drivers/net/wimax/i2400m/usb-notif.c 	epd = usb_get_epd(i2400mu->usb_iface,
epd               213 drivers/net/wimax/i2400m/usb-notif.c 	usb_pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd               216 drivers/net/wimax/i2400m/usb-notif.c 			 i2400mu_notification_cb, i2400mu, epd->bInterval);
epd               197 drivers/net/wimax/i2400m/usb-rx.c 	struct usb_endpoint_descriptor *epd;
epd               208 drivers/net/wimax/i2400m/usb-rx.c 	epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_in);
epd               209 drivers/net/wimax/i2400m/usb-rx.c 	usb_pipe = usb_rcvbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd                94 drivers/net/wimax/i2400m/usb-tx.c 	struct usb_endpoint_descriptor *epd;
epd               104 drivers/net/wimax/i2400m/usb-tx.c 	epd = usb_get_epd(i2400mu->usb_iface, i2400mu->endpoint_cfg.bulk_out);
epd               105 drivers/net/wimax/i2400m/usb-tx.c 	usb_pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd               146 drivers/net/wimax/i2400m/usb.c 	struct usb_endpoint_descriptor *epd = NULL;
epd               161 drivers/net/wimax/i2400m/usb.c 	epd = usb_get_epd(i2400mu->usb_iface, endpoint);
epd               162 drivers/net/wimax/i2400m/usb.c 	pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress);
epd               401 drivers/net/wireless/marvell/mwifiex/usb.c 	struct usb_endpoint_descriptor *epd;
epd               448 drivers/net/wireless/marvell/mwifiex/usb.c 		epd = &iface_desc->endpoint[i].desc;
epd               449 drivers/net/wireless/marvell/mwifiex/usb.c 		if (usb_endpoint_dir_in(epd) &&
epd               450 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT &&
epd               451 drivers/net/wireless/marvell/mwifiex/usb.c 		    (usb_endpoint_xfer_bulk(epd) ||
epd               452 drivers/net/wireless/marvell/mwifiex/usb.c 		     usb_endpoint_xfer_int(epd))) {
epd               453 drivers/net/wireless/marvell/mwifiex/usb.c 			card->rx_cmd_ep_type = usb_endpoint_type(epd);
epd               454 drivers/net/wireless/marvell/mwifiex/usb.c 			card->rx_cmd_interval = epd->bInterval;
epd               456 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               457 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress, card->rx_cmd_ep_type);
epd               458 drivers/net/wireless/marvell/mwifiex/usb.c 			card->rx_cmd_ep = usb_endpoint_num(epd);
epd               461 drivers/net/wireless/marvell/mwifiex/usb.c 		if (usb_endpoint_dir_in(epd) &&
epd               462 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_num(epd) == MWIFIEX_USB_EP_DATA &&
epd               463 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_xfer_bulk(epd)) {
epd               465 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               466 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress);
epd               467 drivers/net/wireless/marvell/mwifiex/usb.c 			card->rx_data_ep = usb_endpoint_num(epd);
epd               470 drivers/net/wireless/marvell/mwifiex/usb.c 		if (usb_endpoint_dir_out(epd) &&
epd               471 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_num(epd) == MWIFIEX_USB_EP_DATA &&
epd               472 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_xfer_bulk(epd)) {
epd               474 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               475 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress);
epd               476 drivers/net/wireless/marvell/mwifiex/usb.c 			card->port[0].tx_data_ep = usb_endpoint_num(epd);
epd               479 drivers/net/wireless/marvell/mwifiex/usb.c 		if (usb_endpoint_dir_out(epd) &&
epd               480 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_num(epd) == MWIFIEX_USB_EP_DATA_CH2 &&
epd               481 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_xfer_bulk(epd)) {
epd               484 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               485 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress);
epd               486 drivers/net/wireless/marvell/mwifiex/usb.c 			card->port[1].tx_data_ep = usb_endpoint_num(epd);
epd               489 drivers/net/wireless/marvell/mwifiex/usb.c 		if (usb_endpoint_dir_out(epd) &&
epd               490 drivers/net/wireless/marvell/mwifiex/usb.c 		    usb_endpoint_num(epd) == MWIFIEX_USB_EP_CMD_EVENT &&
epd               491 drivers/net/wireless/marvell/mwifiex/usb.c 		    (usb_endpoint_xfer_bulk(epd) ||
epd               492 drivers/net/wireless/marvell/mwifiex/usb.c 		     usb_endpoint_xfer_int(epd))) {
epd               493 drivers/net/wireless/marvell/mwifiex/usb.c 			card->tx_cmd_ep_type = usb_endpoint_type(epd);
epd               494 drivers/net/wireless/marvell/mwifiex/usb.c 			card->tx_cmd_interval = epd->bInterval;
epd               496 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               497 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress);
epd               499 drivers/net/wireless/marvell/mwifiex/usb.c 				 le16_to_cpu(epd->wMaxPacketSize),
epd               500 drivers/net/wireless/marvell/mwifiex/usb.c 				 epd->bEndpointAddress, card->tx_cmd_ep_type);
epd               501 drivers/net/wireless/marvell/mwifiex/usb.c 			card->tx_cmd_ep = usb_endpoint_num(epd);
epd               504 drivers/net/wireless/marvell/mwifiex/usb.c 					le16_to_cpu(epd->wMaxPacketSize);
epd               678 drivers/staging/uwb/hwa-rc.c 	struct usb_endpoint_descriptor *epd;
epd               680 drivers/staging/uwb/hwa-rc.c 	epd = &iface->cur_altsetting->endpoint[0].desc;
epd               690 drivers/staging/uwb/hwa-rc.c 			 usb_rcvintpipe(usb_dev, epd->bEndpointAddress),
epd               692 drivers/staging/uwb/hwa-rc.c 			 hwarc_neep_cb, hwarc, epd->bInterval);
epd               227 drivers/staging/uwb/i1480/dfu/usb.c 	struct usb_endpoint_descriptor *epd;
epd               231 drivers/staging/uwb/i1480/dfu/usb.c 	epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc;
epd               233 drivers/staging/uwb/i1480/dfu/usb.c 			 usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress),
epd               235 drivers/staging/uwb/i1480/dfu/usb.c 			 i1480_usb_neep_cb, i1480, epd->bInterval);
epd               282 drivers/staging/uwb/i1480/dfu/usb.c 	struct usb_endpoint_descriptor *epd;
epd               288 drivers/staging/uwb/i1480/dfu/usb.c 	epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc;
epd               291 drivers/staging/uwb/i1480/dfu/usb.c 		usb_rcvintpipe(i1480_usb->usb_dev, epd->bEndpointAddress),
epd               293 drivers/staging/uwb/i1480/dfu/usb.c 		i1480_usb_neep_cb, i1480, epd->bInterval);
epd               252 drivers/staging/wusbcore/wa-nep.c 	struct usb_endpoint_descriptor *epd;
epd               257 drivers/staging/wusbcore/wa-nep.c 	epd = &iface->cur_altsetting->endpoint[0].desc;
epd               266 drivers/staging/wusbcore/wa-nep.c 			 usb_rcvintpipe(usb_dev, epd->bEndpointAddress),
epd               268 drivers/staging/wusbcore/wa-nep.c 			 wa_nep_cb, wa, epd->bInterval);
epd               227 drivers/usb/core/config.c 	struct usb_endpoint_descriptor *epd;
epd               243 drivers/usb/core/config.c 				epd = &alt->endpoint[k].desc;
epd               245 drivers/usb/core/config.c 				if (endpoint_is_duplicate(epd, d))
epd               508 drivers/usb/core/quirks.c 		struct usb_endpoint_descriptor *epd)
epd               521 drivers/usb/core/quirks.c 		if (address == epd->bEndpointAddress)
epd                76 drivers/usb/core/usb.c static bool match_endpoint(struct usb_endpoint_descriptor *epd,
epd                82 drivers/usb/core/usb.c 	switch (usb_endpoint_type(epd)) {
epd                84 drivers/usb/core/usb.c 		if (usb_endpoint_dir_in(epd)) {
epd                86 drivers/usb/core/usb.c 				*bulk_in = epd;
epd                91 drivers/usb/core/usb.c 				*bulk_out = epd;
epd                98 drivers/usb/core/usb.c 		if (usb_endpoint_dir_in(epd)) {
epd               100 drivers/usb/core/usb.c 				*int_in = epd;
epd               105 drivers/usb/core/usb.c 				*int_out = epd;
epd               142 drivers/usb/core/usb.c 	struct usb_endpoint_descriptor *epd;
epd               155 drivers/usb/core/usb.c 		epd = &alt->endpoint[i].desc;
epd               157 drivers/usb/core/usb.c 		if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out))
epd               188 drivers/usb/core/usb.c 	struct usb_endpoint_descriptor *epd;
epd               201 drivers/usb/core/usb.c 		epd = &alt->endpoint[i].desc;
epd               203 drivers/usb/core/usb.c 		if (match_endpoint(epd, bulk_in, bulk_out, int_in, int_out))
epd                42 drivers/usb/core/usb.h 		struct usb_endpoint_descriptor *epd);
epd               111 drivers/usb/misc/chaoskey.c 	struct usb_endpoint_descriptor *epd;
epd               121 drivers/usb/misc/chaoskey.c 	res = usb_find_bulk_in_endpoint(altsetting, &epd);
epd               127 drivers/usb/misc/chaoskey.c 	in_ep = usb_endpoint_num(epd);
epd               128 drivers/usb/misc/chaoskey.c 	size = usb_endpoint_maxp(epd);
epd               675 drivers/usb/misc/uss720.c 	struct usb_endpoint_descriptor *epd;
epd               731 drivers/usb/misc/uss720.c 	i = usb_find_last_int_in_endpoint(interface, &epd);
epd               734 drivers/usb/misc/uss720.c 				epd->bEndpointAddress, epd->bInterval);
epd               488 drivers/usb/mon/mon_bin.c 	const struct usb_endpoint_descriptor *epd = &urb->ep->desc;
epd               511 drivers/usb/mon/mon_bin.c 	if (usb_endpoint_xfer_isoc(epd)) {
epd               568 drivers/usb/mon/mon_bin.c 	ep->xfer_type = xfer_to_pipe[usb_endpoint_type(epd)];
epd               569 drivers/usb/mon/mon_bin.c 	ep->epnum = dir | usb_endpoint_num(epd);
epd               580 drivers/usb/mon/mon_bin.c 	if (usb_endpoint_xfer_int(epd)) {
epd               582 drivers/usb/mon/mon_bin.c 	} else if (usb_endpoint_xfer_isoc(epd)) {
epd               589 drivers/usb/mon/mon_bin.c 	if (usb_endpoint_xfer_control(epd) && ev_type == 'S') {
epd              2142 drivers/usb/musb/musb_host.c 	struct usb_endpoint_descriptor	*epd = &hep->desc;
epd              2190 drivers/usb/musb/musb_host.c 	qh->maxpacket = usb_endpoint_maxp(epd);
epd              2191 drivers/usb/musb/musb_host.c 	qh->type = usb_endpoint_type(epd);
epd              2197 drivers/usb/musb/musb_host.c 	qh->hb_mult = usb_endpoint_maxp_mult(epd);
epd              2215 drivers/usb/musb/musb_host.c 	qh->epnum = usb_endpoint_num(epd);
epd              2242 drivers/usb/musb/musb_host.c 			interval = max_t(u8, epd->bInterval, 1);
epd              2248 drivers/usb/musb/musb_host.c 		interval = min_t(u8, epd->bInterval, 16);
epd              2302 drivers/usb/musb/musb_host.c 				epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK);
epd               719 drivers/usb/serial/usb-serial.c 	struct usb_endpoint_descriptor *epd;
epd               729 drivers/usb/serial/usb-serial.c 		epd = &iface_desc->endpoint[i].desc;
epd               731 drivers/usb/serial/usb-serial.c 		if (usb_endpoint_is_bulk_in(epd)) {
epd               733 drivers/usb/serial/usb-serial.c 			epds->bulk_in[epds->num_bulk_in++] = epd;
epd               734 drivers/usb/serial/usb-serial.c 		} else if (usb_endpoint_is_bulk_out(epd)) {
epd               736 drivers/usb/serial/usb-serial.c 			epds->bulk_out[epds->num_bulk_out++] = epd;
epd               737 drivers/usb/serial/usb-serial.c 		} else if (usb_endpoint_is_int_in(epd)) {
epd               739 drivers/usb/serial/usb-serial.c 			epds->interrupt_in[epds->num_interrupt_in++] = epd;
epd               740 drivers/usb/serial/usb-serial.c 		} else if (usb_endpoint_is_int_out(epd)) {
epd               742 drivers/usb/serial/usb-serial.c 			epds->interrupt_out[epds->num_interrupt_out++] = epd;
epd               748 drivers/usb/serial/usb-serial.c 					struct usb_endpoint_descriptor *epd)
epd               755 drivers/usb/serial/usb-serial.c 	buffer_size = max_t(int, type->bulk_in_size, usb_endpoint_maxp(epd));
epd               757 drivers/usb/serial/usb-serial.c 	port->bulk_in_endpointAddress = epd->bEndpointAddress;
epd               768 drivers/usb/serial/usb-serial.c 				usb_rcvbulkpipe(udev, epd->bEndpointAddress),
epd               780 drivers/usb/serial/usb-serial.c 					struct usb_endpoint_descriptor *epd)
epd               792 drivers/usb/serial/usb-serial.c 		buffer_size = usb_endpoint_maxp(epd);
epd               794 drivers/usb/serial/usb-serial.c 	port->bulk_out_endpointAddress = epd->bEndpointAddress;
epd               805 drivers/usb/serial/usb-serial.c 				usb_sndbulkpipe(udev, epd->bEndpointAddress),
epd               817 drivers/usb/serial/usb-serial.c 					struct usb_endpoint_descriptor *epd)
epd               826 drivers/usb/serial/usb-serial.c 	buffer_size = usb_endpoint_maxp(epd);
epd               827 drivers/usb/serial/usb-serial.c 	port->interrupt_in_endpointAddress = epd->bEndpointAddress;
epd               832 drivers/usb/serial/usb-serial.c 			usb_rcvintpipe(udev, epd->bEndpointAddress),
epd               835 drivers/usb/serial/usb-serial.c 			epd->bInterval);
epd               841 drivers/usb/serial/usb-serial.c 					struct usb_endpoint_descriptor *epd)
epd               850 drivers/usb/serial/usb-serial.c 	buffer_size = usb_endpoint_maxp(epd);
epd               852 drivers/usb/serial/usb-serial.c 	port->interrupt_out_endpointAddress = epd->bEndpointAddress;
epd               857 drivers/usb/serial/usb-serial.c 			usb_sndintpipe(udev, epd->bEndpointAddress),
epd               860 drivers/usb/serial/usb-serial.c 			epd->bInterval);
epd               329 drivers/usb/usbip/stub_rx.c 	struct usb_endpoint_descriptor *epd = NULL;
epd               343 drivers/usb/usbip/stub_rx.c 	epd = &ep->desc;
epd               345 drivers/usb/usbip/stub_rx.c 	if (usb_endpoint_xfer_control(epd)) {
epd               352 drivers/usb/usbip/stub_rx.c 	if (usb_endpoint_xfer_bulk(epd)) {
epd               359 drivers/usb/usbip/stub_rx.c 	if (usb_endpoint_xfer_int(epd)) {
epd               366 drivers/usb/usbip/stub_rx.c 	if (usb_endpoint_xfer_isoc(epd)) {
epd               559 drivers/video/fbdev/xen-fbfront.c 	int epd = PAGE_SIZE / sizeof(info->gfns[0]);
epd               564 drivers/video/fbdev/xen-fbfront.c 	for (i = 0; i * epd < info->nr_pages; i++)
epd               565 drivers/video/fbdev/xen-fbfront.c 		info->page->pd[i] = vmalloc_to_gfn(&info->gfns[i * epd]);
epd               166 fs/btrfs/extent_io.c static void end_write_bio(struct extent_page_data *epd, int ret)
epd               168 fs/btrfs/extent_io.c 	if (epd->bio) {
epd               169 fs/btrfs/extent_io.c 		epd->bio->bi_status = errno_to_blk_status(ret);
epd               170 fs/btrfs/extent_io.c 		bio_endio(epd->bio);
epd               171 fs/btrfs/extent_io.c 		epd->bio = NULL;
epd               181 fs/btrfs/extent_io.c static int __must_check flush_write_bio(struct extent_page_data *epd)
epd               185 fs/btrfs/extent_io.c 	if (epd->bio) {
epd               186 fs/btrfs/extent_io.c 		ret = submit_one_bio(epd->bio, 0, 0);
epd               194 fs/btrfs/extent_io.c 		epd->bio = NULL;
epd              3413 fs/btrfs/extent_io.c 				 struct extent_page_data *epd,
epd              3418 fs/btrfs/extent_io.c 	struct extent_io_tree *tree = epd->tree;
epd              3527 fs/btrfs/extent_io.c 					 bdev, &epd->bio,
epd              3555 fs/btrfs/extent_io.c 			      struct extent_page_data *epd)
epd              3598 fs/btrfs/extent_io.c 	if (!epd->extent_locked) {
epd              3606 fs/btrfs/extent_io.c 	ret = __extent_writepage_io(inode, page, wbc, epd,
epd              3650 fs/btrfs/extent_io.c 			  struct extent_page_data *epd)
epd              3658 fs/btrfs/extent_io.c 		ret = flush_write_bio(epd);
epd              3667 fs/btrfs/extent_io.c 		if (!epd->sync_io)
epd              3670 fs/btrfs/extent_io.c 			ret = flush_write_bio(epd);
epd              3715 fs/btrfs/extent_io.c 				err = flush_write_bio(epd);
epd              3853 fs/btrfs/extent_io.c 			struct extent_page_data *epd)
epd              3892 fs/btrfs/extent_io.c 					 &epd->bio,
epd              3925 fs/btrfs/extent_io.c 	struct extent_page_data epd = {
epd              4003 fs/btrfs/extent_io.c 			ret = lock_extent_buffer_for_io(eb, &epd);
epd              4013 fs/btrfs/extent_io.c 			ret = write_one_eb(eb, wbc, &epd);
epd              4042 fs/btrfs/extent_io.c 		end_write_bio(&epd, ret);
epd              4073 fs/btrfs/extent_io.c 		ret = flush_write_bio(&epd);
epd              4076 fs/btrfs/extent_io.c 		end_write_bio(&epd, ret);
epd              4097 fs/btrfs/extent_io.c 			     struct extent_page_data *epd)
epd              4178 fs/btrfs/extent_io.c 				ret = flush_write_bio(epd);
epd              4190 fs/btrfs/extent_io.c 					ret = flush_write_bio(epd);
epd              4202 fs/btrfs/extent_io.c 			ret = __extent_writepage(page, wbc, epd);
epd              4232 fs/btrfs/extent_io.c 		ret = flush_write_bio(epd);
epd              4247 fs/btrfs/extent_io.c 	struct extent_page_data epd = {
epd              4254 fs/btrfs/extent_io.c 	ret = __extent_writepage(page, wbc, &epd);
epd              4257 fs/btrfs/extent_io.c 		end_write_bio(&epd, ret);
epd              4261 fs/btrfs/extent_io.c 	ret = flush_write_bio(&epd);
epd              4276 fs/btrfs/extent_io.c 	struct extent_page_data epd = {
epd              4292 fs/btrfs/extent_io.c 			ret = __extent_writepage(page, &wbc_writepages, &epd);
epd              4304 fs/btrfs/extent_io.c 		end_write_bio(&epd, ret);
epd              4307 fs/btrfs/extent_io.c 	ret = flush_write_bio(&epd);
epd              4315 fs/btrfs/extent_io.c 	struct extent_page_data epd = {
epd              4322 fs/btrfs/extent_io.c 	ret = extent_write_cache_pages(mapping, wbc, &epd);
epd              4325 fs/btrfs/extent_io.c 		end_write_bio(&epd, ret);
epd              4328 fs/btrfs/extent_io.c 	ret = flush_write_bio(&epd);
epd               125 include/linux/scif.h 	scif_epd_t epd;
epd               204 include/linux/scif.h int scif_bind(scif_epd_t epd, u16 pn);
epd               233 include/linux/scif.h int scif_listen(scif_epd_t epd, int backlog);
epd               274 include/linux/scif.h int scif_connect(scif_epd_t epd, struct scif_port_id *dst);
epd               331 include/linux/scif.h int scif_accept(scif_epd_t epd, struct scif_port_id *peer, scif_epd_t
epd               368 include/linux/scif.h int scif_close(scif_epd_t epd);
epd               419 include/linux/scif.h int scif_send(scif_epd_t epd, void *msg, int len, int flags);
epd               471 include/linux/scif.h int scif_recv(scif_epd_t epd, void *msg, int len, int flags);
epd               548 include/linux/scif.h off_t scif_register(scif_epd_t epd, void *addr, size_t len, off_t offset,
epd               597 include/linux/scif.h int scif_unregister(scif_epd_t epd, off_t offset, size_t len);
epd               672 include/linux/scif.h int scif_readfrom(scif_epd_t epd, off_t loffset, size_t len, off_t
epd               748 include/linux/scif.h int scif_writeto(scif_epd_t epd, off_t loffset, size_t len, off_t
epd               828 include/linux/scif.h int scif_vreadfrom(scif_epd_t epd, void *addr, size_t len, off_t roffset,
epd               908 include/linux/scif.h int scif_vwriteto(scif_epd_t epd, void *addr, size_t len, off_t roffset,
epd               944 include/linux/scif.h int scif_fence_mark(scif_epd_t epd, int flags, int *mark);
epd               968 include/linux/scif.h int scif_fence_wait(scif_epd_t epd, int mark);
epd              1021 include/linux/scif.h int scif_fence_signal(scif_epd_t epd, off_t loff, u64 lval, off_t roff,
epd              1181 include/linux/scif.h off_t scif_register_pinned_pages(scif_epd_t epd,
epd              1227 include/linux/scif.h int scif_get_pages(scif_epd_t epd, off_t offset, size_t len,
epd               462 include/uapi/linux/usb/ch9.h static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd)
epd               464 include/uapi/linux/usb/ch9.h 	return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
epd               474 include/uapi/linux/usb/ch9.h static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
epd               476 include/uapi/linux/usb/ch9.h 	return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
epd               485 include/uapi/linux/usb/ch9.h static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
epd               487 include/uapi/linux/usb/ch9.h 	return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN);
epd               497 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               499 include/uapi/linux/usb/ch9.h 	return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT);
epd               509 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               511 include/uapi/linux/usb/ch9.h 	return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
epd               522 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               524 include/uapi/linux/usb/ch9.h 	return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
epd               536 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               538 include/uapi/linux/usb/ch9.h 	return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
epd               550 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               552 include/uapi/linux/usb/ch9.h 	return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
epd               564 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               566 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_in(epd);
epd               577 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               579 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_out(epd);
epd               590 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               592 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd);
epd               603 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               605 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_out(epd);
epd               616 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               618 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_in(epd);
epd               629 include/uapi/linux/usb/ch9.h 				const struct usb_endpoint_descriptor *epd)
epd               631 include/uapi/linux/usb/ch9.h 	return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_out(epd);
epd               640 include/uapi/linux/usb/ch9.h static inline int usb_endpoint_maxp(const struct usb_endpoint_descriptor *epd)
epd               642 include/uapi/linux/usb/ch9.h 	return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK;
epd               652 include/uapi/linux/usb/ch9.h usb_endpoint_maxp_mult(const struct usb_endpoint_descriptor *epd)
epd               654 include/uapi/linux/usb/ch9.h 	int maxp = __le16_to_cpu(epd->wMaxPacketSize);
epd               660 include/uapi/linux/usb/ch9.h 		const struct usb_endpoint_descriptor *epd)
epd               662 include/uapi/linux/usb/ch9.h 	return epd->bmAttributes & USB_ENDPOINT_INTRTYPE;
epd              2002 sound/usb/midi.c 	struct usb_endpoint_descriptor *epd;
epd              2018 sound/usb/midi.c 		epd = get_endpoint(hostif, i);
epd              2019 sound/usb/midi.c 		if (!usb_endpoint_xfer_bulk(epd) &&
epd              2020 sound/usb/midi.c 		    !usb_endpoint_xfer_int(epd))
epd              2023 sound/usb/midi.c 		    usb_endpoint_dir_out(epd)) {
epd              2024 sound/usb/midi.c 			endpoint[out_eps].out_ep = usb_endpoint_num(epd);
epd              2025 sound/usb/midi.c 			if (usb_endpoint_xfer_int(epd))
epd              2026 sound/usb/midi.c 				endpoint[out_eps].out_interval = epd->bInterval;
epd              2030 sound/usb/midi.c 		    usb_endpoint_dir_in(epd)) {
epd              2031 sound/usb/midi.c 			endpoint[in_eps].in_ep = usb_endpoint_num(epd);
epd              2032 sound/usb/midi.c 			if (usb_endpoint_xfer_int(epd))
epd              2033 sound/usb/midi.c 				endpoint[in_eps].in_interval = epd->bInterval;
epd              2147 sound/usb/midi.c 	struct usb_endpoint_descriptor *epd;
epd              2170 sound/usb/midi.c 	epd = get_endpoint(hostif, 0);
epd              2171 sound/usb/midi.c 	if (!usb_endpoint_dir_in(epd) || !usb_endpoint_xfer_int(epd)) {
epd              2175 sound/usb/midi.c 	epd = get_endpoint(hostif, 2);
epd              2176 sound/usb/midi.c 	if (!usb_endpoint_dir_out(epd) || !usb_endpoint_xfer_bulk(epd)) {
epd              2181 sound/usb/midi.c 		epd = get_endpoint(hostif, 4);
epd              2182 sound/usb/midi.c 		if (!usb_endpoint_dir_out(epd) ||
epd              2183 sound/usb/midi.c 		    !usb_endpoint_xfer_bulk(epd)) {
epd               963 sound/usb/misc/ua101.c 	const struct usb_endpoint_descriptor *epd;
epd              1022 sound/usb/misc/ua101.c 	epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc;
epd              1023 sound/usb/misc/ua101.c 	if (!usb_endpoint_is_isoc_in(epd)) {
epd              1027 sound/usb/misc/ua101.c 	ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd));
epd              1028 sound/usb/misc/ua101.c 	ua->capture.max_packet_bytes = usb_endpoint_maxp(epd);
epd              1030 sound/usb/misc/ua101.c 	epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc;
epd              1031 sound/usb/misc/ua101.c 	if (!usb_endpoint_is_isoc_out(epd)) {
epd              1035 sound/usb/misc/ua101.c 	ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd));
epd              1036 sound/usb/misc/ua101.c 	ua->playback.max_packet_bytes = usb_endpoint_maxp(epd);
epd               284 sound/usb/pcm.c 	struct usb_endpoint_descriptor *epd;
epd               297 sound/usb/pcm.c 	epd = get_endpoint(*alts, 0);
epd               298 sound/usb/pcm.c 	if (!usb_endpoint_is_isoc_in(epd) ||
epd               299 sound/usb/pcm.c 	    (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) !=
epd               302 sound/usb/pcm.c 	*ep = epd->bEndpointAddress;
epd               197 sound/usb/quirks.c 	struct usb_endpoint_descriptor *epd;
epd               217 sound/usb/quirks.c 	epd = get_endpoint(alts, 0);
epd               218 sound/usb/quirks.c 	if (!usb_endpoint_xfer_isoc(epd))
epd               323 sound/usb/quirks.c 	struct usb_endpoint_descriptor *epd;
epd               332 sound/usb/quirks.c 	epd = get_endpoint(alts, 0);
epd               333 sound/usb/quirks.c 	if (!usb_endpoint_xfer_bulk(epd) &&
epd               334 sound/usb/quirks.c 	    !usb_endpoint_xfer_int(epd))