/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 188 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/ |
D | qeth_l3_sys.c | 370 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/ |
D | acerhdf.c | 590 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/ |
D | hid-uclogic-params.c | 457 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/ |
D | atom.c | 1384 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/ |
D | qed_dev.c | 1011 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/ |
D | qla_os.c | 588 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()
|
D | qla_mr.c | 689 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/ |
D | i40e_adminq_cmd.h | 1930 u8 str_len; member
|