Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c188 uint8_t str_len = 0; in dp_link_settings_read() local
200 str_len = strlen("Current: %d 0x%x %d "); in dp_link_settings_read()
201 snprintf(rd_buf_ptr, str_len, "Current: %d 0x%x %d ", in dp_link_settings_read()
205 rd_buf_ptr += str_len; in dp_link_settings_read()
207 str_len = strlen("Verified: %d 0x%x %d "); in dp_link_settings_read()
208 snprintf(rd_buf_ptr, str_len, "Verified: %d 0x%x %d ", in dp_link_settings_read()
212 rd_buf_ptr += str_len; in dp_link_settings_read()
214 str_len = strlen("Reported: %d 0x%x %d "); in dp_link_settings_read()
215 snprintf(rd_buf_ptr, str_len, "Reported: %d 0x%x %d ", in dp_link_settings_read()
219 rd_buf_ptr += str_len; in dp_link_settings_read()
[all …]
/drivers/s390/net/
Dqeth_l3_sys.c370 int str_len = 0; in qeth_l3_dev_ipato_add_show() local
388 if (entry_len + 1 > PAGE_SIZE - str_len - 1) in qeth_l3_dev_ipato_add_show()
391 entry_len = scnprintf(buf, PAGE_SIZE - str_len, in qeth_l3_dev_ipato_add_show()
393 str_len += entry_len; in qeth_l3_dev_ipato_add_show()
398 return str_len ? str_len : scnprintf(buf, PAGE_SIZE, "\n"); in qeth_l3_dev_ipato_add_show()
590 int str_len = 0; in qeth_l3_dev_ip_add_show() local
607 if (entry_len + 1 > PAGE_SIZE - str_len - 1) in qeth_l3_dev_ip_add_show()
610 entry_len = scnprintf(buf, PAGE_SIZE - str_len, "%s\n", in qeth_l3_dev_ip_add_show()
612 str_len += entry_len; in qeth_l3_dev_ip_add_show()
617 return str_len ? str_len : scnprintf(buf, PAGE_SIZE, "\n"); in qeth_l3_dev_ip_add_show()
/drivers/platform/x86/
Dacerhdf.c590 unsigned long str_len = 0, start_len = 0; in str_starts_with() local
592 str_len = strlen(str); in str_starts_with()
595 if (str_len >= start_len && in str_starts_with()
/drivers/hid/
Dhid-uclogic-params.c457 const size_t str_len = 16; in uclogic_params_frame_init_v1_buttonpad() local
470 str_buf = kzalloc(str_len, GFP_KERNEL); in uclogic_params_frame_init_v1_buttonpad()
476 rc = usb_string(usb_dev, 123, str_buf, str_len); in uclogic_params_frame_init_v1_buttonpad()
/drivers/gpu/drm/amd/amdgpu/
Datom.c1384 unsigned short str_len; in atom_find_str_in_rom() local
1387 str_len = strnlen(str, maxlen); in atom_find_str_in_rom()
1391 for (str_off = 0; str_off < str_len; ++str_off) { in atom_find_str_in_rom()
1396 if (str_off == str_len || str[str_off] == 0) in atom_find_str_in_rom()
/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c1011 u16 dest_port, u8 *str, size_t str_len) in qed_llh_protocol_filter_stringify() argument
1015 snprintf(str, str_len, "Ethertype 0x%04x", in qed_llh_protocol_filter_stringify()
1019 snprintf(str, str_len, "TCP src port 0x%04x", in qed_llh_protocol_filter_stringify()
1023 snprintf(str, str_len, "UDP src port 0x%04x", in qed_llh_protocol_filter_stringify()
1027 snprintf(str, str_len, "TCP dst port 0x%04x", dest_port); in qed_llh_protocol_filter_stringify()
1030 snprintf(str, str_len, "UDP dst port 0x%04x", dest_port); in qed_llh_protocol_filter_stringify()
1033 snprintf(str, str_len, "TCP src/dst ports 0x%04x/0x%04x", in qed_llh_protocol_filter_stringify()
1037 snprintf(str, str_len, "UDP src/dst ports 0x%04x/0x%04x", in qed_llh_protocol_filter_stringify()
/drivers/scsi/qla2xxx/
Dqla_os.c588 qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) in qla2x00_pci_info_str() argument
598 snprintf(str, str_len, "PCI-X (%s MHz)", in qla2x00_pci_info_str()
602 snprintf(str, str_len, "PCI (%s MHz)", pci_bus_modes[pci_bus]); in qla2x00_pci_info_str()
609 qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) in qla24xx_pci_info_str() argument
642 snprintf(str, str_len, "PCIe (%s x%d)", speed_str, lwidth); in qla24xx_pci_info_str()
649 snprintf(str, str_len, "PCI (%s MHz)", in qla24xx_pci_info_str()
652 snprintf(str, str_len, "PCI-X Mode %d (%s MHz)", in qla24xx_pci_info_str()
Dqla_mr.c689 qlafx00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) in qlafx00_pci_info_str() argument
694 strlcpy(str, "PCIe iSA", str_len); in qlafx00_pci_info_str()
/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h1930 u8 str_len; member