Searched refs:rmem (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/of/ |
D | of_reserved_mem.c | 74 struct reserved_mem *rmem = &reserved_mem[reserved_mem_count]; in fdt_reserved_mem_save_node() local 81 rmem->fdt_node = node; in fdt_reserved_mem_save_node() 82 rmem->name = uname; in fdt_reserved_mem_save_node() 83 rmem->base = base; in fdt_reserved_mem_save_node() 84 rmem->size = size; in fdt_reserved_mem_save_node() 190 static int __init __reserved_mem_init_node(struct reserved_mem *rmem) in __reserved_mem_init_node() argument 199 if (!of_flat_dt_is_compatible(rmem->fdt_node, compat)) in __reserved_mem_init_node() 202 if (initfn(rmem) == 0) { in __reserved_mem_init_node() 204 rmem->name, compat); in __reserved_mem_init_node() 272 struct reserved_mem *rmem = &reserved_mem[i]; in fdt_init_reserved_mem() local [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-wiimote-core.c | 384 ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, in wiimote_cmd_read() argument 392 wdata->state.cmd_read_buf = rmem; in wiimote_cmd_read() 435 static __u8 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem) in wiimote_cmd_read_ext() argument 440 ret = wiimote_cmd_read(wdata, 0xa400fa, rmem, 6); in wiimote_cmd_read_ext() 444 hid_dbg(wdata->hdev, "extension ID: %6phC\n", rmem); in wiimote_cmd_read_ext() 446 if (rmem[0] == 0xff && rmem[1] == 0xff && rmem[2] == 0xff && in wiimote_cmd_read_ext() 447 rmem[3] == 0xff && rmem[4] == 0xff && rmem[5] == 0xff) in wiimote_cmd_read_ext() 450 if (rmem[4] == 0x00 && rmem[5] == 0x00) in wiimote_cmd_read_ext() 452 if (rmem[4] == 0x01 && rmem[5] == 0x01) in wiimote_cmd_read_ext() 454 if (rmem[4] == 0x04 && rmem[5] == 0x02) in wiimote_cmd_read_ext() [all …]
|
D | hid-wiimote.h | 276 __u8 *rmem, __u8 size);
|
/linux-4.19.296/include/linux/ |
D | of_reserved_mem.h | 21 int (*device_init)(struct reserved_mem *rmem, 23 void (*device_release)(struct reserved_mem *rmem, 27 typedef int (*reservedmem_of_init_fn)(struct reserved_mem *rmem);
|