/linux-6.6.21/drivers/md/ |
D | dm-cache-metadata.c | 239 static int superblock_read_lock(struct dm_cache_metadata *cmd, in superblock_read_lock() argument 242 return dm_bm_read_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_read_lock() 246 static int superblock_lock_zero(struct dm_cache_metadata *cmd, in superblock_lock_zero() argument 249 return dm_bm_write_lock_zero(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_lock_zero() 253 static int superblock_lock(struct dm_cache_metadata *cmd, in superblock_lock() argument 256 return dm_bm_write_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_lock() 291 static void __setup_mapping_info(struct dm_cache_metadata *cmd) in __setup_mapping_info() argument 300 dm_array_info_init(&cmd->info, cmd->tm, &vt); in __setup_mapping_info() 302 if (cmd->policy_hint_size) { in __setup_mapping_info() 304 dm_array_info_init(&cmd->hint_info, cmd->tm, &vt); in __setup_mapping_info() [all …]
|
D | dm-clone-metadata.c | 273 static inline int superblock_read_lock(struct dm_clone_metadata *cmd, in superblock_read_lock() argument 276 return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_read_lock() 279 static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, in superblock_write_lock_zero() argument 282 return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_write_lock_zero() 285 static int __copy_sm_root(struct dm_clone_metadata *cmd) in __copy_sm_root() argument 290 r = dm_sm_root_size(cmd->sm, &root_size); in __copy_sm_root() 294 return dm_sm_copy_root(cmd->sm, &cmd->metadata_space_map_root, root_size); in __copy_sm_root() 298 static void __prepare_superblock(struct dm_clone_metadata *cmd, in __prepare_superblock() argument 310 memcpy(&sb->metadata_space_map_root, &cmd->metadata_space_map_root, in __prepare_superblock() 311 sizeof(cmd->metadata_space_map_root)); in __prepare_superblock() [all …]
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | cam.h | 15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() argument 17 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_IDX() 20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() argument 22 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_OFFSET() 25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() argument 27 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_LEN() 30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() argument 32 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(0)); in FWCMD_SET_ADDR_VALID() 35 static inline void FWCMD_SET_ADDR_NET_TYPE(void *cmd, u32 value) in FWCMD_SET_ADDR_NET_TYPE() argument 37 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(2, 1)); in FWCMD_SET_ADDR_NET_TYPE() [all …]
|
/linux-6.6.21/drivers/target/ |
D | target_core_transport.c | 54 static void transport_complete_task_attr(struct se_cmd *cmd); 55 static void translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason); 56 static void transport_handle_queue_full(struct se_cmd *cmd, 696 static void target_remove_from_state_list(struct se_cmd *cmd) in target_remove_from_state_list() argument 698 struct se_device *dev = cmd->se_dev; in target_remove_from_state_list() 704 spin_lock_irqsave(&dev->queues[cmd->cpuid].lock, flags); in target_remove_from_state_list() 705 if (cmd->state_active) { in target_remove_from_state_list() 706 list_del(&cmd->state_list); in target_remove_from_state_list() 707 cmd->state_active = false; in target_remove_from_state_list() 709 spin_unlock_irqrestore(&dev->queues[cmd->cpuid].lock, flags); in target_remove_from_state_list() [all …]
|
D | target_core_sbc.c | 29 static sense_reason_t sbc_execute_unmap(struct se_cmd *cmd); 32 sbc_emulate_readcapacity(struct se_cmd *cmd) in sbc_emulate_readcapacity() argument 34 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity() 35 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_readcapacity() 64 rbuf = transport_kmap_data_sg(cmd); in sbc_emulate_readcapacity() 66 memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); in sbc_emulate_readcapacity() 67 transport_kunmap_data_sg(cmd); in sbc_emulate_readcapacity() 70 target_complete_cmd_with_length(cmd, SAM_STAT_GOOD, 8); in sbc_emulate_readcapacity() 75 sbc_emulate_readcapacity_16(struct se_cmd *cmd) in sbc_emulate_readcapacity_16() argument 77 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity_16() [all …]
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_erl1.c | 90 struct iscsit_cmd *cmd, in iscsit_send_recovery_r2t_for_snack() argument 98 spin_lock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 100 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 104 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack() 106 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_send_recovery_r2t_for_snack() 112 struct iscsit_cmd *cmd, in iscsit_handle_r2t_snack() argument 124 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_handle_r2t_snack() 125 (begrun <= cmd->acked_data_sn)) { in iscsit_handle_r2t_snack() 129 " protocol error.\n", cmd->init_task_tag, begrun, in iscsit_handle_r2t_snack() 130 (begrun + runlength), cmd->acked_data_sn); in iscsit_handle_r2t_snack() [all …]
|
D | iscsi_target_tmr.c | 31 struct iscsit_cmd *cmd, in iscsit_tmr_abort_task() argument 35 struct iscsit_conn *conn = cmd->conn; in iscsit_tmr_abort_task() 36 struct iscsi_tmr_req *tmr_req = cmd->tmr_req; in iscsit_tmr_abort_task() 37 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_abort_task() 106 struct iscsit_cmd *cmd, in iscsit_tmr_task_reassign() argument 110 struct iscsit_conn *conn = cmd->conn; in iscsit_tmr_task_reassign() 112 struct iscsi_tmr_req *tmr_req = cmd->tmr_req; in iscsit_tmr_task_reassign() 113 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_task_reassign() 178 struct iscsit_cmd *cmd, in iscsit_task_reassign_remove_cmd() argument 185 ret = iscsit_remove_cmd_from_connection_recovery(cmd, sess); in iscsit_task_reassign_remove_cmd() [all …]
|
D | iscsi_target.c | 476 int iscsit_queue_rsp(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_queue_rsp() argument 478 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp() 482 void iscsit_aborted_task(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_aborted_task() argument 485 if (!list_empty(&cmd->i_conn_node)) in iscsit_aborted_task() 486 list_del_init(&cmd->i_conn_node); in iscsit_aborted_task() 489 __iscsit_free_cmd(cmd, true); in iscsit_aborted_task() 498 iscsit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_nondatain_pdu() argument 501 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu() 506 iov = &cmd->iov_misc[0]; in iscsit_xmit_nondatain_pdu() 507 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu() [all …]
|
D | iscsi_target_erl2.c | 29 struct iscsit_cmd *cmd, in iscsit_create_conn_recovery_datain_values() argument 33 struct iscsit_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values() 35 cmd->next_burst_len = 0; in iscsit_create_conn_recovery_datain_values() 36 cmd->read_data_done = 0; in iscsit_create_conn_recovery_datain_values() 39 if ((cmd->next_burst_len + in iscsit_create_conn_recovery_datain_values() 42 cmd->read_data_done += in iscsit_create_conn_recovery_datain_values() 44 cmd->next_burst_len += in iscsit_create_conn_recovery_datain_values() 47 cmd->read_data_done += in iscsit_create_conn_recovery_datain_values() 49 cmd->next_burst_len); in iscsit_create_conn_recovery_datain_values() 50 cmd->next_burst_len = 0; in iscsit_create_conn_recovery_datain_values() [all …]
|
D | iscsi_target_erl0.c | 32 struct iscsit_cmd *cmd) in iscsit_set_dataout_sequence_values() argument 34 struct iscsit_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values() 39 if (cmd->unsolicited_data) { in iscsit_set_dataout_sequence_values() 40 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values() 41 cmd->seq_end_offset = min(cmd->se_cmd.data_length, in iscsit_set_dataout_sequence_values() 49 if (!cmd->seq_start_offset && !cmd->seq_end_offset) { in iscsit_set_dataout_sequence_values() 50 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values() 51 cmd->seq_end_offset = (cmd->se_cmd.data_length > in iscsit_set_dataout_sequence_values() 53 (cmd->write_data_done + in iscsit_set_dataout_sequence_values() 54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values() [all …]
|
/linux-6.6.21/tools/lib/subcmd/ |
D | run-command.c | 29 int start_command(struct child_process *cmd) in start_command() argument 40 need_in = !cmd->no_stdin && cmd->in < 0; in start_command() 43 if (cmd->out > 0) in start_command() 44 close(cmd->out); in start_command() 47 cmd->in = fdin[1]; in start_command() 50 need_out = !cmd->no_stdout in start_command() 51 && !cmd->stdout_to_stderr in start_command() 52 && cmd->out < 0; in start_command() 57 else if (cmd->in) in start_command() 58 close(cmd->in); in start_command() [all …]
|
/linux-6.6.21/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 18 struct wl18xx_cmd_channel_switch *cmd; in wl18xx_cmd_channel_switch() local 25 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_channel_switch() 26 if (!cmd) { in wl18xx_cmd_channel_switch() 31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch() 32 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch() 33 cmd->switch_time = ch_switch->count; in wl18xx_cmd_channel_switch() 34 cmd->stop_tx = ch_switch->block_tx; in wl18xx_cmd_channel_switch() 38 cmd->band = WLCORE_BAND_2_4GHZ; in wl18xx_cmd_channel_switch() 41 cmd->band = WLCORE_BAND_5GHZ; in wl18xx_cmd_channel_switch() 58 cmd->local_supported_rates = cpu_to_le32(supported_rates); in wl18xx_cmd_channel_switch() [all …]
|
D | scan.c | 12 static void wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd, in wl18xx_adjust_channels() argument 15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels() 16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels() 17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels() 18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels() 20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels() 21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels() 22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels() 23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels() 30 struct wl18xx_cmd_scan_params *cmd; in wl18xx_scan_send() local [all …]
|
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 63 static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) in wilc_sdio_cmd52() argument 71 func->num = cmd->function; in wilc_sdio_cmd52() 72 if (cmd->read_write) { /* write */ in wilc_sdio_cmd52() 73 if (cmd->raw) { in wilc_sdio_cmd52() 74 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 75 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 76 cmd->data = data; in wilc_sdio_cmd52() 78 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 81 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 82 cmd->data = data; in wilc_sdio_cmd52() [all …]
|
/linux-6.6.21/net/ncsi/ |
D | ncsi-cmd.c | 66 struct ncsi_cmd_pkt *cmd; in ncsi_cmd_handler_default() local 68 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_default() 69 ncsi_cmd_build_header(&cmd->cmd.common, nca); in ncsi_cmd_handler_default() 77 struct ncsi_cmd_sp_pkt *cmd; in ncsi_cmd_handler_sp() local 79 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_sp() 80 cmd->hw_arbitration = nca->bytes[0]; in ncsi_cmd_handler_sp() 81 ncsi_cmd_build_header(&cmd->cmd.common, nca); in ncsi_cmd_handler_sp() 89 struct ncsi_cmd_dc_pkt *cmd; in ncsi_cmd_handler_dc() local 91 cmd = skb_put_zero(skb, sizeof(*cmd)); in ncsi_cmd_handler_dc() 92 cmd->ald = nca->bytes[0]; in ncsi_cmd_handler_dc() [all …]
|
/linux-6.6.21/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 68 static u8 is_command_allowed_in_ps(u16 cmd) in is_command_allowed_in_ps() argument 70 switch (cmd) { in is_command_allowed_in_ps() 91 struct cmd_ds_get_hw_spec cmd; in lbs_update_hw_spec() local 95 memset(&cmd, 0, sizeof(cmd)); in lbs_update_hw_spec() 96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_update_hw_spec() 97 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN); in lbs_update_hw_spec() 98 ret = lbs_cmd_with_response(priv, CMD_GET_HW_SPEC, &cmd); in lbs_update_hw_spec() 102 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo); in lbs_update_hw_spec() 106 priv->fwrelease = le32_to_cpu(cmd.fwrelease); in lbs_update_hw_spec() 115 cmd.permanentaddr, in lbs_update_hw_spec() [all …]
|
/linux-6.6.21/drivers/macintosh/ |
D | smu.c | 69 u8 cmd; member 114 struct smu_cmd *cmd; in smu_start_cmd() local 120 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd() 121 smu->cmd_cur = cmd; in smu_start_cmd() 122 list_del(&cmd->link); in smu_start_cmd() 124 DPRINTK("SMU: starting cmd %x, %d bytes data\n", cmd->cmd, in smu_start_cmd() 125 cmd->data_len); in smu_start_cmd() 126 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd() 129 smu->cmd_buf->cmd = cmd->cmd; in smu_start_cmd() 130 smu->cmd_buf->length = cmd->data_len; in smu_start_cmd() [all …]
|
/linux-6.6.21/drivers/net/wireless/ti/wlcore/ |
D | cmd.c | 43 struct wl1271_cmd_header *cmd; in __wlcore_cmd_send() local 54 if (WARN_ON_ONCE(len < sizeof(*cmd))) in __wlcore_cmd_send() 57 cmd = buf; in __wlcore_cmd_send() 58 cmd->id = cpu_to_le16(id); in __wlcore_cmd_send() 59 cmd->status = 0; in __wlcore_cmd_send() 103 ret = wlcore_read(wl, wl->cmd_box_addr, cmd, res_len, false); in __wlcore_cmd_send() 107 status = le16_to_cpu(cmd->status); in __wlcore_cmd_send() 227 struct wl12xx_cmd_role_enable *cmd; in wl12xx_cmd_role_enable() local 235 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_enable() 236 if (!cmd) { in wl12xx_cmd_role_enable() [all …]
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | ioas.c | 39 struct iommu_ioas_alloc *cmd = ucmd->cmd; in iommufd_ioas_alloc_ioctl() local 43 if (cmd->flags) in iommufd_ioas_alloc_ioctl() 50 cmd->out_ioas_id = ioas->obj.id; in iommufd_ioas_alloc_ioctl() 51 rc = iommufd_ucmd_respond(ucmd, sizeof(*cmd)); in iommufd_ioas_alloc_ioctl() 65 struct iommu_ioas_iova_ranges *cmd = ucmd->cmd; in iommufd_ioas_iova_ranges() local 71 if (cmd->__reserved) in iommufd_ioas_iova_ranges() 74 ioas = iommufd_get_ioas(ucmd->ictx, cmd->ioas_id); in iommufd_ioas_iova_ranges() 79 max_iovas = cmd->num_iovas; in iommufd_ioas_iova_ranges() 80 ranges = u64_to_user_ptr(cmd->allowed_iovas); in iommufd_ioas_iova_ranges() 81 cmd->num_iovas = 0; in iommufd_ioas_iova_ranges() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_abm_lcd.c | 62 union dmub_rb_cmd cmd; in dmub_abm_enable_fractional_pwm() local 71 memset(&cmd, 0, sizeof(cmd)); in dmub_abm_enable_fractional_pwm() 72 cmd.abm_set_pwm_frac.header.type = DMUB_CMD__ABM; in dmub_abm_enable_fractional_pwm() 73 cmd.abm_set_pwm_frac.header.sub_type = DMUB_CMD__ABM_SET_PWM_FRAC; in dmub_abm_enable_fractional_pwm() 74 cmd.abm_set_pwm_frac.abm_set_pwm_frac_data.fractional_pwm = fractional_pwm; in dmub_abm_enable_fractional_pwm() 75 cmd.abm_set_pwm_frac.abm_set_pwm_frac_data.version = DMUB_CMD_ABM_CONTROL_VERSION_1; in dmub_abm_enable_fractional_pwm() 76 cmd.abm_set_pwm_frac.abm_set_pwm_frac_data.panel_mask = panel_mask; in dmub_abm_enable_fractional_pwm() 77 cmd.abm_set_pwm_frac.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pwm_frac_data); in dmub_abm_enable_fractional_pwm() 79 dm_execute_dmub_cmd(dc, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dmub_abm_enable_fractional_pwm() 147 union dmub_rb_cmd cmd; in dmub_abm_set_level() local [all …]
|
/linux-6.6.21/include/linux/ |
D | fcntl.h | 29 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument 30 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument 31 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument 32 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument 33 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument 34 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument 36 #define IS_GETLK32(cmd) (0) argument 37 #define IS_SETLK32(cmd) (0) argument 38 #define IS_SETLKW32(cmd) (0) argument 39 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument [all …]
|
/linux-6.6.21/drivers/mmc/core/ |
D | sd_ops.c | 25 struct mmc_command cmd = {}; in mmc_app_cmd() local 30 cmd.opcode = MMC_APP_CMD; in mmc_app_cmd() 33 cmd.arg = card->rca << 16; in mmc_app_cmd() 34 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC; in mmc_app_cmd() 36 cmd.arg = 0; in mmc_app_cmd() 37 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_BCR; in mmc_app_cmd() 40 err = mmc_wait_for_cmd(host, &cmd, 0); in mmc_app_cmd() 45 if (!mmc_host_is_spi(host) && !(cmd.resp[0] & R1_APP_CMD)) in mmc_app_cmd() 53 struct mmc_command *cmd) in mmc_wait_for_app_cmd() argument 67 if (cmd->resp[0] & R1_SPI_ILLEGAL_COMMAND) in mmc_wait_for_app_cmd() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 96 static u32 pmf_next32(struct pmf_cmd *cmd) in pmf_next32() argument 99 if ((cmd->cmdend - cmd->cmdptr) < 4) { in pmf_next32() 100 cmd->error = 1; in pmf_next32() 103 value = *((u32 *)cmd->cmdptr); in pmf_next32() 104 cmd->cmdptr += 4; in pmf_next32() 108 static const void* pmf_next_blob(struct pmf_cmd *cmd, int count) in pmf_next_blob() argument 111 if ((cmd->cmdend - cmd->cmdptr) < count) { in pmf_next_blob() 112 cmd->error = 1; in pmf_next_blob() 115 value = cmd->cmdptr; in pmf_next_blob() 116 cmd->cmdptr += count; in pmf_next_blob() [all …]
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | si2168.c | 14 static void cmd_init(struct si2168_cmd *cmd, const u8 *buf, int wlen, int rlen) in cmd_init() argument 16 memcpy(cmd->args, buf, wlen); in cmd_init() 17 cmd->wlen = wlen; in cmd_init() 18 cmd->rlen = rlen; in cmd_init() 22 static int si2168_cmd_execute(struct i2c_client *client, struct si2168_cmd *cmd) in si2168_cmd_execute() argument 30 if (cmd->wlen) { in si2168_cmd_execute() 32 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2168_cmd_execute() 35 } else if (ret != cmd->wlen) { in si2168_cmd_execute() 41 if (cmd->rlen) { in si2168_cmd_execute() 46 ret = i2c_master_recv(client, cmd->args, cmd->rlen); in si2168_cmd_execute() [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | power.c | 23 struct iwl_beacon_filter_cmd *cmd, in iwl_mvm_beacon_filter_send_cmd() argument 29 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd() 31 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd() 33 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd() 35 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd() 37 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd() 39 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd() 41 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd() 43 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd() 45 le32_to_cpu(cmd->bf_temp_threshold)); in iwl_mvm_beacon_filter_send_cmd() [all …]
|