/linux/drivers/scsi/libfc/ |
H A D | fc_encode.h | 247 put_unaligned_be16(FC_FDMI_HBA_ATTR_NODENAME, in fc_ct_ms_fill() 249 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 258 put_unaligned_be16(FC_FDMI_HBA_ATTR_MANUFACTURER, in fc_ct_ms_fill() 260 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 270 put_unaligned_be16(FC_FDMI_HBA_ATTR_SERIALNUMBER, in fc_ct_ms_fill() 272 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 282 put_unaligned_be16(FC_FDMI_HBA_ATTR_MODEL, in fc_ct_ms_fill() 284 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() 294 put_unaligned_be16(FC_FDMI_HBA_ATTR_MODELDESCRIPTION, in fc_ct_ms_fill() 296 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill() [all …]
|
/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()
|
/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()
|
/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 …]
|
H A D | target_core_xcopy.c | 941 put_unaligned_be16(RCR_OP_MAX_TARGET_DESC_COUNT, &p[8]); in target_rcr_operating_parameters() 945 put_unaligned_be16(RCR_OP_MAX_SG_DESC_COUNT, &p[10]); in target_rcr_operating_parameters() 969 put_unaligned_be16(RCR_OP_TOTAL_CONCURR_COPIES, &p[34]); in target_rcr_operating_parameters()
|
/linux/drivers/iio/humidity/ |
H A D | hdc3020.c | 185 put_unaligned_be16(reg, reg_buf); in hdc3020_read_bytes() 222 put_unaligned_be16(reg, reg_buf); in hdc3020_exec_cmd() 346 put_unaligned_be16(HDC3020_HEATER_CONFIG, buf); in hdc3020_update_heater() 347 put_unaligned_be16(val & GENMASK(13, 0), &buf[2]); in hdc3020_update_heater() 466 put_unaligned_be16(reg, buf); in _hdc3020_write_thresh() 467 put_unaligned_be16(val, buf + 2); in _hdc3020_write_thresh()
|
/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()
|
/linux/drivers/nfc/pn544/ |
H A D | i2c.c | 577 put_unaligned_be16(params_len, &framep->be_length); in pn544_hci_i2c_fw_write_cmd() 583 put_unaligned_be16(datalen, &framep->be_datalen); in pn544_hci_i2c_fw_write_cmd() 609 put_unaligned_be16(sizeof(frame.be_start_addr) + in pn544_hci_i2c_fw_check_cmd() 618 put_unaligned_be16(datalen, &frame.be_datalen); in pn544_hci_i2c_fw_check_cmd() 624 put_unaligned_be16(crc, &frame.be_crc); in pn544_hci_i2c_fw_check_cmd() 668 put_unaligned_be16(datalen, &chunk->be_datalen); in pn544_hci_i2c_fw_secure_write_frame_cmd()
|
/linux/drivers/scsi/ |
H A D | scsi_common.c | 385 put_unaligned_be16(fp, &ucp[5]); in scsi_set_sense_field_pointer() 396 put_unaligned_be16(fp, &buf[16]); in scsi_set_sense_field_pointer()
|
H A D | scsi_debug.c | 1302 put_unaligned_be16(in_byte, sks + 1); in mk_sense_invalid_fld() 1645 put_unaligned_be16(port_group_id, arr + num); in inquiry_vpd_83() 1832 put_unaligned_be16(gran, arr + 2); in inquiry_vpd_b0() 1938 put_unaligned_be16(MAXIMUM_NUMBER_OF_STREAMS, &arrb4[2]); in inquiry_vpd_b7() 2045 put_unaligned_be16(n, arr + 2); in resp_inquiry() 2084 put_unaligned_be16(0xc0, arr + 58); /* SAM-6 no version claimed */ in resp_inquiry() 2085 put_unaligned_be16(0x5c0, arr + 60); /* SPC-5 no version claimed */ in resp_inquiry() 2088 put_unaligned_be16(0x600, arr + n); in resp_inquiry() 2091 put_unaligned_be16(0x525, arr + n); in resp_inquiry() 2094 put_unaligned_be16(0x624, arr + n); in resp_inquiry() [all …]
|
/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
|
/linux/drivers/spi/ |
H A D | spi-xcomm.c | 92 put_unaligned_be16(settings, &buf[1]); in spi_xcomm_sync_config() 93 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()
|
/linux/drivers/input/joystick/ |
H A D | adafruit-seesaw.c | 120 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u8() 136 put_unaligned_be16(reg, write_buf); in seesaw_register_write_u32()
|
/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()
|
/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()
|
/linux/drivers/hwmon/ |
H A D | adt7310.c | 52 put_unaligned_be16(data, &buf[1]); in adt7310_spi_write_word()
|
/linux/include/linux/ |
H A D | unaligned.h | 61 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
|
/linux/tools/include/linux/ |
H A D | unaligned.h | 62 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-cci.c | 114 put_unaligned_be16(val, buf); in cci_write()
|
/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()
|
H A D | ppp_deflate.c | 211 put_unaligned_be16(PPP_COMP, wptr + 2); in z_compress() 213 put_unaligned_be16(state->seqno, wptr); in z_compress()
|
/linux/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 115 put_unaligned_be16(pixel_val16, cmd); in udl_compress_hline16()
|
/linux/include/net/ |
H A D | mac802154.h | 383 put_unaligned_be16(get_unaligned_le16(le16_src), be16_dst); in ieee802154_le16_to_be16()
|