/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | l2cap_core.c | 283 static void l2cap_state_change(struct l2cap_chan *chan, int state) in l2cap_state_change() argument 285 BT_DBG("chan %p %s -> %s", chan, state_to_string(chan->state), in l2cap_state_change() 286 state_to_string(state)); in l2cap_state_change() 288 chan->state = state; in l2cap_state_change() 289 chan->ops->state_change(chan, state, 0); in l2cap_state_change() 293 int state, int err) in l2cap_state_change_and_error() 295 chan->state = state; in l2cap_state_change_and_error() 296 chan->ops->state_change(chan, chan->state, er in l2cap_state_change_and_error() 292 l2cap_state_change_and_error(struct l2cap_chan *chan, int state, int err) l2cap_state_change_and_error() argument 1970 l2cap_global_chan_by_psm(int state, __le16 psm, bdaddr_t *src, bdaddr_t *dst, u8 link_type) l2cap_global_chan_by_psm() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt.c | 54 connected |= READ_ONCE(sess->state) == RTRS_CLT_CONNECTED; in rtrs_clt_is_connected() 189 * __rtrs_clt_change_state() - change the session state through session state 192 * @sess: client session to change the state of. 193 * @new_state: state to change to. 195 * returns true if successful, false if the requested state can not be set. 208 old_state = sess->state; in __rtrs_clt_change_state() 282 sess->state = new_state; in __rtrs_clt_change_state() 296 if (sess->state == old_state) in rtrs_clt_change_state_from_to() 323 * so notify waiter with error state, waite in rtrs_rdma_error_recovery() 2349 enum rtrs_clt_state state; rtrs_clt_info_rsp_done() local [all...] |
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx() 905 * handle L1 state changes TE 913 __func__, dch->state); in ph_state_te() 914 switch (dch->state) { in ph_state_te() 935 * handle L1 state changes NT 961 __func__, dch->state); in ph_state_nt() 962 switch (dch->state) { in ph_state_nt() 975 dch->state = 4; in ph_state_nt() 1169 if (val & 0x40) { /* state machine irq */ in hfcpci_int() 1173 hc->dch.state, exva in hfcpci_int() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 583 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config() 591 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config() 747 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state) in bnx2x_dcbx_set_params() argument 749 switch (state) { in bnx2x_dcbx_set_params() 961 DP(BNX2X_MSG_DCB, "DCB state [%s:%s]\n", in bnx2x_dcbx_set_state() 1934 /* validate dcbnl call that may change HW state: in bnx2x_dcbnl_set_valid() 1943 DP(BNX2X_MSG_DCB, "state = %d\n", bp->dcb_state); in bnx2x_dcbnl_get_state() 1947 static u8 bnx2x_dcbnl_set_state(struct net_device *netdev, u8 state) in bnx2x_dcbnl_set_state() argument 1950 DP(BNX2X_MSG_DCB, "state = %s\n", state in bnx2x_dcbnl_set_state() 2242 bnx2x_dcbnl_set_pfc_state(struct net_device *netdev, u8 state) bnx2x_dcbnl_set_pfc_state() argument 2363 u8 state; bnx2x_dcbnl_get_dcbx() local 2373 bnx2x_dcbnl_set_dcbx(struct net_device *netdev, u8 state) bnx2x_dcbnl_set_dcbx() argument [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | tcp.c | 93 /* send state */ 96 enum nvme_tcp_send_state state; member 122 /* recv state */ 130 /* send state */ 674 req->state = NVME_TCP_SEND_H2C_PDU; in nvme_tcp_handle_r2t() 926 "queue %d socket state %d\n", in nvme_tcp_state_change() 998 req->state = NVME_TCP_SEND_DDGST; in nvme_tcp_try_send_data() 1035 req->state = NVME_TCP_SEND_DATA; in nvme_tcp_try_send_cmd_pdu() 1068 req->state = NVME_TCP_SEND_DATA; in nvme_tcp_try_send_data_pdu() 1121 if (req->state in nvme_tcp_try_send() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 583 ets_params.cos[i].state = bnx2x_cos_state_strict; in bnx2x_dcbx_update_ets_config() 591 ets_params.cos[i].state = bnx2x_cos_state_bw; in bnx2x_dcbx_update_ets_config() 747 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state) in bnx2x_dcbx_set_params() argument 749 switch (state) { in bnx2x_dcbx_set_params() 961 DP(BNX2X_MSG_DCB, "DCB state [%s:%s]\n", in bnx2x_dcbx_set_state() 1934 /* validate dcbnl call that may change HW state: in bnx2x_dcbnl_set_valid() 1943 DP(BNX2X_MSG_DCB, "state = %d\n", bp->dcb_state); in bnx2x_dcbnl_get_state() 1947 static u8 bnx2x_dcbnl_set_state(struct net_device *netdev, u8 state) in bnx2x_dcbnl_set_state() argument 1950 DP(BNX2X_MSG_DCB, "state = %s\n", state in bnx2x_dcbnl_set_state() 2242 bnx2x_dcbnl_set_pfc_state(struct net_device *netdev, u8 state) bnx2x_dcbnl_set_pfc_state() argument 2363 u8 state; bnx2x_dcbnl_get_dcbx() local 2373 bnx2x_dcbnl_set_dcbx(struct net_device *netdev, u8 state) bnx2x_dcbnl_set_dcbx() argument [all...] |
/kernel/linux/linux-6.6/drivers/virtio/ |
H A D | virtio_ring.c | 79 u16 last; /* The last desc state in a list. */ 86 u16 next; /* The next desc state in a list. */ 102 /* Per-descriptor state. */ 142 /* Per-descriptor state. */ 678 /* Store token and indirect buffer state. */ in virtqueue_add_split() 1054 struct vring_desc_state_split *state; in vring_alloc_state_extra_split() local 1058 state = kmalloc_array(num, sizeof(struct vring_desc_state_split), GFP_KERNEL); in vring_alloc_state_extra_split() 1059 if (!state) in vring_alloc_state_extra_split() 1066 memset(state, 0, num * sizeof(struct vring_desc_state_split)); in vring_alloc_state_extra_split() 1068 vring_split->desc_state = state; in vring_alloc_state_extra_split() 1605 struct vring_desc_state_packed *state = NULL; detach_buf_packed() local 1991 struct vring_desc_state_packed *state; vring_alloc_state_extra_packed() local [all...] |
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx() 905 * handle L1 state changes TE 913 __func__, dch->state); in ph_state_te() 914 switch (dch->state) { in ph_state_te() 935 * handle L1 state changes NT 961 __func__, dch->state); in ph_state_nt() 962 switch (dch->state) { in ph_state_nt() 975 dch->state = 4; in ph_state_nt() 1169 if (val & 0x40) { /* state machine irq */ in hfcpci_int() 1173 hc->dch.state, exva in hfcpci_int() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_private.h | 134 * (1) the dynamic state pool is located within the same 4 GiB as the low 139 * state pool, within a 4 GiB range. This allows surface state base addresses 230 * "The surface state model is used when a Binding Table Index (specified 634 * both the block pool and the state pools. Unfortunately, in order to 724 struct anv_block_state state; member 740 return pool->state.end + pool->back_state.end; in anv_block_pool_size() 764 struct anv_state state; member 772 struct anv_block_state state; member 779 /* Offset into the relevant state bas 1321 anv_binding_table_pool_free(struct anv_device *device, struct anv_state state) anv_binding_table_pool_free() argument 1322 anv_state_pool_free(anv_binding_table_pool(device), state); anv_binding_table_pool_free() local 2534 struct anv_state state; global() member 2856 struct anv_cmd_state state; global() member 2975 enum anv_bo_sync_state state; global() member 2995 struct anv_state state; global() member 3250 const struct anv_cmd_graphics_state *state = &cmd_buffer->state.gfx; anv_cmd_buffer_all_color_write_masked() local 4077 uint32_t state[3][4]; global() member [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Renderer.cpp | 1571 SetupProcessor::State &state = draw.setupState; in setupSolidTriangles() local 1574 int ms = state.multiSample; in setupSolidTriangles() 1575 int pos = state.positionRegister; in setupSolidTriangles() 1617 SetupProcessor::State &state = draw.setupState; in setupWireframeTriangle() local 1625 if(state.cullMode == CULL_CLOCKWISE) in setupWireframeTriangle() 1629 else if(state.cullMode == CULL_COUNTERCLOCKWISE) in setupWireframeTriangle() 1640 if(state.color[0][0].flat) // FIXME in setupWireframeTriangle() 1674 SetupProcessor::State &state = draw.setupState; in setupVertexTriangle() local 1682 if(state.cullMode == CULL_CLOCKWISE) in setupVertexTriangle() 1686 else if(state in setupVertexTriangle() 1718 SetupProcessor::State &state = draw.setupState; setupLines() local 1743 SetupProcessor::State &state = draw.setupState; setupPoints() local 1764 const SetupProcessor::State &state = draw.setupState; setupLine() local 2058 const SetupProcessor::State &state = draw.setupState; setupPoint() local [all...] |
/third_party/python/Modules/_io/ |
H A D | textio.c | 39 _PyIO_State *state = IO_STATE(); in _unsupported() local 40 if (state != NULL) in _unsupported() 41 PyErr_SetString(state->unsupported_operation, message); in _unsupported() 49 "unusable state.\n" 515 PyObject *state = PyObject_CallMethodNoArgs(self->decoder, in _io_IncrementalNewlineDecoder_getstate_impl() local 517 if (state == NULL) in _io_IncrementalNewlineDecoder_getstate_impl() 519 if (!PyTuple_Check(state)) { in _io_IncrementalNewlineDecoder_getstate_impl() 521 "illegal decoder state"); in _io_IncrementalNewlineDecoder_getstate_impl() 522 Py_DECREF(state); in _io_IncrementalNewlineDecoder_getstate_impl() 525 if (!PyArg_ParseTuple(state, "O in _io_IncrementalNewlineDecoder_getstate_impl() 551 _io_IncrementalNewlineDecoder_setstate(nldecoder_object *self, PyObject *state) _io_IncrementalNewlineDecoder_setstate() argument 1790 PyObject *state = PyObject_CallMethodNoArgs(self->decoder, textiowrapper_read_chunk() local [all...] |
/drivers/hdf_core/framework/model/storage/src/mmc/ |
H A D | mmc_protocol.c | 146 * The host must poll the card (by repeatedly sending CMD1 or ACMD41) until the 'in-idle-state' bit in in MmcSendOpCond() 509 if (dev->state.bits.blockAddr == 0) { in MmcSendEraseStartCmd() 538 if (dev->state.bits.blockAddr == 0) { in MmcSendEraseEndCmd() 658 if (mmc->state.bits.blockAddr == 0) { in MmcSetupReadWriteBlocksCmd() 825 cntlr->curDev->state.bits.removable = 1; in EmmcDecodeCid() 844 emmcDev->mmc.state.bits.blockAddr = 1; in EmmcDecodeExtCsdSector() 931 if (emmcDev->mmc.state.bits.blockAddr == 1) { in EmmcDecodeExtCsdEnhanceArea() 1056 if (emmcDev->mmc.state.bits.blockAddr > 0) { in EmmcSetBlockCapacity() 1322 emmcDev->mmc.state.bits.hs200 = 1; in EmmcSelectActivateHighSpeed() 1328 emmcDev->mmc.state in EmmcSelectActivateHighSpeed() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state_shaders.cpp | 579 * Possible VGT configurations and which state should set the register: 1622 * Compute the state for \p shader, which will run as a vertex shader on the 1648 /* We always write VGT_GS_MODE in the VS state, because every switch 1652 * no GS and then back to the same GS used originally, the GS state is 1918 /* If multiple state sets are allowed to be in a bin, break the batch on a new PS. */ 2237 key->ps.part.epilog.last_cbuf = MAX2(sctx->framebuffer.state.nr_cbufs, 1) - 1; 2243 struct pipe_surface *cb0 = sctx->framebuffer.state.cbufs[0]; 2625 static int si_shader_select_with_key(struct si_context *sctx, struct si_shader_ctx_state *state, 2629 struct si_shader_selector *sel = state->cso; 2631 struct si_shader *current = state [all...] |
/applications/sample/camera/gallery/include/ |
H A D | player_ability_slice.h | 57 void SetCompleteFlag(bool state) in SetCompleteFlag() argument 59 completeFlag_ = state; in SetCompleteFlag()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | bluetooth_a2dp_audio_src_observer_stub.cpp | 65 int state = data.ReadInt32();
in OnConnectionStateChangedInner() local 68 OnConnectionStateChanged(RawAddress(addr), state, cause);
in OnConnectionStateChangedInner() local
|
/drivers/peripheral/camera/test/benchmarktest/v1_3/src/ |
H A D | camera_benchmark_securestream_test.cpp | 25 void CameraBenchmarkSecureStreamTest::SetUp(const ::benchmark::State &state) in SetUp() argument 32 void CameraBenchmarkSecureStreamTest::TearDown(const ::benchmark::State &state) in TearDown() argument
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_common.cpp | 137 int32_t SendDeviceInfo(struct HdfSBuf *reqData, struct CameraFeature feature, bool state) in SendDeviceInfo() argument 140 if (state) { in SendDeviceInfo()
|
/kernel/linux/linux-5.10/drivers/gnss/ |
H A D | mtk.c | 49 enum gnss_serial_pm_state state) in mtk_set_power() 51 switch (state) { in mtk_set_power() 48 mtk_set_power(struct gnss_serial *gserial, enum gnss_serial_pm_state state) mtk_set_power() argument
|
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
H A D | ks0108.c | 74 void ks0108_displaystate(unsigned char state) in ks0108_displaystate() argument 76 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(4) | bit(5)); in ks0108_displaystate()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | x_unimp.S | 18 | 2. Unimp (short) fsave state frame created here by fsave 69 fsave -(%a7) |capture possible exc state
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | platform-pci-unplug.c | 90 static bool __xen_has_pv_device(int state) in __xen_has_pv_device() argument 93 if (xen_hvm_domain() && (xen_platform_pci_unplug & state)) in __xen_has_pv_device()
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | h3600.c | 101 static int h3600_irda_set_power(struct device *dev, unsigned int state) in h3600_irda_set_power() argument 103 gpio_set_value(H3600_EGPIO_IR_ON, state); in h3600_irda_set_power()
|
H A D | hackkit.c | 48 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate); 91 * @state: pm state 92 * @oldstate: old pm state 95 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | pm.c | 103 static int davinci_pm_enter(suspend_state_t state) in davinci_pm_enter() argument 107 switch (state) { in davinci_pm_enter()
|
/kernel/linux/linux-5.10/arch/loongarch/kvm/intc/ |
H A D | ls7a_irq.h | 99 int kvm_set_ls7a_ioapic(struct kvm *kvm, struct ls7a_ioapic_state *state); 100 int kvm_get_ls7a_ioapic(struct kvm *kvm, struct ls7a_ioapic_state *state);
|