Lines Matching refs:param
116 typedef long (*feature_call)(struct device_node *node, long param, long value);
159 static long ohare_htw_scc_enable(struct device_node *node, long param, in ohare_htw_scc_enable() argument
186 if ((param & 0xfff) == PMAC_SCC_IRDA) in ohare_htw_scc_enable()
223 if (param & PMAC_SCC_FLAG_XMON) in ohare_htw_scc_enable()
245 if ((param & 0xfff) == PMAC_SCC_IRDA) in ohare_htw_scc_enable()
252 static long ohare_floppy_enable(struct device_node *node, long param, in ohare_floppy_enable() argument
259 static long ohare_mesh_enable(struct device_node *node, long param, long value) in ohare_mesh_enable() argument
265 static long ohare_ide_enable(struct device_node *node, long param, long value) in ohare_ide_enable() argument
267 switch(param) { in ohare_ide_enable()
285 static long ohare_ide_reset(struct device_node *node, long param, long value) in ohare_ide_reset() argument
287 switch(param) { in ohare_ide_reset()
299 static long ohare_sleep_state(struct device_node *node, long param, long value) in ohare_sleep_state() argument
314 static long heathrow_modem_enable(struct device_node *node, long param, in heathrow_modem_enable() argument
358 static long heathrow_floppy_enable(struct device_node *node, long param, in heathrow_floppy_enable() argument
367 static long heathrow_mesh_enable(struct device_node *node, long param, in heathrow_mesh_enable() argument
396 static long heathrow_ide_enable(struct device_node *node, long param, in heathrow_ide_enable() argument
399 switch(param) { in heathrow_ide_enable()
411 static long heathrow_ide_reset(struct device_node *node, long param, in heathrow_ide_reset() argument
414 switch(param) { in heathrow_ide_reset()
426 static long heathrow_bmac_enable(struct device_node *node, long param, in heathrow_bmac_enable() argument
455 static long heathrow_sound_enable(struct device_node *node, long param, in heathrow_sound_enable() argument
582 static long heathrow_sleep_state(struct device_node *node, long param, in heathrow_sleep_state() argument
599 static long core99_scc_enable(struct device_node *node, long param, long value) in core99_scc_enable() argument
630 if ((param & 0xfff) == PMAC_SCC_I2S1) in core99_scc_enable()
638 if ((param & 0xfff) == PMAC_SCC_IRDA) { in core99_scc_enable()
668 if (param & PMAC_SCC_FLAG_XMON) in core99_scc_enable()
680 if ((param & 0xfff) == PMAC_SCC_IRDA) { in core99_scc_enable()
700 core99_modem_enable(struct device_node *node, long param, long value) in core99_modem_enable() argument
752 pangea_modem_enable(struct device_node *node, long param, long value) in pangea_modem_enable() argument
842 core99_ide_enable(struct device_node *node, long param, long value) in core99_ide_enable() argument
847 switch(param) { in core99_ide_enable()
865 core99_ide_reset(struct device_node *node, long param, long value) in core99_ide_reset() argument
867 switch(param) { in core99_ide_reset()
883 core99_gmac_enable(struct device_node *node, long param, long value) in core99_gmac_enable() argument
900 core99_gmac_phy_reset(struct device_node *node, long param, long value) in core99_gmac_phy_reset() argument
925 core99_sound_chip_enable(struct device_node *node, long param, long value) in core99_sound_chip_enable() argument
955 core99_airport_enable(struct device_node *node, long param, long value) in core99_airport_enable() argument
1042 core99_reset_cpu(struct device_node *node, long param, long value) in core99_reset_cpu() argument
1061 if (param == of_get_cpu_hwid(np, 0)) { in core99_reset_cpu()
1068 reset_io = dflt_reset_lines[param]; in core99_reset_cpu()
1083 core99_usb_enable(struct device_node *node, long param, long value) in core99_usb_enable() argument
1236 core99_firewire_enable(struct device_node *node, long param, long value) in core99_firewire_enable() argument
1263 core99_firewire_cable_power(struct device_node *node, long param, long value) in core99_firewire_cable_power() argument
1294 intrepid_aack_delay_enable(struct device_node *node, long param, long value) in intrepid_aack_delay_enable() argument
1302 if (param) in intrepid_aack_delay_enable()
1315 core99_read_gpio(struct device_node *node, long param, long value) in core99_read_gpio() argument
1319 return MACIO_IN8(param); in core99_read_gpio()
1324 core99_write_gpio(struct device_node *node, long param, long value) in core99_write_gpio() argument
1328 MACIO_OUT8(param, (u8)(value & 0xff)); in core99_write_gpio()
1333 static long g5_gmac_enable(struct device_node *node, long param, long value) in g5_gmac_enable() argument
1358 static long g5_fw_enable(struct device_node *node, long param, long value) in g5_fw_enable() argument
1383 static long g5_mpic_enable(struct device_node *node, long param, long value) in g5_mpic_enable() argument
1403 static long g5_eth_phy_reset(struct device_node *node, long param, long value) in g5_eth_phy_reset() argument
1433 static long g5_i2s_enable(struct device_node *node, long param, long value) in g5_i2s_enable() argument
1492 static long g5_reset_cpu(struct device_node *node, long param, long value) in g5_reset_cpu() argument
1507 if (param == of_get_cpu_hwid(np, 0)) { in g5_reset_cpu()
1823 core99_sleep_state(struct device_node *node, long param, long value) in core99_sleep_state() argument
1828 if (param == 1) { in core99_sleep_state()
1856 generic_dev_can_wake(struct device_node *node, long param, long value) in generic_dev_can_wake() argument
1867 static long generic_get_mb_info(struct device_node *node, long param, long value) in generic_get_mb_info() argument
1869 switch(param) { in generic_get_mb_info()
2369 long param, value; in pmac_do_feature_call() local
2391 param = va_arg(args, long); in pmac_do_feature_call()
2395 return func(node, param, value); in pmac_do_feature_call()