Home
last modified time | relevance | path

Searched refs:id_buf (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/firmware/meson/ !
Dmeson_sm.c245 uint8_t *id_buf; in serial_show() local
250 id_buf = kmalloc(SM_CHIP_ID_LENGTH, GFP_KERNEL); in serial_show()
251 if (!id_buf) in serial_show()
254 ret = meson_sm_call_read(fw, id_buf, SM_CHIP_ID_LENGTH, SM_GET_CHIP_ID, in serial_show()
257 kfree(id_buf); in serial_show()
261 ret = sprintf(buf, "%12phN\n", &id_buf[SM_CHIP_ID_OFFSET]); in serial_show()
263 kfree(id_buf); in serial_show()
/linux-6.6.21/drivers/staging/rts5208/ !
Dxd.c67 static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) in xd_read_id() argument
88 if (id_buf && buf_len) { in xd_read_id()
91 memcpy(id_buf, ptr, buf_len); in xd_read_id()
436 u8 *ptr, id_buf[4], redunt[11]; in reset_xd() local
563 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd()
568 id_buf[0], id_buf[1], id_buf[2], id_buf[3]); in reset_xd()
570 xd_card->device_code = id_buf[1]; in reset_xd()
644 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd()
648 if (id_buf[1] != xd_card->device_code) in reset_xd()
665 retval = xd_read_id(chip, READ_XD_ID, id_buf, 4); in reset_xd()
[all …]
/linux-6.6.21/tools/perf/util/ !
Dtrace-event-info.c408 char id_buf[24]; in tracepoint_id_to_path() local
433 if (read(fd, id_buf, sizeof(id_buf)) < 0) { in tracepoint_id_to_path()
438 id = atoll(id_buf); in tracepoint_id_to_path()
/linux-6.6.21/drivers/input/touchscreen/ !
Datmel_mxt_ts.c1859 void *id_buf, *buf; in mxt_read_info_block() local
1870 id_buf = kzalloc(size, GFP_KERNEL); in mxt_read_info_block()
1871 if (!id_buf) in mxt_read_info_block()
1874 error = __mxt_read_reg(client, 0, size, id_buf); in mxt_read_info_block()
1879 num_objects = ((struct mxt_info *)id_buf)->object_num; in mxt_read_info_block()
1883 buf = krealloc(id_buf, size, GFP_KERNEL); in mxt_read_info_block()
1888 id_buf = buf; in mxt_read_info_block()
1893 id_buf + MXT_OBJECT_START); in mxt_read_info_block()
1898 crc_ptr = id_buf + size - MXT_INFO_CHECKSUM_SIZE; in mxt_read_info_block()
1901 calculated_crc = mxt_calculate_crc(id_buf, 0, in mxt_read_info_block()
[all …]
/linux-6.6.21/arch/sparc/kernel/ !
Dds.c892 u8 id_buf[256]; in register_services() member
913 strcpy(pbuf.id_buf, cp->service_id); in register_services()
/linux-6.6.21/kernel/ !
Dworkqueue.c2166 char id_buf[23]; in create_worker() local
2185 snprintf(id_buf, sizeof(id_buf), "%d:%d%s", pool->cpu, id, in create_worker()
2188 snprintf(id_buf, sizeof(id_buf), "u%d:%d", pool->id, id); in create_worker()
2191 "kworker/%s", id_buf); in create_worker()
2195 id_buf); in create_worker()