Home
last modified time | relevance | path

Searched refs:sqi (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/spi/
H A Dspi-pic32-sqi.c165 static int pic32_sqi_set_clk_rate(struct pic32_sqi *sqi, u32 sck) in pic32_sqi_set_clk_rate() argument
170 div = clk_get_rate(sqi->base_clk) / (2 * sck); in pic32_sqi_set_clk_rate()
173 val = readl(sqi->regs + PESQI_CLK_CTRL_REG); in pic32_sqi_set_clk_rate()
177 writel(val, sqi->regs + PESQI_CLK_CTRL_REG); in pic32_sqi_set_clk_rate()
180 return readl_poll_timeout(sqi->regs + PESQI_CLK_CTRL_REG, val, in pic32_sqi_set_clk_rate()
184 static inline void pic32_sqi_enable_int(struct pic32_sqi *sqi) in pic32_sqi_enable_int() argument
188 writel(mask, sqi->regs + PESQI_INT_ENABLE_REG); in pic32_sqi_enable_int()
190 writel(mask, sqi->regs + PESQI_INT_SIGEN_REG); in pic32_sqi_enable_int()
193 static inline void pic32_sqi_disable_int(struct pic32_sqi *sqi) in pic32_sqi_disable_int() argument
195 writel(0, sqi->regs + PESQI_INT_ENABLE_REG); in pic32_sqi_disable_int()
[all …]
H A DMakefile108 obj-$(CONFIG_SPI_PIC32_SQI) += spi-pic32-sqi.o
/linux/net/ethtool/
H A Dlinkstate.c14 int sqi; member
69 static bool linkstate_sqi_critical_error(int sqi) in linkstate_sqi_critical_error() argument
71 return sqi < 0 && sqi != -EOPNOTSUPP && sqi != -ENETDOWN; in linkstate_sqi_critical_error()
76 return data->sqi >= 0 && data->sqi_max >= 0 && in linkstate_sqi_valid()
77 data->sqi <= data->sqi_max; in linkstate_sqi_valid()
113 data->sqi = ret; in linkstate_prepare_data()
182 if (nla_put_u32(skb, ETHTOOL_A_LINKSTATE_SQI, data->sqi)) in linkstate_fill_reply()
/linux/drivers/net/phy/
H A Dadin1100.c280 int sqi; in adin_get_sqi() local
294 for (sqi = 0; sqi < ARRAY_SIZE(adin_mse_sqi_map); sqi++) { in adin_get_sqi()
295 if (mse_val >= adin_mse_sqi_map[sqi].start && mse_val <= adin_mse_sqi_map[sqi].end) in adin_get_sqi()
296 return sqi; in adin_get_sqi()
H A Ddp83td510.c301 int sqi, ret; in dp83td510_get_sqi() local
312 for (sqi = 0; sqi < ARRAY_SIZE(dp83td510_mse_sqi_map); sqi++) { in dp83td510_get_sqi()
313 if (mse_val >= dp83td510_mse_sqi_map[sqi]) in dp83td510_get_sqi()
314 return sqi; in dp83td510_get_sqi()
/linux/fs/xfs/scrub/
H A Dquota.c141 struct xchk_quota_info *sqi, in xchk_quota_item() argument
144 struct xfs_scrub *sc = sqi->sc; in xchk_quota_item()
170 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item()
173 sqi->last_id = dq->q_id; in xchk_quota_item()
300 struct xchk_quota_info sqi = { .sc = sc }; in xchk_quota() local
326 error = xchk_quota_item(&sqi, dq); in xchk_quota()
334 sqi.last_id * qi->qi_dqperchunk, &error)) in xchk_quota()
/linux/Documentation/devicetree/bindings/spi/
H A Dsqi-pic32.txt4 - compatible: Should be "microchip,pic32mzda-sqi".
13 compatible = "microchip,pic32mzda-sqi";
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.h2322 u8 sqi; member
2429 u8 sqi; member
4104 u8 sqi; member
H A Dwmi.c850 signal = data->info.sqi; in wmi_evt_rx_mgmt()
856 data->info.rssi, data->info.sqi); in wmi_evt_rx_mgmt()
1421 signal = data->info.sqi; in wmi_evt_sched_scan_result()
H A Ddebugfs.c1317 reply.evt.sqi, in bf_show()
1849 basic->rssi, basic->sqi, basic->snr, per, in wil_link_stats_print_basic()
H A Dcfg80211.c467 reply.evt.sqi, in wil_cid_fill_sinfo()
529 sinfo->signal = reply.evt.sqi; in wil_cid_fill_sinfo()