Home
last modified time | relevance | path

Searched refs:max_cmd_size (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/wireless/ath/ath6kl/
Dbmi.c128 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_read()
185 if ((ar->bmi.max_data_size + header) > ar->bmi.max_cmd_size) { in ath6kl_bmi_write()
250 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_execute()
297 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_set_app_start()
333 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_reg_read()
376 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_reg_write()
418 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_lz_data()
467 if (size > ar->bmi.max_cmd_size) { in ath6kl_bmi_lz_stream_start()
535 ar->bmi.max_cmd_size = ar->bmi.max_data_size + (sizeof(u32) * 3); in ath6kl_bmi_init()
537 ar->bmi.cmd_buf = kzalloc(ar->bmi.max_cmd_size, GFP_KERNEL); in ath6kl_bmi_init()
Dcore.h443 u32 max_cmd_size; member
/Linux-v6.6/drivers/nvdimm/
Ddimm_devs.c88 size_t max_cmd_size, buf_offset; in nvdimm_get_config_data() local
96 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data()
97 cmd = kvzalloc(max_cmd_size + sizeof(*cmd), GFP_KERNEL); in nvdimm_get_config_data()
106 cmd->in_length = min(max_cmd_size, len); in nvdimm_get_config_data()
130 size_t max_cmd_size, buf_offset; in nvdimm_set_config_data() local
142 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
143 cmd = kvzalloc(max_cmd_size + sizeof(*cmd) + sizeof(u32), GFP_KERNEL); in nvdimm_set_config_data()
152 cmd->in_length = min(max_cmd_size, len); in nvdimm_set_config_data()
/Linux-v6.6/drivers/scsi/aacraid/
Dcommsup.c52 dev->max_cmd_size = AAC_MAX_NATIVE_SIZE; in fib_map_alloc()
54 dev->max_cmd_size = dev->max_fib_size; in fib_map_alloc()
56 dev->max_cmd_size = AAC_MAX_NATIVE_SIZE; in fib_map_alloc()
58 dev->max_cmd_size = dev->max_fib_size; in fib_map_alloc()
63 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc()
66 (dev->max_cmd_size + sizeof(struct aac_fib_xporthdr)) in fib_map_alloc()
88 if(!dev->hw_fib_va || !dev->max_cmd_size) in aac_fib_map_free()
151 (dev->max_cmd_size + sizeof(struct aac_fib_xporthdr)) * in aac_fib_setup()
193 dev->max_cmd_size + sizeof(struct aac_fib_xporthdr)); in aac_fib_setup()
195 dev->max_cmd_size + sizeof(struct aac_fib_xporthdr); in aac_fib_setup()
Daacraid.h1543 unsigned int max_cmd_size; /* max_fib_size or MAX_NATIVE */ member