Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c50 static inline bool rtrs_clt_is_connected(const struct rtrs_clt_sess *clt) in rtrs_clt_is_connected() argument
56 list_for_each_entry_rcu(clt_path, &clt->paths_list, s.entry) in rtrs_clt_is_connected()
67 __rtrs_get_permit(struct rtrs_clt_sess *clt, enum rtrs_clt_con_type con_type) in __rtrs_get_permit() argument
69 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
81 bit = find_first_zero_bit(clt->permits_map, max_depth); in __rtrs_get_permit()
84 } while (test_and_set_bit_lock(bit, clt->permits_map)); in __rtrs_get_permit()
86 permit = get_permit(clt, bit); in __rtrs_get_permit()
94 static inline void __rtrs_put_permit(struct rtrs_clt_sess *clt, in __rtrs_put_permit() argument
97 clear_bit_unlock(permit->mem_id, clt->permits_map); in __rtrs_put_permit()
114 struct rtrs_permit *rtrs_clt_get_permit(struct rtrs_clt_sess *clt, in rtrs_clt_get_permit() argument
[all …]
Drtrs-clt-sysfs.c53 struct rtrs_clt_sess *clt = container_of(dev, struct rtrs_clt_sess, in max_reconnect_attempts_show() local
57 rtrs_clt_get_max_reconnect_attempts(clt)); in max_reconnect_attempts_show()
67 struct rtrs_clt_sess *clt = container_of(dev, struct rtrs_clt_sess, in max_reconnect_attempts_store() local
72 rtrs_err(clt, "%s: failed to convert string '%s' to int\n", in max_reconnect_attempts_store()
78 rtrs_err(clt, in max_reconnect_attempts_store()
84 rtrs_clt_set_max_reconnect_attempts(clt, value); in max_reconnect_attempts_store()
95 struct rtrs_clt_sess *clt; in mpath_policy_show() local
97 clt = container_of(dev, struct rtrs_clt_sess, dev); in mpath_policy_show()
99 switch (clt->mp_policy) { in mpath_policy_show()
102 clt->mp_policy); in mpath_policy_show()
[all …]
Drtrs-clt.h129 struct rtrs_clt_sess *clt; member
195 static inline int permit_size(struct rtrs_clt_sess *clt) in permit_size() argument
197 return sizeof(struct rtrs_permit) + clt->pdu_sz; in permit_size()
200 static inline struct rtrs_permit *get_permit(struct rtrs_clt_sess *clt, in get_permit() argument
203 return (struct rtrs_permit *)(clt->permits + permit_size(clt) * idx); in get_permit()
208 int rtrs_clt_create_path_from_sysfs(struct rtrs_clt_sess *clt,
213 void rtrs_clt_set_max_reconnect_attempts(struct rtrs_clt_sess *clt, int value);
214 int rtrs_clt_get_max_reconnect_attempts(const struct rtrs_clt_sess *clt);
244 int rtrs_clt_create_sysfs_root_files(struct rtrs_clt_sess *clt);
245 void rtrs_clt_destroy_sysfs_root(struct rtrs_clt_sess *clt);
DMakefile3 CFLAGS_rtrs-clt-trace.o = -I$(src)
5 rtrs-client-y := rtrs-clt.o \
6 rtrs-clt-stats.o \
7 rtrs-clt-sysfs.o \
8 rtrs-clt-trace.o
Drtrs-clt-trace.h51 struct rtrs_clt_sess *clt = clt_path->clt;
55 __entry->max_reconnect_attempts = clt->max_reconnect_attempts;
84 #define TRACE_INCLUDE_FILE rtrs-clt-trace
Drtrs.h62 void rtrs_clt_close(struct rtrs_clt_sess *clt);
105 int rtrs_clt_rdma_cq_direct(struct rtrs_clt_sess *clt, unsigned int index);
/Linux-v6.1/sound/pci/hda/
Dcs35l41_hda_i2c.c15 static int cs35l41_hda_i2c_probe(struct i2c_client *clt, const struct i2c_device_id *id) in cs35l41_hda_i2c_probe() argument
23 if (strstr(dev_name(&clt->dev), "CLSA0100")) in cs35l41_hda_i2c_probe()
25 else if (strstr(dev_name(&clt->dev), "CLSA0101")) in cs35l41_hda_i2c_probe()
27 else if (strstr(dev_name(&clt->dev), "CSC3551")) in cs35l41_hda_i2c_probe()
32 return cs35l41_hda_probe(&clt->dev, device_name, clt->addr, clt->irq, in cs35l41_hda_i2c_probe()
33 devm_regmap_init_i2c(clt, &cs35l41_regmap_i2c)); in cs35l41_hda_i2c_probe()
36 static void cs35l41_hda_i2c_remove(struct i2c_client *clt) in cs35l41_hda_i2c_remove() argument
38 cs35l41_hda_remove(&clt->dev); in cs35l41_hda_i2c_remove()
/Linux-v6.1/drivers/block/rnbd/
DMakefile5 rnbd-client-y := rnbd-clt.o \
6 rnbd-clt-sysfs.o \
/Linux-v6.1/drivers/macintosh/
Dtherm_adt746x.c74 struct i2c_client *clt; member
101 rc = i2c_master_send(th->clt, (const char *)tmp, 2); in write_reg()
116 rc = i2c_master_send(th->clt, &reg_addr, 1); in read_reg()
121 rc = i2c_master_recv(th->clt, (char *)&data, 1); in read_reg()
416 struct device_node *np = th->clt->dev.of_node; in thermostat_create_files()
504 th->clt = client; in probe_thermostat()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dstats.h492 __le32 clt; member
/Linux-v6.1/arch/s390/tools/
Dopcodes.txt1077 eb23 clt RSY_RURD