| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | 11h.c | 150 struct nxpwifi_ie_types_chan_rpt_data *rpt; in nxpwifi_cmd_issue_chan_report_request() local 152 rpt = (struct nxpwifi_ie_types_chan_rpt_data *)((u8 *)cmd + size); in nxpwifi_cmd_issue_chan_report_request() 153 rpt->header.type = cpu_to_le16(TLV_TYPE_CHANRPT_11H_BASIC); in nxpwifi_cmd_issue_chan_report_request() 154 rpt->header.len = cpu_to_le16(sizeof(u8)); in nxpwifi_cmd_issue_chan_report_request() 155 rpt->meas_rpt_map = 1 << MEAS_RPT_MAP_RADAR_SHIFT_BIT; in nxpwifi_cmd_issue_chan_report_request() 156 size += sizeof(*rpt); in nxpwifi_cmd_issue_chan_report_request() 207 struct nxpwifi_ie_types_chan_rpt_data *rpt; in nxpwifi_11h_handle_chanrpt_ready() local 221 rpt = (void *)&rpt_event->tlvbuf; in nxpwifi_11h_handle_chanrpt_ready() 222 tlv_len = le16_to_cpu(rpt->header.len); in nxpwifi_11h_handle_chanrpt_ready() 224 switch (le16_to_cpu(rpt->header.type)) { in nxpwifi_11h_handle_chanrpt_ready() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | 11h.c | 198 struct mwifiex_ie_types_chan_rpt_data *rpt; in mwifiex_11h_handle_chanrpt_ready() local 212 rpt = (void *)&rpt_event->tlvbuf; in mwifiex_11h_handle_chanrpt_ready() 213 tlv_len = le16_to_cpu(rpt->header.len); in mwifiex_11h_handle_chanrpt_ready() 215 switch (le16_to_cpu(rpt->header.type)) { in mwifiex_11h_handle_chanrpt_ready() 217 if (rpt->map.radar) { in mwifiex_11h_handle_chanrpt_ready() 232 event_len -= (tlv_len + sizeof(rpt->header)); in mwifiex_11h_handle_chanrpt_ready()
|
| /linux/drivers/iio/adc/ |
| H A D | mt6360-adc.c | 68 u8 rpt[3]; in mt6360_adc_read_channel() local 100 ret = regmap_raw_read(mad->regmap, MT6360_REG_PMUADCRPT1, rpt, sizeof(rpt)); in mt6360_adc_read_channel() 115 if ((rpt[0] & MT6360_RPTCH_MASK) == channel) in mt6360_adc_read_channel() 126 *val = get_unaligned_be16(&rpt[1]); in mt6360_adc_read_channel()
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8814a.c | 1174 struct rtw_jaguar_phy_status_rpt *rpt; in rtw8814a_query_phy_status() local 1183 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw8814a_query_phy_status() 1188 lna = le32_get_bits(rpt->w1, RTW_JGRPHY_W1_AGC_RPT_LNA_IDX); in rtw8814a_query_phy_status() 1189 vga = le32_get_bits(rpt->w1, RTW_JGRPHY_W1_AGC_RPT_VGA_IDX); in rtw8814a_query_phy_status() 1198 gain[RF_PATH_A] = le32_get_bits(rpt->w0, RTW_JGRPHY_W0_GAIN_A); in rtw8814a_query_phy_status() 1199 gain[RF_PATH_B] = le32_get_bits(rpt->w0, RTW_JGRPHY_W0_GAIN_B); in rtw8814a_query_phy_status() 1200 gain[RF_PATH_C] = le32_get_bits(rpt->w5, RTW_JGRPHY_W5_GAIN_C); in rtw8814a_query_phy_status() 1201 gain[RF_PATH_D] = le32_get_bits(rpt->w6, RTW_JGRPHY_W6_GAIN_D); in rtw8814a_query_phy_status() 1203 snr[RF_PATH_A] = le32_get_bits(rpt->w3, RTW_JGRPHY_W3_RXSNR_A); in rtw8814a_query_phy_status() 1204 snr[RF_PATH_B] = le32_get_bits(rpt->w4, RTW_JGRPHY_W4_RXSNR_B); in rtw8814a_query_phy_status() [all …]
|
| H A D | rtw88xxa.c | 1524 struct rtw_jaguar_phy_status_rpt *rpt; in rtw88xxa_query_phy_status() local 1530 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw88xxa_query_phy_status() 1533 lna_idx = le32_get_bits(rpt->w1, RTW_JGRPHY_W1_AGC_RPT_LNA_IDX); in rtw88xxa_query_phy_status() 1534 vga_idx = le32_get_bits(rpt->w1, RTW_JGRPHY_W1_AGC_RPT_VGA_IDX); in rtw88xxa_query_phy_status() 1544 gain[RF_PATH_A] = le32_get_bits(rpt->w0, RTW_JGRPHY_W0_GAIN_A); in rtw88xxa_query_phy_status() 1545 gain[RF_PATH_B] = le32_get_bits(rpt->w0, RTW_JGRPHY_W0_GAIN_B); in rtw88xxa_query_phy_status()
|
| /linux/drivers/tty/vt/ |
| H A D | keyboard.c | 295 struct kbd_repeat *rpt = data; in kbd_rate_helper() local 299 if (rpt[0].delay > 0) in kbd_rate_helper() 301 EV_REP, REP_DELAY, rpt[0].delay); in kbd_rate_helper() 302 if (rpt[0].period > 0) in kbd_rate_helper() 304 EV_REP, REP_PERIOD, rpt[0].period); in kbd_rate_helper() 306 rpt[1].delay = dev->rep[REP_DELAY]; in kbd_rate_helper() 307 rpt[1].period = dev->rep[REP_PERIOD]; in kbd_rate_helper() 313 int kbd_rate(struct kbd_repeat *rpt) in kbd_rate() argument 315 struct kbd_repeat data[2] = { *rpt }; in kbd_rate() 318 *rpt = data[1]; /* Copy currently used settings */ in kbd_rate()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_mbox.c | 1592 struct htc_credit_report *rpt, in htc_proc_cred_rpt() argument 1602 for (i = 0; i < n_entries; i++, rpt++) { in htc_proc_cred_rpt() 1603 if (rpt->eid >= ENDPOINT_MAX) { in htc_proc_cred_rpt() 1609 endpoint = &target->endpoint[rpt->eid]; in htc_proc_cred_rpt() 1613 rpt->eid, rpt->credits); in htc_proc_cred_rpt() 1616 endpoint->ep_st.cred_retnd += rpt->credits; in htc_proc_cred_rpt() 1618 if (from_ep == rpt->eid) { in htc_proc_cred_rpt() 1623 endpoint->ep_st.cred_from_rx += rpt->credits; in htc_proc_cred_rpt() 1627 endpoint->ep_st.cred_from_ep0 += rpt->credits; in htc_proc_cred_rpt() 1630 endpoint->ep_st.cred_from_other += rpt->credits; in htc_proc_cred_rpt() [all …]
|
| H A D | htc_pipe.c | 654 struct htc_credit_report *rpt, in htc_process_credit_report() argument 664 for (i = 0; i < num_entries; i++, rpt++) { in htc_process_credit_report() 665 if (rpt->eid >= ENDPOINT_MAX) { in htc_process_credit_report() 671 ep = &target->endpoint[rpt->eid]; in htc_process_credit_report() 672 ep->cred_dist.credits += rpt->credits; in htc_process_credit_report() 680 total_credits += rpt->credits; in htc_process_credit_report()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | mac80211.c | 1983 struct rtw89_nhm_report *rpt; in rtw89_ops_get_survey() local 1985 rpt = list_first_entry_or_null(&env->nhm_rpt_list, typeof(*rpt), list); in rtw89_ops_get_survey() 1986 if (!rpt) in rtw89_ops_get_survey() 1990 survey->noise = rpt->noise - MAX_RSSI; in rtw89_ops_get_survey() 1991 survey->channel = rpt->channel; in rtw89_ops_get_survey() 1992 list_del_init(&rpt->list); in rtw89_ops_get_survey()
|
| H A D | mac.c | 5704 struct rtw89_mac_mcc_tsf_rpt *rpt; in rtw89_mac_c2h_mcc_tsf_rpt() local 5707 rpt = (struct rtw89_mac_mcc_tsf_rpt *)data.buf; in rtw89_mac_c2h_mcc_tsf_rpt() 5708 rpt->macid_x = RTW89_GET_MAC_C2H_MCC_TSF_RPT_MACID_X(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5709 rpt->macid_y = RTW89_GET_MAC_C2H_MCC_TSF_RPT_MACID_Y(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5710 rpt->tsf_x_low = RTW89_GET_MAC_C2H_MCC_TSF_RPT_TSF_LOW_X(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5711 rpt->tsf_x_high = RTW89_GET_MAC_C2H_MCC_TSF_RPT_TSF_HIGH_X(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5712 rpt->tsf_y_low = RTW89_GET_MAC_C2H_MCC_TSF_RPT_TSF_LOW_Y(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5713 rpt->tsf_y_high = RTW89_GET_MAC_C2H_MCC_TSF_RPT_TSF_HIGH_Y(c2h->data); in rtw89_mac_c2h_mcc_tsf_rpt() 5717 rpt->macid_x, (u64)rpt->tsf_x_high << 32 | rpt->tsf_x_low, in rtw89_mac_c2h_mcc_tsf_rpt() 5718 rpt->macid_y, (u64)rpt->tsf_y_high << 32 | rpt->tsf_y_low); in rtw89_mac_c2h_mcc_tsf_rpt() [all …]
|
| H A D | phy.c | 1920 u32 poll, rpt; in rtw89_phy_init_bb_afe() local 1981 rpt = rtw89_read32_mask(rtwdev, addr, mask); in rtw89_phy_init_bb_afe() 1982 if (rpt == val) in rtw89_phy_init_bb_afe() 6714 struct rtw89_nhm_report *rpt; in __rtw89_phy_nhm_get_result() local 6721 rpt = &env->nhm_his[hw_band][chan_idx]; in __rtw89_phy_nhm_get_result() 6724 rpt->channel = channel; in __rtw89_phy_nhm_get_result() 6725 rpt->noise = nhm_pwr; in __rtw89_phy_nhm_get_result() 6727 if (list_empty(&rpt->list)) in __rtw89_phy_nhm_get_result() 6728 list_add_tail(&rpt->list, nhm_list); in __rtw89_phy_nhm_get_result()
|
| H A D | fw.h | 5653 struct rtw89_mac_mcc_tsf_rpt *rpt); 5667 struct rtw89_mac_mrc_tsf_rpt *rpt);
|
| H A D | fw.c | 11435 struct rtw89_mac_mcc_tsf_rpt *rpt) in rtw89_fw_h2c_mcc_req_tsf() argument 11467 *rpt = *tmp; in rtw89_fw_h2c_mcc_req_tsf() 11761 struct rtw89_mac_mrc_tsf_rpt *rpt) in rtw89_fw_h2c_mrc_req_tsf() argument 11800 *rpt = *tmp; in rtw89_fw_h2c_mrc_req_tsf()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_eckd.c | 2709 int rpt) in dasd_eckd_build_check_tcw() argument 2729 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw() 2753 count * sizeof(struct eckd_count), 0, rpt); in dasd_eckd_build_check_tcw() 2793 int enable_pav, struct eckd_count *fmt_buffer, int rpt) in dasd_eckd_build_check() argument 2815 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check() 2920 int rpt; in dasd_eckd_build_format() local 2938 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format() 2968 fdata->start_unit == 0 && rpt > 3; in dasd_eckd_build_format() 2973 cplength = 2 + (rpt*nr_tracks); in dasd_eckd_build_format() 2977 rpt * nr_tracks * sizeof(struct eckd_count); in dasd_eckd_build_format() [all …]
|
| /linux/net/dccp/ |
| H A D | feat.c | |