/kernel/linux/linux-5.10/drivers/pci/ |
H A D | pci.h | 71 * @set_state: invokes the platform firmware to set the device's power state 73 * @get_state: queries the platform firmware for a device's current power state 75 * @refresh_state: asks the platform to refresh the device's power state data 77 * @choose_state: returns PCI power state of given device preferred by the 79 * sleeping state to the working state and vice versa 93 int (*set_state)(struct pci_dev *dev, pci_power_t state); 102 void pci_update_current_state(struct pci_dev *dev, pci_power_t state); 129 /* Wait 100 ms before the system can be put into a sleep state. */ in pci_wakeup_event() 363 * pci_dev_set_io_state - Set the new error state i [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | ti113x.h | 290 * - init: set the interrupt to match our PCI state. 656 unsigned int state; in ti12xx_2nd_slot_empty() local 725 /* check state */ in ti12xx_2nd_slot_empty() 726 yenta_get_status(&slot2->socket, &state); in ti12xx_2nd_slot_empty() 727 if (state & SS_DETECT) { in ti12xx_2nd_slot_empty()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | dc.h | 28 static inline struct tegra_dc_state *to_dc_state(struct drm_crtc_state *state) in to_dc_state() argument 30 if (state) in to_dc_state() 31 return container_of(state, struct tegra_dc_state, base); in to_dc_state()
|
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
H A D | pinctrl-ssbi-gpio.c | 490 bool state; in pm8xxx_gpio_get() local 498 &state); in pm8xxx_gpio_get() 500 ret = !!state; in pm8xxx_gpio_get()
|
H A D | pinctrl-ssbi-mpp.c | 494 bool state; in pm8xxx_mpp_get() local 500 ret = irq_get_irqchip_state(pin->irq, IRQCHIP_STATE_LINE_LEVEL, &state); in pm8xxx_mpp_get() 502 ret = !!state; in pm8xxx_mpp_get()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_ioctl.c | 83 * using the BIODASDFMT ioctl. Therefore the correct state for the in dasd_ioctl_disable() 109 "state\n", dev_name(&base->cdev->dev)); in dasd_ioctl_quiesce() 209 if (base->state != DASD_STATE_BASIC) { in dasd_format() 486 dasd_info->status = base->state; in __dasd_ioctl_information() 500 if ((base->state < DASD_STATE_READY) || in __dasd_ioctl_information()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_init.c | 105 set_bit(SAS_HA_REGISTERED, &sas_ha->state); in sas_register_ha() 153 /* Set the state to unregistered to avoid further unchained in sas_disable_events() 158 clear_bit(SAS_HA_REGISTERED, &sas_ha->state); in sas_disable_events() 360 set_bit(SAS_HA_REGISTERED, &ha->state); in sas_prep_resume_ha()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | cpufreq.h | 381 int (*set_boost)(struct cpufreq_policy *policy, int state); 760 int cpufreq_boost_trigger_state(int state); 1006 static inline int cpufreq_boost_trigger_state(int state) in cpufreq_boost_trigger_state() argument
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | amplc_dio200_common.c | 627 s->state & 0xff); in dio200_subdev_8255_bits() 631 (s->state >> 8) & 0xff); in dio200_subdev_8255_bits() 635 (s->state >> 16) & 0xff); in dio200_subdev_8255_bits()
|
H A D | pcl816.c | 550 outb(s->state & 0xff, dev->iobase + PCL816_DO_DI_LSB_REG); in pcl816_do_insn_bits() 551 outb((s->state >> 8), dev->iobase + PCL816_DO_DI_MSB_REG); in pcl816_do_insn_bits() 554 data[1] = s->state; in pcl816_do_insn_bits()
|
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 402 if (ucan->can.state == CAN_STATE_BUS_OFF) in pciefd_pre_cmd() 474 if (ucan->can.state == CAN_STATE_STOPPED) in pciefd_post_cmd() 492 ucan->can.state = CAN_STATE_STOPPED; in pciefd_post_cmd()
|
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-vbi.c | 82 if (dev->state & DEV_DISCONNECTED) in cx231xx_isoc_vbi_copy() 202 enum vb2_buffer_state state) in return_all_buffers() 212 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_all_buffers() 201 return_all_buffers(struct cx231xx *dev, enum vb2_buffer_state state) return_all_buffers() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_utils_fw2x.c | 87 enum hal_atl_utils_fw_state_e state); 222 enum hal_atl_utils_fw_state_e state) in aq_fw2x_set_state() 227 switch (state) { in aq_fw2x_set_state() 221 aq_fw2x_set_state(struct aq_hw_s *self, enum hal_atl_utils_fw_state_e state) aq_fw2x_set_state() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 373 if (do_msg && !test_bit(IONIC_LIF_F_FW_RESET, lif->state)) in ionic_adminq_wait() 392 if ((test_bit(IONIC_LIF_F_FW_RESET, lif->state) && in ionic_adminq_wait() 394 test_bit(IONIC_LIF_F_FW_STOPPING, lif->state)) { in ionic_adminq_wait()
|
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | fuse_i.h | 159 /** Miscellaneous bits describing inode state */ 160 unsigned long state; member 178 /** FUSE inode state bits */ 300 /** The request IO state (for asynchronous processing) */ 471 /** Device-specific state */ 942 set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state); in fuse_make_bad() 947 return unlikely(test_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state)); in fuse_is_bad()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | vfs_cache.c | 374 cancel_work->state = KSMBD_WORK_CLOSED; in set_close_state_blocked_works() 608 unsigned int state) in ksmbd_update_fstate() 614 fp->f_state = state; in ksmbd_update_fstate() 607 ksmbd_update_fstate(struct ksmbd_file_table *ft, struct ksmbd_file *fp, unsigned int state) ksmbd_update_fstate() argument
|
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 156 /* Wait for frontend to state that it has published the configuration */ in xen_pcibk_attach() 192 "Error switching to connected state!"); in xen_pcibk_attach() 363 enum xenbus_state state) in xen_pcibk_reconfigure() 377 if (xenbus_read_driver_state(pdev->xdev->nodename) != state) in xen_pcibk_reconfigure() 391 len = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_reconfigure() 502 if (state != XenbusStateReconfiguring) in xen_pcibk_reconfigure() 509 "Error switching to reconfigured state!"); in xen_pcibk_reconfigure() 523 dev_dbg(&xdev->dev, "fe state changed %d\n", fe_state); in xen_pcibk_frontend_changed() 535 /* pcifront switched its state from reconfiguring to connected. in xen_pcibk_frontend_changed() 536 * Then switch to connected state in xen_pcibk_frontend_changed() 362 xen_pcibk_reconfigure(struct xen_pcibk_device *pdev, enum xenbus_state state) xen_pcibk_reconfigure() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_bmap_item.c | 290 xfs_exntst_t state) in xfs_trans_set_bmap_flags() 301 if (state == XFS_EXT_UNWRITTEN) in xfs_trans_set_bmap_flags() 401 struct xfs_btree_cur **state) in xfs_bmap_update_finish_item() 286 xfs_trans_set_bmap_flags( struct xfs_map_extent *map, enum xfs_bmap_intent_type type, int whichfork, xfs_exntst_t state) xfs_trans_set_bmap_flags() argument 397 xfs_bmap_update_finish_item( struct xfs_trans *tp, struct xfs_log_item *done, struct list_head *item, struct xfs_btree_cur **state) xfs_bmap_update_finish_item() argument
|
/kernel/linux/linux-6.6/include/linux/spi/ |
H A D | spi.h | 150 * @controller_state: Controller's runtime state 192 * can insert a wait state on MISO when address is transmitted by 193 * controller on MOSI. Detecting the wait state in software is only 195 * only half-duplex, the wait state detection needs to be implemented 257 /* ctldata is for the bus_controller driver's runtime state */ 263 static inline void spi_set_ctldata(struct spi_device *spi, void *state) in spi_set_ctldata() argument 265 spi->controller_state = state; in spi_set_ctldata() 308 * @shutdown: Standard shutdown callback used during system state 411 * @cleanup: frees controller-specific state 503 * @irq_flags: Interrupt enable state durin 1142 void *state; global() member [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | myrb.h | 362 enum myrb_devstate state; /* Byte 4 */ member 407 enum myrb_devstate state; /* Byte 2 */ member 610 enum myrb_devstate state; /* Byte 4 */ member
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | amba-pl010.c | 163 tty_flip_buffer_push(&port->state->port); in pl010_rx_chars() 200 wake_up_interruptible(&port->state->port.delta_msr_wait); in pl010_modem_status() 707 if (!amba_reg.state) { in pl010_probe()
|
H A D | lpc32xx_hs.c | 253 struct tty_port *tport = &port->state->port; in __serial_lpc32xx_rx() 298 struct tty_port *tport = &port->state->port; in serial_lpc32xx_interrupt() 674 pm_message_t state) in serial_hs_lpc32xx_suspend() 673 serial_hs_lpc32xx_suspend(struct platform_device *pdev, pm_message_t state) serial_hs_lpc32xx_suspend() argument
|
/kernel/linux/linux-6.6/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 156 termios = &port->state->port.tty->termios; in jsm_tty_send_xchar() 245 termios = &port->state->port.tty->termios; in jsm_tty_open() 528 port = &ch->uart_port.state->port; in jsm_input() 710 * matter... it really only means "ignore carrier state", not in jsm_carrier()
|
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_main.c | 142 static int cxgbit_uld_state_change(void *handle, enum cxgb4_state state) in cxgbit_uld_state_change() argument 146 switch (state) { in cxgbit_uld_state_change() 149 pr_info("cdev %s state UP.\n", pci_name(cdev->lldi.pdev)); in cxgbit_uld_state_change() 154 pr_info("cdev %s state RECOVERY.\n", pci_name(cdev->lldi.pdev)); in cxgbit_uld_state_change() 157 pr_info("cdev %s state DOWN.\n", pci_name(cdev->lldi.pdev)); in cxgbit_uld_state_change() 161 pr_info("cdev %s state DETACH.\n", pci_name(cdev->lldi.pdev)); in cxgbit_uld_state_change() 165 pr_info("cdev %s unknown state %d.\n", in cxgbit_uld_state_change() 166 pci_name(cdev->lldi.pdev), state); in cxgbit_uld_state_change()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_ioctl.c | 81 * using the BIODASDFMT ioctl. Therefore the correct state for the in dasd_ioctl_disable() 107 "state\n", dev_name(&base->cdev->dev)); in dasd_ioctl_quiesce() 207 if (base->state != DASD_STATE_BASIC) { in dasd_format() 533 dasd_info->status = base->state; in __dasd_ioctl_information() 547 if ((base->state < DASD_STATE_READY) || in __dasd_ioctl_information() 588 /* do not manipulate hardware state for partitions */ in dasd_set_read_only()
|