id
stringlengths
4
63
text
stringlengths
153
8.81M
hvc_put_chars(9)
NAME hvc_put_chars - send characters to firmware for denoted vterm adapter SYNOPSIS ssize_t hvc_put_chars (uint32_t vtermno , const u8 *buf , size_t count ); ARGUMENTS vtermno The vtermno or unit_address of the adapter from which the data originated. buf The character buffer that contains the char...
hvc_set_winsz(9)
NAME hvc_set_winsz - Resize the hvc tty terminal window. SYNOPSIS void hvc_set_winsz (struct work_struct *work ); ARGUMENTS work work structure. DESCRIPTION The routine shall not be called within an atomic context because it might sleep. Locking: hp->lock SEE ALSO Kernel file ./drivers/tty/hvc/hvc_conso...
hvcs_free_connection(9)
NAME hvcs_free_connection - free the connection between a vty-server and vty SYNOPSIS int hvcs_free_connection (uint32_t unit_address ); ARGUMENTS unit_address The unit address of the vty-server that is to have its connection severed. DESCRIPTION This function is used to free the partner connection between a vty-ser...
hvcs_free_partner_info(9)
NAME hvcs_free_partner_info - free pi allocated by hvcs_get_partner_info SYNOPSIS int hvcs_free_partner_info (struct list_head *head ); ARGUMENTS head list_head pointer for an allocated list of partner info structs to free. DESCRIPTION This function is used to free the partner info list that was returned by c...
hvcs_get_partner_info(9)
NAME hvcs_get_partner_info - Get all of the partner info for a vty-server adapter SYNOPSIS int hvcs_get_partner_info (uint32_t unit_address , struct list_head *head , unsigned long *pi_buff ); ARGUMENTS unit_address The unit_address of the vty-server adapter for which this function is fetching partner info. h...
hvcs_register_connection(9)
NAME hvcs_register_connection - establish a connection between this vty-server and a vty. SYNOPSIS int hvcs_register_connection (uint32_t unit_address , uint32_t p_partition_ID , uint32_t p_unit_address ); ARGUMENTS unit_address The unit address of the vty-server adapter that is to be establish a connection. ...
hvterm_raw_put_chars(9)
NAME hvterm_raw_put_chars - send characters to firmware for given vterm adapter SYNOPSIS ssize_t hvterm_raw_put_chars (uint32_t vtermno , const u8 *buf , size_t count ); ARGUMENTS vtermno The virtual terminal number. buf The characters to send. Because of the underlying hypercall in hvc_put_chars,...
hw_add_wol_arp(9)
NAME hw_add_wol_arp - add ARP pattern SYNOPSIS void hw_add_wol_arp (struct ksz_hw *hw , const u8 *ip_addr ); ARGUMENTS hw The hardware instance. ip_addr The IPv4 address assigned to the device. DESCRIPTION This routine is used to add ARP pattern for waking up the host. SEE ALSO Kernel file ./...
hw_add_wol_bcast(9)
NAME hw_add_wol_bcast - add broadcast pattern SYNOPSIS void hw_add_wol_bcast (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine is used to add broadcast pattern for waking up the host. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), s...
hw_add_wol_mcast(9)
NAME hw_add_wol_mcast - add multicast pattern SYNOPSIS void hw_add_wol_mcast (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine is used to add multicast pattern for waking up the host. It is assumed the multicast packet is the ICMPv6 neighbor solicitation used by IPv6 ping c...
hw_add_wol_ucast(9)
NAME hw_add_wol_ucast - add unicast pattern SYNOPSIS void hw_add_wol_ucast (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine is used to add unicast pattern to wakeup the host. It is assumed the unicast packet is directed to the device, as the hardware can only receive them ...
hw_alloc_pkt(9)
NAME hw_alloc_pkt - allocate enough descriptors for transmission SYNOPSIS int hw_alloc_pkt (struct ksz_hw *hw , int length , int physical ); ARGUMENTS hw The hardware instance. length The length of the packet. physical Number of descriptors required. DESCRIPTION This function allocat...
hw_block_intr(9)
NAME hw_block_intr - block hardware interrupts SYNOPSIS uint hw_block_intr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This function blocks all interrupts of the hardware and returns the current interrupt enable mask so that interrupts can be restored later. Return the current int...
hw_breakpoint_is_used(9)
NAME hw_breakpoint_is_used - check if breakpoints are currently used SYNOPSIS bool hw_breakpoint_is_used (void ); ARGUMENTS void no arguments RETURN true if breakpoints are used, false otherwise. SEE ALSO Kernel file ./kernel/events/hw_breakpoint.c register_user_hw_breakpoint(9), modify_user_hw_breakpoint(9)...
hw_breakpoint_slot_setup(9)
NAME hw_breakpoint_slot_setup - Find and setup a perf slot according to operations SYNOPSIS int hw_breakpoint_slot_setup (struct perf_event **slots , int max_slots , struct perf_event *bp , enum hw_breakpoint_ops ops ); ARGUMENTS slots pointer to array of slots max_slots max number of slots bp...
hw_cfg_broad_storm(9)
NAME hw_cfg_broad_storm - configure broadcast storm SYNOPSIS void hw_cfg_broad_storm (struct ksz_hw *hw , u8 percent ); ARGUMENTS hw The hardware instance. percent Broadcast storm threshold in percent of transmit rate. DESCRIPTION This routine configures the broadcast storm threshold of the swit...
hw_cfg_wol(9)
NAME hw_cfg_wol - configure Wake-on-LAN features SYNOPSIS void hw_cfg_wol (struct ksz_hw *hw , u16 frame , int set ); ARGUMENTS hw The hardware instance. frame The pattern frame bit. set The flag indicating whether to enable or disable. DESCRIPTION This routine is used to enabl...
hw_cfg_wol_pme(9)
NAME hw_cfg_wol_pme - enable or disable Wake-on-LAN SYNOPSIS void hw_cfg_wol_pme (struct ksz_hw *hw , int set ); ARGUMENTS hw The hardware instance. set The flag indicating whether to enable or disable. DESCRIPTION This routine is used to enable or disable Wake-on-LAN. SEE ALSO Kernel file...
hw_chk_wol_pme_status(9)
NAME hw_chk_wol_pme_status - check PMEN pin SYNOPSIS int hw_chk_wol_pme_status (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This function is used to check PMEN pin is asserted. Return 1 if PMEN pin is asserted; otherwise, 0. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz...
hw_clr_multicast(9)
NAME hw_clr_multicast - clear multicast addresses SYNOPSIS void hw_clr_multicast (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine removes all multicast addresses set in the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), s...
hw_clr_wol_pme_status(9)
NAME hw_clr_wol_pme_status - clear PMEN pin SYNOPSIS void hw_clr_wol_pme_status (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine is used to clear PME_Status to deassert PMEN pin. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struc...
hw_controller_reset(9)
NAME hw_controller_reset - do controller reset SYNOPSIS int hw_controller_reset (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns an error code SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_intr_enable(9), hw_read_intr_status(9), hw_port_test_set(9), hw_po...
hw_desc_init(9)
NAME hw_desc_init - Init a HW descriptor struct SYNOPSIS void hw_desc_init (struct cc_hw_desc *pdesc ); ARGUMENTS pdesc pointer to HW descriptor struct SEE ALSO Kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h set_queue_last_ind_bit(9), set_din_type(9), set_din_no_dma(9), set_cpp_crypto_key(9)...
hw_device_reset(9)
NAME hw_device_reset - resets chip (execute without interruption) SYNOPSIS int hw_device_reset (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns an error code SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_intr_enable(9), hw_read_intr_status(9), hw_port_tes...
hw_device_state(9)
NAME hw_device_state - enables/disables interrupts (execute without interruption) SYNOPSIS int hw_device_state (struct ci_hdrc *ci , u32 dma ); ARGUMENTS ci the controller dma 0 => disable, !0 => enable and set dma engine DESCRIPTION This function returns an error code SEE ALSO Kernel file...
hw_disable(9)
NAME hw_disable - disable hardware SYNOPSIS void hw_disable (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine disables the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct ksz_dma_buf(9), struct...
hw_enable(9)
NAME hw_enable - enable hardware SYNOPSIS void hw_enable (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine enables the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct ksz_dma_buf(9), struct ksz...
hw_enable_wol(9)
NAME hw_enable_wol - enable Wake-on-LAN SYNOPSIS void hw_enable_wol (struct ksz_hw *hw , u32 wol_enable , const u8 *net_addr ); ARGUMENTS hw The hardware instance. wol_enable The Wake-on-LAN settings. net_addr The IPv4 address assigned to the device. DESCRIPTION This routine is used to e...
hw_ep_bit(9)
NAME hw_ep_bit - calculates the bit number SYNOPSIS int hw_ep_bit (int num , int dir ); ARGUMENTS num endpoint number dir endpoint direction DESCRIPTION This function returns bit number SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_device_state(9), hw_ep_flush(9), hw_ep_disable(9...
hw_ep_disable(9)
NAME hw_ep_disable - disables endpoint (execute without interruption) SYNOPSIS int hw_ep_disable (struct ci_hdrc *ci , int num , int dir ); ARGUMENTS ci the controller num endpoint number dir endpoint direction DESCRIPTION This function returns an error code SEE ALSO Kernel ...
hw_ep_enable(9)
NAME hw_ep_enable - enables endpoint (execute without interruption) SYNOPSIS int hw_ep_enable (struct ci_hdrc *ci , int num , int dir , int type ); ARGUMENTS ci the controller num endpoint number dir endpoint direction type endpoint type DESCRIPTION This functi...
hw_ep_flush(9)
NAME hw_ep_flush - flush endpoint fifo (execute without interruption) SYNOPSIS int hw_ep_flush (struct ci_hdrc *ci , int num , int dir ); ARGUMENTS ci the controller num endpoint number dir endpoint direction DESCRIPTION This function returns an error code SEE ALSO Kernel f...
hw_ep_get_halt(9)
NAME hw_ep_get_halt - return endpoint halt status SYNOPSIS int hw_ep_get_halt (struct ci_hdrc *ci , int num , int dir ); ARGUMENTS ci the controller num endpoint number dir endpoint direction DESCRIPTION This function returns 1 if endpoint halted SEE ALSO Kernel file ./dri...
hw_ep_prime(9)
NAME hw_ep_prime - primes endpoint (execute without interruption) SYNOPSIS int hw_ep_prime (struct ci_hdrc *ci , int num , int dir , int is_ctrl ); ARGUMENTS ci the controller num endpoint number dir endpoint direction is_ctrl true if control endpoint DESCRIPTION ...
hw_ep_set_halt(9)
NAME hw_ep_set_halt - configures ep halt & resets data toggle after clear (execute without interruption) SYNOPSIS int hw_ep_set_halt (struct ci_hdrc *ci , int num , int dir , int value ); ARGUMENTS ci the controller num endpoint number dir endpoint direction value ...
hw_event_phy_down(9)
NAME hw_event_phy_down - we should notify the libsas the phy is down. SYNOPSIS void hw_event_phy_down (struct pm8001_hba_info *pm8001_ha , void *piomb ); ARGUMENTS pm8001_ha our hba card information piomb IO message buffer SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_ta...
hw_event_sas_phy_up(9)
NAME hw_event_sas_phy_up - FW tells me a SAS phy up event. SYNOPSIS void hw_event_sas_phy_up (struct pm8001_hba_info *pm8001_ha , void *piomb ); ARGUMENTS pm8001_ha our hba card information piomb IO message buffer SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9), ...
hw_event_sata_phy_up(9)
NAME hw_event_sata_phy_up - FW tells me a SATA phy up event. SYNOPSIS void hw_event_sata_phy_up (struct pm8001_hba_info *pm8001_ha , void *piomb ); ARGUMENTS pm8001_ha our hba card information piomb IO message buffer SEE ALSO Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c read_main_config_table(9)...
hw_failure_emergency_action_func(9)
NAME hw_failure_emergency_action_func - emergency action work after a known delay SYNOPSIS void hw_failure_emergency_action_func (struct work_struct *work ); ARGUMENTS work work_struct associated with the emergency action function DESCRIPTION This function is called in very critical situations to force a kern...
hw_failure_emergency_schedule(9)
NAME hw_failure_emergency_schedule - Schedule an emergency system shutdown or reboot SYNOPSIS void hw_failure_emergency_schedule (enum hw_protection_action action , int action_delay_ms ); ARGUMENTS action The hardware protection action to be taken action_delay_ms Time in milliseconds t...
hw_init(9)
NAME hw_init - check driver is correct for the hardware SYNOPSIS int hw_init (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This function checks the hardware is correct for this driver and sets the hardware up for proper initialization. Return number of ports or 0 if not right. SEE ...
hw_port_is_high_speed(9)
NAME hw_port_is_high_speed - test if port is high speed SYNOPSIS int hw_port_is_high_speed (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns true if high speed port SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_ep_bit(9), hw_device_state(9), hw_ep_flush(9), h...
hw_port_test_get(9)
NAME hw_port_test_get - reads port test mode value SYNOPSIS u8 hw_port_test_get (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns port test mode value SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_intr_enable(9), hw_read_intr_status(9), hw_port_test_set(9), _...
hw_port_test_set(9)
NAME hw_port_test_set - writes port test mode (execute without interruption) SYNOPSIS int hw_port_test_set (struct ci_hdrc *ci , u8 mode ); ARGUMENTS ci the controller mode new value DESCRIPTION This function returns an error code SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_in...
hw_protection_trigger(9)
NAME hw_protection_trigger - Trigger default emergency system hardware protection action SYNOPSIS void hw_protection_trigger (const char *reason , int ms_until_forced ); ARGUMENTS reason Reason of emergency shutdown or reboot to be printed. ms_until_forced Time to wait for orderly shut...
hw_r_phy(9)
NAME hw_r_phy - read data from PHY register SYNOPSIS void hw_r_phy (struct ksz_hw *hw , int port , u16 reg , u16 *val ); ARGUMENTS hw The hardware instance. port Port to read. reg PHY register to read. val Buffer to store the read data. DESCRIPTION This routine...
hw_read(9)
NAME hw_read - reads from a hw register SYNOPSIS u32 hw_read (struct ci_hdrc *ci , enum ci_hw_regs reg , u32 mask ); ARGUMENTS ci the controller reg register index mask bitfield mask DESCRIPTION This function returns register contents SEE ALSO Kernel file ./drivers/usb/chip...
hw_read_addr(9)
NAME hw_read_addr - read MAC address SYNOPSIS void hw_read_addr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine retrieves the MAC address of the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struc...
hw_read_id_reg(9)
NAME hw_read_id_reg - reads from a identification register SYNOPSIS u32 hw_read_id_reg (struct ci_hdrc *ci , u32 offset , u32 mask ); ARGUMENTS ci the controller offset offset from the beginning of identification registers region mask bitfield mask DESCRIPTION This function retur...
hw_read_intr_enable(9)
NAME hw_read_intr_enable - returns interrupt enable register SYNOPSIS u32 hw_read_intr_enable (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns register data SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_intr_status(9), hw_port_test_set(9), hw_port_test_ge...
hw_read_intr_status(9)
NAME hw_read_intr_status - returns interrupt status register SYNOPSIS u32 hw_read_intr_status (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns register data SEE ALSO Kernel file ./drivers/usb/chipidea/core.c hw_read_intr_enable(9), hw_port_test_set(9), hw_port_test_ge...
hw_read_otgsc(9)
NAME hw_read_otgsc - returns otgsc register bits value. SYNOPSIS u32 hw_read_otgsc (struct ci_hdrc *ci , u32 mask ); ARGUMENTS ci the controller mask bitfield mask SEE ALSO Kernel file ./drivers/usb/chipidea/otg.c hw_write_otgsc(9), ci_otg_role(9), hw_wait_vbus_lower_bsv(9), ci_otg_work(9), c...
hw_reset(9)
NAME hw_reset - reset the hardware SYNOPSIS void hw_reset (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine resets the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct ksz_dma_buf(9), struct ksz...
hw_send_pkt(9)
NAME hw_send_pkt - mark packet for transmission SYNOPSIS void hw_send_pkt (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine marks the packet for transmission in PCI version. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz...
hw_set_addr(9)
NAME hw_set_addr - set MAC address SYNOPSIS void hw_set_addr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine programs the MAC address of the hardware when the address is overridden. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), s...
hw_set_desc_base(9)
NAME hw_set_desc_base - set descriptor base addresses SYNOPSIS void hw_set_desc_base (struct ksz_hw *hw , u32 tx_addr , u32 rx_addr ); ARGUMENTS hw The hardware instance. tx_addr The transmit descriptor base. rx_addr The receive descriptor base. DESCRIPTION This routine programs the ...
hw_set_grp_addr(9)
NAME hw_set_grp_addr - set multicast addresses SYNOPSIS void hw_set_grp_addr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine programs multicast addresses for the hardware to accept those addresses. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ks...
hw_set_multicast(9)
NAME hw_set_multicast - enable or disable all multicast receiving SYNOPSIS void hw_set_multicast (struct ksz_hw *hw , u8 multicast ); ARGUMENTS hw The hardware instance. multicast To turn on or off the all multicast feature. DESCRIPTION This routine enables/disables the hardware to accept all mult...
hw_set_promiscuous(9)
NAME hw_set_promiscuous - enable or disable promiscuous receiving SYNOPSIS void hw_set_promiscuous (struct ksz_hw *hw , u8 prom ); ARGUMENTS hw The hardware instance. prom To turn on or off the promiscuous feature. DESCRIPTION This routine enables/disables the hardware to accept all packets. ...
hw_set_wol_frame(9)
NAME hw_set_wol_frame - program Wake-on-LAN pattern SYNOPSIS void hw_set_wol_frame (struct ksz_hw *hw , int i , uint mask_size , const u8 *mask , uint frame_size , const u8 *pattern ); ARGUMENTS hw The hardware instance. i The frame index. mask_size The size of the mask. m...
hw_setup(9)
NAME hw_setup - setup the hardware SYNOPSIS void hw_setup (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine setup the hardware for proper operation. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct ksz_dm...
hw_setup_intr(9)
NAME hw_setup_intr - setup interrupt mask SYNOPSIS void hw_setup_intr (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine setup the interrupt mask for proper operation. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc...
hw_start_rx(9)
NAME hw_start_rx - start receiving SYNOPSIS void hw_start_rx (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine starts the receive function of the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct...
hw_start_tx(9)
NAME hw_start_tx - start transmitting SYNOPSIS void hw_start_tx (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine starts the transmit function of the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), st...
hw_stop_rx(9)
NAME hw_stop_rx - stop receiving SYNOPSIS void hw_stop_rx (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine stops the receive function of the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct ...
hw_stop_tx(9)
NAME hw_stop_tx - stop transmitting SYNOPSIS void hw_stop_tx (struct ksz_hw *hw ); ARGUMENTS hw The hardware instance. DESCRIPTION This routine stops the transmit function of the hardware. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_desc(9), struct ksz_sw_desc(9), struct...
hw_test_and_clear(9)
NAME hw_test_and_clear - tests & clears a hw register SYNOPSIS u32 hw_test_and_clear (struct ci_hdrc *ci , enum ci_hw_regs reg , u32 mask ); ARGUMENTS ci the controller reg register index mask bitfield mask DESCRIPTION This function returns register contents SEE ALSO Kernel ...
hw_test_and_clear_complete(9)
NAME hw_test_and_clear_complete - test & clear complete status (execute without interruption) SYNOPSIS int hw_test_and_clear_complete (struct ci_hdrc *ci , int n ); ARGUMENTS ci the controller n endpoint number DESCRIPTION This function returns complete status SEE ALSO Kernel file ./d...
hw_test_and_clear_intr_active(9)
NAME hw_test_and_clear_intr_active - test & clear active interrupts (execute without interruption) SYNOPSIS u32 hw_test_and_clear_intr_active (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns active interrutps SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_ep_...
hw_test_and_clear_setup_guard(9)
NAME hw_test_and_clear_setup_guard - test & clear setup guard (execute without interruption) SYNOPSIS int hw_test_and_clear_setup_guard (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns guard value SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_ep_bit(9), hw...
hw_test_and_set_setup_guard(9)
NAME hw_test_and_set_setup_guard - test & set setup guard (execute without interruption) SYNOPSIS int hw_test_and_set_setup_guard (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns guard value SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_ep_bit(9), hw_devic...
hw_test_and_write(9)
NAME hw_test_and_write - tests & writes a hw register SYNOPSIS u32 hw_test_and_write (struct ci_hdrc *ci , enum ci_hw_regs reg , u32 mask , u32 data ); ARGUMENTS ci the controller reg register index mask bitfield mask data new value DESCRIPTION This function ret...
hw_turn_on_intr(9)
NAME hw_turn_on_intr - turn on specified interrupts SYNOPSIS void hw_turn_on_intr (struct ksz_hw *hw , u32 bit ); ARGUMENTS hw The hardware instance. bit The interrupt bits to be on. DESCRIPTION This routine turns on the specified interrupts in the interrupt mask so that those interrupts wil...
hw_usb_reset(9)
NAME hw_usb_reset - restart device after a bus reset (execute without interruption) SYNOPSIS int hw_usb_reset (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns an error code SEE ALSO Kernel file ./drivers/usb/chipidea/udc.c hw_ep_bit(9), hw_device_state(9), hw_e...
hw_usb_set_address(9)
NAME hw_usb_set_address - configures USB address (execute without interruption) SYNOPSIS void hw_usb_set_address (struct ci_hdrc *ci , u8 value ); ARGUMENTS ci the controller value new USB address DESCRIPTION This function explicitly sets the address, without the "USBADRA" (advance) feature, w...
hw_w_phy(9)
NAME hw_w_phy - write data to PHY register SYNOPSIS void hw_w_phy (struct ksz_hw *hw , int port , u16 reg , u16 val ); ARGUMENTS hw The hardware instance. port Port to write. reg PHY register to write. val Word data to write. DESCRIPTION This routine writes dat...
hw_wait_vbus_lower_bsv(9)
NAME hw_wait_vbus_lower_bsv - When we switch to device mode, the vbus value should be lower than OTGSC_BSV before connecting to host. SYNOPSIS int hw_wait_vbus_lower_bsv (struct ci_hdrc *ci ); ARGUMENTS ci the controller DESCRIPTION This function returns an error code if timeout SEE ALSO Kernel file ./driv...
hw_write(9)
NAME hw_write - writes to a hw register SYNOPSIS void hw_write (struct ci_hdrc *ci , enum ci_hw_regs reg , u32 mask , u32 data ); ARGUMENTS ci the controller reg register index mask bitfield mask data new value SEE ALSO Kernel file ./drivers/usb/chipidea/ci.h ...
hw_write_id_reg(9)
NAME hw_write_id_reg - writes to a identification register SYNOPSIS void hw_write_id_reg (struct ci_hdrc *ci , u32 offset , u32 mask , u32 data ); ARGUMENTS ci the controller offset offset from the beginning of identification registers region mask bitfield mask data ...
hw_write_otgsc(9)
NAME hw_write_otgsc - updates target bits of OTGSC register. SYNOPSIS void hw_write_otgsc (struct ci_hdrc *ci , u32 mask , u32 data ); ARGUMENTS ci the controller mask bitfield mask data to be written SEE ALSO Kernel file ./drivers/usb/chipidea/otg.c hw_read_otgsc(9), ci_otg_ro...
hwclock(8)
NAME hwclock - time clocks utility SYNOPSIS hwclock [function] [option...] DESCRIPTION hwclock is an administration tool for the time clocks. It can: display the Hardware Clock time; set the Hardware Clock to a specified time; set the Hardware Clock from the System Clock; set the System Clock from the Hardware Clock;...
hwdb(7)
NAME hwdb - Hardware Database DESCRIPTION The hardware database is a key-value store for associating modalias-like keys to udev-property-like values. It is used primarily by udev to add the relevant properties to matching devices, but it can also be queried directly. HARDWARE DATABASE FILES The hwdb files are read fr...
hwi_write_buffer(9)
NAME hwi_write_buffer - Populate the WRB with task info SYNOPSIS int hwi_write_buffer (struct iscsi_wrb *pwrb , struct iscsi_task *task ); ARGUMENTS pwrb ptr to the WRB entry task iscsi task which is to be executed SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), ...
hwicap_command_desync(9)
NAME hwicap_command_desync - Send a DESYNC command to the ICAP port. SYNOPSIS int hwicap_command_desync (struct hwicap_drvdata *drvdata ); ARGUMENTS drvdata a pointer to the drvdata. RETURN DESCRIPTION This command desynchronizes the ICAP After this command, a bitstream containing a NULL packet, followed by a SY...
hwicap_get_configuration_register(9)
NAME hwicap_get_configuration_register - Query a configuration register. SYNOPSIS int hwicap_get_configuration_register (struct hwicap_drvdata *drvdata , u32 reg , u32 *reg_data ); ARGUMENTS drvdata a pointer to the drvdata. reg a constant which represents the configuration register value to be re...
hwicap_type_1_read(9)
NAME hwicap_type_1_read - Generates a Type 1 read packet header. SYNOPSIS u32 hwicap_type_1_read (u32 reg ); ARGUMENTS reg is the address of the register to be read back. RETURN Generates a Type 1 read packet header, which is used to indirectly read registers in the configuration logic. This packet must the...
hwicap_type_1_write(9)
NAME hwicap_type_1_write - Generates a Type 1 write packet header SYNOPSIS u32 hwicap_type_1_write (u32 reg ); ARGUMENTS reg is the address of the register to be read back. RETURN Type 1 write packet header SEE ALSO Kernel file ./drivers/char/xilinx_hwicap/xilinx_hwicap.h hwicap_type_1_read(9) April 2026 ...
hwif_ready(9)
NAME hwif_ready - test if the HW is ready for use SYNOPSIS int hwif_ready (struct hinic_hwif *hwif ); ARGUMENTS hwif the HW interface of a pci function device DESCRIPTION Return 0 - Success, negative - Failure SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_msix_attr_set(9)...
hwlat_mode_write(9)
NAME hwlat_mode_write - Write function for "mode" entry SYNOPSIS ssize_t hwlat_mode_write (struct file *filp , const char __user *ubuf , size_t cnt , loff_t *ppos ); ARGUMENTS filp The active open file structure ubuf The user buffer that contains the value to write cnt The maximu...
hwme_get_request_sync(9)
NAME hwme_get_request_sync - HWME_GET_request/confirm according to API Spec SYNOPSIS u8 hwme_get_request_sync (u8 hw_attribute , u8 *hw_attribute_length , u8 *hw_attribute_value , void *device_ref ); ARGUMENTS hw_attribute Attribute Number hw_attribute_length Attribute length hw_att...
hwme_set_request_sync(9)
NAME hwme_set_request_sync - HWME_SET_request/confirm according to API Spec SYNOPSIS u8 hwme_set_request_sync (u8 hw_attribute , u8 hw_attribute_length , u8 *hw_attribute_value , void *device_ref ); ARGUMENTS hw_attribute Attribute Number hw_attribute_length Attribute length hw_attr...
hwmon_device_register(9)
NAME hwmon_device_register - register w/ hwmon SYNOPSIS struct device * hwmon_device_register (struct device *dev ); ARGUMENTS dev the device to register DESCRIPTION hwmon_device_unregister must be called when the device is no longer needed. Returns the pointer to the new device. SEE ALSO Kernel file ./d...
hwmon_device_register_for_thermal(9)
NAME hwmon_device_register_for_thermal - register hwmon device for thermal subsystem SYNOPSIS struct device * hwmon_device_register_for_thermal (struct device *dev , const char *name , void *drvdata ); ARGUMENTS dev the parent device name hwmon name attribute drvdata driver data to ...
hwmon_device_register_with_groups(9)
NAME hwmon_device_register_with_groups - register w/ hwmon SYNOPSIS struct device * hwmon_device_register_with_groups (struct device *dev , const char *name , void *drvdata , const struct attribute_group **groups ); ARGUMENTS dev the parent device name hwmon name attribute drvdata d...
hwmon_device_register_with_info(9)
NAME hwmon_device_register_with_info - register w/ hwmon SYNOPSIS struct device * hwmon_device_register_with_info (struct device *dev , const char *name , void *drvdata , const struct hwmon_chip_info *chip , const struct attribute_group **extra_groups ); ARGUMENTS dev the parent device (mandatory) nam...
hwmon_device_unregister(9)
NAME hwmon_device_unregister - removes the previously registered class device SYNOPSIS void hwmon_device_unregister (struct device *dev ); ARGUMENTS dev the class device to destroy SEE ALSO Kernel file ./drivers/hwmon/hwmon.c hwmon_device_register_with_groups(9), hwmon_device_register_with_info(9), hwmo...
hwmon_is_bad_char(9)
NAME hwmon_is_bad_char - Is the char invalid in a hwmon name SYNOPSIS bool hwmon_is_bad_char (const char ch ); ARGUMENTS ch the char to be considered DESCRIPTION hwmon_is_bad_char can be used to determine if the given character may not be used in a hwmon name. Returns true if the char is invalid, false oth...
hwmon_pmu__new(9)
NAME hwmon_pmu__new - Allocate and construct a hwmon PMU. SYNOPSIS struct perf_pmu * hwmon_pmu__new (struct list_head *pmus , const char *hwmon_dir , const char *sysfs_name , const char *name ); ARGUMENTS pmus The list of PMUs to be added to. hwmon_dir The path to a hwmon directory. sysfs_nam...
hwmon_sanitize_name(9)
NAME hwmon_sanitize_name - Replaces invalid characters in a hwmon name SYNOPSIS char * hwmon_sanitize_name (const char *name ); ARGUMENTS name NUL-terminated name DESCRIPTION Allocates a new string where any invalid characters will be replaced by an underscore. It is the responsibility of the caller to releas...
hwmp_route_info_get(9)
NAME hwmp_route_info_get - Update routing info to originator and transmitter SYNOPSIS u32 hwmp_route_info_get (struct ieee80211_sub_if_data *sdata , struct ieee80211_mgmt *mgmt , const u8 *hwmp_ie , enum mpath_frame_type action ); ARGUMENTS sdata local mesh subif mgmt mesh management frame ...