Lines Matching defs:value
116 typedef long (*feature_call)(struct device_node *node, long param, long value);
140 u32 mask, int value)
149 if (value)
160 long value)
184 if (value) {
253 long value)
256 OHARE_FCR, OH_FLOPPY_ENABLE, value);
259 static long ohare_mesh_enable(struct device_node *node, long param, long value)
262 OHARE_FCR, OH_MESH_ENABLE, value);
265 static long ohare_ide_enable(struct device_node *node, long param, long value)
272 if (value)
276 OHARE_FCR, OH_IDE0_ENABLE, value);
279 OHARE_FCR, OH_BAY_IDE_ENABLE, value);
285 static long ohare_ide_reset(struct device_node *node, long param, long value)
290 OHARE_FCR, OH_IDE0_RESET_N, !value);
293 OHARE_FCR, OH_IDE1_RESET_N, !value);
299 static long ohare_sleep_state(struct device_node *node, long param, long value)
305 if (value == 1) {
307 } else if (value == 0) {
315 long value)
325 if (!value) {
335 if (value)
343 if (value) {
359 long value)
364 value);
368 long value)
378 if (value)
385 if (value)
397 long value)
402 HEATHROW_FCR, HRW_IDE0_ENABLE, value);
405 HEATHROW_FCR, HRW_BAY_IDE_ENABLE, value);
412 long value)
417 HEATHROW_FCR, HRW_IDE0_RESET_N, !value);
420 HEATHROW_FCR, HRW_IDE1_RESET_N, !value);
427 long value)
435 if (value) {
456 long value)
471 if (value) {
583 long value)
587 if (value == 1) {
591 } else if (value == 0) {
599 static long core99_scc_enable(struct device_node *node, long param, long value)
616 if (value) {
700 core99_modem_enable(struct device_node *node, long param, long value)
719 if (!value) {
727 if (value) {
736 if (value) {
752 pangea_modem_enable(struct device_node *node, long param, long value)
772 if (!value) {
780 if (value) {
791 if (value) {
807 core99_ata100_enable(struct device_node *node, long value)
818 if (value)
826 if (value) {
842 core99_ide_enable(struct device_node *node, long param, long value)
850 KEYLARGO_FCR1, KL1_EIDE0_ENABLE, value);
853 KEYLARGO_FCR1, KL1_EIDE1_ENABLE, value);
856 KEYLARGO_FCR1, KL1_UIDE_ENABLE, value);
858 return core99_ata100_enable(node, value);
865 core99_ide_reset(struct device_node *node, long param, long value)
870 KEYLARGO_FCR1, KL1_EIDE0_RESET_N, !value);
873 KEYLARGO_FCR1, KL1_EIDE1_RESET_N, !value);
876 KEYLARGO_FCR1, KL1_UIDE_RESET_N, !value);
883 core99_gmac_enable(struct device_node *node, long param, long value)
888 if (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)
941 if (value)
955 core99_airport_enable(struct device_node *node, long param, long value)
972 if (value == state)
974 if (value) {
1042 core99_reset_cpu(struct device_node *node, long param, long value)
1083 core99_usb_enable(struct device_node *node, long param, long value)
1112 if (value) {
1236 core99_firewire_enable(struct device_node *node, long param, long value)
1249 if (value) {
1263 core99_firewire_cable_power(struct device_node *node, long param, long value)
1279 if (value) {
1294 intrepid_aack_delay_enable(struct device_node *node, long param, long value)
1315 core99_read_gpio(struct device_node *node, long param, long value)
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)
1342 if (value) {
1358 static long g5_fw_enable(struct device_node *node, long param, long value)
1367 if (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)
1475 if (value) {
1492 static long g5_reset_cpu(struct device_node *node, long param, long value)
1823 core99_sleep_state(struct device_node *node, long param, long value)
1829 if (value == 1) {
1844 if (value == 1)
1846 else if (value == 0)
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)
1876 *((const char **)value) = pmac_mb.model_name;
2371 long param, value;
2394 value = va_arg(args, long);
2397 return func(node, param, value);
2498 /* Set default value of powersave_nap on machines that support it.