Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c77 struct mlxsw_sp_acl_erp *erp);
85 struct mlxsw_sp_acl_erp *erp);
91 struct mlxsw_sp_acl_erp *erp);
97 struct mlxsw_sp_acl_erp *erp);
100 struct mlxsw_sp_acl_erp *erp);
122 bool mlxsw_sp_acl_erp_is_ctcam_erp(const struct mlxsw_sp_acl_erp *erp) in mlxsw_sp_acl_erp_is_ctcam_erp() argument
124 return erp->key.ctcam; in mlxsw_sp_acl_erp_is_ctcam_erp()
127 u8 mlxsw_sp_acl_erp_id(const struct mlxsw_sp_acl_erp *erp) in mlxsw_sp_acl_erp_id() argument
129 return erp->id; in mlxsw_sp_acl_erp_id()
197 const struct mlxsw_sp_acl_erp *erp) in mlxsw_sp_acl_erp_master_mask_set() argument
[all …]
Dspectrum2_acl_tcam.c37 struct mlxsw_sp_acl_erp *erp; in mlxsw_sp2_acl_ctcam_region_entry_insert() local
42 erp = mlxsw_sp_acl_erp_get(aregion, mask, true); in mlxsw_sp2_acl_ctcam_region_entry_insert()
43 if (IS_ERR(erp)) in mlxsw_sp2_acl_ctcam_region_entry_insert()
44 return PTR_ERR(erp); in mlxsw_sp2_acl_ctcam_region_entry_insert()
45 aentry->erp = erp; in mlxsw_sp2_acl_ctcam_region_entry_insert()
60 mlxsw_sp_acl_erp_put(aregion, aentry->erp); in mlxsw_sp2_acl_ctcam_region_entry_remove()
Dspectrum_acl_atcam.c67 return mlxsw_sp_acl_erp_is_ctcam_erp(aentry->erp); in mlxsw_sp_acl_atcam_is_centry()
382 u8 erp_id = mlxsw_sp_acl_erp_id(aentry->erp); in mlxsw_sp_acl_atcam_region_entry_insert()
421 u8 erp_id = mlxsw_sp_acl_erp_id(aentry->erp); in mlxsw_sp_acl_atcam_region_entry_remove()
441 struct mlxsw_sp_acl_erp *erp; in __mlxsw_sp_acl_atcam_entry_add() local
449 erp = mlxsw_sp_acl_erp_get(aregion, mask, false); in __mlxsw_sp_acl_atcam_entry_add()
450 if (IS_ERR(erp)) in __mlxsw_sp_acl_atcam_entry_add()
451 return PTR_ERR(erp); in __mlxsw_sp_acl_atcam_entry_add()
452 aentry->erp = erp; in __mlxsw_sp_acl_atcam_entry_add()
453 aentry->ht_key.erp_id = mlxsw_sp_acl_erp_id(erp); in __mlxsw_sp_acl_atcam_entry_add()
475 mlxsw_sp_acl_erp_put(aregion, erp); in __mlxsw_sp_acl_atcam_entry_add()
[all …]
Dspectrum_acl_tcam.h170 struct mlxsw_sp_acl_erp *erp; member
214 bool mlxsw_sp_acl_erp_is_ctcam_erp(const struct mlxsw_sp_acl_erp *erp);
215 u8 mlxsw_sp_acl_erp_id(const struct mlxsw_sp_acl_erp *erp);
220 struct mlxsw_sp_acl_erp *erp);
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c85 struct rt2x00lib_erp erp; in rt2x00lib_config_erp() local
87 memset(&erp, 0, sizeof(erp)); in rt2x00lib_config_erp()
89 erp.short_preamble = bss_conf->use_short_preamble; in rt2x00lib_config_erp()
90 erp.cts_protection = bss_conf->use_cts_prot; in rt2x00lib_config_erp()
92 erp.slot_time = bss_conf->use_short_slot ? SHORT_SLOT_TIME : SLOT_TIME; in rt2x00lib_config_erp()
93 erp.sifs = SIFS; in rt2x00lib_config_erp()
94 erp.pifs = bss_conf->use_short_slot ? SHORT_PIFS : PIFS; in rt2x00lib_config_erp()
95 erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; in rt2x00lib_config_erp()
96 erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; in rt2x00lib_config_erp()
98 erp.basic_rates = bss_conf->basic_rates; in rt2x00lib_config_erp()
[all …]
Drt2400pci.c324 struct rt2x00lib_erp *erp, in rt2400pci_config_erp() argument
334 preamble_mask = erp->short_preamble << 3; in rt2400pci_config_erp()
373 rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); in rt2400pci_config_erp()
377 rt2x00_set_field32(&reg, CSR11_SLOT_TIME, erp->slot_time); in rt2400pci_config_erp()
381 rt2x00_set_field32(&reg, CSR18_SIFS, erp->sifs); in rt2400pci_config_erp()
382 rt2x00_set_field32(&reg, CSR18_PIFS, erp->pifs); in rt2400pci_config_erp()
386 rt2x00_set_field32(&reg, CSR19_DIFS, erp->difs); in rt2400pci_config_erp()
387 rt2x00_set_field32(&reg, CSR19_EIFS, erp->eifs); in rt2400pci_config_erp()
394 erp->beacon_int * 16); in rt2400pci_config_erp()
396 erp->beacon_int * 16); in rt2400pci_config_erp()
Drt2500pci.c329 struct rt2x00lib_erp *erp, in rt2500pci_config_erp() argument
339 preamble_mask = erp->short_preamble << 3; in rt2500pci_config_erp()
378 rt2x00mmio_register_write(rt2x00dev, ARCSR1, erp->basic_rates); in rt2500pci_config_erp()
382 rt2x00_set_field32(&reg, CSR11_SLOT_TIME, erp->slot_time); in rt2500pci_config_erp()
386 rt2x00_set_field32(&reg, CSR18_SIFS, erp->sifs); in rt2500pci_config_erp()
387 rt2x00_set_field32(&reg, CSR18_PIFS, erp->pifs); in rt2500pci_config_erp()
391 rt2x00_set_field32(&reg, CSR19_DIFS, erp->difs); in rt2500pci_config_erp()
392 rt2x00_set_field32(&reg, CSR19_EIFS, erp->eifs); in rt2500pci_config_erp()
399 erp->beacon_int * 16); in rt2500pci_config_erp()
401 erp->beacon_int * 16); in rt2500pci_config_erp()
Drt2500usb.c481 struct rt2x00lib_erp *erp, in rt2500usb_config_erp() argument
489 !!erp->short_preamble); in rt2500usb_config_erp()
495 erp->basic_rates); in rt2500usb_config_erp()
500 erp->beacon_int * 4); in rt2500usb_config_erp()
505 rt2500usb_register_write(rt2x00dev, MAC_CSR10, erp->slot_time); in rt2500usb_config_erp()
506 rt2500usb_register_write(rt2x00dev, MAC_CSR11, erp->sifs); in rt2500usb_config_erp()
507 rt2500usb_register_write(rt2x00dev, MAC_CSR12, erp->eifs); in rt2500usb_config_erp()
Drt73usb.c536 struct rt2x00lib_erp *erp, in rt73usb_config_erp() argument
550 !!erp->short_preamble); in rt73usb_config_erp()
556 erp->basic_rates); in rt73usb_config_erp()
561 erp->beacon_int * 16); in rt73usb_config_erp()
567 rt2x00_set_field32(&reg, MAC_CSR9_SLOT_TIME, erp->slot_time); in rt73usb_config_erp()
571 rt2x00_set_field32(&reg, MAC_CSR8_SIFS, erp->sifs); in rt73usb_config_erp()
573 rt2x00_set_field32(&reg, MAC_CSR8_EIFS, erp->eifs); in rt73usb_config_erp()
Drt2800lib.h219 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp,
Drt61pci.c587 struct rt2x00lib_erp *erp, in rt61pci_config_erp() argument
601 !!erp->short_preamble); in rt61pci_config_erp()
607 erp->basic_rates); in rt61pci_config_erp()
612 erp->beacon_int * 16); in rt61pci_config_erp()
618 rt2x00_set_field32(&reg, MAC_CSR9_SLOT_TIME, erp->slot_time); in rt61pci_config_erp()
622 rt2x00_set_field32(&reg, MAC_CSR8_SIFS, erp->sifs); in rt61pci_config_erp()
624 rt2x00_set_field32(&reg, MAC_CSR8_EIFS, erp->eifs); in rt61pci_config_erp()
Drt2800lib.c1754 struct rt2x00lib_erp *erp) in rt2800_config_ht_opmode() argument
1756 bool any_sta_nongf = !!(erp->ht_opmode & in rt2800_config_ht_opmode()
1758 u8 protection = erp->ht_opmode & IEEE80211_HT_OP_MODE_PROTECTION; in rt2800_config_ht_opmode()
1815 if (erp->cts_protection) { in rt2800_config_ht_opmode()
1849 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp, in rt2800_config_erp() argument
1857 !!erp->short_preamble); in rt2800_config_erp()
1864 erp->cts_protection ? 2 : 0); in rt2800_config_erp()
1870 0xff0 | erp->basic_rates); in rt2800_config_erp()
1877 erp->slot_time); in rt2800_config_erp()
1881 rt2x00_set_field32(&reg, XIFS_TIME_CFG_EIFS, erp->eifs); in rt2800_config_erp()
[all …]
Drt2x00.h622 struct rt2x00lib_erp *erp,
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_dbf.c341 void zfcp_dbf_rec_run_lvl(int level, char *tag, struct zfcp_erp_action *erp) in zfcp_dbf_rec_run_lvl() argument
343 struct zfcp_dbf *dbf = erp->adapter->dbf; in zfcp_dbf_rec_run_lvl()
355 zfcp_dbf_set_common(rec, erp->adapter, erp->port, erp->sdev); in zfcp_dbf_rec_run_lvl()
357 rec->u.run.fsf_req_id = erp->fsf_req_id; in zfcp_dbf_rec_run_lvl()
358 rec->u.run.rec_status = erp->status; in zfcp_dbf_rec_run_lvl()
359 rec->u.run.rec_step = erp->step; in zfcp_dbf_rec_run_lvl()
360 rec->u.run.rec_action = erp->action; in zfcp_dbf_rec_run_lvl()
362 if (erp->sdev) in zfcp_dbf_rec_run_lvl()
364 atomic_read(&sdev_to_zfcp(erp->sdev)->erp_counter); in zfcp_dbf_rec_run_lvl()
365 else if (erp->port) in zfcp_dbf_rec_run_lvl()
[all …]
Dzfcp_ext.h43 struct zfcp_erp_action *erp);
/Linux-v4.19/arch/arc/kernel/
Dsetup.c349 struct bcr_erp erp; in arc_extn_mumbojumbo() local
350 READ_BCR(ARC_REG_ERP_BUILD, erp); in arc_extn_mumbojumbo()
352 if (erp.ver) { in arc_extn_mumbojumbo()
358 IS_AVAIL3(erp.ic, !ctl.dpi, "IC "), in arc_extn_mumbojumbo()
359 IS_AVAIL3(erp.dc, !ctl.dpd, "DC "), in arc_extn_mumbojumbo()
360 IS_AVAIL3(erp.mmu, !ctl.mpd, "MMU ")); in arc_extn_mumbojumbo()
/Linux-v4.19/net/mac80211/
Dutil.c64 int rate, int erp, int short_preamble, in ieee80211_frame_duration() argument
81 if (band == NL80211_BAND_5GHZ || erp) { in ieee80211_frame_duration()
139 int erp, shift = 0; in ieee80211_generic_frame_duration() local
142 erp = 0; in ieee80211_generic_frame_duration()
147 erp = rate->flags & IEEE80211_RATE_ERP_G; in ieee80211_generic_frame_duration()
151 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
166 int erp, shift = 0, bitrate; in ieee80211_rts_duration() local
176 erp = 0; in ieee80211_rts_duration()
181 erp = rate->flags & IEEE80211_RATE_ERP_G; in ieee80211_rts_duration()
189 erp, short_preamble, shift); in ieee80211_rts_duration()
[all …]
Drc80211_minstrel.c451 int erp = !!(rate->flags & IEEE80211_RATE_ERP_G); in calc_rate_durations() local
455 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
458 DIV_ROUND_UP(rate->bitrate, 1 << shift), erp, 1, in calc_rate_durations()
Dtx.c59 int rate, mrate, erp, dur, i, shift = 0; in ieee80211_duration() local
87 erp = txrate->flags & IEEE80211_RATE_ERP_G; in ieee80211_duration()
193 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, in ieee80211_duration()
203 txrate->bitrate, erp, in ieee80211_duration()
/Linux-v4.19/fs/ext4/
Dextents.c5789 ext4_lblk_t count, int unwritten, int *erp) in ext4_swap_extents() argument
5800 *erp = ext4_es_remove_extent(inode1, lblk1, count); in ext4_swap_extents()
5801 if (unlikely(*erp)) in ext4_swap_extents()
5803 *erp = ext4_es_remove_extent(inode2, lblk2, count); in ext4_swap_extents()
5804 if (unlikely(*erp)) in ext4_swap_extents()
5815 *erp = PTR_ERR(path1); in ext4_swap_extents()
5823 *erp = PTR_ERR(path2); in ext4_swap_extents()
5869 *erp = ext4_force_split_extent_at(handle, inode1, in ext4_swap_extents()
5871 if (unlikely(*erp)) in ext4_swap_extents()
5876 *erp = ext4_force_split_extent_at(handle, inode2, in ext4_swap_extents()
[all …]
/Linux-v4.19/sound/usb/caiaq/
Ddevice.h127 int snd_usb_caiaq_set_auto_msg (struct snd_usb_caiaqdev *cdev, int digital, int analog, int erp);
Ddevice.c312 int digital, int analog, int erp) in snd_usb_caiaq_set_auto_msg() argument
314 char tmp[3] = { digital, analog, erp }; in snd_usb_caiaq_set_auto_msg()
/Linux-v4.19/drivers/net/wireless/ath/carl9170/
Ddebug.c719 DEBUGFS_DECLARE_RW_FILE(erp, 80);
873 DEBUGFS_ADD(erp); in carl9170_debugfs_register()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.h1902 __le32 erp; member

12