Home
last modified time | relevance | path

Searched refs:resp_idx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/platform/x86/dell/
H A Ddell-uart-backlight.c59 u8 resp_idx; member
90 dell_bl->resp_idx = 0; in dell_uart_bl_command()
223 while (i < len && dell_bl->resp_idx != dell_bl->resp_len) { in dell_uart_bl_receive()
224 dell_bl->resp[dell_bl->resp_idx] = data[i++]; in dell_uart_bl_receive()
226 switch (dell_bl->resp_idx) { in dell_uart_bl_receive()
246 dell_bl->resp_idx++; in dell_uart_bl_receive()
249 if (dell_bl->resp_idx != dell_bl->resp_len) in dell_uart_bl_receive()
/linux/drivers/net/wireless/marvell/libertas/
H A Dmain.c423 u8 resp_idx; in lbs_thread() local
446 else if (priv->resp_len[priv->resp_idx]) in lbs_thread()
491 resp_idx = priv->resp_idx; in lbs_thread()
492 if (priv->resp_len[resp_idx]) { in lbs_thread()
495 priv->resp_buf[resp_idx], in lbs_thread()
496 priv->resp_len[resp_idx]); in lbs_thread()
498 priv->resp_len[resp_idx] = 0; in lbs_thread()
783 priv->resp_idx = 0; in lbs_init_adapter()
1039 void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx) in lbs_notify_command_response() argument
1045 BUG_ON(resp_idx > 1); in lbs_notify_command_response()
[all …]
H A Ddecl.h65 void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx);
H A Ddev.h131 u8 resp_idx; member
H A Dcmd.c1327 if (!kfifo_len(&priv->event_fifo) && !priv->resp_len[priv->resp_idx]) in lbs_send_confirmsleep()
1359 if (kfifo_len(&priv->event_fifo) || priv->resp_len[priv->resp_idx]) { in lbs_ps_confirm_sleep()
H A Dif_usb.c647 i = (priv->resp_idx == 0) ? 1 : 0; in process_cmdrequest()
H A Dif_sdio.c220 i = (priv->resp_idx == 0) ? 1 : 0; in if_sdio_handle_cmd()
H A Dif_spi.c716 i = (priv->resp_idx == 0) ? 1 : 0; in if_spi_c2h_cmd()
/linux/drivers/ata/
H A Dsata_mv.c525 unsigned int resp_idx; member
982 pp->resp_idx &= MV_MAX_Q_DEPTH_MASK; /* paranoia */ in mv_set_edma_ptrs()
983 index = pp->resp_idx << EDMA_RSP_Q_PTR_SHIFT; in mv_set_edma_ptrs()
2779 while (in_index != pp->resp_idx) { in mv_process_crpb_entries()
2781 struct mv_crpb *response = &pp->crpb[pp->resp_idx]; in mv_process_crpb_entries()
2783 pp->resp_idx = (pp->resp_idx + 1) & MV_MAX_Q_DEPTH_MASK; in mv_process_crpb_entries()
2802 (pp->resp_idx << EDMA_RSP_Q_PTR_SHIFT), in mv_process_crpb_entries()