/drivers/acpi/acpica/ |
D | utstring.c | 71 char *string; in acpi_ut_strlwr() local 81 for (string = src_string; *string; string++) { in acpi_ut_strlwr() 82 *string = (char)ACPI_TOLOWER(*string); in acpi_ut_strlwr() 137 char *string; in acpi_ut_strupr() local 147 for (string = src_string; *string; string++) { in acpi_ut_strupr() 148 *string = (char)ACPI_TOUPPER(*string); in acpi_ut_strupr() 172 acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) in acpi_ut_strtoul64() argument 184 ACPI_FUNCTION_TRACE_STR(ut_stroul64, string); in acpi_ut_strtoul64() 196 if (!string) { in acpi_ut_strtoul64() 202 while ((*string) && (ACPI_IS_SPACE(*string) || *string == '\t')) { in acpi_ut_strtoul64() [all …]
|
D | utids.c | 91 length = obj_desc->string.length + 1; in acpi_ut_execute_HID() 106 hid->string = in acpi_ut_execute_HID() 112 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); in acpi_ut_execute_HID() 114 ACPI_STRCPY(hid->string, obj_desc->string.pointer); in acpi_ut_execute_HID() 164 length = obj_desc->string.length + 1; in acpi_ut_execute_SUB() 178 sub->string = in acpi_ut_execute_SUB() 183 ACPI_STRCPY(sub->string, obj_desc->string.pointer); in acpi_ut_execute_SUB() 236 length = obj_desc->string.length + 1; in acpi_ut_execute_UID() 251 uid->string = in acpi_ut_execute_UID() 257 acpi_ex_integer_to_string(uid->string, obj_desc->integer.value); in acpi_ut_execute_UID() [all …]
|
D | exstorob.c | 177 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string() 178 length = source_desc->string.length; in acpi_ex_store_string_to_string() 184 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string() 190 ACPI_MEMSET(target_desc->string.pointer, 0, in acpi_ex_store_string_to_string() 191 (acpi_size) target_desc->string.length + 1); in acpi_ex_store_string_to_string() 192 ACPI_MEMCPY(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string() 198 if (target_desc->string.pointer && in acpi_ex_store_string_to_string() 203 ACPI_FREE(target_desc->string.pointer); in acpi_ex_store_string_to_string() 206 target_desc->string.pointer = ACPI_ALLOCATE_ZEROED((acpi_size) in acpi_ex_store_string_to_string() 208 if (!target_desc->string.pointer) { in acpi_ex_store_string_to_string() [all …]
|
D | utcopy.c | 145 external_object->string.pointer = (char *)data_space; in acpi_ut_copy_isimple_to_esimple() 146 external_object->string.length = internal_object->string.length; in acpi_ut_copy_isimple_to_esimple() 149 string. in acpi_ut_copy_isimple_to_esimple() 153 (void *)internal_object->string.pointer, in acpi_ut_copy_isimple_to_esimple() 154 (acpi_size) internal_object->string.length + 1); in acpi_ut_copy_isimple_to_esimple() 162 ACPI_ROUND_UP_TO_NATIVE_WORD(internal_object->string. in acpi_ut_copy_isimple_to_esimple() 498 internal_object->string.pointer = in acpi_ut_copy_esimple_to_isimple() 500 external_object->string.length + 1); in acpi_ut_copy_esimple_to_isimple() 502 if (!internal_object->string.pointer) { in acpi_ut_copy_esimple_to_isimple() 506 ACPI_MEMCPY(internal_object->string.pointer, in acpi_ut_copy_esimple_to_isimple() [all …]
|
D | exconfig.c | 167 if ((operand[0]->string.length > ACPI_NAME_SIZE) || in acpi_ex_load_table_op() 168 (operand[1]->string.length > ACPI_OEM_ID_SIZE) || in acpi_ex_load_table_op() 169 (operand[2]->string.length > ACPI_OEM_TABLE_ID_SIZE)) { in acpi_ex_load_table_op() 175 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ex_load_table_op() 176 operand[1]->string.pointer, in acpi_ex_load_table_op() 177 operand[2]->string.pointer, &table_index); in acpi_ex_load_table_op() 201 if (operand[3]->string.length > 0) { in acpi_ex_load_table_op() 207 acpi_ns_get_node(start_node, operand[3]->string.pointer, in acpi_ex_load_table_op() 216 if (operand[4]->string.length > 0) { in acpi_ex_load_table_op() 217 if ((operand[4]->string.pointer[0] != AML_ROOT_PREFIX) && in acpi_ex_load_table_op() [all …]
|
D | nsconvert.c | 81 status = acpi_ut_strtoul64(original_object->string.pointer, in acpi_ns_convert_to_integer() 189 ACPI_MEMCPY(new_object->string.pointer, in acpi_ns_convert_to_string() 246 acpi_ut_create_buffer_object(original_object->string. in acpi_ns_convert_to_buffer() 253 original_object->string.pointer, in acpi_ns_convert_to_buffer() 254 original_object->string.length); in acpi_ns_convert_to_buffer() 346 ascii_string = original_object->string.pointer; in acpi_ns_convert_to_unicode() 347 unicode_length = (original_object->string.length * 2) + 2; in acpi_ns_convert_to_unicode() 360 for (i = 0; i < original_object->string.length; i++) { in acpi_ns_convert_to_unicode()
|
D | exconvrt.c | 54 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length); 247 obj_desc->string. in acpi_ex_convert_to_buffer() 256 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer() 257 obj_desc->string.length); in acpi_ex_convert_to_buffer() 287 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width) in acpi_ex_convert_to_ascii() argument 340 string[k] = (u8) (ACPI_ASCII_ZERO + remainder); in acpi_ex_convert_to_ascii() 355 string[k] = in acpi_ex_convert_to_ascii() 373 string[0] = ACPI_ASCII_ZERO; in acpi_ex_convert_to_ascii() 377 string[k] = 0; in acpi_ex_convert_to_ascii() 457 return_desc->string.length = string_length; in acpi_ex_convert_to_string()
|
D | exoparg3.c | 179 if (index >= operand[0]->string.length) { in acpi_ex_opcode_3A_1T_1R() 185 else if ((index + length) > operand[0]->string.length) { in acpi_ex_opcode_3A_1T_1R() 186 length = (acpi_size) operand[0]->string.length - in acpi_ex_opcode_3A_1T_1R() 230 ACPI_MEMCPY(buffer, operand[0]->string.pointer + index, in acpi_ex_opcode_3A_1T_1R() 236 return_desc->string.pointer = buffer; in acpi_ex_opcode_3A_1T_1R() 237 return_desc->string.length = (u32) length; in acpi_ex_opcode_3A_1T_1R()
|
D | utobject.c | 289 char *string; in acpi_ut_create_string_object() local 304 string = ACPI_ALLOCATE_ZEROED(string_size + 1); in acpi_ut_create_string_object() 305 if (!string) { in acpi_ut_create_string_object() 314 string_desc->string.pointer = string; in acpi_ut_create_string_object() 315 string_desc->string.length = (u32) string_size; in acpi_ut_create_string_object() 492 length += (acpi_size) internal_object->string.length + 1; in acpi_ut_get_simple_object_size()
|
D | dsfield.c | 207 arg->common.value.string, ACPI_TYPE_ANY, in acpi_ds_create_buffer_field() 211 ACPI_ERROR_NAMESPACE(arg->common.value.string, status); in acpi_ds_create_buffer_field() 685 acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, in acpi_ds_create_bank_field() 690 ACPI_ERROR_NAMESPACE(arg->common.value.string, status); in acpi_ds_create_bank_field() 754 acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, in acpi_ds_create_index_field() 759 ACPI_ERROR_NAMESPACE(arg->common.value.string, status); in acpi_ds_create_index_field() 767 acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, in acpi_ds_create_index_field() 772 ACPI_ERROR_NAMESPACE(arg->common.value.string, status); in acpi_ds_create_index_field()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 543 bnad_get_strings(struct net_device *netdev, u32 stringset, u8 *string) in bnad_get_strings() argument 556 memcpy(string, bnad_net_stats_strings[i], in bnad_get_strings() 558 string += ETH_GSTRING_LEN; in bnad_get_strings() 563 sprintf(string, "txf%d_ucast_octets", i); in bnad_get_strings() 564 string += ETH_GSTRING_LEN; in bnad_get_strings() 565 sprintf(string, "txf%d_ucast", i); in bnad_get_strings() 566 string += ETH_GSTRING_LEN; in bnad_get_strings() 567 sprintf(string, "txf%d_ucast_vlan", i); in bnad_get_strings() 568 string += ETH_GSTRING_LEN; in bnad_get_strings() 569 sprintf(string, "txf%d_mcast_octets", i); in bnad_get_strings() [all …]
|
/drivers/s390/char/ |
D | defkeymap.map | 164 string F1 = "\033[[A" 165 string F2 = "\033[[B" 166 string F3 = "\033[[C" 167 string F4 = "\033[[D" 168 string F5 = "\033[[E" 169 string F6 = "\033[17~" 170 string F7 = "\033[18~" 171 string F8 = "\033[19~" 172 string F9 = "\033[20~" 173 string F10 = "\033[21~" [all …]
|
D | raw3270.h | 210 struct string struct 216 char string[0]; argument 219 static inline struct string * 222 struct string *cs, *tmp; in alloc_string() 229 if (cs->size > size + sizeof(struct string)) { in alloc_string() 231 tmp = (struct string *) (endaddr - size) - 1; in alloc_string() 233 cs->size -= size + sizeof(struct string); in alloc_string() 246 free_string(struct list_head *free_list, struct string *cs) in free_string() 248 struct string *tmp; in free_string() 254 if (list_entry(p, struct string, list) > cs) in free_string() [all …]
|
D | con3270.c | 47 struct string *cline; /* current output line. */ 48 struct string *status; /* last line of display. */ 53 struct string *input; /* input string for read request. */ 91 memcpy(cp->status->string + 24, str, 7); in con3270_update_status() 92 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_update_status() 106 memcpy(cp->status->string, blueprint, sizeof(blueprint)); in con3270_create_status() 108 raw3270_buffer_address(cp->view.dev, cp->status->string + 1, in con3270_create_status() 110 raw3270_buffer_address(cp->view.dev, cp->status->string + 21, in con3270_create_status() 113 codepage_convert(cp->view.ascebc, cp->status->string + 8, 12); in con3270_create_status() 114 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_create_status() [all …]
|
D | tty3270.c | 75 struct string *status; /* Lower right of display. */ 88 struct string *prompt; /* Output string for input area. */ 89 struct string *input; /* Input string for read request. */ 140 struct string *line; in tty3270_update_prompt() 145 line->string[5] = TF_INMDT; in tty3270_update_prompt() 147 line->string[5] = tp->inattr; in tty3270_update_prompt() 150 memcpy(line->string + 6, input, count); in tty3270_update_prompt() 151 line->string[6 + count] = TO_IC; in tty3270_update_prompt() 154 line->string[7 + count] = TO_RA; in tty3270_update_prompt() 155 line->string[10 + count] = 0; in tty3270_update_prompt() [all …]
|
/drivers/tty/vt/ |
D | defkeymap.map | 262 string F1 = "\033[[A" 263 string F2 = "\033[[B" 264 string F3 = "\033[[C" 265 string F4 = "\033[[D" 266 string F5 = "\033[[E" 267 string F6 = "\033[17~" 268 string F7 = "\033[18~" 269 string F8 = "\033[19~" 270 string F9 = "\033[20~" 271 string F10 = "\033[21~" [all …]
|
/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 265 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_run_oshp() local 267 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp() 274 __func__, (char *)string.pointer, status); in acpi_run_oshp() 277 __func__, (char *)string.pointer); in acpi_run_oshp() 280 (char *)string.pointer); in acpi_run_oshp() 282 kfree(string.pointer); in acpi_run_oshp() 339 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_get_hp_hw_control_from_firmware() local 358 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware() 360 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware() 366 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware() [all …]
|
/drivers/staging/keucr/ |
D | scsiglue.c | 242 const char *string; in show_info() local 249 string = us->pusb_dev->manufacturer; in show_info() 251 string = us->unusual_dev->vendorName; in show_info() 253 string = "Unknown"; in show_info() 254 SPRINTF(" Vendor: %s\n", string); in show_info() 256 string = us->pusb_dev->product; in show_info() 258 string = us->unusual_dev->productName; in show_info() 260 string = "Unknown"; in show_info() 261 SPRINTF(" Product: %s\n", string); in show_info() 263 string = us->pusb_dev->serial; in show_info() [all …]
|
/drivers/usb/storage/ |
D | scsiglue.c | 453 const char *string; in show_info() local 460 string = us->pusb_dev->manufacturer; in show_info() 462 string = us->unusual_dev->vendorName; in show_info() 464 string = "Unknown"; in show_info() 465 SPRINTF(" Vendor: %s\n", string); in show_info() 467 string = us->pusb_dev->product; in show_info() 469 string = us->unusual_dev->productName; in show_info() 471 string = "Unknown"; in show_info() 472 SPRINTF(" Product: %s\n", string); in show_info() 474 string = us->pusb_dev->serial; in show_info() [all …]
|
/drivers/media/pci/zoran/ |
D | zoran_procfs.c | 141 char *string, *sp; in zoran_write() local 147 string = sp = vmalloc(count + 1); in zoran_write() 148 if (!string) { in zoran_write() 155 if (copy_from_user(string, buffer, count)) { in zoran_write() 156 vfree (string); in zoran_write() 159 string[count] = 0; in zoran_write() 177 vfree(string); in zoran_write()
|
/drivers/scsi/ |
D | scsi_ioctl.c | 44 const char *string; in ioctl_probe() local 51 string = host->hostt->info(host); in ioctl_probe() 53 string = host->hostt->name; in ioctl_probe() 54 if (string) { in ioctl_probe() 55 slen = strlen(string); in ioctl_probe() 58 if (copy_to_user(buffer, string, len)) in ioctl_probe()
|
/drivers/media/pci/mantis/ |
D | mantis_uart.c | 45 char string[7]; member 55 char string[5]; member 152 rates[params.baud_rate].string, in mantis_uart_init() 153 parity[params.parity].string); in mantis_uart_init()
|
/drivers/mmc/core/ |
D | sdio_cis.c | 31 char **buffer, *string; in cistpl_vers_1() local 54 string = (char*)(buffer + nr_strings); in cistpl_vers_1() 57 buffer[i] = string; in cistpl_vers_1() 58 strcpy(string, buf); in cistpl_vers_1() 59 string += strlen(string) + 1; in cistpl_vers_1()
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_macro_gram.y | 68 void mmerror(const char *string); 162 mmerror(const char *string) in mmerror() argument 164 stop(string, EX_DATAERR); in mmerror()
|
/drivers/staging/bcm/ |
D | Debug.h | 201 #define BCM_DEBUG_PRINT(Adapter, Type, SubType, dbg_level, string, args...) \ argument 204 pr_info("%s:" string, __func__, ##args); \ 210 pr_debug("%s:\n", string); \ 212 pr_debug("%s:\n" string, __func__, ##args); \
|