Searched refs:frame_hdr (Results 1 – 3 of 3) sorted by relevance
301 struct type_frame_head *frame_hdr = ks->frame_head_info; in ks_rcv() local309 frame_hdr->sts = ks_rdreg16(dev, KS_RXFHSR); in ks_rcv()311 frame_hdr->len = ks_rdreg16(dev, KS_RXFHBCR); in ks_rcv()312 frame_hdr++; in ks_rcv()315 frame_hdr = ks->frame_head_info; in ks_rcv()317 if ((frame_hdr->sts & RXFSHR_RXFV) && in ks_rcv()318 (frame_hdr->len < RX_BUF_SIZE) && in ks_rcv()319 frame_hdr->len) { in ks_rcv()321 ks_read_qmu(dev, (u16 *)(*pv_data), frame_hdr->len); in ks_rcv()324 net_process_received_packet(*pv_data, frame_hdr->len); in ks_rcv()[all …]
1047 struct megasas_header *frame_hdr = &cmd->frame->hdr; in wait_and_poll() local1055 for (i = 0; (i < msecs) && (frame_hdr->cmd_status == 0xff); i += 20) { in wait_and_poll()1066 if (frame_hdr->cmd_status == MFI_STAT_INVALID_STATUS) in wait_and_poll()1068 else if (frame_hdr->cmd_status == MFI_STAT_OK) in wait_and_poll()1091 struct megasas_header *frame_hdr; in megasas_ioc_init_fusion() local1173 frame_hdr = &cmd->frame->hdr; in megasas_ioc_init_fusion()1174 frame_hdr->cmd_status = 0xFF; in megasas_ioc_init_fusion()1175 frame_hdr->flags |= cpu_to_le16(MFI_FRAME_DONT_POST_IN_REPLY_QUEUE); in megasas_ioc_init_fusion()1268 frame_hdr = &cmd->frame->hdr; in megasas_ioc_init_fusion()1269 if (frame_hdr->cmd_status != 0) { in megasas_ioc_init_fusion()[all …]
1124 struct megasas_header *frame_hdr = &cmd->frame->hdr; in megasas_issue_polled() local1126 frame_hdr->cmd_status = MFI_STAT_INVALID_STATUS; in megasas_issue_polled()1127 frame_hdr->flags |= cpu_to_le16(MFI_FRAME_DONT_POST_IN_REPLY_QUEUE); in megasas_issue_polled()