| /linux/net/ceph/ |
| H A D | messenger_v1.c | 110 static void con_out_kvec_reset(struct ceph_connection *con) in con_out_kvec_reset() argument 112 BUG_ON(con->v1.out_skip); in con_out_kvec_reset() 114 con->v1.out_kvec_left = 0; in con_out_kvec_reset() 115 con->v1.out_kvec_bytes = 0; in con_out_kvec_reset() 116 con->v1.out_kvec_cur = &con->v1.out_kvec[0]; in con_out_kvec_reset() 119 static void con_out_kvec_add(struct ceph_connection *con, in con_out_kvec_add() argument 122 int index = con->v1.out_kvec_left; in con_out_kvec_add() 124 BUG_ON(con->v1.out_skip); in con_out_kvec_add() 125 BUG_ON(index >= ARRAY_SIZE(con->v1.out_kvec)); in con_out_kvec_add() 127 con->v1.out_kvec[index].iov_len = size; in con_out_kvec_add() [all …]
|
| H A D | messenger_v2.c | 109 static int ceph_tcp_recv(struct ceph_connection *con) in ceph_tcp_recv() argument 113 dout("%s con %p %s %zu\n", __func__, con, in ceph_tcp_recv() 114 iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need", in ceph_tcp_recv() 115 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv() 116 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv() 117 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_recv() 118 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv() 196 static int ceph_tcp_send(struct ceph_connection *con) in ceph_tcp_send() argument 200 dout("%s con %p have %zu try_sendpage %d\n", __func__, con, in ceph_tcp_send() 201 iov_iter_count(&con->v2.out_iter), con->v2.out_iter_sendpage); in ceph_tcp_send() [all …]
|
| H A D | messenger.c | 100 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_clear() argument 104 clear_bit(con_flag, &con->flags); in ceph_con_flag_clear() 107 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_set() argument 111 set_bit(con_flag, &con->flags); in ceph_con_flag_set() 114 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_test() argument 118 return test_bit(con_flag, &con->flags); in ceph_con_flag_test() 121 bool ceph_con_flag_test_and_clear(struct ceph_connection *con, in ceph_con_flag_test_and_clear() argument 126 return test_and_clear_bit(con_flag, &con->flags); in ceph_con_flag_test_and_clear() 129 bool ceph_con_flag_test_and_set(struct ceph_connection *con, in ceph_con_flag_test_and_set() argument 134 return test_and_set_bit(con_flag, &con in ceph_con_flag_test_and_set() 281 con_sock_state_init(struct ceph_connection * con) con_sock_state_init() argument 292 con_sock_state_connecting(struct ceph_connection * con) con_sock_state_connecting() argument 303 con_sock_state_connected(struct ceph_connection * con) con_sock_state_connected() argument 314 con_sock_state_closing(struct ceph_connection * con) con_sock_state_closing() argument 327 con_sock_state_closed(struct ceph_connection * con) con_sock_state_closed() argument 348 struct ceph_connection *con = sk->sk_user_data; ceph_sock_data_ready() local 366 struct ceph_connection *con = sk->sk_user_data; ceph_sock_write_space() local 389 struct ceph_connection *con = sk->sk_user_data; ceph_sock_state_change() local 418 set_sock_callbacks(struct socket * sock,struct ceph_connection * con) set_sock_callbacks() argument 435 ceph_tcp_connect(struct ceph_connection * con) ceph_tcp_connect() argument 486 ceph_con_close_socket(struct ceph_connection * con) ceph_con_close_socket() argument 509 ceph_con_reset_protocol(struct ceph_connection * con) ceph_con_reset_protocol() argument 555 ceph_con_reset_session(struct ceph_connection * con) ceph_con_reset_session() argument 576 ceph_con_close(struct ceph_connection * con) ceph_con_close() argument 598 ceph_con_open(struct ceph_connection * con,__u8 entity_type,__u64 entity_num,struct ceph_entity_addr * addr) ceph_con_open() argument 621 ceph_con_opened(struct ceph_connection * con) ceph_con_opened() argument 632 ceph_con_init(struct ceph_connection * con,void * private,const struct ceph_connection_operations * ops,struct ceph_messenger * msgr) ceph_con_init() argument 672 ceph_con_discard_sent(struct ceph_connection * con,u64 ack_seq) ceph_con_discard_sent() argument 697 ceph_con_discard_requeued(struct ceph_connection * con,u64 reconnect_seq) ceph_con_discard_requeued() argument 1402 ceph_con_process_message(struct ceph_connection * con) ceph_con_process_message() argument 1435 queue_con_delay(struct ceph_connection * con,unsigned long delay) queue_con_delay() argument 1455 queue_con(struct ceph_connection * con) queue_con() argument 1460 cancel_con(struct ceph_connection * con) cancel_con() argument 1468 con_sock_closed(struct ceph_connection * con) con_sock_closed() argument 1500 con_backoff(struct ceph_connection * con) con_backoff() argument 1520 con_fault_finish(struct ceph_connection * con) con_fault_finish() argument 1544 struct ceph_connection *con = container_of(work, struct ceph_connection, ceph_con_workfn() local 1615 con_fault(struct ceph_connection * con) con_fault() argument 1705 msg_con_set(struct ceph_msg * msg,struct ceph_connection * con) msg_con_set() argument 1714 clear_standby(struct ceph_connection * con) clear_standby() argument 1732 ceph_con_send(struct ceph_connection * con,struct ceph_msg * msg) ceph_con_send() argument 1774 struct ceph_connection *con = msg->con; ceph_msg_revoke() local 1814 struct ceph_connection *con = msg->con; ceph_msg_revoke_incoming() local 1841 ceph_con_keepalive(struct ceph_connection * con) ceph_con_keepalive() argument 1854 ceph_con_keepalive_expired(struct ceph_connection * con,unsigned long interval) ceph_con_keepalive_expired() argument 2036 ceph_alloc_middle(struct ceph_connection * con,struct ceph_msg * msg) ceph_alloc_middle() argument 2067 ceph_con_in_msg_alloc(struct ceph_connection * con,struct ceph_msg_header * hdr,int * skip) ceph_con_in_msg_alloc() argument 2114 ceph_con_get_out_msg(struct ceph_connection * con) ceph_con_get_out_msg() argument [all...] |
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi.c | 272 struct ucsi_connector *con; member 279 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker() local 282 mutex_lock(&con->lock); in ucsi_poll_worker() 284 if (!con->partner) { in ucsi_poll_worker() 286 mutex_unlock(&con->lock); in ucsi_poll_worker() 291 ret = uwork->cb(con); in ucsi_poll_worker() 294 queue_delayed_work(con->wq, &uwork->work, uwork->delay); in ucsi_poll_worker() 300 mutex_unlock(&con->lock); in ucsi_poll_worker() 303 static int ucsi_partner_task(struct ucsi_connector *con, in ucsi_partner_task() argument 309 if (!con->partner) in ucsi_partner_task() [all …]
|
| H A D | psy.c | 35 static int ucsi_psy_get_scope(struct ucsi_connector *con, in ucsi_psy_get_scope() argument 39 struct device *dev = con->ucsi->dev; in ucsi_psy_get_scope() 46 if (con->ucsi->cap.attributes & mask) in ucsi_psy_get_scope() 55 static int ucsi_psy_get_status(struct ucsi_connector *con, in ucsi_psy_get_status() argument 58 bool is_sink = UCSI_CONSTAT(con, PWR_DIR) == TYPEC_SINK; in ucsi_psy_get_status() 63 if (con->ucsi->version >= UCSI_VERSION_2_0) in ucsi_psy_get_status() 65 UCSI_CONSTAT(con, SINK_PATH_STATUS_V2_0) == in ucsi_psy_get_status() 68 if (UCSI_CONSTAT(con, CONNECTED)) { in ucsi_psy_get_status() 78 static int ucsi_psy_get_online(struct ucsi_connector *con, in ucsi_psy_get_online() argument 82 if (UCSI_CONSTAT(con, CONNECTED) && in ucsi_psy_get_online() [all …]
|
| H A D | displayport.c | 20 struct ucsi_connector *con; member 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 57 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter() 69 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() 81 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter() 107 ucsi_con_mutex_unlock(dp->con); in ucsi_displayport_enter() 119 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_exit() 131 command = UCSI_CMD_SET_NEW_CAM(dp->con->num, 0, dp->offset, 0); in ucsi_displayport_exit() 132 dp->con->ucsi->message_in_size = 0; in ucsi_displayport_exit() 133 ret = ucsi_send_command(dp->con->ucsi, command); in ucsi_displayport_exit() [all …]
|
| H A D | trace.h | 42 TP_PROTO(int port, struct ucsi_connector *con), 43 TP_ARGS(port, con), 57 __entry->change = UCSI_CONSTAT(con, CHANGE); 58 __entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE); 59 __entry->connected = UCSI_CONSTAT(con, CONNECTED); 60 __entry->pwr_dir = UCSI_CONSTAT(con, PWR_DIR); 61 __entry->partner_flags = UCSI_CONSTAT(con, PARTNER_FLAGS); 62 __entry->partner_type = UCSI_CONSTAT(con, PARTNER_TYPE); 63 __entry->request_data_obj = UCSI_CONSTAT(con, RDO); 64 __entry->bc_status = UCSI_CONSTAT(con, BC_STATUS); [all …]
|
| /linux/net/tipc/ |
| H A D | topsrv.c | 117 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/fs/dlm/ |
| H A D | lowcomms.c | 134 struct connection *con; member 215 static void lowcomms_queue_swork(struct connection *con) in lowcomms_queue_swork() argument 217 assert_spin_locked(&con->writequeue_lock); in lowcomms_queue_swork() 219 if (!test_bit(CF_IO_STOP, &con->flags) && in lowcomms_queue_swork() 220 !test_bit(CF_APP_LIMITED, &con->flags) && in lowcomms_queue_swork() 221 !test_and_set_bit(CF_SEND_PENDING, &con->flags)) in lowcomms_queue_swork() 222 queue_work(io_workqueue, &con->swork); in lowcomms_queue_swork() 225 static void lowcomms_queue_rwork(struct connection *con) in lowcomms_queue_rwork() argument 228 WARN_ON_ONCE(!lockdep_sock_is_held(con->sock->sk)); in lowcomms_queue_rwork() 231 if (!test_bit(CF_IO_STOP, &con in lowcomms_queue_rwork() 255 con_next_wq(struct connection * con) con_next_wq() argument 272 struct connection *con; __find_con() local 282 dlm_con_init(struct connection * con,int nodeid) dlm_con_init() argument 300 struct connection *con, *tmp; nodeid2con() local 367 struct connection *con; nodeid_to_addr() local 424 struct connection *con; addr_to_nodeid() local 450 dlm_lowcomms_con_has_addr(const struct connection * con,const struct sockaddr_storage * addr) dlm_lowcomms_con_has_addr() argument 465 struct connection *con; dlm_lowcomms_addr() local 508 struct connection *con = sock2con(sk); lowcomms_data_ready() local 518 struct connection *con = sock2con(sk); lowcomms_write_space() local 550 struct connection *con; dlm_lowcomms_connect_node() local 575 struct connection *con; dlm_lowcomms_nodes_set_mark() local 594 struct connection *con = sock2con(sk); lowcomms_error_report() local 645 add_sock(struct socket * sock,struct connection * con) add_sock() argument 727 allow_connection_io(struct connection * con) allow_connection_io() argument 734 stop_connection_io(struct connection * con) stop_connection_io() argument 756 close_connection(struct connection * con,bool and_other) close_connection() argument 799 shutdown_connection(struct connection * con,bool and_other) shutdown_connection() argument 901 receive_from_sock(struct connection * con,int buflen) receive_from_sock() argument 1165 new_writequeue_entry(struct connection * con) new_writequeue_entry() argument 1189 new_wq_entry(struct connection * con,int len,char ** ppc,void (* cb)(void * data),void * data) new_wq_entry() argument 1228 dlm_lowcomms_new_msg_con(struct connection * con,int len,char ** ppc,void (* cb)(void * data),void * data) dlm_lowcomms_new_msg_con() argument 1263 struct connection *con; dlm_lowcomms_new_msg() local 1299 struct connection *con = e->con; _dlm_lowcomms_commit_msg() local 1363 send_to_sock(struct connection * con) send_to_sock() argument 1422 clean_one_writequeue(struct connection * con) clean_one_writequeue() argument 1435 struct connection *con = container_of(rcu, struct connection, rcu); connection_release() local 1446 struct connection *con; dlm_lowcomms_close() local 1486 struct connection *con = container_of(work, struct connection, rwork); process_recv_sockets() local 1568 dlm_connect(struct connection * con) dlm_connect() argument 1622 struct connection *con = container_of(work, struct connection, swork); process_send_sockets() local 1719 struct connection *con; dlm_lowcomms_shutdown() local 1966 struct connection *con; dlm_lowcomms_exit() local [all...] |
| /linux/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 37 static void check_slab_cache_iter(struct lock_contention *con) in check_slab_cache_iter() argument 43 con->btf = btf__load_vmlinux_btf(); in check_slab_cache_iter() 44 if (con->btf == NULL) { in check_slab_cache_iter() 49 ret = btf__find_by_name_kind(con->btf, "bpf_iter__kmem_cache", BTF_KIND_STRUCT); in check_slab_cache_iter() 58 bpf_map__set_max_entries(skel->maps.slab_caches, con->map_nr_entries); in check_slab_cache_iter() 111 static void init_numa_data(struct lock_contention *con) in init_numa_data() argument 125 ret = btf__find_by_name_kind(con->btf, "zone", BTF_KIND_STRUCT); in init_numa_data() 131 ret = btf__resolve_size(con->btf, ret); in init_numa_data() 139 sym = machine__find_kernel_symbol_by_name(con->machine, in init_numa_data() 153 sym = machine__find_kernel_symbol_by_name(con->machine, in init_numa_data() [all …]
|
| /linux/kernel/printk/ |
| H A D | nbcon.c | 127 * @con: Console to update 133 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set() argument 135 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom); in nbcon_state_set() 140 * @con: Console to read 143 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read() argument 145 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state)); in nbcon_state_read() 150 * @con: Console to update 156 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur, in nbcon_state_try_cmpxchg() argument 159 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom); in nbcon_state_try_cmpxchg() 164 * @con: Console to read the sequence of [all …]
|
| H A D | internal.h | 17 #define con_printk(lvl, con, fmt, ...) \ argument 19 (con->flags & CON_NBCON) ? "" : "legacy ", \ 20 (con->flags & CON_BOOT) ? "boot" : "", \ 21 con->name, con->index, ##__VA_ARGS__) 102 u64 nbcon_seq_read(struct console *con); 103 void nbcon_seq_force(struct console *con, u64 seq); 104 bool nbcon_alloc(struct console *con); 105 void nbcon_free(struct console *con); 108 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover, 110 bool nbcon_kthread_create(struct console *con); [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt.c | 188 return to_clt_con(clt_path->s.con[id]); in rtrs_permit_to_clt_con() 307 static void rtrs_rdma_error_recovery(struct rtrs_clt_con *con) in rtrs_rdma_error_recovery() argument 309 struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); in rtrs_rdma_error_recovery() 331 struct rtrs_clt_con *con = to_clt_con(wc->qp->qp_context); in rtrs_clt_fast_reg_done() local 334 rtrs_err_rl(con->c.path, "Failed IB_WR_REG_MR: %s\n", in rtrs_clt_fast_reg_done() 336 rtrs_rdma_error_recovery(con); in rtrs_clt_fast_reg_done() 351 struct rtrs_clt_con *con = to_clt_con(wc->qp->qp_context); in rtrs_clt_inv_rkey_done() local 354 rtrs_err_rl(con->c.path, "Failed IB_WR_LOCAL_INV: %s\n", in rtrs_clt_inv_rkey_done() 356 rtrs_rdma_error_recovery(con); in rtrs_clt_inv_rkey_done() 368 struct rtrs_clt_con *con = req->con; in rtrs_inv_rkey() local [all …]
|
| H A D | rtrs-srv.c | 182 struct rtrs_srv_con *con = to_srv_con(wc->qp->qp_context); in rtrs_srv_reg_mr_done() local 183 struct rtrs_path *s = con->c.path; in rtrs_srv_reg_mr_done() 200 struct rtrs_path *s = id->con->c.path; in rdma_write_sg() 271 flags = (atomic_inc_return(&id->con->c.wr_cnt) % s->signal_interval) ? in rdma_write_sg() 323 err = ib_post_send(id->con->c.qp, &id->tx_wr.wr, NULL); in rdma_write_sg() 335 * @con: the connection to send back result 341 static int send_io_resp_imm(struct rtrs_srv_con *con, struct rtrs_srv_op *id, in send_io_resp_imm() argument 344 struct rtrs_path *s = con->c.path; in send_io_resp_imm() 400 flags = (atomic_inc_return(&con->c.wr_cnt) % s->signal_interval) ? in send_io_resp_imm() 441 err = ib_post_send(id->con->c.qp, wr, NULL); in send_io_resp_imm() [all …]
|
| /linux/include/linux/ceph/ |
| H A D | messenger.h | 31 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m); 35 struct ceph_connection *con, 37 int (*add_authorizer_challenge)(struct ceph_connection *con, 40 int (*verify_authorizer_reply) (struct ceph_connection *con); 41 int (*invalidate_authorizer)(struct ceph_connection *con); 44 void (*fault) (struct ceph_connection *con); 48 void (*peer_reset) (struct ceph_connection *con); 50 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con, 60 int (*get_auth_request)(struct ceph_connection *con, 63 int (*handle_auth_reply_more)(struct ceph_connection *con, [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_nvmetcp.c | 256 if (hash_con->con->icid == handle) in qed_nvmetcp_get_hash() 260 if (!hash_con || hash_con->con->icid != handle) in qed_nvmetcp_get_hash() 620 &hash_con->con); in qed_nvmetcp_acquire_conn() 629 *handle = hash_con->con->icid; in qed_nvmetcp_acquire_conn() 630 *fw_cid = hash_con->con->fw_cid; in qed_nvmetcp_acquire_conn() 652 qed_nvmetcp_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_nvmetcp_release_conn() 662 struct qed_nvmetcp_conn *con; in qed_nvmetcp_offload_conn() local 673 con = hash_con->con; in qed_nvmetcp_offload_conn() 676 con->layer_code = NVMETCP_SLOW_PATH_LAYER_CODE; in qed_nvmetcp_offload_conn() 677 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_nvmetcp_offload_conn() [all …]
|
| H A D | qed_iscsi.c | 1030 struct qed_iscsi_conn *con; member 1069 if (hash_con->con->icid == handle) in qed_iscsi_get_hash() 1073 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash() 1168 &hash_con->con); in qed_iscsi_acquire_conn() 1176 *handle = hash_con->con->icid; in qed_iscsi_acquire_conn() 1177 *fw_cid = hash_con->con->fw_cid; in qed_iscsi_acquire_conn() 1199 qed_iscsi_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_iscsi_release_conn() 1210 struct qed_iscsi_conn *con; in qed_iscsi_offload_conn() local 1220 con = hash_con->con; in qed_iscsi_offload_conn() 1222 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ras.c | 143 static int amdgpu_ras_check_bad_page_unlock(struct amdgpu_ras *con, 221 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_check_address_validity() local 259 (blk_info.task.pid == con->init_task_pid) && in amdgpu_check_address_validity() 260 !strncmp(blk_info.task.comm, con->init_task_comm, TASK_COMM_LEN)) in amdgpu_check_address_validity() 744 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_create_obj() local 747 if (!adev->ras_enabled || !con) in amdgpu_ras_create_obj() 757 obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index]; in amdgpu_ras_create_obj() 759 obj = &con->objs[head->block]; in amdgpu_ras_create_obj() 770 list_add(&obj->node, &con->head); in amdgpu_ras_create_obj() 780 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_find_obj() local [all …]
|
| /linux/fs/proc/ |
| H A D | consoles.c | 30 struct console *con = v; in show_console_dev() local 34 if (con->device) { in show_console_dev() 44 driver = con->device(con, &index); in show_console_dev() 54 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev() 59 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev() 61 seq_printf(m, "%c%c%c (%s)", con->read ? 'R' : '-', in show_console_dev() 62 ((con->flags & CON_NBCON) || con->write) ? 'W' : '-', in show_console_dev() 63 con->unblank ? 'U' : '-', flags); in show_console_dev() 74 struct console *con; in c_start() local 83 for_each_console(con) in c_start() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | gpio-samsung.c | 73 u32 con; in samsung_gpio_setcfg_2bit() local 83 con = __raw_readl(reg); in samsung_gpio_setcfg_2bit() 84 con &= ~(0x3 << shift); in samsung_gpio_setcfg_2bit() 85 con |= cfg; in samsung_gpio_setcfg_2bit() 86 __raw_writel(con, reg); in samsung_gpio_setcfg_2bit() 104 u32 con; in samsung_gpio_getcfg_2bit() local 106 con = __raw_readl(chip->base); in samsung_gpio_getcfg_2bit() 107 con >>= off * 2; in samsung_gpio_getcfg_2bit() 108 con &= 3; in samsung_gpio_getcfg_2bit() 111 return S3C_GPIO_SPECIAL(con); in samsung_gpio_getcfg_2bit() [all …]
|
| H A D | pm-gpio.c | 55 S3C_PMDBG("%s: CON %08x => %08x, DAT %08x => %08x\n", in samsung_gpio_pm_1bit_resume() 74 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() 99 * from the order that the CON and DAT registers are set in. 107 * { IN => SFN } Change CON first 108 * { OUT => SFN } Change CON first, so new data will not glitch [all …]
|
| /linux/sound/soc/samsung/ |
| H A D | spdif.c | 22 #define CON 0x04 macro 74 * @saved_con: Backup con reg. in suspend. 184 u32 con, clkcon, cstas; in spdif_hw_params() local 201 con = readl(regs + CON) & CON_MASK; in spdif_hw_params() 205 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params() 206 con |= (0x7 << CON_FIFO_TH_SHIFT); in spdif_hw_params() 207 con |= CON_USERDATA_23RDBIT; in spdif_hw_params() 208 con |= CON_PCM_DATA; in spdif_hw_params() 210 con &= ~CON_PCM_MASK; in spdif_hw_params() 213 con |= CON_PCM_16BIT; in spdif_hw_params() [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-audio-hook.c | 57 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/Documentation/translations/sp_SP/process/ |
| H A D | 1.Intro.rst | 17 código del kernel debe fusionarse con el kernel oficial (“mainline”), 21 estar disponible bajo una licencia compatible con GPL. 28 comenzar con el desarrollo del kernel a encontrar y corregir errores como 32 etapas tempranas, con énfasis en involucrar a la comunidad de desarrollo 48 parches; el trabajo está lejos de terminar en ese momento. Trabajar con 55 la administración de parches con git y la revisión de parches publicados 58 :ref:`sp_development_conclusion` concluye el documento con punteros a las 64 El kernel de Linux, con más de 8 millones de líneas de código y más de 73 Con el crecimiento de Linux, ha llegado un aumento en el número de 75 vendedores de hardware quieren asegurarse de que Linux sea compatible con [all …]
|
| /linux/drivers/gpu/drm/clients/ |
| H A D | drm_log.c | 57 struct console con; member 68 static struct drm_log *console_to_drm_log(struct console *con) in console_to_drm_log() argument 70 return container_of(con, struct drm_log, con); in console_to_drm_log() 310 unregister_console(&dlog->con); in drm_log_client_unregister() 345 console_suspend(&dlog->con); in drm_log_client_suspend() 354 console_resume(&dlog->con); in drm_log_client_resume() 369 static void drm_log_write_thread(struct console *con, struct nbcon_write_context *wctxt) in drm_log_write_thread() argument 371 struct drm_log *dlog = console_to_drm_log(con); in drm_log_write_thread() 386 static void drm_log_lock(struct console *con, unsigned long *flags) in drm_log_lock() argument 388 struct drm_log *dlog = console_to_drm_log(con); in drm_log_lock() [all …]
|