Searched refs:word_cnt (Results 1 – 10 of 10) sorted by relevance
468 static inline void sci_swab32_cpy(void *_dest, void *_src, ssize_t word_cnt) in sci_swab32_cpy() argument472 while (--word_cnt >= 0) in sci_swab32_cpy()473 dest[word_cnt] = swab32(src[word_cnt]); in sci_swab32_cpy()
1015 ssize_t word_cnt = SSP_RESP_IU_MAX_SIZE / sizeof(u32); in request_started_state_tc_event() local1019 word_cnt); in request_started_state_tc_event()1031 ssize_t word_cnt = SSP_RESP_IU_MAX_SIZE / sizeof(u32); in request_started_state_tc_event() local1035 word_cnt); in request_started_state_tc_event()1707 ssize_t word_cnt; in sci_io_request_frame_handler() local1719 word_cnt = sizeof(struct ssp_frame_hdr) / sizeof(u32); in sci_io_request_frame_handler()1720 sci_swab32_cpy(&ssp_hdr, frame_header, word_cnt); in sci_io_request_frame_handler()1724 ssize_t word_cnt = SSP_RESP_IU_MAX_SIZE / sizeof(u32); in sci_io_request_frame_handler() local1730 sci_swab32_cpy(&ireq->ssp.rsp, resp_iu, word_cnt); in sci_io_request_frame_handler()1785 word_cnt = (sg->length/4)-1; in sci_io_request_frame_handler()[all …]
470 ssize_t word_cnt; in sci_remote_device_frame_handler() local478 word_cnt = sizeof(hdr) / sizeof(u32); in sci_remote_device_frame_handler()479 sci_swab32_cpy(&hdr, frame_header, word_cnt); in sci_remote_device_frame_handler()
348 u32 word_cnt; in qcom_geni_serial_get_char() local359 word_cnt = status & RX_FIFO_WC_MSK; in qcom_geni_serial_get_char()360 if (!word_cnt) in qcom_geni_serial_get_char()363 if (word_cnt == 1 && (status & RX_LAST)) in qcom_geni_serial_get_char()691 u32 word_cnt; in qcom_geni_serial_handle_rx_fifo() local697 word_cnt = status & RX_FIFO_WC_MSK; in qcom_geni_serial_handle_rx_fifo()702 if (!word_cnt) in qcom_geni_serial_handle_rx_fifo()704 total_bytes = BYTES_PER_FIFO_WORD * (word_cnt - 1); in qcom_geni_serial_handle_rx_fifo()
153 mb->un.varDmp.word_cnt = DMP_RSP_SIZE/sizeof(uint32_t); in lpfc_dump_static_vport()219 mb->un.varDmp.word_cnt = (DMP_RSP_SIZE / sizeof (uint32_t)); in lpfc_dump_mem()254 mb->un.varDmp.word_cnt = WAKE_UP_PARMS_WORD_SIZE; in lpfc_dump_wakeup_param()
253 mb->un.varDmp.word_cnt = 0; in lpfc_config_port_prep()258 if (mb->un.varDmp.word_cnt == 0) in lpfc_config_port_prep()261 if (mb->un.varDmp.word_cnt > DMP_VPD_SIZE - offset) in lpfc_config_port_prep()262 mb->un.varDmp.word_cnt = DMP_VPD_SIZE - offset; in lpfc_config_port_prep()265 mb->un.varDmp.word_cnt); in lpfc_config_port_prep()266 offset += mb->un.varDmp.word_cnt; in lpfc_config_port_prep()267 } while (mb->un.varDmp.word_cnt && offset < DMP_VPD_SIZE); in lpfc_config_port_prep()
4122 if (mb->un.varDmp.word_cnt > in lpfc_create_static_vport()4124 mb->un.varDmp.word_cnt = in lpfc_create_static_vport()4127 byte_count = mb->un.varDmp.word_cnt; in lpfc_create_static_vport()
20612 mb->un.varDmp.word_cnt = 0; in lpfc_sli_get_config_region23()20618 if (mb->un.varDmp.word_cnt == 0) in lpfc_sli_get_config_region23()20621 if (mb->un.varDmp.word_cnt > DMP_RGN23_SIZE - offset) in lpfc_sli_get_config_region23()20622 mb->un.varDmp.word_cnt = DMP_RGN23_SIZE - offset; in lpfc_sli_get_config_region23()20626 mb->un.varDmp.word_cnt); in lpfc_sli_get_config_region23()20627 offset += mb->un.varDmp.word_cnt; in lpfc_sli_get_config_region23()20628 } while (mb->un.varDmp.word_cnt && offset < DMP_RGN23_SIZE); in lpfc_sli_get_config_region23()
3187 uint32_t word_cnt; member
6070 u16 word_cnt; in ice_add_adv_rule() local6085 word_cnt = 0; in ice_add_adv_rule()6091 word_cnt++; in ice_add_adv_rule()6094 if (!word_cnt) in ice_add_adv_rule()6097 if (word_cnt > ICE_MAX_CHAIN_WORDS) in ice_add_adv_rule()