Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/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 …]
/Linux-v5.4/net/tipc/
Dtopsrv.c117 static void tipc_conn_delete_sub(struct tipc_conn *con, struct tipc_subscr *s);
119 static bool connected(struct tipc_conn *con) in connected() argument
121 return con && test_bit(CF_CONNECTED, &con->flags); in connected()
126 struct tipc_conn *con = container_of(kref, struct tipc_conn, kref); in tipc_conn_kref_release() local
127 struct tipc_topsrv *s = con->server; in tipc_conn_kref_release()
131 idr_remove(&s->conn_idr, con->conid); in tipc_conn_kref_release()
134 if (con->sock) in tipc_conn_kref_release()
135 sock_release(con->sock); in tipc_conn_kref_release()
137 spin_lock_bh(&con->outqueue_lock); in tipc_conn_kref_release()
138 list_for_each_entry_safe(e, safe, &con->outqueue, list) { in tipc_conn_kref_release()
[all …]
/Linux-v5.4/fs/dlm/
Dlowcomms.c136 struct connection *con; member
184 struct connection *con; in __find_con() local
188 hlist_for_each_entry(con, &connection_hash[r], list) { in __find_con()
189 if (con->nodeid == nodeid) in __find_con()
190 return con; in __find_con()
201 struct connection *con = NULL; in __nodeid2con() local
204 con = __find_con(nodeid); in __nodeid2con()
205 if (con || !alloc) in __nodeid2con()
206 return con; in __nodeid2con()
208 con = kmem_cache_zalloc(con_cache, alloc); in __nodeid2con()
[all …]
/Linux-v5.4/drivers/usb/typec/ucsi/
Ducsi.c222 void ucsi_altmode_update_active(struct ucsi_connector *con) in ucsi_altmode_update_active() argument
230 UCSI_CMD_GET_CURRENT_CAM(ctrl, con->num); in ucsi_altmode_update_active()
231 ret = ucsi_run_command(con->ucsi, &ctrl, &cur, sizeof(cur)); in ucsi_altmode_update_active()
233 if (con->ucsi->ppm->data->version > 0x0100) { in ucsi_altmode_update_active()
234 dev_err(con->ucsi->dev, in ucsi_altmode_update_active()
242 altmode = typec_altmode_get_partner(con->port_altmode[cur]); in ucsi_altmode_update_active()
244 for (i = 0; con->partner_altmode[i]; i++) in ucsi_altmode_update_active()
245 typec_altmode_update_active(con->partner_altmode[i], in ucsi_altmode_update_active()
246 con->partner_altmode[i] == altmode); in ucsi_altmode_update_active()
272 static int ucsi_register_altmode(struct ucsi_connector *con, in ucsi_register_altmode() argument
[all …]
Ddisplayport.c20 struct ucsi_connector *con; member
55 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
62 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter()
66 UCSI_CMD_GET_CURRENT_CAM(ctrl, dp->con->num); in ucsi_displayport_enter()
67 ret = ucsi_send_command(dp->con->ucsi, &ctrl, &cur, sizeof(cur)); in ucsi_displayport_enter()
69 if (dp->con->ucsi->ppm->data->version > 0x0100) { in ucsi_displayport_enter()
70 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter()
77 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter()
78 if (dp->con->port_altmode[cur] == alt) in ucsi_displayport_enter()
98 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter()
[all …]
/Linux-v5.4/drivers/base/
Ddevcon.c19 struct device_connection con = { .id = con_id }; in fwnode_graph_devcon_match() local
24 con.fwnode = fwnode_graph_get_remote_port_parent(ep); in fwnode_graph_devcon_match()
25 if (!fwnode_device_is_available(con.fwnode)) in fwnode_graph_devcon_match()
28 ret = match(&con, -1, data); in fwnode_graph_devcon_match()
29 fwnode_handle_put(con.fwnode); in fwnode_graph_devcon_match()
42 struct device_connection con = { }; in fwnode_devcon_match() local
47 con.fwnode = fwnode_find_reference(fwnode, con_id, i); in fwnode_devcon_match()
48 if (IS_ERR(con.fwnode)) in fwnode_devcon_match()
51 ret = match(&con, -1, data); in fwnode_devcon_match()
52 fwnode_handle_put(con.fwnode); in fwnode_devcon_match()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c334 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_create_obj() local
337 if (!con) in amdgpu_ras_create_obj()
343 obj = &con->objs[head->block]; in amdgpu_ras_create_obj()
350 list_add(&obj->node, &con->head); in amdgpu_ras_create_obj()
360 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_find_obj() local
364 if (!con) in amdgpu_ras_find_obj()
371 obj = &con->objs[head->block]; in amdgpu_ras_find_obj()
379 obj = &con->objs[i]; in amdgpu_ras_find_obj()
395 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_is_feature_allowed() local
397 return con->hw_supported & BIT(head->block); in amdgpu_ras_is_feature_allowed()
[all …]
/Linux-v5.4/fs/proc/
Dconsoles.c29 struct console *con = v; in show_console_dev() local
33 if (con->device) { in show_console_dev()
36 driver = con->device(con, &index); in show_console_dev()
44 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev()
49 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev()
51 seq_printf(m, "%c%c%c (%s)", con->read ? 'R' : '-', in show_console_dev()
52 con->write ? 'W' : '-', con->unblank ? 'U' : '-', in show_console_dev()
63 struct console *con; in c_start() local
67 for_each_console(con) in c_start()
71 return con; in c_start()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/tools/perf/scripts/python/
Devent_analyzing_sample.py38 con = sqlite3.connect("/dev/shm/perf.db") variable
39 con.isolation_level = None
48 con.execute("""
55 con.execute("""
97 con.execute("insert into gen_events values(?, ?, ?, ?)",
102 con.execute("insert into pebs_ll values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
111 con.close()
126 count = con.execute("select count(*) from gen_events")
135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)")
142 …symbolq = con.execute("select symbol, count(symbol) from gen_events group by symbol order by -coun…
[all …]
/Linux-v5.4/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-v5.4/fs/cifs/
Dasn1.c157 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() argument
165 *con = (ch & 0x20) >> 5; in asn1_id_decode()
214 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() argument
219 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
226 if (*con == ASN1_PRI && !def) in asn1_header_decode()
490 unsigned int cls, con, tag, oidlen, rc; in decode_negTokenInit() local
497 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit()
500 } else if ((cls != ASN1_APL) || (con != ASN1_CON) in decode_negTokenInit()
502 cifs_dbg(FYI, "cls = %d con = %d tag = %d\n", cls, con, tag); in decode_negTokenInit()
507 rc = asn1_header_decode(&ctx, &end, &cls, &con, &tag); in decode_negTokenInit()
[all …]
/Linux-v5.4/sound/soc/samsung/
Ds3c-i2s-v2.c45 static void dbg_showcon(const char *fn, u32 con) in dbg_showcon() argument
48 bit_set(con, S3C2412_IISCON_LRINDEX), in dbg_showcon()
49 bit_set(con, S3C2412_IISCON_TXFIFO_EMPTY), in dbg_showcon()
50 bit_set(con, S3C2412_IISCON_RXFIFO_EMPTY), in dbg_showcon()
51 bit_set(con, S3C2412_IISCON_TXFIFO_FULL), in dbg_showcon()
52 bit_set(con, S3C2412_IISCON_RXFIFO_FULL)); in dbg_showcon()
56 bit_set(con, S3C2412_IISCON_TXDMA_PAUSE), in dbg_showcon()
57 bit_set(con, S3C2412_IISCON_RXDMA_PAUSE), in dbg_showcon()
58 bit_set(con, S3C2412_IISCON_TXCH_PAUSE), in dbg_showcon()
59 bit_set(con, S3C2412_IISCON_RXCH_PAUSE)); in dbg_showcon()
[all …]
Dspdif.c178 u32 con, clkcon, cstas; in spdif_hw_params() local
195 con = readl(regs + CON) & CON_MASK; in spdif_hw_params()
199 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params()
200 con |= (0x7 << CON_FIFO_TH_SHIFT); in spdif_hw_params()
201 con |= CON_USERDATA_23RDBIT; in spdif_hw_params()
202 con |= CON_PCM_DATA; in spdif_hw_params()
204 con &= ~CON_PCM_MASK; in spdif_hw_params()
207 con |= CON_PCM_16BIT; in spdif_hw_params()
224 con &= ~CON_MCLKDIV_MASK; in spdif_hw_params()
227 con |= CON_MCLKDIV_256FS; in spdif_hw_params()
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c1079 struct qed_iscsi_conn *con; member
1118 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()
1122 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()
1217 &hash_con->con); in qed_iscsi_acquire_conn()
1225 *handle = hash_con->con->icid; in qed_iscsi_acquire_conn()
1226 *fw_cid = hash_con->con->fw_cid; in qed_iscsi_acquire_conn()
1248 qed_iscsi_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_iscsi_release_conn()
1259 struct qed_iscsi_conn *con; in qed_iscsi_offload_conn() local
1269 con = hash_con->con; in qed_iscsi_offload_conn()
1271 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
[all …]
Dqed_fcoe.c742 struct qed_fcoe_conn *con; member
783 if (hash_con->con->icid == handle) in qed_fcoe_get_hash()
787 if (!hash_con || (hash_con->con->icid != handle)) in qed_fcoe_get_hash()
888 &hash_con->con); in qed_fcoe_acquire_conn()
896 *handle = hash_con->con->icid; in qed_fcoe_acquire_conn()
897 *fw_cid = hash_con->con->fw_cid; in qed_fcoe_acquire_conn()
919 qed_fcoe_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_fcoe_release_conn()
930 struct qed_fcoe_conn *con; in qed_fcoe_offload_conn() local
940 con = hash_con->con; in qed_fcoe_offload_conn()
942 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_fcoe_offload_conn()
[all …]
/Linux-v5.4/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,
230 struct ceph_connection *con; member
342 extern void ceph_con_init(struct ceph_connection *con, void *private,
[all …]
/Linux-v5.4/drivers/usb/typec/
Dmux.c42 static void *typec_switch_match(struct device_connection *con, int ep, in typec_switch_match() argument
47 if (con->fwnode) { in typec_switch_match()
48 if (con->id && !fwnode_property_present(con->fwnode, con->id)) in typec_switch_match()
51 dev = class_find_device(&typec_mux_class, NULL, con->fwnode, in typec_switch_match()
55 con->endpoint[ep], name_match); in typec_switch_match()
185 static void *typec_mux_match(struct device_connection *con, int ep, void *data) in typec_mux_match() argument
194 if (!con->fwnode) { in typec_mux_match()
196 con->endpoint[ep], name_match); in typec_mux_match()
205 match = !con->id; in typec_mux_match()
211 match = fwnode_property_present(con->fwnode, "accessory"); in typec_mux_match()
[all …]
/Linux-v5.4/drivers/thermal/samsung/
Dexynos_tmu.c329 static u32 get_con_reg(struct exynos_tmu_data *data, u32 con) in get_con_reg() argument
333 con |= (EXYNOS4412_MUX_ADDR_VALUE << EXYNOS4412_MUX_ADDR_SHIFT); in get_con_reg()
335 con &= ~(EXYNOS_TMU_REF_VOLTAGE_MASK << EXYNOS_TMU_REF_VOLTAGE_SHIFT); in get_con_reg()
336 con |= data->reference_voltage << EXYNOS_TMU_REF_VOLTAGE_SHIFT; in get_con_reg()
338 con &= ~(EXYNOS_TMU_BUF_SLOPE_SEL_MASK << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT); in get_con_reg()
339 con |= (data->gain << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT); in get_con_reg()
341 con &= ~(EXYNOS_TMU_TRIP_MODE_MASK << EXYNOS_TMU_TRIP_MODE_SHIFT); in get_con_reg()
342 con |= (EXYNOS_NOISE_CANCEL_MODE << EXYNOS_TMU_TRIP_MODE_SHIFT); in get_con_reg()
344 return con; in get_con_reg()
393 u32 th, con; in exynos4412_tmu_set_trip_temp() local
[all …]
/Linux-v5.4/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
167 con->cflag = cflag; in sunserial_console_termios()
/Linux-v5.4/drivers/rtc/
Drtc-s3c.c379 unsigned int con, tmp; in s3c24xx_rtc_enable() local
381 con = readw(info->base + S3C2410_RTCCON); in s3c24xx_rtc_enable()
383 if ((con & S3C2410_RTCCON_RTCEN) == 0) { in s3c24xx_rtc_enable()
390 if (con & S3C2410_RTCCON_CNTSEL) { in s3c24xx_rtc_enable()
398 if (con & S3C2410_RTCCON_CLKRST) { in s3c24xx_rtc_enable()
409 unsigned int con; in s3c24xx_rtc_disable() local
411 con = readw(info->base + S3C2410_RTCCON); in s3c24xx_rtc_disable()
412 con &= ~S3C2410_RTCCON_RTCEN; in s3c24xx_rtc_disable()
413 writew(con, info->base + S3C2410_RTCCON); in s3c24xx_rtc_disable()
415 con = readb(info->base + S3C2410_TICNT); in s3c24xx_rtc_disable()
[all …]
/Linux-v5.4/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-v5.4/Documentation/translations/it_IT/process/
Dsubmit-checklist.rst24 a) con le opzioni ``CONFIG`` negli stati ``=y``, ``=m`` e ``=n``. Nessun
27 b) con ``allnoconfig``, ``allmodconfig``
55 9) Verificare con sparse.
71 12) La patch è stata verificata con le seguenti opzioni abilitate
77 13) La patch è stata compilata e verificata in esecuzione con, e senza,
81 verificata con, e senza, l'opzione ``CONFIG_LBDAF``.
83 15) Tutti i percorsi del codice sono stati verificati con tutte le funzionalità
91 18) Tutti i nuovi parametri dei moduli sono documentati con ``MODULE_PARM_DESC()``.
98 20) Verifica che il kernel passi con successo ``make headers_check``
100 21) La patch è stata verificata con l'iniezione di fallimenti in slab e
[all …]
/Linux-v5.4/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()

12345678