/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/ |
H A D | pci.c | 66 struct property *prop; in fixup_bus_range() local 70 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range() 71 if (prop == NULL || prop->value == NULL || len < 2 * sizeof(int)) { in fixup_bus_range() 76 bus_range = prop->value; in fixup_bus_range()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/maple/ |
H A D | pci.c | 66 struct property *prop; in fixup_bus_range() local 70 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range() 71 if (prop == NULL || prop->value == NULL || len < 2 * sizeof(int)) { in fixup_bus_range() 76 bus_range = prop->value; in fixup_bus_range()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | exc3000.c | 73 struct touchscreen_properties prop; member 85 struct touchscreen_properties *prop, in exc3000_report_slots() 92 touchscreen_report_pos(input, prop, in exc3000_report_slots() 218 exc3000_report_slots(input, &data->prop, buf + 4, slots); in exc3000_interrupt() 356 touchscreen_parse_properties(input, true, &data->prop); in exc3000_probe() 84 exc3000_report_slots(struct input_dev *input, struct touchscreen_properties *prop, const u8 *buf, int num) exc3000_report_slots() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | mvneta_bm.c | 287 char prop[15]; in mvneta_bm_pools_init() local 307 sprintf(prop, "pool%d,capacity", i); in mvneta_bm_pools_init() 308 if (of_property_read_u32(dn, prop, &size)) { in mvneta_bm_pools_init() 333 sprintf(prop, "pool%d,pkt-size", i); in mvneta_bm_pools_init() 334 if (of_property_read_u32(dn, prop, &bm_pool->pkt_size)) in mvneta_bm_pools_init()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | gpio-fan.c | 418 struct property *prop; in gpio_fan_get_of_data() local 447 prop = of_find_property(np, "gpio-fan,speed-map", &i); in gpio_fan_get_of_data() 448 if (!prop) { in gpio_fan_get_of_data() 471 p = of_prop_next_u32(prop, p, &u); in gpio_fan_get_of_data() 475 p = of_prop_next_u32(prop, p, &u); in gpio_fan_get_of_data()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 313 struct sdw_master_prop *prop = &bus->prop; in sdw_select_row_col() local 319 if (sdw_rows[r] != prop->default_row || in sdw_select_row_col() 320 sdw_cols[c] != prop->default_col) in sdw_select_row_col() 347 struct sdw_master_prop *mstr_prop = &bus->prop; in sdw_compute_bus_params()
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 378 const __be32 *prop; in mpc5200_audio_dma_create() local 402 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create() 403 if (!prop || size < sizeof *prop) { in mpc5200_audio_dma_create() 410 psc_dma->id = be32_to_cpu(*prop); in mpc5200_audio_dma_create()
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 303 struct sdw_master_prop *prop = &bus->prop; in sdw_select_row_col() local 309 if (sdw_rows[r] != prop->default_row || in sdw_select_row_col() 310 sdw_cols[c] != prop->default_col) in sdw_select_row_col() 337 struct sdw_master_prop *mstr_prop = &bus->prop; in sdw_compute_bus_params()
|
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | vexpress-config.c | 253 struct property *prop; in vexpress_syscfg_regmap_init() local 265 prop = of_find_property(dev->of_node, in vexpress_syscfg_regmap_init() 267 if (!prop) in vexpress_syscfg_regmap_init() 270 num = prop->length / sizeof(u32) / 2; in vexpress_syscfg_regmap_init() 271 val = prop->value; in vexpress_syscfg_regmap_init()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-grgpio.c | 335 u32 prop; in grgpio_probe() local 366 err = of_property_read_u32(np, "nbits", &prop); in grgpio_probe() 367 if (err || prop <= 0 || prop > GRGPIO_MAX_NGPIO) { in grgpio_probe() 372 gc->ngpio = prop; in grgpio_probe()
|
H A D | gpio-mockup.c | 510 int prop = 0, base; in gpio_mockup_register_chip() local 517 properties[prop++] = PROPERTY_ENTRY_STRING("chip-label", chip_label); in gpio_mockup_register_chip() 521 properties[prop++] = PROPERTY_ENTRY_U32("gpio-base", base); in gpio_mockup_register_chip() 525 properties[prop++] = PROPERTY_ENTRY_U16("nr-gpios", ngpio); in gpio_mockup_register_chip() 532 properties[prop++] = PROPERTY_ENTRY_STRING_ARRAY_LEN( in gpio_mockup_register_chip()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mvneta_bm.c | 287 char prop[15]; in mvneta_bm_pools_init() local 307 sprintf(prop, "pool%d,capacity", i); in mvneta_bm_pools_init() 308 if (of_property_read_u32(dn, prop, &size)) { in mvneta_bm_pools_init() 333 sprintf(prop, "pool%d,pkt-size", i); in mvneta_bm_pools_init() 334 if (of_property_read_u32(dn, prop, &bm_pool->pkt_size)) in mvneta_bm_pools_init()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | gpio-fan.c | 417 struct property *prop; in gpio_fan_get_of_data() local 446 prop = of_find_property(np, "gpio-fan,speed-map", &i); in gpio_fan_get_of_data() 447 if (!prop) { in gpio_fan_get_of_data() 470 p = of_prop_next_u32(prop, p, &u); in gpio_fan_get_of_data() 474 p = of_prop_next_u32(prop, p, &u); in gpio_fan_get_of_data()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | exc3000.c | 77 struct touchscreen_properties prop; member 86 struct touchscreen_properties *prop, in exc3000_report_slots() 93 touchscreen_report_pos(input, prop, in exc3000_report_slots() 177 exc3000_report_slots(input, &data->prop, buf + 4, slots); in exc3000_handle_mt_event() 391 touchscreen_parse_properties(input, true, &data->prop); in exc3000_probe() 85 exc3000_report_slots(struct input_dev *input, struct touchscreen_properties *prop, const u8 *buf, int num) exc3000_report_slots() argument
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 319 const __be32 *prop; in mpc5200_audio_dma_create() local 343 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create() 344 if (!prop || size < sizeof *prop) { in mpc5200_audio_dma_create() 351 psc_dma->id = be32_to_cpu(*prop); in mpc5200_audio_dma_create()
|
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | dtc.h | 279 void add_property(struct node *node, struct property *prop); 281 void delete_property(struct property *prop); 291 cell_t propval_cell(struct property *prop); 292 cell_t propval_cell_n(struct property *prop, unsigned int n); 296 struct node **node, struct property **prop);
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
H A D | clk-sun8i-bus-gates.c | 27 struct property *prop; in sun8i_h3_bus_gates_init() local 61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | oplib.h | 239 extern int prom_getbool(int node, char *prop); 242 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | tsi108_dev.c | 48 const void *prop = of_get_property(tsi, "reg", &size); in get_csrbase() local 49 tsi108_csr_base = of_translate_address(tsi, prop); in get_csrbase()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | oplib_64.h | 208 int prom_getbool(phandle node, const char *prop); 211 void prom_getstring(phandle node, const char *prop, char *buf,
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-conf.c | 84 struct property *prop; in __set_clk_rates() local 90 of_property_for_each_u32(node, "assigned-clock-rates", prop, cur, rate) { in __set_clk_rates()
|
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | oplib.h | 239 extern int prom_getbool(int node, char *prop); 242 extern void prom_getstring(int node, char *prop, char *buf, int bufsize);
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | oplib_64.h | 208 int prom_getbool(phandle node, const char *prop); 211 void prom_getstring(phandle node, const char *prop, char *buf,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
H A D | armada_510.c | 32 struct property *prop; in armada510_crtc_init() local 35 of_property_for_each_string(dev->of_node, "clock-names", prop, in armada510_crtc_init()
|
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-conf.c | 84 struct property *prop; in __set_clk_rates() local 90 of_property_for_each_u32(node, "assigned-clock-rates", prop, cur, rate) { in __set_clk_rates()
|