Searched refs:pin_buf (Results 1 – 1 of 1) sorted by relevance
249 } __packed pin_buf; in write_pin_state() local252 pin_buf.reg = SX1509B_REG_INPUT_DISABLE; in write_pin_state()253 pin_buf.pins.input_disable = sys_cpu_to_be16(pins->input_disable); in write_pin_state()254 pin_buf.pins.long_slew = sys_cpu_to_be16(pins->long_slew); in write_pin_state()255 pin_buf.pins.low_drive = sys_cpu_to_be16(pins->low_drive); in write_pin_state()256 pin_buf.pins.pull_up = sys_cpu_to_be16(pins->pull_up); in write_pin_state()257 pin_buf.pins.pull_down = sys_cpu_to_be16(pins->pull_down); in write_pin_state()258 pin_buf.pins.open_drain = sys_cpu_to_be16(pins->open_drain); in write_pin_state()259 pin_buf.pins.polarity = sys_cpu_to_be16(pins->polarity); in write_pin_state()260 pin_buf.pins.dir = sys_cpu_to_be16(pins->dir); in write_pin_state()[all …]