/kernel/linux/linux-6.6/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3.h | 423 int s5c73m3_register_spi_driver(struct s5c73m3 *state); 424 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state); 425 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, 427 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, 430 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data); 431 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data); 432 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data); 433 int s5c73m3_init_controls(struct s5c73m3 *state);
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 21 here is to poll the lines for state changes (see ivtv_waitscl and 319 /* Set the serial clock line to the desired state */ 320 static void ivtv_setscl(struct ivtv *itv, int state) in ivtv_setscl() argument 324 write_reg(~state, IVTV_REG_I2C_SETSCL_OFFSET); in ivtv_setscl() 327 /* Set the serial data line to the desired state */ 328 static void ivtv_setsda(struct ivtv *itv, int state) in ivtv_setsda() argument 332 write_reg(~state & 1, IVTV_REG_I2C_SETSDA_OFFSET); in ivtv_setsda() 625 static void ivtv_setscl_old(void *data, int state) in ivtv_setscl_old() argument 629 if (state) in ivtv_setscl_old() 639 static void ivtv_setsda_old(void *data, int state) in ivtv_setsda_old() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_pipe.c | 283 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_reset() 301 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_init() 309 if (pipe->state == VSP1_PIPELINE_STOPPED) { in vsp1_pipeline_run() 312 pipe->state = VSP1_PIPELINE_RUNNING; in vsp1_pipeline_run() 324 stopped = pipe->state == VSP1_PIPELINE_STOPPED; in vsp1_pipeline_stopped() 345 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_stop() 351 if (pipe->state == VSP1_PIPELINE_RUNNING) in vsp1_pipeline_stop() 352 pipe->state = VSP1_PIPELINE_STOPPING; in vsp1_pipeline_stop()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800pci.c | 194 * Device state switch handlers. 218 enum dev_state state) in rt2800pci_set_state() 220 if (state == STATE_AWAKE) { in rt2800pci_set_state() 224 } else if (state == STATE_SLEEP) { in rt2800pci_set_state() 237 enum dev_state state) in rt2800pci_set_device_state() 241 switch (state) { in rt2800pci_set_device_state() 254 rt2800mmio_toggle_irq(rt2x00dev, state); in rt2800pci_set_device_state() 260 retval = rt2800pci_set_state(rt2x00dev, state); in rt2800pci_set_device_state() 268 rt2x00_err(rt2x00dev, "Device failed to enter state %d (%d)\n", in rt2800pci_set_device_state() 269 state, retva in rt2800pci_set_device_state() 217 rt2800pci_set_state(struct rt2x00_dev *rt2x00dev, enum dev_state state) rt2800pci_set_state() argument 236 rt2800pci_set_device_state(struct rt2x00_dev *rt2x00dev, enum dev_state state) rt2800pci_set_device_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 318 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in hisi_uncore_pmu_start() 321 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in hisi_uncore_pmu_start() 322 hwc->state = 0; in hisi_uncore_pmu_start() 341 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in hisi_uncore_pmu_stop() 342 hwc->state |= PERF_HES_STOPPED; in hisi_uncore_pmu_stop() 344 if (hwc->state & PERF_HES_UPTODATE) in hisi_uncore_pmu_stop() 349 hwc->state |= PERF_HES_UPTODATE; in hisi_uncore_pmu_stop() 359 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_uncore_pmu_add()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.h | 185 /* contains values per state change */ 191 /* per event in a state */ 207 /* per state in an authentication */ 208 struct mod_hdcp_state state; member 407 /* hdcp state helpers */ 410 return hdcp->state.id; in current_state() 416 memset(&hdcp->state, 0, sizeof(hdcp->state)); in set_state_id() 417 hdcp->state.id = id; in set_state_id() 418 /* callback timer should be reset per state */ in set_state_id() [all...] |
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | pmu.c | 432 unsigned int state = 0; in xen_guest_state() local 436 return state; in xen_guest_state() 440 return state; in xen_guest_state() 442 state |= PERF_GUEST_ACTIVE; in xen_guest_state() 446 state |= PERF_GUEST_USER; in xen_guest_state() 448 state |= PERF_GUEST_USER; in xen_guest_state() 451 return state; in xen_guest_state() 467 .state = xen_guest_state,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | hardwaremanager.c | 362 int phm_get_performance_level(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *state, in phm_get_performance_level() argument 370 return hwmgr->hwmgr_func->get_performance_level(hwmgr, state, designation, index, level); in phm_get_performance_level() 380 * @state: the address of the Power State structure. 385 int phm_get_clock_info(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *state, struct pp_clock_info *pclock_info, in phm_get_clock_info() argument 393 PP_ASSERT_WITH_CODE((NULL != state), "Invalid Input!", return -EINVAL); in phm_get_clock_info() 396 result = phm_get_performance_level(hwmgr, state, PHM_PerformanceLevelDesignation_Activity, 0, &performance_level); in phm_get_clock_info() 406 result = phm_get_performance_level(hwmgr, state, designation, in phm_get_clock_info() 418 int phm_get_current_shallow_sleep_clocks(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *state, struct pp_clock_info *clock_info) in phm_get_current_shallow_sleep_clocks() argument 425 return hwmgr->hwmgr_func->get_current_shallow_sleep_clocks(hwmgr, state, clock_info); in phm_get_current_shallow_sleep_clocks()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | base507c.c | 235 const struct drm_framebuffer *fb = asyw->state.fb; in base507c_acquire() 238 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, in base507c_acquire() 247 asyh->state.color_mgmt_changed = true; in base507c_acquire() 252 asyh->base.x = asyw->state.src.x1 >> 16; in base507c_acquire() 253 asyh->base.y = asyw->state.src.y1 >> 16; in base507c_acquire() 254 asyh->base.w = asyw->state.fb->width; in base507c_acquire() 255 asyh->base.h = asyw->state.fb->height; in base507c_acquire()
|
H A D | wndwc37e.c | 196 NVVAL(NVC37E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwc37e_image_set() 197 NVVAL(NVC37E, SET_POINT_IN, Y, asyw->state.src_y >> 16)); in wndwc37e_image_set() 200 NVVAL(NVC37E, SET_SIZE_IN, WIDTH, asyw->state.src_w >> 16) | in wndwc37e_image_set() 201 NVVAL(NVC37E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwc37e_image_set() 204 NVVAL(NVC37E, SET_SIZE_OUT, WIDTH, asyw->state.crtc_w) | in wndwc37e_image_set() 205 NVVAL(NVC37E, SET_SIZE_OUT, HEIGHT, asyw->state.crtc_h)); in wndwc37e_image_set() 298 return drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, in wndwc37e_acquire()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | conn_event.c | 20 * Set the completion state on an aborted connection. 28 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 30 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 34 /* Order the abort info before the state change. */ in rxrpc_set_conn_aborted() 35 smp_store_release(&conn->state, RXRPC_CONN_ABORTED); in rxrpc_set_conn_aborted() 236 if (conn->state == RXRPC_CONN_ABORTED) in rxrpc_process_event() 256 if (conn->state == RXRPC_CONN_SERVICE_CHALLENGING) in rxrpc_process_event() 257 conn->state = RXRPC_CONN_SERVICE; in rxrpc_process_event() 260 if (conn->state == RXRPC_CONN_SERVICE) { in rxrpc_process_event() 261 /* Offload call state flippin in rxrpc_process_event() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l2_drops.sh | 223 local state=$1; shift 229 ip link set dev $swp1 type bridge_slave state $state 239 # Change STP state to forwarding and make sure packets are no longer 241 ip link set dev $swp1 type bridge_slave state 3 262 local state=$1; shift 266 __ingress_stp_filter_test $state 268 log_test "Ingress STP filter - listening state" 273 local state=$1; shift 277 __ingress_stp_filter_test $state [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | emu8000_callback.c | 173 int state, val; in get_voice() local 176 state = vp->state; in get_voice() 178 if (state == SNDRV_EMUX_ST_OFF) in get_voice() 180 else if (state == SNDRV_EMUX_ST_RELEASED || in get_voice() 181 state == SNDRV_EMUX_ST_PENDING) { in get_voice() 187 else if (state & SNDRV_EMUX_ST_ON) in get_voice() 193 if (state != SNDRV_EMUX_ST_OFF && in get_voice()
|
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | skl-sst-dsp.c | 22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() argument 25 ctx->sst_state = state; in skl_dsp_set_state_locked() 30 * Initialize core power state and usage count. To be called after 39 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in skl_dsp_init_core_state() 43 skl->cores.state[i] = SKL_DSP_RESET; in skl_dsp_init_core_state() 97 dev_err(ctx->dev, "Set reset state failed: core_mask %x\n", in skl_dsp_core_set_reset_state() 126 dev_err(ctx->dev, "Unset reset state failed: core_mask %x\n", in skl_dsp_core_unset_reset_state() 160 /* set reset state */ in skl_dsp_reset_core() 168 /* unset reset state */ in skl_dsp_start_core() 348 if (skl->cores.state[core_i in skl_dsp_get_core() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 260 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending() 266 clear_bit(o->state, o->pstate); in bnx2x_raw_clear_pending() 273 set_bit(o->state, o->pstate); in bnx2x_raw_set_pending() 278 * bnx2x_state_wait - wait until the given bit(state) is cleared 281 * @state: state which is to be cleared 282 * @pstate: state buffer 285 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() argument 294 DP(BNX2X_MSG_SP, "waiting for state to become %d\n", state); in bnx2x_state_wait() 2096 bnx2x_init_raw_obj(struct bnx2x_raw_obj *raw, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_raw_obj() argument 2114 bnx2x_init_vlan_mac_common(struct bnx2x_vlan_mac_obj *o, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_mac_common() argument 2137 bnx2x_init_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool) bnx2x_init_mac_obj() argument 2191 bnx2x_init_vlan_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_obj() argument 2232 bnx2x_init_vlan_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_mac_obj() argument 2402 u16 state; bnx2x_rx_mode_set_cmd_state_e2() local 4068 bnx2x_init_mcast_obj(struct bnx2x *bp, struct bnx2x_mcast_obj *mcast_obj, u8 mcast_cl_id, u32 mcast_cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_mcast_obj() argument 4629 bnx2x_init_rss_config_obj(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, u8 cl_id, u32 cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_rss_config_obj() argument 5498 enum bnx2x_q_state state = o->state, next_state = BNX2X_Q_STATE_MAX; bnx2x_queue_chk_transition() local 5816 enum bnx2x_func_state state = o->state, next_state = BNX2X_F_STATE_MAX; bnx2x_func_chk_transition() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 260 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending() 266 clear_bit(o->state, o->pstate); in bnx2x_raw_clear_pending() 273 set_bit(o->state, o->pstate); in bnx2x_raw_set_pending() 278 * bnx2x_state_wait - wait until the given bit(state) is cleared 281 * @state: state which is to be cleared 282 * @pstate: state buffer 285 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() argument 294 DP(BNX2X_MSG_SP, "waiting for state to become %d\n", state); in bnx2x_state_wait() 2096 bnx2x_init_raw_obj(struct bnx2x_raw_obj *raw, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_raw_obj() argument 2114 bnx2x_init_vlan_mac_common(struct bnx2x_vlan_mac_obj *o, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_mac_common() argument 2137 bnx2x_init_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool) bnx2x_init_mac_obj() argument 2191 bnx2x_init_vlan_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_obj() argument 2232 bnx2x_init_vlan_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_mac_obj() argument 2402 u16 state; bnx2x_rx_mode_set_cmd_state_e2() local 4068 bnx2x_init_mcast_obj(struct bnx2x *bp, struct bnx2x_mcast_obj *mcast_obj, u8 mcast_cl_id, u32 mcast_cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_mcast_obj() argument 4629 bnx2x_init_rss_config_obj(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, u8 cl_id, u32 cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_rss_config_obj() argument 5498 enum bnx2x_q_state state = o->state, next_state = BNX2X_Q_STATE_MAX; bnx2x_queue_chk_transition() local 5816 enum bnx2x_func_state state = o->state, next_state = BNX2X_F_STATE_MAX; bnx2x_func_chk_transition() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | hub.c | 63 /* Protect struct usb_device->state and ->children members 64 * Note: Both are also protected by ->dev.sem, except that ->state can 504 if (hdev->state != USB_STATE_CONFIGURED || hub->quiescing) in led_work() 710 * USB 3.0 hubs do not report the port link state change from U3 to U0 when the 838 * usb_hub_set_port_power - control hub port's power state 870 * usb_hub_clear_tt_buffer - clear control/bulk TT state in high speed hub 874 * bulk transaction failed in a way that requires clearing internal state of 879 * speed transactions until that state is fully cleared out. 897 dev_err(&udev->dev, "can't save CLEAR_TT_BUFFER state\n"); in usb_hub_clear_tt_buffer() 916 /* tell keventd to clear state fo in usb_hub_clear_tt_buffer() 4078 usb_set_device_initiated_lpm(struct usb_device *udev, enum usb3_link_state state, bool enable) usb_set_device_initiated_lpm() argument 4133 usb_set_lpm_timeout(struct usb_device *udev, enum usb3_link_state state, int timeout) usb_set_lpm_timeout() argument 4181 usb_device_may_initiate_lpm(struct usb_device *udev, enum usb3_link_state state) usb_device_may_initiate_lpm() argument 4235 usb_enable_link_state(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) usb_enable_link_state() argument 4320 usb_disable_link_state(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) usb_disable_link_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_fw.c | 395 if (cmdptr->state & MPI3MR_CMD_PENDING) { in mpi3mr_process_admin_reply_desc() 396 cmdptr->state |= MPI3MR_CMD_COMPLETE; in mpi3mr_process_admin_reply_desc() 399 cmdptr->state &= ~MPI3MR_CMD_PENDING; in mpi3mr_process_admin_reply_desc() 401 cmdptr->state |= MPI3MR_CMD_REPLY_VALID; in mpi3mr_process_admin_reply_desc() 1030 * Return a proper IOC state enum based on the IOC status and 1031 * IOC configuration and unrcoverable state of the controller. 1033 * Return: Current IOC state. 1202 * mpi3mr_bring_ioc_ready - Bring controller to ready state 1231 ioc_info(mrioc, "controller is in %s state during detection\n", in mpi3mr_bring_ioc_ready() 1251 "controller is in %s state afte in mpi3mr_bring_ioc_ready() [all...] |
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.cpp | 462 if (!state.empty()) { in Dump() 464 << "state: " << state << ", " in Dump() 475 if (!state.empty()) { in Dump() 476 json->Put("state", state.c_str()); in Dump() 483 const std::string& procedure, const std::string& state, const std::string& disposal, int64_t timestamp) in AddProcedure() 488 stateHistory.emplace_back(StateRecord(procedure, state, disposal, timestamp)); in AddProcedure() 491 bool GestureSnapshot::CheckNeedAddMove(const std::string& state, const std::string& disposal) in CheckNeedAddMove() argument 493 return stateHistory.empty() || stateHistory.back().state ! in CheckNeedAddMove() 482 AddProcedure( const std::string& procedure, const std::string& state, const std::string& disposal, int64_t timestamp) AddProcedure() argument [all...] |
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
H A D | dma.c | 112 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt() 129 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt_msix() 145 clear_bit(IOAT_RUN, &ioat_chan->state); in ioat_stop() 244 if (!test_bit(IOAT_CHAN_DOWN, &ioat_chan->state)) in ioat_start_null_desc() 319 if (!test_and_set_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state)) 550 clear_bit(IOAT_COMPLETION_ACK, &ioat_chan->state); in ioat_cleanup_preamble() 698 if (!test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_cleanup_event() 863 /* clean up the channel, we could be in weird state */ in ioat_eh() 881 if (test_and_clear_bit(IOAT_CHAN_ACTIVE, &ioat_chan->state)) in check_active() 888 set_bit(IOAT_CHAN_DOWN, &ioat_chan->state); in ioat_reboot_chan() [all...] |
/kernel/linux/linux-5.10/drivers/net/can/usb/ |
H A D | usb_8dev.c | 351 u8 state = msg->data[0]; in usb_8dev_rx_err_msg() local 361 switch (state) { in usb_8dev_rx_err_msg() 363 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg() 368 priv->can.state = CAN_STATE_BUS_OFF; in usb_8dev_rx_err_msg() 379 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg() 385 switch (state) { in usb_8dev_rx_err_msg() 419 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg() 426 priv->can.state = CAN_STATE_ERROR_PASSIVE; in usb_8dev_rx_err_msg() 434 "Unknown status/error message (%d)\n", state); in usb_8dev_rx_err_msg() 445 if (priv->can.state ! in usb_8dev_rx_err_msg() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_crt.c | 55 /* DPMS state is stored in the connector, which we need in the 206 static void intel_disable_crt(struct intel_atomic_state *state, in intel_disable_crt() argument 214 static void pch_disable_crt(struct intel_atomic_state *state, in pch_disable_crt() argument 221 static void pch_post_disable_crt(struct intel_atomic_state *state, in pch_post_disable_crt() argument 226 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt() 229 static void hsw_disable_crt(struct intel_atomic_state *state, in hsw_disable_crt() argument 241 static void hsw_post_disable_crt(struct intel_atomic_state *state, in hsw_post_disable_crt() argument 258 pch_post_disable_crt(state, encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt() 263 intel_ddi_fdi_post_disable(state, encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt() 270 static void hsw_pre_pll_enable_crt(struct intel_atomic_state *state, in hsw_pre_pll_enable_crt() argument 282 hsw_pre_enable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state) hsw_pre_enable_crt() argument 300 hsw_enable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state) hsw_enable_crt() argument 327 intel_enable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state) intel_enable_crt() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | main.c | 417 if (cl->state != MEI_FILE_INITIALIZING && in mei_ioctl_connect_client() 418 cl->state != MEI_FILE_DISCONNECTED) in mei_ioctl_connect_client() 520 switch (cl->state) { in mei_ioctl_connect_vtag() 567 while (cl->state != MEI_FILE_INITIALIZING && in mei_ioctl_connect_vtag() 568 cl->state != MEI_FILE_DISCONNECTED && in mei_ioctl_connect_vtag() 569 cl->state != MEI_FILE_CONNECTED) { in mei_ioctl_connect_vtag() 572 (cl->state == MEI_FILE_CONNECTED || in mei_ioctl_connect_vtag() 573 cl->state == MEI_FILE_DISCONNECTED || in mei_ioctl_connect_vtag() 574 cl->state == MEI_FILE_DISCONNECT_REQUIRED || in mei_ioctl_connect_vtag() 575 cl->state in mei_ioctl_connect_vtag() 1112 mei_set_devstate(struct mei_device *dev, enum mei_dev_state state) mei_set_devstate() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 110 struct ef4_rx_page_state *state; in ef4_reuse_page() local 130 state = page_address(page); in ef4_reuse_page() 131 dma_unmap_page(&efx->pci_dev->dev, state->dma_addr, in ef4_reuse_page() 158 struct ef4_rx_page_state *state; in ef4_init_rx_buffers() local 180 state = page_address(page); in ef4_init_rx_buffers() 181 state->dma_addr = dma_addr; in ef4_init_rx_buffers() 183 state = page_address(page); in ef4_init_rx_buffers() 184 dma_addr = state->dma_addr; in ef4_init_rx_buffers() 219 struct ef4_rx_page_state *state = page_address(page); in ef4_unmap_rx_buffer() local 221 state in ef4_unmap_rx_buffer() 807 struct ef4_rx_page_state *state; ef4_fini_rx_queue() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | apds9960.c | 134 /* state */ 702 int state) in apds9960_write_event_config() 707 state = !!state; in apds9960_write_event_config() 711 if (data->pxs_int == state) in apds9960_write_event_config() 714 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config() 717 data->pxs_int = state; in apds9960_write_event_config() 718 apds9960_set_power_state(data, state); in apds9960_write_event_config() 721 if (data->als_int == state) in apds9960_write_event_config() 724 ret = regmap_field_write(data->reg_int_als, state); in apds9960_write_event_config() 698 apds9960_write_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) apds9960_write_event_config() argument 819 apds9960_set_powermode(struct apds9960_data *data, bool state) apds9960_set_powermode() argument [all...] |