/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 247 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 258 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 270 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 282 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 294 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 306 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 318 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 330 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 342 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 354 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() [all …]
|
/openbmc/linux/drivers/iio/chemical/ |
H A D | scd30_serial.c | 114 put_unaligned_be16(scd30_serdev_cmd_lookup_tbl[cmd], txbuf + txsize); in scd30_serdev_command() 121 put_unaligned_be16(size / 2, txbuf + txsize); in scd30_serdev_command() 123 put_unaligned_be16(0x0001, txbuf + txsize); in scd30_serdev_command() 134 put_unaligned_be16(arg, txbuf + txsize); in scd30_serdev_command()
|
H A D | scd30_i2c.c | 74 put_unaligned_be16(scd30_i2c_cmd_lookup_tbl[cmd], buf); in scd30_i2c_command() 81 put_unaligned_be16(arg, buf + i); in scd30_i2c_command()
|
H A D | scd4x.c | 117 put_unaligned_be16(cmd, buf); in scd4x_send_command() 157 put_unaligned_be16(cmd, buf); in scd4x_read() 190 put_unaligned_be16(cmd, buf); in scd4x_write() 191 put_unaligned_be16(arg, buf + 2); in scd4x_write()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | sigmadsp-i2c.c | 26 put_unaligned_be16(addr, buf); in sigmadsp_write_i2c() 47 put_unaligned_be16(addr, buf); in sigmadsp_read_i2c()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_spc.c | 143 put_unaligned_be16(SCSI_VERSION_DESCRIPTOR_SAM5, &buf[58]); in spc_emulate_inquiry_std() 315 put_unaligned_be16(lun->lun_tpg->tpg_rtpi, &buf[off]); in spc_emulate_evpd_83() 344 put_unaligned_be16(tg_pt_gp_id, &buf[off]); in spc_emulate_evpd_83() 371 put_unaligned_be16(lu_gp_id, &buf[off]); in spc_emulate_evpd_83() 540 put_unaligned_be16(1, &buf[6]); in spc_emulate_evpd_b0() 636 put_unaligned_be16(0x0004, &buf[2]); in spc_emulate_evpd_b2() 1129 put_unaligned_be16(length - 2, buf); in spc_emulate_modesense() 2061 put_unaligned_be16(0xa, buf); in spc_rsoc_encode_command_timeouts_descriptor() 2077 put_unaligned_be16(descr->service_action, &buf[2]); in spc_rsoc_encode_command_descriptor() 2080 put_unaligned_be16(descr->cdb_size, &buf[6]); in spc_rsoc_encode_command_descriptor() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | ntxec.c | 50 put_unaligned_be16(NTXEC_POWEROFF_VALUE, buf + 1); in ntxec_poweroff() 84 put_unaligned_be16(NTXEC_RESET_VALUE, buf + 1); in ntxec_restart()
|
/openbmc/linux/drivers/nfc/pn544/ |
H A D | i2c.c | 579 put_unaligned_be16(params_len, &framep->be_length); in pn544_hci_i2c_fw_write_cmd() 585 put_unaligned_be16(datalen, &framep->be_datalen); in pn544_hci_i2c_fw_write_cmd() 611 put_unaligned_be16(sizeof(frame.be_start_addr) + in pn544_hci_i2c_fw_check_cmd() 620 put_unaligned_be16(datalen, &frame.be_datalen); in pn544_hci_i2c_fw_check_cmd() 626 put_unaligned_be16(crc, &frame.be_crc); in pn544_hci_i2c_fw_check_cmd() 670 put_unaligned_be16(datalen, &chunk->be_datalen); in pn544_hci_i2c_fw_secure_write_frame_cmd()
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | unaligned-sh4a.h | 159 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function 236 put_unaligned_be16((__force u16)(val), __gu_p); \
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_common.c | 384 put_unaligned_be16(fp, &ucp[5]); in scsi_set_sense_field_pointer() 395 put_unaligned_be16(fp, &buf[16]); in scsi_set_sense_field_pointer()
|
H A D | scsi_debug.c | 944 put_unaligned_be16(in_byte, sks + 1); in mk_sense_invalid_fld() 1474 put_unaligned_be16(gran, arr + 2); in inquiry_vpd_b0() 1671 put_unaligned_be16(n, arr + 2); in resp_inquiry() 1716 put_unaligned_be16(0x600, arr + n); in resp_inquiry() 1719 put_unaligned_be16(0x525, arr + n); in resp_inquiry() 1722 put_unaligned_be16(0x624, arr + n); in resp_inquiry() 1956 put_unaligned_be16(port_a, arr + n); in resp_report_tgtpgs() 1968 put_unaligned_be16(port_b, arr + n); in resp_report_tgtpgs() 2055 put_unaligned_be16(oip->len_mask[0], in resp_rsup_opcodes() 2058 put_unaligned_be16(0xa, in resp_rsup_opcodes() [all …]
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_sandbox.c | 219 put_unaligned_be16(tag, recv); in sandbox_tpm2_fill_buf() 408 put_unaligned_be16(tag, recv); in sandbox_tpm2_xfer() 433 put_unaligned_be16(TPM2_ALG_SHA256, recv); in sandbox_tpm2_xfer() 541 put_unaligned_be16(tag, recv); in sandbox_tpm2_xfer()
|
/openbmc/linux/drivers/media/i2c/ccs/ |
H A D | ccs-reg-access.c | 85 put_unaligned_be16(reg, offset_buf); in ____ccs_read_addr() 337 put_unaligned_be16(CCS_REG_ADDR(reg), data); in ccs_write_addr_no_quirk() 400 put_unaligned_be16(regs->addr + j, buf); in ccs_write_data_regs()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-xcomm.c | 52 put_unaligned_be16(settings, &buf[1]); in spi_xcomm_sync_config() 53 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()
|
/openbmc/u-boot/include/linux/unaligned/ |
H A D | access_ok.h | 51 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
|
H A D | be_byteshift.h | 55 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
|
H A D | generic.h | 54 put_unaligned_be16((__force u16)(val), __gu_p); \
|
/openbmc/linux/tools/include/tools/ |
H A D | be_byteshift.h | 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() function
|
/openbmc/linux/drivers/nfc/nxp-nci/ |
H A D | firmware.c | 112 put_unaligned_be16(header, skb_put(skb, NXP_NCI_FW_HDR_LEN)); in nxp_nci_fw_send_chunk() 117 put_unaligned_be16(crc, skb_put(skb, NXP_NCI_FW_CRC_LEN)); in nxp_nci_fw_send_chunk()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | mcba_usb.c | 334 put_unaligned_be16(sid, &usb_msg.sid); in mcba_usb_start_xmit() 337 put_unaligned_be16(cf->can_id & 0xffff, &usb_msg.eid); in mcba_usb_start_xmit() 342 put_unaligned_be16((cf->can_id & CAN_SFF_MASK) << 5, in mcba_usb_start_xmit() 398 put_unaligned_be16(bitrate, &usb_msg.bitrate); in mcba_usb_xmit_change_bitrate()
|
/openbmc/linux/drivers/hwmon/ |
H A D | adt7310.c | 52 put_unaligned_be16(data, &buf[1]); in adt7310_spi_write_word()
|
/openbmc/linux/include/asm-generic/ |
H A D | unaligned.h | 70 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-cci.c | 114 put_unaligned_be16(val, buf); in cci_write()
|
/openbmc/u-boot/lib/ |
H A D | tpm-common.c | 68 put_unaligned_be16(value, str + offset); in pack_byte_string()
|
/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_mppe.c | 366 put_unaligned_be16(PPP_COMP, obuf + 2); in mppe_compress() 373 put_unaligned_be16(state->ccount, obuf); in mppe_compress()
|