Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/staging/rts5208/
Dxd.c74 static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) in xd_read_id() argument
95 if (id_buf && buf_len) { in xd_read_id()
98 memcpy(id_buf, ptr, buf_len); in xd_read_id()
443 u8 *ptr, id_buf[4], redunt[11]; in reset_xd() local
570 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd()
575 id_buf[0], id_buf[1], id_buf[2], id_buf[3]); in reset_xd()
577 xd_card->device_code = id_buf[1]; in reset_xd()
651 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd()
655 if (id_buf[1] != xd_card->device_code) in reset_xd()
672 retval = xd_read_id(chip, READ_XD_ID, id_buf, 4); in reset_xd()
[all …]
/linux-6.1.9/tools/perf/util/
Dtrace-event-info.c416 char id_buf[24]; in tracepoint_id_to_path() local
441 if (read(fd, id_buf, sizeof(id_buf)) < 0) { in tracepoint_id_to_path()
446 id = atoll(id_buf); in tracepoint_id_to_path()
/linux-6.1.9/drivers/input/touchscreen/
Datmel_mxt_ts.c1814 void *id_buf, *buf; in mxt_read_info_block() local
1825 id_buf = kzalloc(size, GFP_KERNEL); in mxt_read_info_block()
1826 if (!id_buf) in mxt_read_info_block()
1829 error = __mxt_read_reg(client, 0, size, id_buf); in mxt_read_info_block()
1834 num_objects = ((struct mxt_info *)id_buf)->object_num; in mxt_read_info_block()
1838 buf = krealloc(id_buf, size, GFP_KERNEL); in mxt_read_info_block()
1843 id_buf = buf; in mxt_read_info_block()
1848 id_buf + MXT_OBJECT_START); in mxt_read_info_block()
1853 crc_ptr = id_buf + size - MXT_INFO_CHECKSUM_SIZE; in mxt_read_info_block()
1856 calculated_crc = mxt_calculate_crc(id_buf, 0, in mxt_read_info_block()
[all …]
/linux-6.1.9/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.1.9/kernel/
Dworkqueue.c1930 char id_buf[16]; in create_worker() local
1944 snprintf(id_buf, sizeof(id_buf), "%d:%d%s", pool->cpu, id, in create_worker()
1947 snprintf(id_buf, sizeof(id_buf), "u%d:%d", pool->id, id); in create_worker()
1950 "kworker/%s", id_buf); in create_worker()