Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/scsi/libfc/
Dfc_encode.h245 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 …]
/linux-6.1.9/drivers/iio/chemical/
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()
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()
Dscd4x.c113 put_unaligned_be16(cmd, buf); in scd4x_send_command()
152 put_unaligned_be16(cmd, buf); in scd4x_read()
184 put_unaligned_be16(cmd, buf); in scd4x_write()
185 put_unaligned_be16(arg, buf + 2); in scd4x_write()
Dsps30_i2c.c85 put_unaligned_be16(cmd, buf); in sps30_i2c_command()
/linux-6.1.9/drivers/target/
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()
324 put_unaligned_be16(lun->lun_rtpi, &buf[off]); in spc_emulate_evpd_83()
353 put_unaligned_be16(tg_pt_gp_id, &buf[off]); in spc_emulate_evpd_83()
380 put_unaligned_be16(lu_gp_id, &buf[off]); in spc_emulate_evpd_83()
468 put_unaligned_be16(len, &buf[2]); /* Page Length for VPD 0x83 */ in spc_emulate_evpd_83()
546 put_unaligned_be16(min / dev->dev_attrib.block_size, &buf[6]); in spc_emulate_evpd_b0()
548 put_unaligned_be16(1, &buf[6]); in spc_emulate_evpd_b0()
[all …]
Dtarget_core_xcopy.c942 put_unaligned_be16(RCR_OP_MAX_TARGET_DESC_COUNT, &p[8]); in target_rcr_operating_parameters()
946 put_unaligned_be16(RCR_OP_MAX_SG_DESC_COUNT, &p[10]); in target_rcr_operating_parameters()
970 put_unaligned_be16(RCR_OP_TOTAL_CONCURR_COPIES, &p[34]); in target_rcr_operating_parameters()
/linux-6.1.9/sound/soc/codecs/
Dsigmadsp-i2c.c26 put_unaligned_be16(addr, buf); in sigmadsp_write_i2c()
47 put_unaligned_be16(addr, buf); in sigmadsp_read_i2c()
/linux-6.1.9/drivers/scsi/
Dscsi_common.c342 put_unaligned_be16(fp, &ucp[5]); in scsi_set_sense_field_pointer()
353 put_unaligned_be16(fp, &buf[16]); in scsi_set_sense_field_pointer()
Dscsi_debug.c951 put_unaligned_be16(in_byte, sks + 1); in mk_sense_invalid_fld()
1297 put_unaligned_be16(port_group_id, arr + num); in inquiry_vpd_83()
1484 put_unaligned_be16(gran, arr + 2); in inquiry_vpd_b0()
1683 put_unaligned_be16(n, arr + 2); in resp_inquiry()
1724 put_unaligned_be16(0xc0, arr + 58); /* SAM-6 no version claimed */ in resp_inquiry()
1725 put_unaligned_be16(0x5c0, arr + 60); /* SPC-5 no version claimed */ in resp_inquiry()
1728 put_unaligned_be16(0x600, arr + n); in resp_inquiry()
1731 put_unaligned_be16(0x525, arr + n); in resp_inquiry()
1734 put_unaligned_be16(0x624, arr + n); in resp_inquiry()
1737 put_unaligned_be16(0x2100, arr + n); /* SPL-4 no version claimed */ in resp_inquiry()
[all …]
/linux-6.1.9/drivers/mfd/
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-6.1.9/drivers/nfc/pn544/
Di2c.c579 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()
/linux-6.1.9/drivers/media/i2c/ccs/
Dccs-reg-access.c85 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()
/linux-6.1.9/drivers/spi/
Dspi-xcomm.c52 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()
/linux-6.1.9/tools/include/tools/
Dbe_byteshift.h56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() function
/linux-6.1.9/drivers/nfc/nxp-nci/
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-6.1.9/drivers/net/can/usb/
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-6.1.9/drivers/hwmon/
Dadt7310.c52 put_unaligned_be16(data, &buf[1]); in adt7310_spi_write_word()
/linux-6.1.9/include/asm-generic/
Dunaligned.h70 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() function
/linux-6.1.9/drivers/net/ppp/
Dppp_mppe.c366 put_unaligned_be16(PPP_COMP, obuf + 2); in mppe_compress()
373 put_unaligned_be16(state->ccount, obuf); in mppe_compress()
Dppp_deflate.c211 put_unaligned_be16(PPP_COMP, wptr + 2); in z_compress()
213 put_unaligned_be16(state->seqno, wptr); in z_compress()
/linux-6.1.9/drivers/gpu/drm/udl/
Dudl_transfer.c114 put_unaligned_be16(pixel_val16, cmd); in udl_compress_hline16()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tx.c123 put_unaligned_be16(crc, (void *)load_buf + len); in mcp251xfd_tx_obj_from_skb()
/linux-6.1.9/include/net/
Dmac802154.h387 put_unaligned_be16(get_unaligned_le16(le16_src), be16_dst); in ieee802154_le16_to_be16()
/linux-6.1.9/drivers/macintosh/
Dadb-iop.c270 put_unaligned_be16(mask, amsg.data); in adb_iop_autopoll()

12345