erp 375 arch/arc/kernel/setup.c struct bcr_erp erp; erp 376 arch/arc/kernel/setup.c READ_BCR(ARC_REG_ERP_BUILD, erp); erp 378 arch/arc/kernel/setup.c if (erp.ver) { erp 384 arch/arc/kernel/setup.c IS_AVAIL3(erp.ic, !ctl.dpi, "IC "), erp 385 arch/arc/kernel/setup.c IS_AVAIL3(erp.dc, !ctl.dpd, "DC "), erp 386 arch/arc/kernel/setup.c IS_AVAIL3(erp.mmu, !ctl.mpd, "MMU ")); erp 75 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp); erp 83 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp); erp 89 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp); erp 95 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp); erp 98 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp); erp 128 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_bank_get(const struct mlxsw_sp_acl_erp *erp) erp 130 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp->index % erp->erp_table->erp_core->num_erp_banks; erp 254 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 257 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp = kzalloc(sizeof(*erp), GFP_KERNEL); erp 258 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!erp) erp 261 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_id_get(erp_table, &erp->id); erp 265 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c memcpy(&erp->key, key, sizeof(*key)); erp 266 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c list_add(&erp->list, &erp_table->atcam_erps_list); erp 268 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp->erp_table = erp_table; erp 270 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_master_mask_set(erp_table, &erp->key); erp 274 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 278 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c list_del(&erp->list); erp 279 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_id_put(erp_table, erp->id); erp 281 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(erp); erp 286 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(struct mlxsw_sp_acl_erp *erp) erp 288 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_table *erp_table = erp->erp_table; erp 290 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_master_mask_clear(erp_table, &erp->key); erp 292 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c list_del(&erp->list); erp 293 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_id_put(erp_table, erp->id); erp 294 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(erp); erp 370 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c const struct mlxsw_sp_acl_erp *erp, erp 377 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *p_erpt_bank = erp->index % erp_core->num_erp_banks; erp 378 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c row = erp->index / erp_core->num_erp_banks; erp 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 391 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_locate(erp_table, erp, &erpt_bank, &erpt_index); erp 393 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, erp 394 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 0, erp_table->base_index, erp->index, erp 395 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp->key.mask); erp 398 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, true); erp 402 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c static void mlxsw_sp_acl_erp_table_erp_del(struct mlxsw_sp_acl_erp *erp) erp 405 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_table *erp_table = erp->erp_table; erp 411 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_locate(erp_table, erp, &erpt_bank, &erpt_index); erp 413 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_pack(perpt_pl, erpt_bank, erpt_index, key_size, erp->id, erp 414 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 0, erp_table->base_index, erp->index, empty_mask); erp 417 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, false); erp 458 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 461 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c list_for_each_entry(erp, &erp_table->atcam_erps_list, list) { erp 462 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_table_erp_add(erp_table, erp); erp 470 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c list_for_each_entry_continue_reverse(erp, &erp_table->atcam_erps_list, erp 472 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_erp_del(erp); erp 524 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 527 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c unsigned int erp_bank = mlxsw_sp_acl_erp_bank_get(erp); erp 552 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 555 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c unsigned int erp_bank = mlxsw_sp_acl_erp_bank_get(erp); erp 645 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 656 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_erpt_vector_set(pererp_pl, erp->index, true); erp 661 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c static void mlxsw_sp_acl_erp_region_erp_del(struct mlxsw_sp_acl_erp *erp) erp 663 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_table *erp_table = erp->erp_table; erp 673 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_erpt_vector_set(pererp_pl, erp->index, false); erp 796 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 799 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp = kzalloc(sizeof(*erp), GFP_KERNEL); erp 800 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!erp) erp 803 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c memcpy(&erp->key, key, sizeof(*key)); erp 804 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c bitmap_from_arr32(erp->mask_bitmap, (u32 *) key->mask, erp 811 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp->erp_table = erp_table; erp 813 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_master_mask_set(erp_table, &erp->key); erp 821 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 824 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_master_mask_clear(erp_table, &erp->key); erp 828 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(erp); erp 833 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_ctcam_mask_destroy(struct mlxsw_sp_acl_erp *erp) erp 835 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp_table *erp_table = erp->erp_table; erp 838 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_master_mask_clear(erp_table, &erp->key); erp 840 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c kfree(erp); erp 847 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 858 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp = mlxsw_sp_acl_erp_generic_create(erp_table, key); erp 859 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (IS_ERR(erp)) erp 860 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 862 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_index_get(erp_table, &erp->index); erp 866 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_table_erp_add(erp_table, erp); erp 870 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_region_erp_add(erp_table, erp); erp 876 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 879 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_erp_del(erp); erp 881 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); erp 883 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(erp); erp 889 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 891 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (erp->key.ctcam) erp 892 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return mlxsw_sp_acl_erp_ctcam_mask_destroy(erp); erp 894 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_region_erp_del(erp); erp 895 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_erp_del(erp); erp 896 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); erp 897 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(erp); erp 908 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 919 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp = mlxsw_sp_acl_erp_generic_create(erp_table, key); erp 920 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (IS_ERR(erp)) { erp 921 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = PTR_ERR(erp); erp 925 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_index_get(erp_table, &erp->index); erp 929 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_table_erp_add(erp_table, erp); erp 933 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_region_erp_add(erp_table, erp); erp 939 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 942 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_erp_del(erp); erp 944 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); erp 946 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(erp); erp 954 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 956 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (erp->key.ctcam) erp 957 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return mlxsw_sp_acl_erp_ctcam_mask_destroy(erp); erp 959 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_region_erp_del(erp); erp 960 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_table_erp_del(erp); erp 961 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); erp 962 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(erp); erp 973 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp; erp 978 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp = mlxsw_sp_acl_erp_generic_create(erp_table, key); erp 979 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (IS_ERR(erp)) erp 980 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 984 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp; erp 989 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 991 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_generic_destroy(erp); erp 997 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_erp *erp) erp 1037 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c const struct mlxsw_sp_acl_erp *erp = objagg_obj_root_priv(objagg_obj); erp 1040 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!mlxsw_sp_acl_erp_table_is_used(erp->erp_table)) erp 1043 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp_bank = mlxsw_sp_acl_erp_bank_get(erp); erp 1045 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp->erp_table->erp_core->bf, erp 1055 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c const struct mlxsw_sp_acl_erp *erp = objagg_obj_root_priv(objagg_obj); erp 1058 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (!mlxsw_sp_acl_erp_table_is_used(erp->erp_table)) erp 1061 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp_bank = mlxsw_sp_acl_erp_bank_get(erp); erp 1063 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c erp->erp_table->erp_core->bf, erp 1079 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c const struct mlxsw_sp_acl_erp *erp = objagg_obj_root_priv(objagg_obj); erp 1081 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp->id; erp 3139 drivers/net/wireless/ath/ath10k/wmi-tlv.c info->erp = __cpu_to_le32(prb_erp); erp 3192 drivers/net/wireless/ath/ath10k/wmi-tlv.c info->erp = 0; erp 1982 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 erp; erp 5725 drivers/net/wireless/ath/ath10k/wmi.h __le32 erp; erp 719 drivers/net/wireless/ath/carl9170/debug.c DEBUGFS_DECLARE_RW_FILE(erp, 80); erp 873 drivers/net/wireless/ath/carl9170/debug.c DEBUGFS_ADD(erp); erp 313 drivers/net/wireless/ralink/rt2x00/rt2400pci.c struct rt2x00lib_erp *erp, erp 323 drivers/net/wireless/ralink/rt2x00/rt2400pci.c preamble_mask = erp->short_preamble << 3; erp 362 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); erp 366 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(®, CSR11_SLOT_TIME, erp->slot_time); erp 370 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(®, CSR18_SIFS, erp->sifs); erp 371 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(®, CSR18_PIFS, erp->pifs); erp 375 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(®, CSR19_DIFS, erp->difs); erp 376 drivers/net/wireless/ralink/rt2x00/rt2400pci.c rt2x00_set_field32(®, CSR19_EIFS, erp->eifs); erp 383 drivers/net/wireless/ralink/rt2x00/rt2400pci.c erp->beacon_int * 16); erp 385 drivers/net/wireless/ralink/rt2x00/rt2400pci.c erp->beacon_int * 16); erp 318 drivers/net/wireless/ralink/rt2x00/rt2500pci.c struct rt2x00lib_erp *erp, erp 328 drivers/net/wireless/ralink/rt2x00/rt2500pci.c preamble_mask = erp->short_preamble << 3; erp 367 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); erp 371 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(®, CSR11_SLOT_TIME, erp->slot_time); erp 375 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(®, CSR18_SIFS, erp->sifs); erp 376 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(®, CSR18_PIFS, erp->pifs); erp 380 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(®, CSR19_DIFS, erp->difs); erp 381 drivers/net/wireless/ralink/rt2x00/rt2500pci.c rt2x00_set_field32(®, CSR19_EIFS, erp->eifs); erp 388 drivers/net/wireless/ralink/rt2x00/rt2500pci.c erp->beacon_int * 16); erp 390 drivers/net/wireless/ralink/rt2x00/rt2500pci.c erp->beacon_int * 16); erp 470 drivers/net/wireless/ralink/rt2x00/rt2500usb.c struct rt2x00lib_erp *erp, erp 478 drivers/net/wireless/ralink/rt2x00/rt2500usb.c !!erp->short_preamble); erp 484 drivers/net/wireless/ralink/rt2x00/rt2500usb.c erp->basic_rates); erp 489 drivers/net/wireless/ralink/rt2x00/rt2500usb.c erp->beacon_int * 4); erp 494 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2500usb_register_write(rt2x00dev, MAC_CSR10, erp->slot_time); erp 495 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2500usb_register_write(rt2x00dev, MAC_CSR11, erp->sifs); erp 496 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2500usb_register_write(rt2x00dev, MAC_CSR12, erp->eifs); erp 1993 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00lib_erp *erp) erp 1995 drivers/net/wireless/ralink/rt2x00/rt2800lib.c bool any_sta_nongf = !!(erp->ht_opmode & erp 1997 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u8 protection = erp->ht_opmode & IEEE80211_HT_OP_MODE_PROTECTION; erp 2054 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (erp->cts_protection) { erp 2088 drivers/net/wireless/ralink/rt2x00/rt2800lib.c void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, erp 2096 drivers/net/wireless/ralink/rt2x00/rt2800lib.c !!erp->short_preamble); erp 2103 drivers/net/wireless/ralink/rt2x00/rt2800lib.c erp->cts_protection ? 2 : 0); erp 2109 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 0xff0 | erp->basic_rates); erp 2116 drivers/net/wireless/ralink/rt2x00/rt2800lib.c erp->slot_time); erp 2120 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, XIFS_TIME_CFG_EIFS, erp->eifs); erp 2127 drivers/net/wireless/ralink/rt2x00/rt2800lib.c erp->beacon_int * 16); erp 2132 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_config_ht_opmode(rt2x00dev, erp); erp 222 drivers/net/wireless/ralink/rt2x00/rt2800lib.h void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, erp 612 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct rt2x00lib_erp *erp, erp 74 drivers/net/wireless/ralink/rt2x00/rt2x00config.c struct rt2x00lib_erp erp; erp 76 drivers/net/wireless/ralink/rt2x00/rt2x00config.c memset(&erp, 0, sizeof(erp)); erp 78 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.short_preamble = bss_conf->use_short_preamble; erp 79 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.cts_protection = bss_conf->use_cts_prot; erp 81 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.slot_time = bss_conf->use_short_slot ? SHORT_SLOT_TIME : SLOT_TIME; erp 82 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.sifs = SIFS; erp 83 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.pifs = bss_conf->use_short_slot ? SHORT_PIFS : PIFS; erp 84 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; erp 85 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; erp 87 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.basic_rates = bss_conf->basic_rates; erp 88 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.beacon_int = bss_conf->beacon_int; erp 98 drivers/net/wireless/ralink/rt2x00/rt2x00config.c erp.ht_opmode = bss_conf->ht_operation_mode; erp 100 drivers/net/wireless/ralink/rt2x00/rt2x00config.c rt2x00dev->ops->lib->config_erp(rt2x00dev, &erp, changed); erp 491 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct rt2x00lib_erp *erp, erp 505 drivers/net/wireless/ralink/rt2x00/rt61pci.c !!erp->short_preamble); erp 511 drivers/net/wireless/ralink/rt2x00/rt61pci.c erp->basic_rates); erp 516 drivers/net/wireless/ralink/rt2x00/rt61pci.c erp->beacon_int * 16); erp 522 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, MAC_CSR9_SLOT_TIME, erp->slot_time); erp 526 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, MAC_CSR8_SIFS, erp->sifs); erp 528 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, MAC_CSR8_EIFS, erp->eifs); erp 525 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rt2x00lib_erp *erp, erp 539 drivers/net/wireless/ralink/rt2x00/rt73usb.c !!erp->short_preamble); erp 545 drivers/net/wireless/ralink/rt2x00/rt73usb.c erp->basic_rates); erp 550 drivers/net/wireless/ralink/rt2x00/rt73usb.c erp->beacon_int * 16); erp 556 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, MAC_CSR9_SLOT_TIME, erp->slot_time); erp 560 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, MAC_CSR8_SIFS, erp->sifs); erp 562 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, MAC_CSR8_EIFS, erp->eifs); erp 53 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_cleanup(struct dasd_ccw_req * erp, char final_status) erp 55 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *cqr = erp->refers; erp 57 drivers/s390/block/dasd_3990_erp.c dasd_free_erp_request(erp, erp->memdev); erp 71 drivers/s390/block/dasd_3990_erp.c static void dasd_3990_erp_block_queue(struct dasd_ccw_req *erp, int expires) erp 74 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 83 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 84 drivers/s390/block/dasd_3990_erp.c if (erp->block) erp 85 drivers/s390/block/dasd_3990_erp.c dasd_block_set_timer(erp->block, expires); erp 103 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_int_req(struct dasd_ccw_req * erp) erp 106 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 111 drivers/s390/block/dasd_3990_erp.c if (erp->function != dasd_3990_erp_int_req) { erp 113 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 114 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_int_req; erp 123 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_block_queue(erp, 60*HZ); erp 126 drivers/s390/block/dasd_3990_erp.c return erp; erp 145 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_alternate_path(struct dasd_ccw_req * erp) erp 147 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 155 drivers/s390/block/dasd_3990_erp.c if (erp->lpm == 0) erp 156 drivers/s390/block/dasd_3990_erp.c erp->lpm = dasd_path_get_opm(device) & erp 157 drivers/s390/block/dasd_3990_erp.c ~(erp->irb.esw.esw0.sublog.lpum); erp 159 drivers/s390/block/dasd_3990_erp.c erp->lpm &= ~(erp->irb.esw.esw0.sublog.lpum); erp 161 drivers/s390/block/dasd_3990_erp.c if ((erp->lpm & opm) != 0x00) { erp 165 drivers/s390/block/dasd_3990_erp.c erp->lpm, erp->irb.esw.esw0.sublog.lpum, opm); erp 168 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 169 drivers/s390/block/dasd_3990_erp.c erp->retries = 10; erp 173 drivers/s390/block/dasd_3990_erp.c "/opm=%x)\n", erp->irb.esw.esw0.sublog.lpum, opm); erp 176 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FAILED; erp 196 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_DCTL(struct dasd_ccw_req * erp, char modifier) erp 199 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 204 drivers/s390/block/dasd_3990_erp.c dctl_cqr = dasd_alloc_erp_request((char *) &erp->magic, 1, erp 210 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FAILED; erp 211 drivers/s390/block/dasd_3990_erp.c return erp; erp 224 drivers/s390/block/dasd_3990_erp.c dctl_cqr->flags = erp->flags; erp 226 drivers/s390/block/dasd_3990_erp.c dctl_cqr->refers = erp; erp 229 drivers/s390/block/dasd_3990_erp.c dctl_cqr->magic = erp->magic; erp 262 drivers/s390/block/dasd_3990_erp.c static struct dasd_ccw_req *dasd_3990_erp_action_1_sec(struct dasd_ccw_req *erp) erp 264 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_1_sec; erp 265 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_alternate_path(erp); erp 266 drivers/s390/block/dasd_3990_erp.c return erp; erp 269 drivers/s390/block/dasd_3990_erp.c static struct dasd_ccw_req *dasd_3990_erp_action_1(struct dasd_ccw_req *erp) erp 271 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_1; erp 272 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_alternate_path(erp); erp 273 drivers/s390/block/dasd_3990_erp.c if (erp->status == DASD_CQR_FAILED && erp 274 drivers/s390/block/dasd_3990_erp.c !test_bit(DASD_CQR_VERIFY_PATH, &erp->flags)) { erp 275 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 276 drivers/s390/block/dasd_3990_erp.c erp->retries = 10; erp 277 drivers/s390/block/dasd_3990_erp.c erp->lpm = dasd_path_get_opm(erp->startdev); erp 278 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_1_sec; erp 280 drivers/s390/block/dasd_3990_erp.c return erp; erp 302 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_action_4(struct dasd_ccw_req * erp, char *sense) erp 305 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 310 drivers/s390/block/dasd_3990_erp.c if (erp->function != dasd_3990_erp_action_4) { erp 315 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 316 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_4; erp 324 drivers/s390/block/dasd_3990_erp.c erp->retries); erp 326 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_block_queue(erp, 30*HZ); erp 332 drivers/s390/block/dasd_3990_erp.c erp->retries); erp 333 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_block_queue(erp, HZ); erp 339 drivers/s390/block/dasd_3990_erp.c erp->retries); erp 340 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 344 drivers/s390/block/dasd_3990_erp.c return erp; erp 369 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_action_5(struct dasd_ccw_req * erp) erp 373 drivers/s390/block/dasd_3990_erp.c erp->retries = 10; erp 374 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_5; erp 376 drivers/s390/block/dasd_3990_erp.c return erp; erp 395 drivers/s390/block/dasd_3990_erp.c dasd_3990_handle_env_data(struct dasd_ccw_req * erp, char *sense) erp 398 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 984 drivers/s390/block/dasd_3990_erp.c dasd_eer_write(device, erp->refers, erp 1032 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_com_rej(struct dasd_ccw_req * erp, char *sense) erp 1035 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1037 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_com_rej; erp 1045 drivers/s390/block/dasd_3990_erp.c dasd_3990_handle_env_data(erp, sense); erp 1047 drivers/s390/block/dasd_3990_erp.c erp->retries = 5; erp 1052 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 1056 drivers/s390/block/dasd_3990_erp.c if (!test_bit(DASD_CQR_SUPPRESS_CR, &erp->flags)) erp 1060 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 1063 drivers/s390/block/dasd_3990_erp.c return erp; erp 1079 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_bus_out(struct dasd_ccw_req * erp) erp 1082 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1087 drivers/s390/block/dasd_3990_erp.c if (erp->function != dasd_3990_erp_bus_out) { erp 1088 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 1089 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_bus_out; erp 1098 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_block_queue(erp, 60*HZ); erp 1102 drivers/s390/block/dasd_3990_erp.c return erp; erp 1118 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_equip_check(struct dasd_ccw_req * erp, char *sense) erp 1121 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1123 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_equip_check; erp 1134 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1(erp); erp 1141 drivers/s390/block/dasd_3990_erp.c dasd_3990_handle_env_data(erp, sense); erp 1143 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 1151 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1(erp); erp 1159 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_5(erp); erp 1161 drivers/s390/block/dasd_3990_erp.c return erp; erp 1177 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_data_check(struct dasd_ccw_req * erp, char *sense) erp 1180 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1182 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_data_check; erp 1201 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 1209 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1(erp); erp 1217 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_5(erp); erp 1220 drivers/s390/block/dasd_3990_erp.c return erp; erp 1236 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_overrun(struct dasd_ccw_req * erp, char *sense) erp 1239 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1241 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_overrun; erp 1247 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_5(erp); erp 1249 drivers/s390/block/dasd_3990_erp.c return erp; erp 1265 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_inv_format(struct dasd_ccw_req * erp, char *sense) erp 1268 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1270 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_inv_format; erp 1278 drivers/s390/block/dasd_3990_erp.c dasd_3990_handle_env_data(erp, sense); erp 1280 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 1288 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 1291 drivers/s390/block/dasd_3990_erp.c return erp; erp 1332 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_env_data(struct dasd_ccw_req * erp, char *sense) erp 1335 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1337 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_env_data; erp 1341 drivers/s390/block/dasd_3990_erp.c dasd_3990_handle_env_data(erp, sense); erp 1345 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 1347 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 1350 drivers/s390/block/dasd_3990_erp.c return erp; erp 1399 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_file_prot(struct dasd_ccw_req * erp) erp 1402 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1409 drivers/s390/block/dasd_3990_erp.c if (!test_bit(DASD_CQR_SUPPRESS_FP, &erp->flags)) erp 1413 drivers/s390/block/dasd_3990_erp.c return dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 1433 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp) erp 1435 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *cqr = erp->refers; erp 1441 drivers/s390/block/dasd_3990_erp.c sense = dasd_get_sense(&erp->refers->irb); erp 1466 drivers/s390/block/dasd_3990_erp.c erp->startdev = cqr->block->base; erp 1467 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_inspect_alias; erp 1468 drivers/s390/block/dasd_3990_erp.c return erp; erp 1489 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_inspect_24(struct dasd_ccw_req * erp, char *sense) erp 1497 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_com_rej(erp, sense); erp 1501 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_int_req(erp); erp 1505 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_bus_out(erp); erp 1509 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_equip_check(erp, sense); erp 1513 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_data_check(erp, sense); erp 1517 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_overrun(erp, sense); erp 1521 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_inv_format(erp, sense); erp 1525 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_EOC(erp, sense); erp 1529 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_env_data(erp, sense); erp 1533 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_no_rec(erp, sense); erp 1537 drivers/s390/block/dasd_3990_erp.c erp_filled = dasd_3990_erp_file_prot(erp); erp 1542 drivers/s390/block/dasd_3990_erp.c erp_filled = erp; erp 1569 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_action_10_32(struct dasd_ccw_req * erp, char *sense) erp 1572 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 1574 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 1575 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_10_32; erp 1579 drivers/s390/block/dasd_3990_erp.c return erp; erp 1609 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp; erp 1655 drivers/s390/block/dasd_3990_erp.c erp = dasd_alloc_erp_request((char *) &cqr->magic, erp 1660 drivers/s390/block/dasd_3990_erp.c if (IS_ERR(erp)) { erp 1668 drivers/s390/block/dasd_3990_erp.c DE_data = erp->data; erp 1678 drivers/s390/block/dasd_3990_erp.c LO_data = erp->data + sizeof(struct DE_eckd_data); erp 1707 drivers/s390/block/dasd_3990_erp.c ccw = erp->cpaddr; erp 1728 drivers/s390/block/dasd_3990_erp.c erp->flags = default_erp->flags; erp 1729 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_action_1B_32; erp 1730 drivers/s390/block/dasd_3990_erp.c erp->refers = default_erp->refers; erp 1731 drivers/s390/block/dasd_3990_erp.c erp->startdev = device; erp 1732 drivers/s390/block/dasd_3990_erp.c erp->memdev = device; erp 1733 drivers/s390/block/dasd_3990_erp.c erp->magic = default_erp->magic; erp 1734 drivers/s390/block/dasd_3990_erp.c erp->expires = default_erp->expires; erp 1735 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 1736 drivers/s390/block/dasd_3990_erp.c erp->buildclk = get_tod_clock(); erp 1737 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 1742 drivers/s390/block/dasd_3990_erp.c return erp; erp 1768 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp; erp 1815 drivers/s390/block/dasd_3990_erp.c erp = previous_erp; erp 1818 drivers/s390/block/dasd_3990_erp.c LO_data = erp->data + sizeof(struct DE_eckd_data); erp 1849 drivers/s390/block/dasd_3990_erp.c ccw = erp->cpaddr; /* addr of DE ccw */ erp 1854 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 1856 drivers/s390/block/dasd_3990_erp.c return erp; erp 1878 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_retry(struct dasd_ccw_req * erp, char *sense) erp 1883 drivers/s390/block/dasd_3990_erp.c erp->retries = 1; erp 1887 drivers/s390/block/dasd_3990_erp.c erp->retries = 2; erp 1891 drivers/s390/block/dasd_3990_erp.c erp->retries = 10; erp 1895 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 1902 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_compound_retry; erp 1922 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_path(struct dasd_ccw_req * erp, char *sense) erp 1925 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_alternate_path(erp); erp 1927 drivers/s390/block/dasd_3990_erp.c if (erp->status == DASD_CQR_FAILED && erp 1928 drivers/s390/block/dasd_3990_erp.c !test_bit(DASD_CQR_VERIFY_PATH, &erp->flags)) { erp 1931 drivers/s390/block/dasd_3990_erp.c erp->lpm = dasd_path_get_opm(erp->startdev); erp 1932 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_NEED_ERP; erp 1936 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_compound_path; erp 1955 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_code(struct dasd_ccw_req * erp, char *sense) erp 1964 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_DCTL(erp, 0x20); erp 1969 drivers/s390/block/dasd_3990_erp.c erp->retries = 1; erp 1971 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_block_queue (erp, 5*HZ); erp 1980 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_compound_code; erp 1982 drivers/s390/block/dasd_3990_erp.c return erp; erp 2003 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_config(struct dasd_ccw_req * erp, char *sense) erp 2011 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 2018 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_compound_config; erp 2038 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound(struct dasd_ccw_req * erp, char *sense) erp 2041 drivers/s390/block/dasd_3990_erp.c if ((erp->function == dasd_3990_erp_compound_retry) && erp 2042 drivers/s390/block/dasd_3990_erp.c (erp->status == DASD_CQR_NEED_ERP)) { erp 2044 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_path(erp, sense); erp 2047 drivers/s390/block/dasd_3990_erp.c if ((erp->function == dasd_3990_erp_compound_path) && erp 2048 drivers/s390/block/dasd_3990_erp.c (erp->status == DASD_CQR_NEED_ERP)) { erp 2050 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_compound_code(erp, sense); erp 2053 drivers/s390/block/dasd_3990_erp.c if ((erp->function == dasd_3990_erp_compound_code) && erp 2054 drivers/s390/block/dasd_3990_erp.c (erp->status == DASD_CQR_NEED_ERP)) { erp 2056 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_config(erp, sense); erp 2060 drivers/s390/block/dasd_3990_erp.c if (erp->status == DASD_CQR_NEED_ERP) erp 2061 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FAILED; erp 2063 drivers/s390/block/dasd_3990_erp.c return erp; erp 2112 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_inspect_32(struct dasd_ccw_req * erp, char *sense) erp 2115 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 2117 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_inspect_32; erp 2126 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_compound_retry(erp, sense); erp 2143 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 2148 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_int_req(erp); erp 2156 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 2160 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_10_32(erp, sense); erp 2170 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_cleanup(erp, DASD_CQR_FAILED); erp 2175 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1B_32(erp, sense); erp 2194 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 2201 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 2209 drivers/s390/block/dasd_3990_erp.c return erp; erp 2243 drivers/s390/block/dasd_3990_erp.c static void dasd_3990_erp_account_error(struct dasd_ccw_req *erp) erp 2245 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 2246 drivers/s390/block/dasd_3990_erp.c __u8 lpum = erp->refers->irb.esw.esw1.lpum; erp 2292 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_control_check(struct dasd_ccw_req *erp) erp 2294 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 2296 drivers/s390/block/dasd_3990_erp.c if (scsw_cstat(&erp->refers->irb.scsw) & (SCHN_STAT_INTF_CTRL_CHK erp 2300 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_account_error(erp); erp 2301 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, NULL); erp 2303 drivers/s390/block/dasd_3990_erp.c return erp; erp 2319 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_inspect(struct dasd_ccw_req *erp) erp 2326 drivers/s390/block/dasd_3990_erp.c erp_new = dasd_3990_erp_inspect_alias(erp); erp 2334 drivers/s390/block/dasd_3990_erp.c sense = dasd_get_sense(&erp->refers->irb); erp 2336 drivers/s390/block/dasd_3990_erp.c erp_new = dasd_3990_erp_control_check(erp); erp 2341 drivers/s390/block/dasd_3990_erp.c erp_new = dasd_3990_erp_inspect_24(erp, sense); erp 2346 drivers/s390/block/dasd_3990_erp.c erp_new = dasd_3990_erp_inspect_32(erp, sense); erp 2376 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp; erp 2391 drivers/s390/block/dasd_3990_erp.c erp = dasd_alloc_erp_request((char *) &cqr->magic, erp 2393 drivers/s390/block/dasd_3990_erp.c if (IS_ERR(erp)) { erp 2406 drivers/s390/block/dasd_3990_erp.c return erp; erp 2412 drivers/s390/block/dasd_3990_erp.c erp->cpmode = 1; erp 2413 drivers/s390/block/dasd_3990_erp.c erp->cpaddr = PTR_ALIGN(erp->data, 64); erp 2414 drivers/s390/block/dasd_3990_erp.c tcw = erp->cpaddr; erp 2420 drivers/s390/block/dasd_3990_erp.c erp->cpaddr = cqr->cpaddr; erp 2423 drivers/s390/block/dasd_3990_erp.c ccw = erp->cpaddr; erp 2431 drivers/s390/block/dasd_3990_erp.c erp->flags = cqr->flags; erp 2432 drivers/s390/block/dasd_3990_erp.c erp->function = dasd_3990_erp_add_erp; erp 2433 drivers/s390/block/dasd_3990_erp.c erp->refers = cqr; erp 2434 drivers/s390/block/dasd_3990_erp.c erp->startdev = device; erp 2435 drivers/s390/block/dasd_3990_erp.c erp->memdev = device; erp 2436 drivers/s390/block/dasd_3990_erp.c erp->block = cqr->block; erp 2437 drivers/s390/block/dasd_3990_erp.c erp->magic = cqr->magic; erp 2438 drivers/s390/block/dasd_3990_erp.c erp->expires = cqr->expires; erp 2439 drivers/s390/block/dasd_3990_erp.c erp->retries = 256; erp 2440 drivers/s390/block/dasd_3990_erp.c erp->buildclk = get_tod_clock(); erp 2441 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 2443 drivers/s390/block/dasd_3990_erp.c return erp; erp 2465 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp = NULL; erp 2468 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_add_erp(cqr); erp 2470 drivers/s390/block/dasd_3990_erp.c if (IS_ERR(erp)) erp 2471 drivers/s390/block/dasd_3990_erp.c return erp; erp 2474 drivers/s390/block/dasd_3990_erp.c if (erp != cqr) { erp 2476 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_inspect(erp); erp 2479 drivers/s390/block/dasd_3990_erp.c return erp; erp 2596 drivers/s390/block/dasd_3990_erp.c dasd_3990_erp_further_erp(struct dasd_ccw_req *erp) erp 2599 drivers/s390/block/dasd_3990_erp.c struct dasd_device *device = erp->startdev; erp 2600 drivers/s390/block/dasd_3990_erp.c char *sense = dasd_get_sense(&erp->irb); erp 2603 drivers/s390/block/dasd_3990_erp.c if ((erp->function == dasd_3990_erp_bus_out) || erp 2604 drivers/s390/block/dasd_3990_erp.c (erp->function == dasd_3990_erp_action_1) || erp 2605 drivers/s390/block/dasd_3990_erp.c (erp->function == dasd_3990_erp_action_4)) { erp 2607 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1(erp); erp 2609 drivers/s390/block/dasd_3990_erp.c } else if (erp->function == dasd_3990_erp_action_1_sec) { erp 2610 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1_sec(erp); erp 2611 drivers/s390/block/dasd_3990_erp.c } else if (erp->function == dasd_3990_erp_action_5) { erp 2615 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_1(erp); erp 2625 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_DCTL(erp, 0x20); erp 2630 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_DCTL(erp, 0x40); erp 2635 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_DCTL(erp, 0x80); erp 2648 drivers/s390/block/dasd_3990_erp.c ((erp->function == dasd_3990_erp_compound_retry) || erp 2649 drivers/s390/block/dasd_3990_erp.c (erp->function == dasd_3990_erp_compound_path) || erp 2650 drivers/s390/block/dasd_3990_erp.c (erp->function == dasd_3990_erp_compound_code) || erp 2651 drivers/s390/block/dasd_3990_erp.c (erp->function == dasd_3990_erp_compound_config))) { erp 2653 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_compound(erp, sense); erp 2661 drivers/s390/block/dasd_3990_erp.c "ERP %p has run out of retries and failed\n", erp); erp 2663 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FAILED; erp 2666 drivers/s390/block/dasd_3990_erp.c return erp; erp 2691 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp) erp 2699 drivers/s390/block/dasd_3990_erp.c while (erp_done != erp) { erp 2716 drivers/s390/block/dasd_3990_erp.c if (erp->retries > 0) { erp 2718 drivers/s390/block/dasd_3990_erp.c char *sense = dasd_get_sense(&erp->refers->irb); erp 2721 drivers/s390/block/dasd_3990_erp.c if (sense && erp->function == dasd_3990_erp_action_4) { erp 2723 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_action_4(erp, sense); erp 2726 drivers/s390/block/dasd_3990_erp.c erp->function == dasd_3990_erp_action_1B_32) { erp 2728 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_update_1B(erp, sense); erp 2730 drivers/s390/block/dasd_3990_erp.c } else if (sense && erp->function == dasd_3990_erp_int_req) { erp 2732 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_int_req(erp); erp 2738 drivers/s390/block/dasd_3990_erp.c erp->retries, erp); erp 2741 drivers/s390/block/dasd_3990_erp.c erp->status = DASD_CQR_FILLED; erp 2747 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_further_erp(erp); erp 2750 drivers/s390/block/dasd_3990_erp.c return erp; erp 2774 drivers/s390/block/dasd_3990_erp.c struct dasd_ccw_req *erp = NULL; erp 2807 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_in_erp(cqr); erp 2809 drivers/s390/block/dasd_3990_erp.c if (erp == NULL) { erp 2811 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_additional_erp(cqr); erp 2812 drivers/s390/block/dasd_3990_erp.c if (IS_ERR(erp)) erp 2813 drivers/s390/block/dasd_3990_erp.c return erp; erp 2816 drivers/s390/block/dasd_3990_erp.c erp = dasd_3990_erp_handle_match_erp(cqr, erp); erp 2825 drivers/s390/block/dasd_3990_erp.c if (test_bit(DASD_CQR_VERIFY_PATH, &erp->flags) && cqr->lpm) { erp 2826 drivers/s390/block/dasd_3990_erp.c erp->lpm = cqr->lpm; erp 2833 drivers/s390/block/dasd_3990_erp.c for (temp_erp = erp; erp 2844 drivers/s390/block/dasd_3990_erp.c if (list_empty(&erp->blocklist)) { erp 2847 drivers/s390/block/dasd_3990_erp.c list_add_tail(&erp->blocklist, &cqr->blocklist); erp 2852 drivers/s390/block/dasd_3990_erp.c return erp; erp 341 drivers/s390/scsi/zfcp_dbf.c void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) erp 343 drivers/s390/scsi/zfcp_dbf.c struct zfcp_dbf *dbf = erp->adapter->dbf; erp 355 drivers/s390/scsi/zfcp_dbf.c zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev); erp 357 drivers/s390/scsi/zfcp_dbf.c rec->u.run.fsf_req_id = erp->fsf_req_id; erp 358 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_status = erp->status; erp 359 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_step = erp->step; erp 360 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_action = erp->type; erp 362 drivers/s390/scsi/zfcp_dbf.c if (erp->sdev) erp 364 drivers/s390/scsi/zfcp_dbf.c atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); erp 365 drivers/s390/scsi/zfcp_dbf.c else if (erp->port) erp 366 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = atomic_read(&erp->port->erp_counter); erp 368 drivers/s390/scsi/zfcp_dbf.c rec->u.run.rec_count = atomic_read(&erp->adapter->erp_counter); erp 379 drivers/s390/scsi/zfcp_dbf.c void zfcp_dbf_rec_run(char *tag, struct zfcp_erp_action *erp) erp 381 drivers/s390/scsi/zfcp_dbf.c zfcp_dbf_rec_run_lvl(1, tag, erp); erp 43 drivers/s390/scsi/zfcp_ext.h struct zfcp_erp_action *erp); erp 5786 fs/ext4/extents.c ext4_lblk_t count, int unwritten, int *erp) erp 5797 fs/ext4/extents.c *erp = ext4_es_remove_extent(inode1, lblk1, count); erp 5798 fs/ext4/extents.c if (unlikely(*erp)) erp 5800 fs/ext4/extents.c *erp = ext4_es_remove_extent(inode2, lblk2, count); erp 5801 fs/ext4/extents.c if (unlikely(*erp)) erp 5812 fs/ext4/extents.c *erp = PTR_ERR(path1); erp 5820 fs/ext4/extents.c *erp = PTR_ERR(path2); erp 5866 fs/ext4/extents.c *erp = ext4_force_split_extent_at(handle, inode1, erp 5868 fs/ext4/extents.c if (unlikely(*erp)) erp 5873 fs/ext4/extents.c *erp = ext4_force_split_extent_at(handle, inode2, erp 5875 fs/ext4/extents.c if (unlikely(*erp)) erp 5892 fs/ext4/extents.c *erp = ext4_force_split_extent_at(handle, inode1, erp 5894 fs/ext4/extents.c if (unlikely(*erp)) erp 5899 fs/ext4/extents.c *erp = ext4_force_split_extent_at(handle, inode2, erp 5901 fs/ext4/extents.c if (*erp) erp 5910 fs/ext4/extents.c *erp = ext4_ext_get_access(handle, inode1, path1 + path1->p_depth); erp 5911 fs/ext4/extents.c if (unlikely(*erp)) erp 5913 fs/ext4/extents.c *erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth); erp 5914 fs/ext4/extents.c if (unlikely(*erp)) erp 5930 fs/ext4/extents.c *erp = ext4_ext_dirty(handle, inode2, path2 + erp 5932 fs/ext4/extents.c if (unlikely(*erp)) erp 5934 fs/ext4/extents.c *erp = ext4_ext_dirty(handle, inode1, path1 + erp 5942 fs/ext4/extents.c if (unlikely(*erp)) erp 1932 net/mac80211/ieee80211_i.h int rate, int erp, int short_preamble, erp 2091 net/mac80211/mlme.c u16 capab, bool erp_valid, u8 erp) erp 2105 net/mac80211/mlme.c use_protection = (erp & WLAN_ERP_USE_PROTECTION) != 0; erp 2106 net/mac80211/mlme.c use_short_preamble = (erp & WLAN_ERP_BARKER_PREAMBLE) == 0; erp 441 net/mac80211/rc80211_minstrel.c int erp = !!(rate->flags & IEEE80211_RATE_ERP_G); erp 445 net/mac80211/rc80211_minstrel.c DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, erp 448 net/mac80211/rc80211_minstrel.c DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, erp 55 net/mac80211/tx.c int rate, mrate, erp, dur, i, shift = 0; erp 83 net/mac80211/tx.c erp = txrate->flags & IEEE80211_RATE_ERP_G; erp 190 net/mac80211/tx.c dur = ieee80211_frame_duration(sband->band, 10, rate, erp, erp 200 net/mac80211/tx.c txrate->bitrate, erp, erp 61 net/mac80211/util.c int rate, int erp, int short_preamble, erp 78 net/mac80211/util.c if (band == NL80211_BAND_5GHZ || erp) { erp 136 net/mac80211/util.c int erp, shift = 0; erp 139 net/mac80211/util.c erp = 0; erp 144 net/mac80211/util.c erp = rate->flags & IEEE80211_RATE_ERP_G; erp 148 net/mac80211/util.c dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, erp 163 net/mac80211/util.c int erp, shift = 0, bitrate; erp 173 net/mac80211/util.c erp = 0; erp 178 net/mac80211/util.c erp = rate->flags & IEEE80211_RATE_ERP_G; erp 186 net/mac80211/util.c erp, short_preamble, shift); erp 189 net/mac80211/util.c erp, short_preamble, shift); erp 192 net/mac80211/util.c erp, short_preamble, shift); erp 207 net/mac80211/util.c int erp, shift = 0, bitrate; erp 216 net/mac80211/util.c erp = 0; erp 221 net/mac80211/util.c erp = rate->flags & IEEE80211_RATE_ERP_G; erp 229 net/mac80211/util.c erp, short_preamble, shift); erp 233 net/mac80211/util.c erp, short_preamble, shift); erp 300 sound/usb/caiaq/device.c int digital, int analog, int erp) erp 302 sound/usb/caiaq/device.c char tmp[3] = { digital, analog, erp }; erp 127 sound/usb/caiaq/device.h int snd_usb_caiaq_set_auto_msg (struct snd_usb_caiaqdev *cdev, int digital, int analog, int erp);