Home
last modified time | relevance | path

Searched refs:erp (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.4/drivers/s390/block/
Ddasd_3990_erp.c53 dasd_3990_erp_cleanup(struct dasd_ccw_req * erp, char final_status) in dasd_3990_erp_cleanup() argument
55 struct dasd_ccw_req *cqr = erp->refers; in dasd_3990_erp_cleanup()
57 dasd_free_erp_request(erp, erp->memdev); in dasd_3990_erp_cleanup()
71 static void dasd_3990_erp_block_queue(struct dasd_ccw_req *erp, int expires) in dasd_3990_erp_block_queue() argument
74 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue()
83 erp->status = DASD_CQR_FILLED; in dasd_3990_erp_block_queue()
84 if (erp->block) in dasd_3990_erp_block_queue()
85 dasd_block_set_timer(erp->block, expires); in dasd_3990_erp_block_queue()
103 dasd_3990_erp_int_req(struct dasd_ccw_req * erp) in dasd_3990_erp_int_req() argument
106 struct dasd_device *device = erp->startdev; in dasd_3990_erp_int_req()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c75 struct mlxsw_sp_acl_erp *erp);
83 struct mlxsw_sp_acl_erp *erp);
89 struct mlxsw_sp_acl_erp *erp);
95 struct mlxsw_sp_acl_erp *erp);
98 struct mlxsw_sp_acl_erp *erp);
128 mlxsw_sp_acl_erp_bank_get(const struct mlxsw_sp_acl_erp *erp) in mlxsw_sp_acl_erp_bank_get() argument
130 return erp->index % erp->erp_table->erp_core->num_erp_banks; in mlxsw_sp_acl_erp_bank_get()
254 struct mlxsw_sp_acl_erp *erp; in mlxsw_sp_acl_erp_generic_create() local
257 erp = kzalloc(sizeof(*erp), GFP_KERNEL); in mlxsw_sp_acl_erp_generic_create()
258 if (!erp) in mlxsw_sp_acl_erp_generic_create()
[all …]
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c74 struct rt2x00lib_erp erp; in rt2x00lib_config_erp() local
76 memset(&erp, 0, sizeof(erp)); in rt2x00lib_config_erp()
78 erp.short_preamble = bss_conf->use_short_preamble; in rt2x00lib_config_erp()
79 erp.cts_protection = bss_conf->use_cts_prot; in rt2x00lib_config_erp()
81 erp.slot_time = bss_conf->use_short_slot ? SHORT_SLOT_TIME : SLOT_TIME; in rt2x00lib_config_erp()
82 erp.sifs = SIFS; in rt2x00lib_config_erp()
83 erp.pifs = bss_conf->use_short_slot ? SHORT_PIFS : PIFS; in rt2x00lib_config_erp()
84 erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; in rt2x00lib_config_erp()
85 erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; in rt2x00lib_config_erp()
87 erp.basic_rates = bss_conf->basic_rates; in rt2x00lib_config_erp()
[all …]
Drt2400pci.c313 struct rt2x00lib_erp *erp, in rt2400pci_config_erp() argument
323 preamble_mask = erp->short_preamble << 3; in rt2400pci_config_erp()
362 rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); in rt2400pci_config_erp()
366 rt2x00_set_field32(&reg, CSR11_SLOT_TIME, erp->slot_time); in rt2400pci_config_erp()
370 rt2x00_set_field32(&reg, CSR18_SIFS, erp->sifs); in rt2400pci_config_erp()
371 rt2x00_set_field32(&reg, CSR18_PIFS, erp->pifs); in rt2400pci_config_erp()
375 rt2x00_set_field32(&reg, CSR19_DIFS, erp->difs); in rt2400pci_config_erp()
376 rt2x00_set_field32(&reg, CSR19_EIFS, erp->eifs); in rt2400pci_config_erp()
383 erp->beacon_int * 16); in rt2400pci_config_erp()
385 erp->beacon_int * 16); in rt2400pci_config_erp()
Drt2500pci.c318 struct rt2x00lib_erp *erp, in rt2500pci_config_erp() argument
328 preamble_mask = erp->short_preamble << 3; in rt2500pci_config_erp()
367 rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); in rt2500pci_config_erp()
371 rt2x00_set_field32(&reg, CSR11_SLOT_TIME, erp->slot_time); in rt2500pci_config_erp()
375 rt2x00_set_field32(&reg, CSR18_SIFS, erp->sifs); in rt2500pci_config_erp()
376 rt2x00_set_field32(&reg, CSR18_PIFS, erp->pifs); in rt2500pci_config_erp()
380 rt2x00_set_field32(&reg, CSR19_DIFS, erp->difs); in rt2500pci_config_erp()
381 rt2x00_set_field32(&reg, CSR19_EIFS, erp->eifs); in rt2500pci_config_erp()
388 erp->beacon_int * 16); in rt2500pci_config_erp()
390 erp->beacon_int * 16); in rt2500pci_config_erp()
Drt2500usb.c470 struct rt2x00lib_erp *erp, in rt2500usb_config_erp() argument
478 !!erp->short_preamble); in rt2500usb_config_erp()
484 erp->basic_rates); in rt2500usb_config_erp()
489 erp->beacon_int * 4); in rt2500usb_config_erp()
494 rt2500usb_register_write(rt2x00dev, MAC_CSR10, erp->slot_time); in rt2500usb_config_erp()
495 rt2500usb_register_write(rt2x00dev, MAC_CSR11, erp->sifs); in rt2500usb_config_erp()
496 rt2500usb_register_write(rt2x00dev, MAC_CSR12, erp->eifs); in rt2500usb_config_erp()
Drt73usb.c525 struct rt2x00lib_erp *erp, in rt73usb_config_erp() argument
539 !!erp->short_preamble); in rt73usb_config_erp()
545 erp->basic_rates); in rt73usb_config_erp()
550 erp->beacon_int * 16); in rt73usb_config_erp()
556 rt2x00_set_field32(&reg, MAC_CSR9_SLOT_TIME, erp->slot_time); in rt73usb_config_erp()
560 rt2x00_set_field32(&reg, MAC_CSR8_SIFS, erp->sifs); in rt73usb_config_erp()
562 rt2x00_set_field32(&reg, MAC_CSR8_EIFS, erp->eifs); in rt73usb_config_erp()
Drt61pci.c491 struct rt2x00lib_erp *erp, in rt61pci_config_erp() argument
505 !!erp->short_preamble); in rt61pci_config_erp()
511 erp->basic_rates); in rt61pci_config_erp()
516 erp->beacon_int * 16); in rt61pci_config_erp()
522 rt2x00_set_field32(&reg, MAC_CSR9_SLOT_TIME, erp->slot_time); in rt61pci_config_erp()
526 rt2x00_set_field32(&reg, MAC_CSR8_SIFS, erp->sifs); in rt61pci_config_erp()
528 rt2x00_set_field32(&reg, MAC_CSR8_EIFS, erp->eifs); in rt61pci_config_erp()
Drt2800lib.h222 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp,
Drt2800lib.c1993 struct rt2x00lib_erp *erp) in rt2800_config_ht_opmode() argument
1995 bool any_sta_nongf = !!(erp->ht_opmode & in rt2800_config_ht_opmode()
1997 u8 protection = erp->ht_opmode & IEEE80211_HT_OP_MODE_PROTECTION; in rt2800_config_ht_opmode()
2054 if (erp->cts_protection) { in rt2800_config_ht_opmode()
2088 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, in rt2800_config_erp() argument
2096 !!erp->short_preamble); in rt2800_config_erp()
2103 erp->cts_protection ? 2 : 0); in rt2800_config_erp()
2109 0xff0 | erp->basic_rates); in rt2800_config_erp()
2116 erp->slot_time); in rt2800_config_erp()
2120 rt2x00_set_field32(&reg, XIFS_TIME_CFG_EIFS, erp->eifs); in rt2800_config_erp()
[all …]
Drt2x00.h612 struct rt2x00lib_erp *erp,
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_dbf.c343 void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run_lvl() argument
345 struct zfcp_dbf *dbf = erp->adapter->dbf; in zfcp_dbf_rec_run_lvl()
357 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev); in zfcp_dbf_rec_run_lvl()
359 rec->u.run.fsf_req_id = erp->fsf_req_id; in zfcp_dbf_rec_run_lvl()
360 rec->u.run.rec_status = erp->status; in zfcp_dbf_rec_run_lvl()
361 rec->u.run.rec_step = erp->step; in zfcp_dbf_rec_run_lvl()
362 rec->u.run.rec_action = erp->type; in zfcp_dbf_rec_run_lvl()
364 if (erp->sdev) in zfcp_dbf_rec_run_lvl()
366 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()
367 else if (erp->port) in zfcp_dbf_rec_run_lvl()
[all …]
Dzfcp_ext.h43 struct zfcp_erp_action *erp);
/Linux-v5.4/arch/arc/kernel/
Dsetup.c374 struct bcr_erp erp; in arc_extn_mumbojumbo() local
375 READ_BCR(ARC_REG_ERP_BUILD, erp); in arc_extn_mumbojumbo()
377 if (erp.ver) { in arc_extn_mumbojumbo()
383 IS_AVAIL3(erp.ic, !ctl.dpi, "IC "), in arc_extn_mumbojumbo()
384 IS_AVAIL3(erp.dc, !ctl.dpd, "DC "), in arc_extn_mumbojumbo()
385 IS_AVAIL3(erp.mmu, !ctl.mpd, "MMU ")); in arc_extn_mumbojumbo()
/Linux-v5.4/net/mac80211/
Dutil.c61 int rate, int erp, int short_preamble, in ieee80211_frame_duration() argument
78 if (band == NL80211_BAND_5GHZ || erp) { in ieee80211_frame_duration()
136 int erp, shift = 0; in ieee80211_generic_frame_duration() local
139 erp = 0; in ieee80211_generic_frame_duration()
144 erp = rate->flags & IEEE80211_RATE_ERP_G; in ieee80211_generic_frame_duration()
148 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
163 int erp, shift = 0, bitrate; in ieee80211_rts_duration() local
173 erp = 0; in ieee80211_rts_duration()
178 erp = rate->flags & IEEE80211_RATE_ERP_G; in ieee80211_rts_duration()
186 erp, short_preamble, shift); in ieee80211_rts_duration()
[all …]
Drc80211_minstrel.c441 int erp = !!(rate->flags & IEEE80211_RATE_ERP_G); in calc_rate_durations() local
445 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
448 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
Dtx.c55 int rate, mrate, erp, dur, i, shift = 0; in ieee80211_duration() local
83 erp = txrate->flags & IEEE80211_RATE_ERP_G; in ieee80211_duration()
190 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, in ieee80211_duration()
200 txrate->bitrate, erp, in ieee80211_duration()
Dieee80211_i.h1932 int rate, int erp, int short_preamble,
Dmlme.c2091 u16 capab, bool erp_valid, u8 erp) in ieee80211_handle_bss_capability() argument
2105 use_protection = (erp & WLAN_ERP_USE_PROTECTION) != 0; in ieee80211_handle_bss_capability()
2106 use_short_preamble = (erp & WLAN_ERP_BARKER_PREAMBLE) == 0; in ieee80211_handle_bss_capability()
/Linux-v5.4/sound/usb/caiaq/
Ddevice.h127 int snd_usb_caiaq_set_auto_msg (struct snd_usb_caiaqdev *cdev, int digital, int analog, int erp);
Ddevice.c300 int digital, int analog, int erp) in snd_usb_caiaq_set_auto_msg() argument
302 char tmp[3] = { digital, analog, erp }; in snd_usb_caiaq_set_auto_msg()
/Linux-v5.4/fs/ext4/
Dextents.c5779 ext4_lblk_t count, int unwritten, int *erp) in ext4_swap_extents() argument
5790 *erp = ext4_es_remove_extent(inode1, lblk1, count); in ext4_swap_extents()
5791 if (unlikely(*erp)) in ext4_swap_extents()
5793 *erp = ext4_es_remove_extent(inode2, lblk2, count); in ext4_swap_extents()
5794 if (unlikely(*erp)) in ext4_swap_extents()
5805 *erp = PTR_ERR(path1); in ext4_swap_extents()
5813 *erp = PTR_ERR(path2); in ext4_swap_extents()
5859 *erp = ext4_force_split_extent_at(handle, inode1, in ext4_swap_extents()
5861 if (unlikely(*erp)) in ext4_swap_extents()
5866 *erp = ext4_force_split_extent_at(handle, inode2, in ext4_swap_extents()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
Ddebug.c719 DEBUGFS_DECLARE_RW_FILE(erp, 80);
873 DEBUGFS_ADD(erp); in carl9170_debugfs_register()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.h1982 __le32 erp; member
Dwmi-tlv.c3139 info->erp = __cpu_to_le32(prb_erp); in ath10k_wmi_tlv_op_gen_bcn_tmpl()
3192 info->erp = 0; in ath10k_wmi_tlv_op_gen_prb_tmpl()

12