Home
last modified time | relevance | path

Searched refs:current_child (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/mdio/
H A Dmdio-mux.c19 int current_child; member
22 int (*switch_fn)(int current_child, int desired_child, void *data);
45 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read()
49 pb->current_child = cb->bus_number; in mdio_mux_read()
70 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write()
74 pb->current_child = cb->bus_number; in mdio_mux_write()
139 pb->current_child = -1; in mdio_mux_init()
H A Dmdio-mux-multiplexer.c31 static int mdio_mux_multiplexer_switch_fn(int current_child, int desired_child, in mdio_mux_multiplexer_switch_fn() argument
41 if (!(current_child ^ desired_child)) in mdio_mux_multiplexer_switch_fn()
54 dev_dbg(&pdev->dev, "%s %d -> %d\n", __func__, current_child, in mdio_mux_multiplexer_switch_fn()
H A Dmdio-mux-gpio.c22 static int mdio_mux_gpio_switch_fn(int current_child, int desired_child, in mdio_mux_gpio_switch_fn() argument
28 if (current_child == desired_child) in mdio_mux_gpio_switch_fn()
H A Dmdio-mux-mmioreg.c42 static int mdio_mux_mmioreg_switch_fn(int current_child, int desired_child, in mdio_mux_mmioreg_switch_fn() argument
47 if (current_child ^ desired_child) { in mdio_mux_mmioreg_switch_fn()
H A Dmdio-mux-meson-g12a.c195 static int g12a_mdio_switch_fn(int current_child, int desired_child, in g12a_mdio_switch_fn() argument
200 if (current_child == desired_child) in g12a_mdio_switch_fn()
H A Dmdio-mux-bcm-iproc.c160 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A DcJSON_Utils.cpp206 cJSON *current_child = 0; in cJSONUtils_FindPointerFromObjectTo() local
220 …for (current_child = object->child; current_child != NULL; (void)(current_child = current_child->n… in cJSONUtils_FindPointerFromObjectTo()
222 …d char *target_pointer = (unsigned char*)cJSONUtils_FindPointerFromObjectTo(current_child, target); in cJSONUtils_FindPointerFromObjectTo()
247 …strlen((char*)target_pointer) + pointer_encoded_length((unsigned char*)current_child->string) + 2); in cJSONUtils_FindPointerFromObjectTo()
249 encode_string_as_pointer(full_pointer + 1, (unsigned char*)current_child->string); in cJSONUtils_FindPointerFromObjectTo()
H A DcJSON.cpp1858 cJSON *current_child = NULL; in get_array_item() local
1865 current_child = array->child; in get_array_item()
1866 while ((current_child != NULL) && (index > 0)) in get_array_item()
1869 current_child = current_child->next; in get_array_item()
1872 return current_child; in get_array_item()
/OK3568_Linux_fs/kernel/drivers/md/persistent-data/
H A Ddm-btree.c169 unsigned current_child; member
244 f->current_child = 0; in push_frame()
302 if (f->current_child >= f->nr_children) { in dm_btree_del()
309 b = value64(f->n, f->current_child); in dm_btree_del()
310 f->current_child++; in dm_btree_del()
316 b = value64(f->n, f->current_child); in dm_btree_del()
317 f->current_child++; in dm_btree_del()
/OK3568_Linux_fs/app/lvgl_demo/cJSON/
H A DcJSON.c1849 cJSON *current_child = NULL; in get_array_item() local
1856 current_child = array->child; in get_array_item()
1857 while ((current_child != NULL) && (index > 0)) in get_array_item()
1860 current_child = current_child->next; in get_array_item()
1863 return current_child; in get_array_item()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sun8i.c844 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument
852 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()