/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 245 put_unaligned_be16(FC_FDMI_HBA_ATTR_NODENAME, in fc_ct_ms_fill() 247 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 256 put_unaligned_be16(FC_FDMI_HBA_ATTR_MANUFACTURER, in fc_ct_ms_fill() 258 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 268 put_unaligned_be16(FC_FDMI_HBA_ATTR_SERIALNUMBER, in fc_ct_ms_fill() 270 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 280 put_unaligned_be16(FC_FDMI_HBA_ATTR_MODEL, in fc_ct_ms_fill() 282 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 292 put_unaligned_be16(FC_FDMI_HBA_ATTR_MODELDESCRIPTION, in fc_ct_ms_fill() 294 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() 144 put_unaligned_be16(spc_find_scsi_transport_vd(tpg->proto_id), &buf[60]); in spc_emulate_inquiry_std() 145 put_unaligned_be16(SCSI_VERSION_DESCRIPTOR_SPC4, &buf[62]); in spc_emulate_inquiry_std() 147 put_unaligned_be16(SCSI_VERSION_DESCRIPTOR_SBC3, &buf[64]); 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() 459 put_unaligned_be16(len, &buf[2]); /* Page Length for VPD 0x83 */ in spc_emulate_evpd_83() 538 put_unaligned_be16(min / dev->dev_attrib.block_size, &buf[6]); in spc_emulate_evpd_b0() 540 put_unaligned_be16(1, &buf[6]); in spc_emulate_evpd_b0() [all …]
|
/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/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/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/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() 1287 put_unaligned_be16(port_group_id, arr + num); in inquiry_vpd_83() 1474 put_unaligned_be16(gran, arr + 2); in inquiry_vpd_b0() 1671 put_unaligned_be16(n, arr + 2); in resp_inquiry() 1712 put_unaligned_be16(0xc0, arr + 58); /* SAM-6 no version claimed */ in resp_inquiry() 1713 put_unaligned_be16(0x5c0, arr + 60); /* SPC-5 no version claimed */ 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() 1725 put_unaligned_be16(0x2100, arr + n); /* SPL-4 no version claimed */ in resp_inquiry() [all …]
|
/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/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/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()
|
/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()
|