Home
last modified time | relevance | path

Searched refs:word_cnt (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/scsi/isci/
H A Disci.h468 static inline void sci_swab32_cpy(void *_dest, void *_src, ssize_t word_cnt) in sci_swab32_cpy() argument
472 while (--word_cnt >= 0) in sci_swab32_cpy()
473 dest[word_cnt] = swab32(src[word_cnt]); in sci_swab32_cpy()
H A Drequest.c1015 ssize_t word_cnt = SSP_RESP_IU_MAX_SIZE / sizeof(u32); in request_started_state_tc_event() local
1019 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() local
1035 word_cnt); in request_started_state_tc_event()
1707 ssize_t word_cnt; in sci_io_request_frame_handler() local
1719 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() local
1730 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 …]
H A Dremote_device.c470 ssize_t word_cnt; in sci_remote_device_frame_handler() local
478 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()
/openbmc/linux/drivers/tty/serial/
H A Dqcom_geni_serial.c341 u32 word_cnt; in qcom_geni_serial_get_char() local
352 word_cnt = status & RX_FIFO_WC_MSK; in qcom_geni_serial_get_char()
353 if (!word_cnt) in qcom_geni_serial_get_char()
356 if (word_cnt == 1 && (status & RX_LAST)) in qcom_geni_serial_get_char()
701 u32 word_cnt; in qcom_geni_serial_handle_rx_fifo() local
707 word_cnt = status & RX_FIFO_WC_MSK; in qcom_geni_serial_handle_rx_fifo()
712 if (!word_cnt) in qcom_geni_serial_handle_rx_fifo()
714 total_bytes = BYTES_PER_FIFO_WORD * (word_cnt - 1); in qcom_geni_serial_handle_rx_fifo()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_mbox.c153 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()
H A Dlpfc_init.c253 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()
H A Dlpfc_hbadisc.c4123 if (mb->un.varDmp.word_cnt > in lpfc_create_static_vport()
4125 mb->un.varDmp.word_cnt = in lpfc_create_static_vport()
4128 byte_count = mb->un.varDmp.word_cnt; in lpfc_create_static_vport()
H A Dlpfc_sli.c20654 mb->un.varDmp.word_cnt = 0; in lpfc_sli_get_config_region23()
20660 if (mb->un.varDmp.word_cnt == 0) in lpfc_sli_get_config_region23()
20663 if (mb->un.varDmp.word_cnt > DMP_RGN23_SIZE - offset) in lpfc_sli_get_config_region23()
20664 mb->un.varDmp.word_cnt = DMP_RGN23_SIZE - offset; in lpfc_sli_get_config_region23()
20668 mb->un.varDmp.word_cnt); in lpfc_sli_get_config_region23()
20669 offset += mb->un.varDmp.word_cnt; in lpfc_sli_get_config_region23()
20670 } while (mb->un.varDmp.word_cnt && offset < DMP_RGN23_SIZE); in lpfc_sli_get_config_region23()
H A Dlpfc_hw.h3187 uint32_t word_cnt; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_switch.c6070 u16 word_cnt; in ice_add_adv_rule() local
6085 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()