/linux-6.12.1/drivers/media/radio/wl128x/ |
D | fmdrv_tx.c | 16 u16 payload; in fm_tx_set_stereo_mono() local 25 payload = (1 - mode); in fm_tx_set_stereo_mono() 26 ret = fmc_send_cmd(fmdev, MONO_SET, REG_WR, &payload, in fm_tx_set_stereo_mono() 27 sizeof(payload), NULL, NULL); in fm_tx_set_stereo_mono() 38 u16 payload; in set_rds_text() local 47 payload = (u16)0x1; in set_rds_text() 48 ret = fmc_send_cmd(fmdev, DISPLAY_MODE, REG_WR, &payload, in set_rds_text() 49 sizeof(payload), NULL, NULL); in set_rds_text() 58 u16 payload; in set_rds_data_mode() local 62 payload = (u16)0xcafe; in set_rds_data_mode() [all …]
|
D | fmdrv_rx.c | 36 u16 payload, curr_frq, intr_flag; in fm_rx_set_freq() local 47 payload = FM_RX_AUDIO_ENABLE_I2S_AND_ANALOG; in fm_rx_set_freq() 49 ret = fmc_send_cmd(fmdev, AUDIO_ENABLE_SET, REG_WR, &payload, in fm_rx_set_freq() 50 sizeof(payload), NULL, NULL); in fm_rx_set_freq() 55 payload = FM_RX_IFFREQ_HILO_AUTOMATIC; in fm_rx_set_freq() 56 ret = fmc_send_cmd(fmdev, HILO_SET, REG_WR, &payload, in fm_rx_set_freq() 57 sizeof(payload), NULL, NULL); in fm_rx_set_freq() 62 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq() 64 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_WR, &payload, in fm_rx_set_freq() 65 sizeof(payload), NULL, NULL); in fm_rx_set_freq() [all …]
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_jsm_msg.c | 99 req.payload.register_db.db_idx = db_id; in ivpu_jsm_register_db() 100 req.payload.register_db.jobq_base = jobq_base; in ivpu_jsm_register_db() 101 req.payload.register_db.jobq_size = jobq_size; in ivpu_jsm_register_db() 102 req.payload.register_db.host_ssid = ctx_id; in ivpu_jsm_register_db() 118 req.payload.unregister_db.db_idx = db_id; in ivpu_jsm_unregister_db() 137 req.payload.query_engine_hb.engine_idx = engine; in ivpu_jsm_get_heartbeat() 147 *heartbeat = resp.payload.query_engine_hb_done.heartbeat; in ivpu_jsm_get_heartbeat() 160 req.payload.engine_reset.engine_idx = engine; in ivpu_jsm_reset_engine() 179 req.payload.engine_preempt.engine_idx = engine; in ivpu_jsm_preempt_engine() 180 req.payload.engine_preempt.preempt_id = preempt_id; in ivpu_jsm_preempt_engine() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len) argument 49 static inline void mlxsw_reg_sgcr_pack(char *payload, u16 lag_lookup_pgt_base) in mlxsw_reg_sgcr_pack() argument 51 MLXSW_REG_ZERO(sgcr, payload); in mlxsw_reg_sgcr_pack() 52 mlxsw_reg_sgcr_lag_lookup_pgt_base_set(payload, lag_lookup_pgt_base); in mlxsw_reg_sgcr_pack() 110 static inline void mlxsw_reg_sspr_pack(char *payload, u16 local_port) in mlxsw_reg_sspr_pack() argument 112 MLXSW_REG_ZERO(sspr, payload); in mlxsw_reg_sspr_pack() 113 mlxsw_reg_sspr_m_set(payload, 1); in mlxsw_reg_sspr_pack() 114 mlxsw_reg_sspr_local_port_set(payload, local_port); in mlxsw_reg_sspr_pack() 115 mlxsw_reg_sspr_system_port_set(payload, local_port); in mlxsw_reg_sspr_pack() 143 static inline void mlxsw_reg_sfdat_pack(char *payload, u32 age_time) in mlxsw_reg_sfdat_pack() argument [all …]
|
/linux-6.12.1/security/keys/ |
D | big_key.c | 21 * Layout of key payload words. 28 #define to_big_key_payload(payload) \ argument 29 (struct big_key_payload *)((payload).data) 40 * arbitrary blob of data as the payload 59 struct big_key_payload *payload = to_big_key_payload(prep->payload); in big_key_preparse() local 67 BUILD_BUG_ON(sizeof(*payload) != sizeof(prep->payload.data)); in big_key_preparse() 75 payload->length = datalen; in big_key_preparse() 123 payload->data = enckey; in big_key_preparse() 124 payload->path = file->f_path; in big_key_preparse() 125 path_get(&payload->path); in big_key_preparse() [all …]
|
/linux-6.12.1/tools/perf/util/arm-spe-decoder/ |
D | arm-spe-decoder.c | 25 static u64 arm_spe_calc_ip(int index, u64 payload) in arm_spe_calc_ip() argument 32 ns = SPE_ADDR_PKT_GET_NS(payload); in arm_spe_calc_ip() 33 el = SPE_ADDR_PKT_GET_EL(payload); in arm_spe_calc_ip() 36 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip() 40 payload |= 0xffULL << SPE_ADDR_PKT_ADDR_BYTE7_SHIFT; in arm_spe_calc_ip() 46 payload = SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(payload); in arm_spe_calc_ip() 50 * defines the data virtual address payload format, the top byte in arm_spe_calc_ip() 55 * specific pattern in bits [55:52] of payload which falls in in arm_spe_calc_ip() 62 val = SPE_ADDR_PKT_ADDR_GET_BYTE_6(payload); in arm_spe_calc_ip() 64 payload |= 0xffULL << SPE_ADDR_PKT_ADDR_BYTE7_SHIFT; in arm_spe_calc_ip() [all …]
|
D | arm-spe-pkt-decoder.c | 59 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload() 60 case 2: packet->payload = get_unaligned_le16(buf); break; in arm_spe_get_payload() 61 case 4: packet->payload = get_unaligned_le32(buf); break; in arm_spe_get_payload() 62 case 8: packet->payload = get_unaligned_le64(buf); break; in arm_spe_get_payload() 282 u64 payload = packet->payload; in arm_spe_pkt_desc_event() local 287 if (payload & BIT(EV_EXCEPTION_GEN)) in arm_spe_pkt_desc_event() 289 if (payload & BIT(EV_RETIRED)) in arm_spe_pkt_desc_event() 291 if (payload & BIT(EV_L1D_ACCESS)) in arm_spe_pkt_desc_event() 293 if (payload & BIT(EV_L1D_REFILL)) in arm_spe_pkt_desc_event() 295 if (payload & BIT(EV_TLB_ACCESS)) in arm_spe_pkt_desc_event() [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | dm-log-userspace.h | 41 * you will see 'Payload-to-userspace' and 'Payload-to-kernel'. The 42 * 'Payload-to-userspace' is what the kernel sends in 'additional data' as 43 * necessary parameters to complete the request. The 'Payload-to-kernel' is 46 * structure denotes the availability and amount of payload data. 54 * Payload-to-userspace: 56 * Payload-to-kernel: 78 * Payload-to-userspace: 80 * Payload-to-kernel: 85 * payload data. 97 * Payload-to-userspace: [all …]
|
D | papr_pdsm.h | 20 * envelope which consists of 2 headers sections and payload sections as 25 * | ND-HEADER | PDSM-HEADER | PDSM-PAYLOAD | 30 * | nd_command | payload --> | | 40 * 'nd_size_in' : (In) PDSM-HEADER + PDSM-IN-PAYLOAD (usually 0) 41 * 'nd_size_out' : (In) PDSM-HEADER + PDSM-RETURN-PAYLOAD 43 * 'nd_fw_size' : (Out) PDSM-HEADER + size of actual payload returned 46 * This is papr-scm specific header that precedes the payload. This is defined 51 * 'payload' : A union of all the possible payload structs 53 * PDSM Payload: 55 * The layout of the PDSM Payload is defined by various structs shared between [all …]
|
/linux-6.12.1/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 76 uint64_t payload; in intel_pt_get_long_tnt() local 82 payload = get_unaligned_le64(buf); in intel_pt_get_long_tnt() 85 if (payload & BIT63) in intel_pt_get_long_tnt() 87 payload <<= 1; in intel_pt_get_long_tnt() 92 packet->payload = payload << 1; in intel_pt_get_long_tnt() 99 uint64_t payload = 0; in intel_pt_get_pip() local 105 memcpy_le64(&payload, buf + 2, 6); in intel_pt_get_pip() 106 packet->payload = payload; in intel_pt_get_pip() 123 packet->payload = get_unaligned_le16(buf + 2); in intel_pt_get_cbr() 135 memcpy_le64(&packet->payload, buf + 2, 5); in intel_pt_get_vmcs() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_varlen.c | 46 void *payload = payload1; in handler64_unsigned() local 53 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_unsigned() 55 payload += len; in handler64_unsigned() 59 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_unsigned() 61 payload += len; in handler64_unsigned() 65 total1 = payload - (void *)payload1; in handler64_unsigned() 76 void *payload = payload3; in handler64_signed() local 83 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in1[0]); in handler64_signed() 85 payload += len; in handler64_signed() 88 len = bpf_probe_read_kernel_str(payload, MAX_LEN, &buf_in2[0]); in handler64_signed() [all …]
|
D | profiler.inc.h | 206 void* payload, in read_full_cgroup_path() argument 209 void* payload_start = payload; in read_full_cgroup_path() 217 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_full_cgroup_path() 220 return payload; in read_full_cgroup_path() 222 *root_pos = payload - payload_start; in read_full_cgroup_path() 224 payload += filepart_length; in read_full_cgroup_path() 228 return payload; in read_full_cgroup_path() 251 void* payload) in populate_cgroup_info() argument 304 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info() 308 payload += cgroup_root_length; in populate_cgroup_info() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_aux.c | 241 /* program action and address and payload data (if 'is_write') */ in submit_channel_request() 533 static enum i2caux_transaction_action i2caux_action_from_payload(struct aux_payload *payload) in i2caux_action_from_payload() argument 535 if (payload->i2c_over_aux) { in i2caux_action_from_payload() 536 if (payload->write_status_update) { in i2caux_action_from_payload() 537 if (payload->mot) in i2caux_action_from_payload() 542 if (payload->write) { in i2caux_action_from_payload() 543 if (payload->mot) in i2caux_action_from_payload() 548 if (payload->mot) in i2caux_action_from_payload() 553 if (payload->write) in i2caux_action_from_payload() 560 struct aux_payload *payload, in dce_aux_transfer_raw() argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | tunnel_conf.c | 210 struct nfp_tun_active_tuns *payload; in nfp_tunnel_keep_alive() local 217 payload = nfp_flower_cmsg_get_data(skb); in nfp_tunnel_keep_alive() 218 count = be32_to_cpu(payload->count); in nfp_tunnel_keep_alive() 225 if (pay_len != struct_size(payload, tun_info, count)) { in nfp_tunnel_keep_alive() 232 ipv4_addr = payload->tun_info[i].ipv4; in nfp_tunnel_keep_alive() 233 port = be32_to_cpu(payload->tun_info[i].egress_port); in nfp_tunnel_keep_alive() 252 struct nfp_tun_active_tuns_v6 *payload; in nfp_tunnel_keep_alive_v6() local 259 payload = nfp_flower_cmsg_get_data(skb); in nfp_tunnel_keep_alive_v6() 260 count = be32_to_cpu(payload->count); in nfp_tunnel_keep_alive_v6() 267 if (pay_len != struct_size(payload, tun_info, count)) { in nfp_tunnel_keep_alive_v6() [all …]
|
/linux-6.12.1/drivers/net/ipa/ |
D | ipa_cmd.c | 31 * has a well-defined format, having a payload of a known length. This 33 * immediate command's opcode. The payload for a command resides in AP 137 /* Immediate command payload */ 259 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_offset_valid() local 269 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid() 367 struct ipa_cmd_hw_ip_fltrt_init *payload; in ipa_cmd_table_init_add() local 388 payload = &cmd_payload->table_init; in ipa_cmd_table_init_add() 392 payload->hash_rules_addr = cpu_to_le64(hash_addr); in ipa_cmd_table_init_add() 393 payload->flags = cpu_to_le64(val); in ipa_cmd_table_init_add() 394 payload->nhash_rules_addr = cpu_to_le64(addr); in ipa_cmd_table_init_add() [all …]
|
/linux-6.12.1/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 31 static int tpm2_key_encode(struct trusted_key_payload *payload, in tpm2_key_encode() argument 84 work1 = payload->blob; in tpm2_key_encode() 85 work1 = asn1_encode_sequence(work1, work1 + sizeof(payload->blob), in tpm2_key_encode() 94 return work1 - payload->blob; in tpm2_key_encode() 109 static int tpm2_key_decode(struct trusted_key_payload *payload, in tpm2_key_decode() argument 119 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, in tpm2_key_decode() 120 payload->blob_len); in tpm2_key_decode() 232 * tpm2_seal_trusted() - seal the payload of a trusted key 235 * @payload: the key data in clear and encrypted form 241 struct trusted_key_payload *payload, in tpm2_seal_trusted() argument [all …]
|
/linux-6.12.1/drivers/platform/surface/aggregator/ |
D | ssh_parser.c | 97 * @payload: The parsed payload (output). 100 * Parses and validates a SSH frame, including its payload, from the given 102 * writes the limits of the frame payload to the provided @payload span 109 * the %NULL pointer and the payload span will be set to the null span (start 114 * payload) CRC is invalid, or %-EMSGSIZE if the SSH message is bigger than 118 struct ssh_frame **frame, struct ssam_span *payload, in sshp_parse_frame() argument 126 payload->ptr = NULL; in sshp_parse_frame() 127 payload->len = 0; in sshp_parse_frame() 158 /* Pin down payload. */ in sshp_parse_frame() 161 /* Check for frame + payload length. */ in sshp_parse_frame() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_ddc.c | 97 struct i2c_payload payload = { in i2c_payloads_add() local 102 dal_vector_append(&payloads->payloads, &payload); in i2c_payloads_add() 276 struct aux_payload *payload) in submit_aux_command() argument 284 if (!payload) in submit_aux_command() 290 payload->length; in submit_aux_command() 292 payload->length - retrieved : DEFAULT_AUX_MAX_DATA_SIZE; in submit_aux_command() 294 current_payload.address = payload->address; in submit_aux_command() 295 current_payload.data = &payload->data[retrieved]; in submit_aux_command() 296 current_payload.defer_delay = payload->defer_delay; in submit_aux_command() 297 current_payload.i2c_over_aux = payload->i2c_over_aux; in submit_aux_command() [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mei/ |
D | sap.h | 24 * by a payload. 33 * the payload. 127 * @SAP_ME_MSG_CHECK_SHARED_AREA: This message has no payload. 189 * @SAP_MSG_NOTIF_PING: No payload. Solicitate a response message (check-alive). 190 * @SAP_MSG_NOTIF_PONG: No payload. The response message. 195 * @SAP_MSG_NOTIF_AMT_STATE: Payload is a DW. Any non-zero value means 197 * @SAP_MSG_NOTIF_CSME_REPLY_TO_HOST_OWNERSHIP_REQ: Payload is a DW. 0 means 200 * @SAP_MSG_NOTIF_CSME_TAKING_OWNERSHIP: No payload. 201 * @SAP_MSG_NOTIF_TRIGGER_IP_REFRESH: No payload. 202 * @SAP_MSG_NOTIF_CSME_CAN_RELEASE_OWNERSHIP: No payload. [all …]
|
/linux-6.12.1/drivers/ps3/ |
D | ps3-sys-manager.c | 32 * specific payload. 39 * @payload_size: Message payload size in bytes. 71 * (16 bytes header + 8 bytes payload = 24 bytes) or (16 bytes header 72 * + 16 bytes payload = 32 bytes). This knowledge is used to simplify 131 * @PS3_SM_EVENT_POWER_PRESSED: payload.value = 133 * @PS3_SM_EVENT_POWER_RELEASED: payload.value = time pressed in millisec. 134 * @PS3_SM_EVENT_RESET_PRESSED: payload.value = 136 * @PS3_SM_EVENT_RESET_RELEASED: payload.value = time pressed in millisec. 137 * @PS3_SM_EVENT_THERMAL_ALERT: payload.value = thermal zone id. 138 * @PS3_SM_EVENT_THERMAL_CLEARED: payload.value = thermal zone id. [all …]
|
/linux-6.12.1/include/linux/i3c/ |
D | ccc.h | 56 * struct i3c_ccc_events - payload passed to ENEC/DISEC CCC 69 * struct i3c_ccc_mwl - payload passed to SETMWL/GETMWL CCC 81 * struct i3c_ccc_mrl - payload passed to SETMRL/GETMRL CCC 84 * @ibi_len: maximum IBI payload length 121 * struct i3c_ccc_defslvs - payload passed to DEFSLVS CCC 150 * struct i3c_ccc_enttm - payload passed to ENTTM CCC 162 * struct i3c_ccc_setda - payload passed to SETNEWDA and SETDASA CCCs 174 * struct i3c_ccc_getpid - payload passed to GETPID CCC 183 * struct i3c_ccc_getbcr - payload passed to GETBCR CCC 192 * struct i3c_ccc_getdcr - payload passed to GETDCR CCC [all …]
|
/linux-6.12.1/include/linux/greybus/ |
D | greybus_protocols.h | 38 * other value indicates an error; in this case, the payload of the 47 __le16 size; /* Size in bytes of header + payload */ 108 /* Control protocol manifest get size request has no payload*/ 113 /* Control protocol manifest get request has no payload */ 126 /* disconnecting response has no payload */ 131 /* Control protocol [dis]connected response has no payload */ 155 * it. Both operations have no payload. 241 /* firmware download release firmware response has no payload */ 276 /* firmware management interface firmware version request has no payload */ 289 /* firmware management load and validate firmware response has no payload*/ [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/event/src/ |
D | event.c | 74 uint8_t *payload) in ia_css_event_decode() argument 76 assert(payload[1] == 0); in ia_css_event_decode() 77 assert(payload[2] == 0); in ia_css_event_decode() 78 assert(payload[3] == 0); in ia_css_event_decode() 89 payload[0] = event & 0xff; /*event_code */ in ia_css_event_decode() 90 payload[1] = (event >> 8) & 0xff; in ia_css_event_decode() 91 payload[2] = (event >> 16) & 0xff; in ia_css_event_decode() 92 payload[3] = 0; in ia_css_event_decode() 94 switch (payload[0]) { in ia_css_event_decode() 96 payload[2] = 0; in ia_css_event_decode() [all …]
|
/linux-6.12.1/drivers/hid/ |
D | hid-wiimote-core.c | 1250 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload) in handler_keys() argument 1257 ops->in_keys(wdata, payload); in handler_keys() 1265 ops->in_keys(wdata, payload); in handler_keys() 1271 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload) in handler_accel() argument 1278 ops->in_accel(wdata, payload); in handler_accel() 1286 ops->in_accel(wdata, payload); in handler_accel() 1304 static void handler_ext(struct wiimote_data *wdata, const __u8 *payload, in handler_ext() argument 1319 if (len < 6 || !memcmp(payload, invalid, len)) in handler_ext() 1325 if (payload[5] & 0x01) in handler_ext() 1328 if (payload[4] & 0x01) { in handler_ext() [all …]
|
/linux-6.12.1/certs/ |
D | system_keyring.c | 39 * @payload: The payload of the new key. 47 const union key_payload *payload, in restrict_link_by_builtin_trusted() argument 50 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted() 58 * @payload: The payload of the new key. 67 const union key_payload *payload, in restrict_link_by_digsig_builtin() argument 70 return restrict_link_by_digsig(dest_keyring, type, payload, in restrict_link_by_digsig_builtin() 80 * @payload: The payload of the new key. 90 const union key_payload *payload, in restrict_link_by_builtin_and_secondary_trusted() argument 98 payload == &builtin_trusted_keys->payload) in restrict_link_by_builtin_and_secondary_trusted() 102 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted() [all …]
|