Lines Matching defs:sleep_ok
311 * @sleep_ok: if true we may sleep while awaiting command completion
313 * (negative implies @sleep_ok=false)
320 * @sleep_ok determines whether we may sleep while awaiting the response.
323 * for specifying @sleep_ok=false. This is useful when a higher level
324 * interface allows for specification of @timeout but not @sleep_ok ...
332 int size, void *rpl, bool sleep_ok, int timeout)
370 sleep_ok = false;
461 if (sleep_ok) {
514 void *rpl, bool sleep_ok)
517 sleep_ok, FW_CMD_MAX_TIMEOUT);
6478 * @sleep_ok: if true we may sleep while awaiting command completion
6484 unsigned int rw, bool sleep_ok)
6502 sleep_ok);
6521 * @sleep_ok: if true we may sleep while awaiting command completion
6528 bool sleep_ok)
6549 sleep_ok);
6569 * @sleep_ok: if true we may sleep while awaiting command completion
6574 u32 start_index, bool sleep_ok)
6577 start_index, 1, sleep_ok);
6586 * @sleep_ok: if true we may sleep while awaiting command completion
6591 u32 start_index, bool sleep_ok)
6594 __DECONST(u32 *, buff), nregs, start_index, 0, sleep_ok);
6603 * @sleep_ok: if true we may sleep while awaiting command completion
6608 u32 start_index, bool sleep_ok)
6611 nregs, start_index, 1, sleep_ok);
6620 * @sleep_ok: if true we may sleep while awaiting command completion
6625 bool sleep_ok)
6628 start_index, 1, sleep_ok);
6635 * @sleep_ok: if true we may sleep while awaiting command completion
6639 void t4_read_rss_key(struct adapter *adap, u32 *key, bool sleep_ok)
6641 t4_tp_pio_read(adap, key, 10, A_TP_RSS_SECRET_KEY0, sleep_ok);
6649 * @sleep_ok: if true we may sleep while awaiting command completion
6656 bool sleep_ok)
6670 t4_tp_pio_write(adap, key, 10, A_TP_RSS_SECRET_KEY0, sleep_ok);
6688 * @sleep_ok: if true we may sleep while awaiting command completion
6694 u32 *valp, bool sleep_ok)
6696 t4_tp_pio_read(adapter, valp, 1, A_TP_RSS_PF0_CONFIG + index, sleep_ok);
6704 * @sleep_ok: if true we may sleep while awaiting command completion
6710 u32 val, bool sleep_ok)
6713 sleep_ok);
6722 * @sleep_ok: if true we may sleep while awaiting command completion
6728 u32 *vfl, u32 *vfh, bool sleep_ok)
6750 t4_tp_pio_read(adapter, vfl, 1, A_TP_RSS_VFL_CONFIG, sleep_ok);
6751 t4_tp_pio_read(adapter, vfh, 1, A_TP_RSS_VFH_CONFIG, sleep_ok);
6766 u32 vfl, u32 vfh, bool sleep_ok)
6781 t4_tp_pio_write(adapter, &vfl, 1, A_TP_RSS_VFL_CONFIG, sleep_ok);
6782 t4_tp_pio_write(adapter, &vfh, 1, A_TP_RSS_VFH_CONFIG, sleep_ok);
6796 * @sleep_ok: if true we may sleep while awaiting command completion
6800 u32 t4_read_rss_pf_map(struct adapter *adapter, bool sleep_ok)
6804 t4_tp_pio_read(adapter, &pfmap, 1, A_TP_RSS_PF_MAP, sleep_ok);
6816 void t4_write_rss_pf_map(struct adapter *adapter, u32 pfmap, bool sleep_ok)
6818 t4_tp_pio_write(adapter, &pfmap, 1, A_TP_RSS_PF_MAP, sleep_ok);
6824 * @sleep_ok: if true we may sleep while awaiting command completion
6828 u32 t4_read_rss_pf_mask(struct adapter *adapter, bool sleep_ok)
6832 t4_tp_pio_read(adapter, &pfmask, 1, A_TP_RSS_PF_MSK, sleep_ok);
6844 void t4_write_rss_pf_mask(struct adapter *adapter, u32 pfmask, bool sleep_ok)
6846 t4_tp_pio_write(adapter, &pfmask, 1, A_TP_RSS_PF_MSK, sleep_ok);
6854 * @sleep_ok: if true we may sleep while awaiting command completion
6860 struct tp_tcp_stats *v6, bool sleep_ok)
6870 A_TP_MIB_TCP_OUT_RST, sleep_ok);
6878 A_TP_MIB_TCP_V6OUT_RST, sleep_ok);
6893 * @sleep_ok: if true we may sleep while awaiting command completion
6898 bool sleep_ok)
6903 sleep_ok);
6906 sleep_ok);
6909 sleep_ok);
6912 A_TP_MIB_TNL_CNG_DROP_0, sleep_ok);
6915 A_TP_MIB_OFD_CHN_DROP_0, sleep_ok);
6918 sleep_ok);
6921 A_TP_MIB_OFD_VLN_DROP_0, sleep_ok);
6924 A_TP_MIB_TCP_V6IN_ERR_0, sleep_ok);
6927 sleep_ok);
6934 * @sleep_ok: if true we may sleep while awaiting command completion
6939 bool sleep_ok)
6944 sleep_ok);
6946 sleep_ok);
6957 bool sleep_ok)
6961 t4_tp_mib_read(adap, st->proxy, nchan, A_TP_MIB_TNL_LPBK_0, sleep_ok);
6968 * @sleep_ok: if true we may sleep while awaiting command completion
6973 bool sleep_ok)
6977 t4_tp_mib_read(adap, st->req, nchan, A_TP_MIB_CPL_IN_REQ_0, sleep_ok);
6979 t4_tp_mib_read(adap, st->rsp, nchan, A_TP_MIB_CPL_OUT_RSP_0, sleep_ok);
6990 bool sleep_ok)
6993 sleep_ok);
6998 sleep_ok);
7006 * @sleep_ok: if true we may sleep while awaiting command completion
7011 struct tp_fcoe_stats *st, bool sleep_ok)
7016 sleep_ok);
7019 A_TP_MIB_FCOE_DROP_0 + idx, sleep_ok);
7022 sleep_ok);
7031 * @sleep_ok: if true we may sleep while awaiting command completion
7036 bool sleep_ok)
7040 t4_tp_mib_read(adap, val, 4, A_TP_MIB_USM_PKTS, sleep_ok);
7051 * @sleep_ok: if true we may sleep while awaiting command completion
7056 bool sleep_ok)
7059 t4_tp_mib_read(adap, &st->del, 4, A_TP_MIB_TID_DEL, sleep_ok);
8918 * @sleep_ok: if true we may sleep while awaiting command completion
8924 bool sleep_ok)
8951 return t4_wr_mbox_meat(adap, mbox, &c, sizeof(c), NULL, sleep_ok);
8964 * @sleep_ok: call is allowed to sleep
8973 bool sleep_ok)
8997 ret = t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, sleep_ok);
9012 * @sleep_ok: call is allowed to sleep
9020 u8 lookup_type, u8 port_id, bool sleep_ok)
9049 ret = t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, sleep_ok);
9069 * @sleep_ok: call is allowed to sleep
9083 const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok)
9124 ret = t4_wr_mbox_meat(adap, mbox, &c, sizeof(c), &c, sleep_ok);
9157 * @sleep_ok: call is allowed to sleep
9164 int idx, bool sleep_ok)
9187 ret = t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, sleep_ok);
9200 * @sleep_ok: call is allowed to sleep
9208 u8 lookup_type, u8 port_id, bool sleep_ok)
9238 return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, sleep_ok);
9248 * @sleep_ok: call is allowed to sleep
9256 const u8 **addr, bool sleep_ok)
9293 ret = t4_wr_mbox_meat(adap, mbox, &c, sizeof(c), &c, sleep_ok);
9384 * @sleep_ok: call is allowed to sleep
9389 bool ucast, u64 vec, bool sleep_ok)
9402 return t4_wr_mbox_meat(adap, mbox, &c, sizeof(c), NULL, sleep_ok);
11538 unsigned int *ipg, bool sleep_ok)
11544 t4_tp_tm_pio_read(adap, &v, 1, addr, sleep_ok);
11558 t4_tp_tm_pio_read(adap, &v, 1, addr, sleep_ok);
12282 int sleep_ok)
12297 NULL, sleep_ok);
12303 int burstsize, int sleep_ok)
12328 NULL, sleep_ok);
12332 unsigned int maxrate, int sleep_ok)
12350 NULL, sleep_ok);
12354 int weight, int sleep_ok)
12375 NULL, sleep_ok);
12379 int mode, unsigned int maxrate, int pktsize, int sleep_ok)
12401 NULL, sleep_ok);