Home
last modified time | relevance | path

Searched refs:put_unaligned_be16 (Results 1 – 25 of 120) sorted by relevance

12345

/linux/drivers/scsi/libfc/
H A Dfc_encode.h247 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 Dscd30_serial.c114 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 Dscd30_i2c.c74 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 Dscd4x.c117 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 Dsigmadsp-i2c.c26 put_unaligned_be16(addr, buf); in sigmadsp_write_i2c()
47 put_unaligned_be16(addr, buf); in sigmadsp_read_i2c()
/linux/drivers/target/
H A Dtarget_core_spc.c143 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 Dtarget_core_xcopy.c941 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 Dhdc3020.c185 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 Dntxec.c50 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 Di2c.c577 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 Dscsi_common.c385 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 Dscsi_debug.c1302 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 Dbe_byteshift.h56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() function
/linux/drivers/spi/
H A Dspi-xcomm.c92 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 Dadafruit-seesaw.c120 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 Dfirmware.c112 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 Dmcba_usb.c334 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 Dadt7310.c52 put_unaligned_be16(data, &buf[1]); in adt7310_spi_write_word()
/linux/include/linux/
H A Dunaligned.h61 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
/linux/tools/include/linux/
H A Dunaligned.h62 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
/linux/drivers/media/v4l2-core/
H A Dv4l2-cci.c114 put_unaligned_be16(val, buf); in cci_write()
/linux/drivers/net/ppp/
H A Dppp_mppe.c366 put_unaligned_be16(PPP_COMP, obuf + 2); in mppe_compress()
373 put_unaligned_be16(state->ccount, obuf); in mppe_compress()
H A Dppp_deflate.c211 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 Dudl_transfer.c115 put_unaligned_be16(pixel_val16, cmd); in udl_compress_hline16()
/linux/include/net/
H A Dmac802154.h383 put_unaligned_be16(get_unaligned_le16(le16_src), be16_dst); in ieee802154_le16_to_be16()

12345