Home
last modified time | relevance | path

Searched refs:con (Results 1 – 25 of 149) sorted by relevance

123456

/Linux-v4.19/net/ceph/
Dmessenger.c119 static void con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in con_flag_clear() argument
123 clear_bit(con_flag, &con->flags); in con_flag_clear()
126 static void con_flag_set(struct ceph_connection *con, unsigned long con_flag) in con_flag_set() argument
130 set_bit(con_flag, &con->flags); in con_flag_set()
133 static bool con_flag_test(struct ceph_connection *con, unsigned long con_flag) in con_flag_test() argument
137 return test_bit(con_flag, &con->flags); in con_flag_test()
140 static bool con_flag_test_and_clear(struct ceph_connection *con, in con_flag_test_and_clear() argument
145 return test_and_clear_bit(con_flag, &con->flags); in con_flag_test_and_clear()
148 static bool con_flag_test_and_set(struct ceph_connection *con, in con_flag_test_and_set() argument
153 return test_and_set_bit(con_flag, &con->flags); in con_flag_test_and_set()
[all …]
Dmon_client.c111 ceph_con_send(&monc->con, monc->m_auth); in __send_prepared_auth_request()
124 ceph_con_close(&monc->con); in __close_session()
185 ceph_con_open(&monc->con, CEPH_ENTITY_TYPE_MON, monc->cur_mon, in __open_session()
192 ceph_con_keepalive(&monc->con); in __open_session()
206 monc->cur_mon, ceph_pr_addr(&monc->con.peer_addr.in_addr)); in reopen_session()
295 ceph_con_send(&monc->con, ceph_msg_get(msg)); in __send_subscribe()
560 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in send_generic_request()
621 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply() argument
625 struct ceph_mon_client *monc = con->private; in get_generic_reply()
943 ceph_con_send(&monc->con, ceph_msg_get(req->request)); in __resend_generic_request()
[all …]
/Linux-v4.19/net/tipc/
Dtopsrv.c124 static void tipc_conn_delete_sub(struct tipc_conn *con, struct tipc_subscr *s);
126 static bool connected(struct tipc_conn *con) in connected() argument
128 return con && test_bit(CF_CONNECTED, &con->flags); in connected()
133 struct tipc_conn *con = container_of(kref, struct tipc_conn, kref); in tipc_conn_kref_release() local
134 struct tipc_topsrv *s = con->server; in tipc_conn_kref_release()
138 idr_remove(&s->conn_idr, con->conid); in tipc_conn_kref_release()
141 if (con->sock) in tipc_conn_kref_release()
142 sock_release(con->sock); in tipc_conn_kref_release()
144 spin_lock_bh(&con->outqueue_lock); in tipc_conn_kref_release()
145 list_for_each_entry_safe(e, safe, &con->outqueue, list) { in tipc_conn_kref_release()
[all …]
/Linux-v4.19/fs/dlm/
Dlowcomms.c138 struct connection *con; member
186 struct connection *con; in __find_con() local
190 hlist_for_each_entry(con, &connection_hash[r], list) { in __find_con()
191 if (con->nodeid == nodeid) in __find_con()
192 return con; in __find_con()
203 struct connection *con = NULL; in __nodeid2con() local
206 con = __find_con(nodeid); in __nodeid2con()
207 if (con || !alloc) in __nodeid2con()
208 return con; in __nodeid2con()
210 con = kmem_cache_zalloc(con_cache, alloc); in __nodeid2con()
[all …]
/Linux-v4.19/drivers/usb/typec/ucsi/
Ducsi.c243 static void ucsi_pwr_opmode_change(struct ucsi_connector *con) in ucsi_pwr_opmode_change() argument
245 switch (con->status.pwr_op_mode) { in ucsi_pwr_opmode_change()
247 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_PD); in ucsi_pwr_opmode_change()
250 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_1_5A); in ucsi_pwr_opmode_change()
253 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_3_0A); in ucsi_pwr_opmode_change()
256 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_USB); in ucsi_pwr_opmode_change()
261 static int ucsi_register_partner(struct ucsi_connector *con) in ucsi_register_partner() argument
266 if (con->partner) in ucsi_register_partner()
271 switch (con->status.partner_type) { in ucsi_register_partner()
282 desc.usb_pd = con->status.pwr_op_mode == UCSI_CONSTAT_PWR_OPMODE_PD; in ucsi_register_partner()
[all …]
/Linux-v4.19/fs/proc/
Dconsoles.c30 struct console *con = v; in show_console_dev() local
34 if (con->device) { in show_console_dev()
37 driver = con->device(con, &index); in show_console_dev()
45 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev()
50 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev()
52 seq_printf(m, "%c%c%c (%s)", con->read ? 'R' : '-', in show_console_dev()
53 con->write ? 'W' : '-', con->unblank ? 'U' : '-', in show_console_dev()
64 struct console *con; in c_start() local
68 for_each_console(con) in c_start()
72 return con; in c_start()
[all …]
/Linux-v4.19/arch/arm/plat-samsung/
Dgpio-samsung.c180 u32 con; in samsung_gpio_setcfg_2bit() local
190 con = __raw_readl(reg); in samsung_gpio_setcfg_2bit()
191 con &= ~(0x3 << shift); in samsung_gpio_setcfg_2bit()
192 con |= cfg; in samsung_gpio_setcfg_2bit()
193 __raw_writel(con, reg); in samsung_gpio_setcfg_2bit()
211 u32 con; in samsung_gpio_getcfg_2bit() local
213 con = __raw_readl(chip->base); in samsung_gpio_getcfg_2bit()
214 con >>= off * 2; in samsung_gpio_getcfg_2bit()
215 con &= 3; in samsung_gpio_getcfg_2bit()
218 return S3C_GPIO_SPECIAL(con); in samsung_gpio_getcfg_2bit()
[all …]
Dadc.c85 unsigned con = readl(adc->regs + S3C2410_ADCCON); in s3c_adc_convert() local
87 con |= S3C2410_ADCCON_ENABLE_START; in s3c_adc_convert()
88 writel(con, adc->regs + S3C2410_ADCCON); in s3c_adc_convert()
94 unsigned con = readl(adc->regs + S3C2410_ADCCON); in s3c_adc_select() local
100 con &= ~S3C2410_ADCCON_MUXMASK; in s3c_adc_select()
101 con &= ~S3C2410_ADCCON_STDBM; in s3c_adc_select()
102 con &= ~S3C2410_ADCCON_STARTMASK; in s3c_adc_select()
111 con |= S3C2410_ADCCON_SELMUX(client->channel); in s3c_adc_select()
114 writel(con, adc->regs + S3C2410_ADCCON); in s3c_adc_select()
419 u32 con; in s3c_adc_suspend() local
[all …]
Dpm-gpio.c74 static inline int is_sfn(unsigned long con) in is_sfn() argument
76 return con >= 2; in is_sfn()
81 static inline int is_in(unsigned long con) in is_in() argument
83 return con == 0; in is_in()
88 static inline int is_out(unsigned long con) in is_out() argument
90 return con == 1; in is_out()
243 void __iomem *con = chip->base + (index * 4); in samsung_gpio_pm_4bit_con() local
244 u32 old_gpcon = __raw_readl(con); in samsung_gpio_pm_4bit_con()
253 __raw_writel(gpcon, con); in samsung_gpio_pm_4bit_con()
/Linux-v4.19/tools/perf/scripts/python/
Devent_analyzing_sample.py36 con = sqlite3.connect("/dev/shm/perf.db") variable
37 con.isolation_level = None
46 con.execute("""
53 con.execute("""
95 con.execute("insert into gen_events values(?, ?, ?, ?)",
100 con.execute("insert into pebs_ll values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
109 con.close()
124 count = con.execute("select count(*) from gen_events")
133 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)")
140 …symbolq = con.execute("select symbol, count(symbol) from gen_events group by symbol order by -coun…
[all …]
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c57 unsigned int con; in gvbctv3pci_audio() local
74 con = 0x000; in gvbctv3pci_audio()
77 con = 0x300; in gvbctv3pci_audio()
80 con = 0x200; in gvbctv3pci_audio()
83 gpio_bits(0x300, con); in gvbctv3pci_audio()
88 unsigned int val, con; in gvbctv5pci_audio() local
97 con = 0x300; in gvbctv5pci_audio()
100 con = 0x100; in gvbctv5pci_audio()
103 con = 0x000; in gvbctv5pci_audio()
106 if (con != (val & 0x300)) { in gvbctv5pci_audio()
[all …]
/Linux-v4.19/drivers/base/
Ddevcon.c27 void *(*match)(struct device_connection *con, in device_connection_find_match() argument
31 struct device_connection *con; in device_connection_find_match() local
40 list_for_each_entry(con, &devcon_list, list) { in device_connection_find_match()
41 ep = match_string(con->endpoint, 2, devname); in device_connection_find_match()
45 if (con_id && strcmp(con->id, con_id)) in device_connection_find_match()
48 ret = match(con, !ep, data); in device_connection_find_match()
79 static void *generic_match(struct device_connection *con, int ep, void *data) in generic_match() argument
85 dev = bus_find_device_by_name(bus, NULL, con->endpoint[ep]); in generic_match()
118 void device_connection_add(struct device_connection *con) in device_connection_add() argument
121 list_add_tail(&con->list, &devcon_list); in device_connection_add()
[all …]
/Linux-v4.19/fs/cifs/
Dasn1.c168 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() argument
176 *con = (ch & 0x20) >> 5; in asn1_id_decode()
225 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() argument
230 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
237 if (*con == ASN1_PRI && !def) in asn1_header_decode()
501 unsigned int cls, con, tag, oidlen, rc; in decode_negTokenInit() local
508 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit()
511 } else if ((cls != ASN1_APL) || (con != ASN1_CON) in decode_negTokenInit()
513 cifs_dbg(FYI, "cls = %d con = %d tag = %d\n", cls, con, tag); in decode_negTokenInit()
518 rc = asn1_header_decode(&ctx, &end, &cls, &con, &tag); in decode_negTokenInit()
[all …]
/Linux-v4.19/sound/soc/samsung/
Ds3c-i2s-v2.c49 static void dbg_showcon(const char *fn, u32 con) in dbg_showcon() argument
52 bit_set(con, S3C2412_IISCON_LRINDEX), in dbg_showcon()
53 bit_set(con, S3C2412_IISCON_TXFIFO_EMPTY), in dbg_showcon()
54 bit_set(con, S3C2412_IISCON_RXFIFO_EMPTY), in dbg_showcon()
55 bit_set(con, S3C2412_IISCON_TXFIFO_FULL), in dbg_showcon()
56 bit_set(con, S3C2412_IISCON_RXFIFO_FULL)); in dbg_showcon()
60 bit_set(con, S3C2412_IISCON_TXDMA_PAUSE), in dbg_showcon()
61 bit_set(con, S3C2412_IISCON_RXDMA_PAUSE), in dbg_showcon()
62 bit_set(con, S3C2412_IISCON_TXCH_PAUSE), in dbg_showcon()
63 bit_set(con, S3C2412_IISCON_RXCH_PAUSE)); in dbg_showcon()
[all …]
Dspdif.c183 u32 con, clkcon, cstas; in spdif_hw_params() local
200 con = readl(regs + CON) & CON_MASK; in spdif_hw_params()
204 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params()
205 con |= (0x7 << CON_FIFO_TH_SHIFT); in spdif_hw_params()
206 con |= CON_USERDATA_23RDBIT; in spdif_hw_params()
207 con |= CON_PCM_DATA; in spdif_hw_params()
209 con &= ~CON_PCM_MASK; in spdif_hw_params()
212 con |= CON_PCM_16BIT; in spdif_hw_params()
229 con &= ~CON_MCLKDIV_MASK; in spdif_hw_params()
232 con |= CON_MCLKDIV_256FS; in spdif_hw_params()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c1078 struct qed_iscsi_conn *con; member
1117 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()
1121 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()
1218 &hash_con->con); in qed_iscsi_acquire_conn()
1226 *handle = hash_con->con->icid; in qed_iscsi_acquire_conn()
1227 *fw_cid = hash_con->con->fw_cid; in qed_iscsi_acquire_conn()
1249 qed_iscsi_release_connection(QED_LEADING_HWFN(cdev), hash_con->con); in qed_iscsi_release_conn()
1260 struct qed_iscsi_conn *con; in qed_iscsi_offload_conn() local
1270 con = hash_con->con; in qed_iscsi_offload_conn()
1272 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
[all …]
Dqed_fcoe.c737 struct qed_fcoe_conn *con; member
778 if (hash_con->con->icid == handle) in qed_fcoe_get_hash()
782 if (!hash_con || (hash_con->con->icid != handle)) in qed_fcoe_get_hash()
883 &hash_con->con); in qed_fcoe_acquire_conn()
891 *handle = hash_con->con->icid; in qed_fcoe_acquire_conn()
892 *fw_cid = hash_con->con->fw_cid; in qed_fcoe_acquire_conn()
914 qed_fcoe_release_connection(QED_LEADING_HWFN(cdev), hash_con->con); in qed_fcoe_release_conn()
925 struct qed_fcoe_conn *con; in qed_fcoe_offload_conn() local
935 con = hash_con->con; in qed_fcoe_offload_conn()
937 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_fcoe_offload_conn()
[all …]
/Linux-v4.19/include/linux/ceph/
Dmessenger.h28 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
32 struct ceph_connection *con,
34 int (*add_authorizer_challenge)(struct ceph_connection *con,
37 int (*verify_authorizer_reply) (struct ceph_connection *con);
38 int (*invalidate_authorizer)(struct ceph_connection *con);
41 void (*fault) (struct ceph_connection *con);
45 void (*peer_reset) (struct ceph_connection *con);
47 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
246 struct ceph_connection *con; member
356 extern void ceph_con_init(struct ceph_connection *con, void *private,
[all …]
/Linux-v4.19/drivers/thermal/samsung/
Dexynos_tmu.c343 static u32 get_con_reg(struct exynos_tmu_data *data, u32 con) in get_con_reg() argument
347 con |= (EXYNOS4412_MUX_ADDR_VALUE << EXYNOS4412_MUX_ADDR_SHIFT); in get_con_reg()
349 con &= ~(EXYNOS_TMU_REF_VOLTAGE_MASK << EXYNOS_TMU_REF_VOLTAGE_SHIFT); in get_con_reg()
350 con |= data->reference_voltage << EXYNOS_TMU_REF_VOLTAGE_SHIFT; in get_con_reg()
352 con &= ~(EXYNOS_TMU_BUF_SLOPE_SEL_MASK << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT); in get_con_reg()
353 con |= (data->gain << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT); in get_con_reg()
355 con &= ~(EXYNOS_TMU_TRIP_MODE_MASK << EXYNOS_TMU_TRIP_MODE_SHIFT); in get_con_reg()
356 con |= (EXYNOS_NOISE_CANCEL_MODE << EXYNOS_TMU_TRIP_MODE_SHIFT); in get_con_reg()
358 return con; in get_con_reg()
407 u32 th, con; in exynos4412_tmu_set_trip_temp() local
[all …]
/Linux-v4.19/drivers/tty/serial/
Dsuncore.c55 int sunserial_console_match(struct console *con, struct device_node *dp, in sunserial_console_match() argument
58 if (!con) in sunserial_console_match()
61 drv->cons = con; in sunserial_console_match()
78 con->index = line; in sunserial_console_match()
79 add_preferred_console(con->name, line, NULL); in sunserial_console_match()
85 void sunserial_console_termios(struct console *con, struct device_node *uart_dp) in sunserial_console_termios() argument
166 con->cflag = cflag; in sunserial_console_termios()
/Linux-v4.19/drivers/rtc/
Drtc-s3c.c413 unsigned int con, tmp; in s3c24xx_rtc_enable() local
415 con = readw(info->base + S3C2410_RTCCON); in s3c24xx_rtc_enable()
417 if ((con & S3C2410_RTCCON_RTCEN) == 0) { in s3c24xx_rtc_enable()
424 if (con & S3C2410_RTCCON_CNTSEL) { in s3c24xx_rtc_enable()
432 if (con & S3C2410_RTCCON_CLKRST) { in s3c24xx_rtc_enable()
443 unsigned int con; in s3c24xx_rtc_disable() local
445 con = readw(info->base + S3C2410_RTCCON); in s3c24xx_rtc_disable()
446 con &= ~S3C2410_RTCCON_RTCEN; in s3c24xx_rtc_disable()
447 writew(con, info->base + S3C2410_RTCCON); in s3c24xx_rtc_disable()
449 con = readb(info->base + S3C2410_TICNT); in s3c24xx_rtc_disable()
[all …]
/Linux-v4.19/arch/mips/sgi-ip32/
Dip32-setup.c91 char* con = ArcGetEnvironmentVariable("console"); in plat_mem_setup() local
92 if (con && *con == 'd') { in plat_mem_setup()
97 add_preferred_console("ttyS", *(con + 1) == '2' ? 1 : 0, in plat_mem_setup()
/Linux-v4.19/drivers/block/paride/
Dpseudo.h75 void (*con)(void); in ps_tq_int() local
80 con = ps_continuation; in ps_tq_int()
83 if (!con) { in ps_tq_int()
90 con(); in ps_tq_int()
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_output.h22 to_fsl_dcu_connector(struct drm_connector *con) in to_fsl_dcu_connector() argument
24 return con ? container_of(con, struct fsl_dcu_drm_connector, base) in to_fsl_dcu_connector()
/Linux-v4.19/include/linux/
Dconsole.h69 int (*con_font_copy)(struct vc_data *vc, int con);
163 #define for_each_console(con) \ argument
164 for (con = console_drivers; con != NULL; con = con->next)

123456