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