Searched refs:max_cmd_size (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | bmi.c | 128 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()
|
H A D | core.h | 443 u32 max_cmd_size; member
|
/linux/drivers/nvdimm/ |
H A D | dimm_devs.c | 90 size_t max_cmd_size, buf_offset; in nvdimm_get_config_data() local 98 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data() 99 cmd = kvzalloc(max_cmd_size + sizeof(*cmd), GFP_KERNEL); in nvdimm_get_config_data() 108 cmd->in_length = min(max_cmd_size, len); in nvdimm_get_config_data() 132 size_t max_cmd_size, buf_offset; in nvdimm_set_config_data() local 144 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data() 145 cmd = kvzalloc(max_cmd_size + sizeof(*cmd) + sizeof(u32), GFP_KERNEL); in nvdimm_set_config_data() 154 cmd->in_length = min(max_cmd_size, len); in nvdimm_set_config_data()
|