Home
last modified time | relevance | path

Searched refs:frame_index (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/scsi/isci/
H A Dunsolicited_frame_control.c129 u32 frame_index, in sci_unsolicited_frame_control_get_header() argument
132 if (frame_index < SCU_MAX_UNSOLICITED_FRAMES) { in sci_unsolicited_frame_control_get_header()
136 *frame_header = &uf_control->buffers.array[frame_index].header->data; in sci_unsolicited_frame_control_get_header()
145 u32 frame_index, in sci_unsolicited_frame_control_get_buffer() argument
148 if (frame_index < SCU_MAX_UNSOLICITED_FRAMES) { in sci_unsolicited_frame_control_get_buffer()
149 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in sci_unsolicited_frame_control_get_buffer()
158 u32 frame_index) in sci_unsolicited_frame_control_release_frame() argument
181 if (frame_index >= SCU_MAX_UNSOLICITED_FRAMES) in sci_unsolicited_frame_control_release_frame()
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame()
186 if (frame_get != frame_index) { in sci_unsolicited_frame_control_release_frame()
H A Dunsolicited_frame_control.h270 u32 frame_index,
275 u32 frame_index,
280 u32 frame_index);
H A Drequest.c1550 u32 frame_index) in sci_stp_request_udma_general_frame_handler() argument
1558 frame_index, in sci_stp_request_udma_general_frame_handler()
1564 frame_index, in sci_stp_request_udma_general_frame_handler()
1572 sci_controller_release_frame(ihost, frame_index); in sci_stp_request_udma_general_frame_handler()
1578 u32 frame_index) in process_unsolicited_fis() argument
1586 frame_index, in process_unsolicited_fis()
1600 frame_index, in process_unsolicited_fis()
1608 sci_controller_release_frame(ihost, frame_index); in process_unsolicited_fis()
1614 u32 frame_index) in atapi_d2h_reg_frame_handler() argument
1619 status = process_unsolicited_fis(ireq, frame_index); in atapi_d2h_reg_frame_handler()
[all …]
H A Dphy.c966 enum sci_status sci_phy_frame_handler(struct isci_phy *iphy, u32 frame_index) in sci_phy_frame_handler() argument
979 frame_index, in sci_phy_frame_handler()
1010 __func__, frame_index); in sci_phy_frame_handler()
1012 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
1020 frame_index, in sci_phy_frame_handler()
1029 frame_index, in sci_phy_frame_handler()
1046 __func__, frame_index); in sci_phy_frame_handler()
1049 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
H A Dremote_device.c441 u32 frame_index) in sci_remote_device_frame_handler() argument
459 sci_controller_release_frame(ihost, frame_index); in sci_remote_device_frame_handler()
473 frame_index, in sci_remote_device_frame_handler()
484 status = sci_io_request_frame_handler(ireq, frame_index); in sci_remote_device_frame_handler()
489 sci_controller_release_frame(ihost, frame_index); in sci_remote_device_frame_handler()
497 frame_index, in sci_remote_device_frame_handler()
519 sci_controller_release_frame(ihost, frame_index); in sci_remote_device_frame_handler()
528 status = sci_io_request_frame_handler(idev->working_request, frame_index); in sci_remote_device_frame_handler()
H A Dhost.c308 u32 frame_index; in sci_controller_unsolicited_frame() local
316 frame_index = SCU_GET_FRAME_INDEX(ent); in sci_controller_unsolicited_frame()
318 frame_header = ihost->uf_control.buffers.array[frame_index].header; in sci_controller_unsolicited_frame()
319 ihost->uf_control.buffers.array[frame_index].state = UNSOLICITED_FRAME_IN_USE; in sci_controller_unsolicited_frame()
326 sci_controller_release_frame(ihost, frame_index); in sci_controller_unsolicited_frame()
333 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame()
345 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame()
353 result = sci_remote_device_frame_handler(idev, frame_index); in sci_controller_unsolicited_frame()
355 sci_controller_release_frame(ihost, frame_index); in sci_controller_unsolicited_frame()
2543 void sci_controller_release_frame(struct isci_host *ihost, u32 frame_index) in sci_controller_release_frame() argument
[all …]
H A Dphy.h437 u32 frame_index);
H A Drequest.h264 u32 frame_index);
H A Dremote_device.h315 u32 frame_index);
H A Dhost.h448 u32 frame_index);
/openbmc/linux/drivers/net/thunderbolt/
H A Dmain.c64 __le16 frame_index; member
734 u32 frame_id, frame_count, frame_size, frame_index; in tbnet_check_frame() local
754 frame_index = le16_to_cpu(hdr->frame_index); in tbnet_check_frame()
775 if (frame_index != le16_to_cpu(net->rx_hdr.frame_index) + 1 || in tbnet_check_frame()
794 if (frame_index != 0) { in tbnet_check_frame()
845 hdr->frame_id, hdr->frame_index, hdr->frame_count); in tbnet_poll()
853 hdr->frame_index, hdr->frame_count); in tbnet_poll()
878 net->rx_hdr.frame_index = hdr->frame_index; in tbnet_poll()
880 last = le16_to_cpu(net->rx_hdr.frame_index) == in tbnet_poll()
1011 hdr->frame_index, hdr->frame_count); in tbnet_xmit_csum_and_map()
[all …]
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_s302m.c299 u8 vucf = ctx->frame_index == 0 ? 0x10 : 0; in vidtv_s302m_write_frame()
321 ctx->frame_index++; in vidtv_s302m_write_frame()
322 if (ctx->frame_index >= S302M_BLOCK_SZ) in vidtv_s302m_write_frame()
323 ctx->frame_index = 0; in vidtv_s302m_write_frame()
H A Dvidtv_s302m.h42 u32 frame_index; member
/openbmc/qemu/hw/dma/
H A Domap_dma.c39 int32_t frame_index[2]; member
158 a->pck_elements = ch->frame_index[!ch->src_sync]; in omap_dma_channel_load()
186 a->frame_delta[i] = ch->frame_index[omap_3_1 ? 0 : i] - in omap_dma_channel_load()
706 memset(&s->ch[i].frame_index, 0, sizeof(s->ch[i].frame_index));
807 *value = ch->frame_index[0];
830 *value = ch->frame_index[1];
949 ch->frame_index[0] = (int16_t) value;
965 ch->frame_index[1] = (int16_t) value;
/openbmc/linux/drivers/usb/host/
H A Dehci-brcm.c29 u32 frame_idx = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_brcm_wait_for_sof()
34 res = readl_relaxed_poll_timeout(&ehci->regs->frame_index, val, in ehci_brcm_wait_for_sof()
H A Dehci-hcd.c115 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
117 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
125 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
H A Dehci-fsl.c471 pdata->pm_frame_index = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_suspend()
537 ehci_writel(ehci, pdata->pm_frame_index, &ehci->regs->frame_index); in ehci_fsl_mpc512x_drv_resume()
H A Doxu210hp-hcd.c157 u32 frame_index; /* current microframe number */ member
2317 oxu->next_uframe = readl(&oxu->regs->frame_index) in enable_periodic()
2686 clock = readl(&oxu->regs->frame_index); in scan_periodic()
2752 now = readl(&oxu->regs->frame_index) % mod; in scan_periodic()
3483 return (readl(&oxu->regs->frame_index) >> 3) % in oxu_get_frame()
/openbmc/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.h263 u32 frame_index; /* current microframe number */ member
684 return fotg210_readl(fotg210, &fotg210->regs->frame_index); in fotg210_read_frame_index()
/openbmc/linux/include/linux/usb/
H A Dehci_def.h96 u32 frame_index; /* current microframe number */ member
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c166 union hdmi_infoframe *frame, u32 frame_index, in rk3066_hdmi_upload_frame() argument
172 hdmi_writeb(hdmi, HDMI_CP_BUF_INDEX, frame_index); in rk3066_hdmi_upload_frame()
H A Dinno_hdmi.c251 union hdmi_infoframe *frame, u32 frame_index, in inno_hdmi_upload_frame() argument
257 hdmi_writeb(hdmi, HDMI_CONTROL_PACKET_BUF_INDEX, frame_index); in inno_hdmi_upload_frame()
/openbmc/u-boot/include/
H A Dec_commands.h4520 uint32_t frame_index; member
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h6214 uint32_t frame_index; member